>
> 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

Mine was 1.28 but I downloaded new copy and installed it.

[EMAIL PROTECTED] sunil]$ bison --version
bison (GNU Bison) 1.35 (bison-1.35-4.i386.rpm)

I ran dx with gdb again however, I get the following:
-----------output begin-------------
[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 3685)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 3685)]
yyparse () at /usr/lib/bison.simple:260
260     /usr/lib/bison.simple: No such file or directory.
        in /usr/lib/bison.simple
Current language:  auto; currently c
(gdb) quit
The program is running.  Exit anyway? (y or n) yes
[EMAIL PROTECTED] dxui]# ln -s /usr/share/bison/bison.simple /usr/lib/.
[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 3760)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 3760)]
yyparse () at /usr/lib/bison.simple:260
260     #endif
Current language:  auto; currently c

--------------output end-------------------------------

I installed bison-1.35-1.i386.rpm and got the following result:

-------------output begin--------------------
[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 30468)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 30468)]
yyparse () at /usr/lib/bison.simple:260
260     /usr/lib/bison.simple: No such file or directory.
        in /usr/lib/bison.simple
Current language:  auto; currently c
(gdb) where
#0  yyparse () at /usr/lib/bison.simple:260
#1  0x080d9a79 in Network::parse (this=0x824f1e0, input=0x8331618) at
Network.C:1614
#2  0x080d951d in Network::readNetwork (this=0x824f1e0,
    netFile=0x832b370 "/usr/local/dx/samples/tutorial/example1.net",
cfgFile=0x0,
    ignoreUndefinedModules=0) at Network.C:1336
#3  0x080952b6 in DXApplication::openFile (this=0x8238520,
    netfile=0x832b370 "/usr/local/dx/samples/tutorial/example1.net",
cfgfile=0x0,
    resetTheServer=1 '\001') at DXApplication.C:3378
#4  0x080e467a in OpenNetworkDialog::okFileWork (this=0x82e65e8,
    string=0x832b370 "/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=0xbffff874) at Main.C:112
#22 0x40597316 in __libc_start_main (main=0x807fa88 <main>, argc=1,
ubp_av=0xbffff874,
    init=0x804e0e8 <_init>, fini=0x8195780 <_fini>, rtld_fini=0x4000d2dc
<_dl_fini>,
    stack_end=0xbffff86c) at ../sysdeps/generic/libc-start.c:129
(gdb) quit
The program is running.  Exit anyway? (y or n) y
[EMAIL PROTECTED] dxui]# ln -s /usr/share/bison/bison.simple /usr/lib/.
[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 30492)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 30492)]
yyparse () at /usr/lib/bison.simple:260
260     #endif
Current language:  auto; currently c
(gdb) where
#0  yyparse () at /usr/lib/bison.simple:260
#1  0x080d9a79 in Network::parse (this=0x824f1e0, input=0x832b4b8) at
Network.C:1614
#2  0x080d951d in Network::readNetwork (this=0x824f1e0,
    netFile=0x832a700 "/usr/local/dx/samples/tutorial/example1.net",
cfgFile=0x0,
    ignoreUndefinedModules=0) at Network.C:1336
#3  0x080952b6 in DXApplication::openFile (this=0x8238520,
    netfile=0x832a700 "/usr/local/dx/samples/tutorial/example1.net",
cfgfile=0x0,
    resetTheServer=1 '\001') at DXApplication.C:3378
#4  0x080e467a in OpenNetworkDialog::okFileWork (this=0x8310498,
    string=0x832a700 "/usr/local/dx/samples/tutorial/example1.net") at
OpenNetworkDialog.C:82
#5  0x08135ecf in FileDialog::okCallback (this=0x8310498, d=0x8310498) at
FileDialog.C:250
#6  0x0812e2aa in Dialog_OkCB (clientData=0x8310498) 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=0xbfffec74) at Main.C:112
#22 0x40597316 in __libc_start_main (main=0x807fa88 <main>, argc=1,
ubp_av=0xbfffec74,
    init=0x804e0e8 <_init>, fini=0x8195780 <_fini>, rtld_fini=0x4000d2dc
<_dl_fini>,
    stack_end=0xbfffec6c) at ../sysdeps/generic/libc-start.c:129
----------------end output------------------------

I am a complete novice to DX so any ideas as to what is going on here?

-- 
Sunil Nakrani

Reply via email to