Description of problem:
Every time a program file is opened in the Visual Program Editor, the program aborts with a buffer overflow.
Version-Release number of selected component (if applicable):
Every time, for me at least.
Steps to Reproduce:
1. Open Visual Program Editor
3. Select an appropriate file and click OK
DX Program opens.
#0 0x40000424 in __kernel_vsyscall ()
#1 0x006c97c1 in *__GI_raise (sig=6)
#2 0x006cb092 in *__GI_abort () at abort.c:88
#3 0x00707dad in __libc_message (do_abort=2,
fmt=0x7dadab "*** %s ***: %s terminated\n")
#4 0x00795d88 in *__GI___fortify_fail (
msg=0x7dad55 "buffer overflow detected") at fortify_fail.c:32
#5 0x00793f40 in *__GI___chk_fail () at chk_fail.c:29
#6 0x00793224 in __strcpy_chk (dest=0x82d0b20 " ",
src=0x82ceb22 " time: Tue Sep 15 16:38:40 2009", destlen=6)
#7 0x08163fce in strcpy (__src=<value optimized out>,
__dest=<value optimized out>) at /usr/include/bits/string3.h:106
#8 yylex (__src=<value optimized out>, __dest=<value optimized out>)
#9 0x081650cb in yyparse () at y.tab.c:1625
#10 0x08118575 in Network::parse (this=0x92e4fb8, input=0x93afb60)
#11 0x0811df5c in Network::readNetwork (this=0x92e4fb8,
netFile=0x93ab6d0 "/home/tristan/2d.net", cfgFile=0x0,
ignoreUndefinedModules=0 '\0') at Network.C:1348
#12 0x080b0bdc in DXApplication::openFile (this=0x92b9de0,
netfile=0x93ab6d0 "/home/tristan/2d.net", cfgfile=0x0,
resetTheServer=1 '\1') at DXApplication.C:3493
#13 0x081232cf in OpenNetworkDialog::okFileWork (this=0x93a5ef0,
string=0x93ab6d0 "/home/tristan/2d.net") at OpenNetworkDialog.C:82
#14 0x0819a6d2 in FileDialog::okCallback (this=0x93a5ef0, d=0x93a5ef0)
#15 0x08190706 in Dialog_OkCB (clientData=0x93a5ef0) at Dialog.C:32
#16 0x05ec224c in XtCallCallbackList (widget=0x93a6570, callbacks=0x93ac650,
call_data=0xbfa66e84) at Callback.c:617
#17 0x0017fc08 in _XmFsbButton (w=0x93aa390, client=0x0, call=0xbfa66f34)
#18 0x05ec224c in XtCallCallbackList (widget=0x93aa390, callbacks=0x93abb48,
call_data=0xbfa66f34) at Callback.c:617
#19 0x001af0b6 in Activate (w=0x93aa390, event=<value optimized out>,
params=0x0, num_params=0xbfa66f9c) at PushBG.c:1409
#20 0x001af897 in input_dispatch (gadget=0x93aa390, event=0xbfa6749c,
event_mask=64) at PushBG.c:1825
#21 0x00186bf2 in _XmDispatchGadgetInput (w=0x93aa390, event=0xbfa6749c,
mask=64) at GadgetUtil.c:284
#22 0x001a096e in _XmGadgetActivate (w=0x93a6570, event=0xbfa6749c,
params=0x0, num_params=0x9320a40) at Manager.c:1064
#23 0x05efa82b in HandleActions (w=<value optimized out>,
event=<value optimized out>, stateTree=0x9320c18, accelWidget=0x0,
procs=0x93aff0c, actions=0x9320a38) at TMstate.c:636
#24 0x05efb051 in HandleComplexState (curEventPtr=<value optimized out>,
tmRecPtr=<value optimized out>, w=<value optimized out>) at TMstate.c:1063
#25 _XtTranslateEvent (curEventPtr=<value optimized out>,
tmRecPtr=<value optimized out>, w=<value optimized out>) at TMstate.c:1095
#26 0x05ed0c12 in XtDispatchEventToWidget (widget=0x93a6570, event=0xbfa6749c)
#27 0x05ed146b in _XtDefaultDispatcher (event=0xbfa6749c) at Event.c:1359
#28 0x05ed02bd in XtDispatchEvent (event=0xbfa6749c) at Event.c:1415
#29 0x080b1e9a in DXApplication::handleEvents (this=0x92b9de0)
#30 0x080936e7 in main (argc=3, argv=0xbfa675f4) at Main.C:110
Copying from bug 487616:
I downloaded the src rpm, built it locally and installed the locally build rpm,
and the buffer overflow issue is gone. I have no idea what is going on at this
Same thing for me,
I upgraded my system few days ago to Fedora 11, in a first time I had this
buffer overflow issue, then I dowloaded the src rpm, build it and now the error
During the configuration of the dx program I used no options at all.
dx-4.4.4-10.fc11 has been submitted as an update for Fedora 11.
dx-4.4.4-10.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update dx'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-11224
Tristan, could you test this new build and report back? Does the crash happen with all files or just with that particular one? If it's just that one then please attach it.
The new build appears to be working just fine for me now. Previously, it didn't matter what file I would open--it would crash with any .net file I could throw at it. The new build works great, thanks!
dx-4.4.4-10.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.