Share

xdvik

Tracker: Bugs

5 quickly pressing x and m -> segmentation fault - ID: 1002688
Last Update: Comment added ( stefanulrich )

x followed by m resulted in a segmentation fault.
I cannot reproduce

xdvi-xaw.bin 22.84.4-CVS2 (Xaw toolkit): events.c:4161:
Shouldn't happen: Segmentation fault - trying to clean
up and aborting ...

(gdb) bt
#0 0x40258861 in kill () from /lib/libc.so.6
#1 0x40258665 in raise () from /lib/libc.so.6
#2 0x40259c81 in abort () from /lib/libc.so.6
#3 0x0807de30 in expand_homedir (path=0x0) at util.c:444
#4 0x080657ef in handle_sigsegv (signo=11) at
events.c:4161
#5 <signal handler called>
#6 0x0808bb13 in xaw_toggle_label (w=0x0, idx=29,
update=1 '\001') at pagesel.c:1066
#7 0x0808bd05 in toggle_label (widget=0x0, idx=29,
update=1 '\001') at pagesel.c:1144
#8 0x0808c31a in list_toggle_current (arg=29) at
pagesel.c:1536
#9 0x08061f89 in Act_toggle_mark (w=0x81f6cd8,
event=0xbfffee1c, params=0x0, num_params=0x400dc434) at
events.c:1601
#10 0x400cc44d in HandleActions () from
/usr/X11R6/lib/libXt.so.6
#11 0x400cc90f in HandleSimpleState () from
/usr/X11R6/lib/libXt.so.6
#12 0x400cce64 in _XtTranslateEvent () from
/usr/X11R6/lib/libXt.so.6
#13 0x400a7f77 in XtDispatchEventToWidget () from
/usr/X11R6/lib/libXt.so.6
#14 0x400a8928 in _XtDefaultDispatcher () from
/usr/X11R6/lib/libXt.so.6
#15 0x400a8b89 in XtDispatchEvent () from
/usr/X11R6/lib/libXt.so.6
#16 0x080666e4 in read_events (ret_mask=131070) at
events.c:5061
#17 0x08066ed3 in do_pages () at events.c:5303
#18 0x08084679 in run_dvi_file (filename=0x81097c0
"/home/scholz/Lehre/2004SS/Uebung/vd1.dvi",
data=0x810a7c0) at xdvi.c:3866
#19 0x080850bd in main (argc=2, argv=0xbffff024) at
xdvi.c:4245
#20 0x402477ee in __libc_start_main () from /lib/libc.so.6


Ulrich Scholz ( hagbart ) - 2004-08-03 15:45

5

Closed

Fixed

Stefan Ulrich

X interface

incorrect behaviour

Public


Comment ( 1 )




Date: 2004-08-04 22:53
Sender: stefanulrichProject Admin

Logged In: YES
user_id=177175

> #6 0x0808bb13 in xaw_toggle_label (w=0x0, idx=29,
> update=1 '\001') at pagesel.c:1066

added a check for widget (w) != NULL in 22.84.4-CVS3 which
should fix this bug.


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 6 )

Field Old Value Date By
status_id Open 2004-08-04 22:53 stefanulrich
resolution_id None 2004-08-04 22:53 stefanulrich
category_id None 2004-08-04 22:53 stefanulrich
artifact_group_id None 2004-08-04 22:53 stefanulrich
assigned_to nobody 2004-08-04 22:53 stefanulrich
close_date - 2004-08-04 22:53 stefanulrich