[comp.windows.x] bug in new xdbx?

holtz@csmil.umich.edu (03/18/90)

When I click the "stop at" button, xdbx 2.0 dumps core:

signal SEGV (segmentation violation) in XawDialogGetValueString at 0xed916c2
0xed916c2:              movl    a0@(0x2a),d0
(dbx) where
XawDialogGetValueString(0x3f640) at 0xed916c2
XawDialogGetValueString(0x6b8b8) at 0xed916fb
XawDialogGetValueString() at 0xed91539
XawDialogGetValueString(0x3ad0c) at 0xed914b3
XawDialogGetValueString(0x3ad0c) at 0xed91c75
XtManageChildren(0xefff4b8, 0x1) at 0xed239a5
XtManageChild(0x6b8b8) at 0xed23ac5
XtCreateManagedWidget(?args?)
etext(0x223fb, 0xedcec94, 0x3ad0c, 0xefff508, 0xe) at 0xed1b2c1
CreateSign(parent = 0x3ad0c, sign = 0x223fb "stop", i = 8), line 178 in
"/p/X11/XV11R4.o/contrib/clients/xdbx.new/signs.c"
DisplayStop(file = 0x69f74, line = 9), line 195 in
"/p/X11/XV11R4.o/contrib/clients/xdbx.new/signs.c"
stop_at_handler(), line 183 in "/p/X11/XV11R4.o/contrib/clients/xdbx.new/handler.c"
parse(output = 0x4bf90 ""), line 183 in
"/p/X11/XV11R4.o/contrib/clients/xdbx.new/parser.c"
readDbx(client_data = (nil), source = 0x4bf88, id = 0xefff804), line
147 in "/p/X11/XV11R4.o/contrib/clients/xdbx.new/dbx.c"
_XtwaitForSomething(0x4bf74) at 0xed2430d
XtRemoveInput(0x31650) at 0xed24b13
XtAppNextEvent(0x31650, 0xefff850) at 0xed24d57
XtAppMainLoop(0x31650) at 0xed1e127
XtMainLoop(?args?)
etext() at 0xed1e10d
main(argc = 2, argv = 0xefff8e4, 0xefff8f0), line 300 in
"/p/X11/XV11R4.o/contrib/clients/xdbx.new/xdbx.c"

My setup is Sun3/60 monochrome, SunOS 4.0.3, X11R4 (no fixes), twm.
The problem occurred with all four combinations of cc and gcc, -O and -g.