> Understand you've built dx yourself and it crashes in
> the same way every time?
>
> Maybe I'm naive. Here's what I would do:
>
> $ cd dx/src/uipp/dxui
> $ gdb dxui
> (gdb) run
> # Then do whatever you do to make it crash
> (gdb) where
> # This will produce ~50 lines of output that you might post
>
> Maybe we will go from there.
Well, here is the gdb output:
[EMAIL PROTECTED] dxui]$ gdb dxui
GNU gdb Red Hat Linux (5.1-1)
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run
Starting program: /tmp/DX/dx-4.2.0/src/uipp/dxui/dxui
[New Thread 8192 (LWP 9240)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 9240)]
yyparse () at /usr/lib/bison.simple:260
260 short *yyss = yyssa; /* refer to the stacks thru
separate pointers */
Current language: auto; currently c
(gdb) where
#0 yyparse () at /usr/lib/bison.simple:260
#1 0x080d9a79 in Network::parse (this=0x824f208, input=0x8330230)
at Network.C:1614
#2 0x080d951d in Network::readNetwork (this=0x824f208,
netFile=0x832adc8 "/usr/local/dx/samples/tutorial/example1.net",
cfgFile=0x0, ignoreUndefinedModules=0) at Network.C:1336
#3 0x080952b6 in DXApplication::openFile (this=0x8238520,
netfile=0x832adc8 "/usr/local/dx/samples/tutorial/example1.net",
cfgfile=0x0, resetTheServer=1 '\001') at DXApplication.C:3378
#4 0x080e467a in OpenNetworkDialog::okFileWork (this=0x82e6640,
string=0x832adc8 "/usr/local/dx/samples/tutorial/example1.net")
at OpenNetworkDialog.C:82
#5 0x08135ecf in FileDialog::okCallback (this=0x82e6640, d=0x82e6640)
at FileDialog.C:250
#6 0x0812e2aa in Dialog_OkCB (clientData=0x82e6640) at Dialog.C:32
#7 0x403a6736 in XtCallCallbackList () from /usr/X11R6/lib/libXt.so.6
#8 0x400e10a2 in _XmFsbButton () from /usr/X11R6/lib/libXm.so.1
#9 0x403a6736 in XtCallCallbackList () from /usr/X11R6/lib/libXt.so.6
#10 0x4011ac3b in Activate () from /usr/X11R6/lib/libXm.so.1
#11 0x4011b71c in input_dispatch () from /usr/X11R6/lib/libXm.so.1
#12 0x400e755f in _XmDispatchGadgetInput () from /usr/X11R6/lib/libXm.so.1
#13 0x40109370 in _XmGadgetActivate () from /usr/X11R6/lib/libXm.so.1
#14 0x403d56c1 in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
#15 0x403d6057 in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
#16 0x403d610e in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
#17 0x403b1df8 in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
#18 0x403b2874 in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#19 0x403b2ac7 in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#20 0x08094657 in DXApplication::handleEvents (this=0x8238520)
at DXApplication.C:2879
#21 0x0807fafe in main (argc=1, argv=0xbfffee94) at Main.C:112
#22 0x40597316 in __libc_start_main (main=0x807fa88 <main>, argc=1,
ubp_av=0xbfffee94, init=0x804e0e8 <_init>, fini=0x8195780 <_fini>,
rtld_fini=0x4000d2dc <_dl_fini>, stack_end=0xbfffee8c)
at ../sysdeps/generic/libc-start.c:129
(gdb)
--
Sunil Nakrani