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
Assigned Toerg 
PlatformOSlinux-i386OS Version
Summary0000446: Core dump in lefty when moving mouse

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

such as :

#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/
0000005 0x400f2abb in _XtMatchAtom () from /usr/X11R6/lib/
0000006 0x400f30b3 in _XtTranslateEvent () from /usr/X11R6/lib/
0000007 0x400cb57b in XtDispatchEventToWidget () from /usr/X11R6/lib/
0000008 0x400cc0c4 in _XtOnGrabList () from /usr/X11R6/lib/
0000009 0x400cc27f in XtDispatchEvent () from /usr/X11R6/lib/
0000010 0x400d8407 in XtAppProcessEvent () from /usr/X11R6/lib/
#11 0x0806c41d in Gprocessevents (waitflag=0, mode=G_MANYEVENTS) at
0000012 0x08058d19 in processinput (waitflag=1) at lefty.c:400
0000013 0x08058a8a in main (argc=2, argv=0x1) at lefty.c:212
Additional Information

[ek] this doesn't sound right.

these look very confused:
    #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

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.
add the line:
   if (sk == NULL) return NULL;
on lefy/tbl.c's 478 line number,then the bug fixed.
STATUS-COMMENTFixed (4 August 2004)
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