Package: xfig
Version: 1:3.2.5.b-1
X-Debbugs-CC: [email protected]

Steps to reproduce:
Create some object, zoom in so that object does not fit
the screen, start another object creation but do not finish it and press
Ctrl+Z.

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x0000000000486baf in redisplay_curobj () at u_redraw.c:441
#2  0x0000000000486c30 in redisplay_region (xmin=-10, ymin=-10, xmax=891, 
ymax=691) at u_redraw.c:465
#3  0x00000000004868ee in redisplay_canvas () at u_redraw.c:346
#4  0x00000000004da81e in setup_grid () at w_grid.c:129
#5  0x00000000004f0a60 in show_zoom (sw=0x79fec0) at w_indpanel.c:4673
#6  0x00000000004f06f7 in fit_zoom (sw=0x8b21c0) at w_indpanel.c:4622
#7  0x00007ffff6ed546d in HandleActions (w=<value optimized out>, 
event=0x7fffffffdb70, stateTree=<value optimized out>, 
    accelWidget=<value optimized out>, procs=<value optimized out>, 
actions=0x7ffff70ee160) at TMstate.c:636
#8  0x00007ffff6ed55c8 in HandleSimpleState (w=<value optimized out>, 
tmRecPtr=<value optimized out>, 
    curEventPtr=0x7fffffffc600) at TMstate.c:875
#9  0x00007ffff6ed5f08 in _XtTranslateEvent (w=<value optimized out>, 
event=<value optimized out>) at TMstate.c:1093
#10 0x00007ffff6eacd5b in XtDispatchEventToWidget (widget=0x8bc8c0, 
event=0x7fffffffdb70) at Event.c:898
#11 0x00007ffff6ead583 in _XtDefaultDispatcher (event=0x7fffffffdb70) at 
Event.c:1359
#12 0x00007ffff6eac574 in XtDispatchEvent (event=0x113a) at Event.c:1415
#13 0x000000000045dc72 in main (argc=1, argv=0x7fffffffde68) at main.c:1543

The following hack which fixed the problem here I found in altlinux:

http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/xfig/files/xfig-3.2.5b-zoom-during-edit.patch?rev=1.1&view=markup

Please review and apply. Thanks.
-- 
Peter.




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to