>
> OK, it crashed inside bison.
> Do this:
> $ bison --version
>
> Mine says
> bison (GNU Bison) 1.35
>
> Perhaps you have something else. For a new bison, see:
> http://sources.redhat.com/cygwin/packages/bison/
>
> You'll download and build a new copy of bison, then make clean
> in uipp/dxuilib and rebuild.
>
> Martin
Also, I obtain the following results with bison-1.28-5.i386.rpm and
bison-1.28-7.i386.rpm
-------------------begin output---------------------
[EMAIL PROTECTED] dxui]# bison --version
GNU Bison version 1.28 (bison-1.28-5.i386.rpm)
[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 14803)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 14803)]
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=0x824f780, input=0x83313c0) at
Network.C:1614
#2 0x080d951d in Network::readNetwork (this=0x824f780,
netFile=0x832beb0 "/usr/local/dx/samples/tutorial/example1.net",
cfgFile=0x0,
ignoreUndefinedModules=0) at Network.C:1336
#3 0x080952b6 in DXApplication::openFile (this=0x8238520,
netfile=0x832beb0 "/usr/local/dx/samples/tutorial/example1.net",
cfgfile=0x0,
resetTheServer=1 '\001') at DXApplication.C:3378
#4 0x080e467a in OpenNetworkDialog::okFileWork (this=0x8309ec8,
string=0x832beb0 "/usr/local/dx/samples/tutorial/example1.net") at
OpenNetworkDialog.C:82
#5 0x08135ecf in FileDialog::okCallback (this=0x8309ec8, d=0x8309ec8) at
FileDialog.C:250
#6 0x0812e2aa in Dialog_OkCB (clientData=0x8309ec8) 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=0xbffff0f4) at Main.C:112
#22 0x40597316 in __libc_start_main (main=0x807fa88 <main>, argc=1,
ubp_av=0xbffff0f4,
init=0x804e0e8 <_init>, fini=0x8195780 <_fini>, rtld_fini=0x4000d2dc
<_dl_fini>,
stack_end=0xbffff0ec) at ../sysdeps/generic/libc-start.c:129
[EMAIL PROTECTED] i386]# bison --version
GNU Bison version 1.28 (bison-1.28-7.i386.rpm)
[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 28043)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 28043)]
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=0x824f1e0, input=0x8331410) at
Network.C:1614
#2 0x080d951d in Network::readNetwork (this=0x824f1e0,
netFile=0x83303f8 "/usr/local/dx/samples/tutorial/example1.net",
cfgFile=0x0,
ignoreUndefinedModules=0) at Network.C:1336
#3 0x080952b6 in DXApplication::openFile (this=0x8238520,
netfile=0x83303f8 "/usr/local/dx/samples/tutorial/example1.net",
cfgfile=0x0,
resetTheServer=1 '\001') at DXApplication.C:3378
#4 0x080e467a in OpenNetworkDialog::okFileWork (this=0x82e65e8,
string=0x83303f8 "/usr/local/dx/samples/tutorial/example1.net") at
OpenNetworkDialog.C:82
#5 0x08135ecf in FileDialog::okCallback (this=0x82e65e8, d=0x82e65e8) at
FileDialog.C:250
#6 0x0812e2aa in Dialog_OkCB (clientData=0x82e65e8) 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=0xbffff4f4) at Main.C:112
#22 0x40597316 in __libc_start_main (main=0x807fa88 <main>, argc=1,
ubp_av=0xbffff4f4,
init=0x804e0e8 <_init>, fini=0x8195780 <_fini>, rtld_fini=0x4000d2dc
<_dl_fini>,
stack_end=0xbffff4ec) at ../sysdeps/generic/libc-start.c:129
-------------------end output--------------------
--
Sunil Nakrani