Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000446graphvizDotty/Lneato/Leftypublic2004-08-04 00:002011-04-28 04:02
Reporterwatercloud 
Assigned Toerg 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSlinux-i386OS Version
Summary0000446: Core dump in lefty when moving mouse
Description



 I use dotty ,and when I press the mouse middle button and drag it,then
program lefy core dumped.



such as :



<CD>
#0 0x0805d9f7 in find (tp=0x80bd1f4, ko=0x80895f0, sk=0x0) at tbl.c:479
479 if ((kvlp = tp->lp[GETSKINDEX (tp, sk)]))
(gdb) p/x sk
$1 = 0x0
(gdb) bt
#0 0x0805d9f7 in find (tp=0x80bd1f4, ko=0x80895f0, sk=0x0) at tbl.c:479
0000001 0x0805d0d6 in Tfinds (to=0x80bd1f4, sk=0x80895f0 "\003") at tbl.c:283
0000002 0x080523e2 in GFXevent (evp=0xbfffef50) at gfxview.c:291
0000003 0x0806ae6d in Gcwbutaction (w=0x80895f0, evp=0xbffff1d0, app=0x0,
anp=0x40101978) at gcanvas.c:1295
0000004 0x400f2587 in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
0000005 0x400f2abb in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
0000006 0x400f30b3 in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
0000007 0x400cb57b in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
0000008 0x400cc0c4 in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
0000009 0x400cc27f in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
0000010 0x400d8407 in XtAppProcessEvent () from /usr/X11R6/lib/libXt.so.6
#11 0x0806c41d in Gprocessevents (waitflag=0, mode=G_MANYEVENTS) at
gcommon.c:275
0000012 0x08058d19 in processinput (waitflag=1) at lefty.c:400
0000013 0x08058a8a in main (argc=2, argv=0x1) at lefty.c:212
</CD>
Additional Information

[ek] this doesn't sound right.

these look very confused:
<CD>
    #0 0x0805d9f7 in find (tp=0x80bd1f4, ko=0x80895f0, sk=0x0) at tbl.c:479
    0000001 0x0805d0d6 in Tfinds (to=0x80bd1f4, sk=0x80895f0 "\003") at tbl.c:283
</CD>

sk in Tfinds should be pointing to an ascii string.
I don't see how ko in find could be == sk in Tfinds.
either this was compiled badly or there's some other
bug there.


TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
add the line:
<CD>
   if (sk == NULL) return NULL;
</CD>
on lefy/tbl.c's 478 line number,then the bug fixed.
FORMER-ID501
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (4 August 2004)
VERSION 1.13
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => erg


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker