Your message dated Sun, 23 Jul 2006 19:21:52 +0200
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #345674,
regarding xfig: Crash when drawing arc from center point
to be marked as having been forwarded to the upstream software
author(s) "Brian V. Smith" <[EMAIL PROTECTED]>.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Hi Brian!
Here's another bug report:
----- Forwarded message from Jim Paris <[EMAIL PROTECTED]> -----
From: Jim Paris <[EMAIL PROTECTED]>
Subject: Bug#345674: xfig: Crash when drawing arc from center point
Date: Mon, 02 Jan 2006 13:09:27 -0500
Package: xfig
Version: 1:3.2.5-alpha5-4
Severity: normal
xfig crashes after drawing an arc starting with "center point" (middle
button). It works fine if I draw an arc starting with "first point"
(left button).
Backtrace:
Program received signal SIGSEGV, Segmentation fault.
(gdb) bt 11
#0 0x000000000045b144 in ?? ()
#1 0x0000000000408099 in ?? ()
#2 0x000000000047b315 in ?? ()
#3 0x00002aaaab40a926 in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
#4 0x00002aaaab40aed9 in _XtMatchAtom () from /usr/X11R6/lib/libXt.so.6
#5 0x00002aaaab40b5d0 in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
#6 0x00002aaaab3e508f in XtDispatchEventToWidget () from
/usr/X11R6/lib/libXt.so.6
#7 0x00002aaaab3e5861 in _XtOnGrabList () from /usr/X11R6/lib/libXt.so.6
#8 0x00002aaaab3e59ce in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
#9 0x0000000000448879 in ?? ()
#10 0x00002aaaabce64ca in __libc_start_main () from /lib/libc.so.6
(More stack frames follow...)
-jim
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-amd64-k8
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages xfig depends on:
ii libc6 2.3.5-8.1 GNU C Library: Shared libraries an
ii libice6 6.8.2.dfsg.1-11 Inter-Client Exchange library
ii libjpeg62 6b-10 The Independent JPEG Group's JPEG
ii libpng12-0 1.2.8rel-5 PNG library - runtime
ii libsm6 6.8.2.dfsg.1-11 X Window System Session Management
ii libx11-6 6.8.2.dfsg.1-11 X Window System protocol client li
ii libxext6 6.8.2.dfsg.1-11 X Window System miscellaneous exte
ii libxi6 6.8.2.dfsg.1-11 X Window System Input extension li
ii libxmu6 6.8.2.dfsg.1-11 X Window System miscellaneous util
ii libxp6 6.8.2.dfsg.1-11 X Window System printing extension
ii libxpm4 6.8.2.dfsg.1-11 X pixmap library
ii libxt6 6.8.2.dfsg.1-11 X Toolkit Intrinsics
ii xaw3dg 1.5+E-9 Xaw3d widget set
ii xlibs 6.8.2.dfsg.1-11 X Window System client libraries m
ii zlib1g 1:1.2.3-8 compression library - runtime
Versions of packages xfig recommends:
ii transfig 1:3.2.5-alpha5-3 Utilities for converting XFig figu
ii xfig-libs 1:3.2.5-alpha5-4 XFig image libraries and examples
-- no debconf information
----- End forwarded message -----
----- Forwarded message from Jim Paris <[EMAIL PROTECTED]> -----
From: Jim Paris <[EMAIL PROTECTED]>
Subject: Bug#345674: additional info
To: [EMAIL PROTECTED]
Date: Mon, 2 Jan 2006 15:17:35 -0500
I can draw arcs this way without a crash on i386, but it's still a
little buggy: if the "direction" and "final point" are at the same
location, the arc disappears after drawing it.
-jim
----- End forwarded message -----
I can reproduce this problem here on my amd64 machine. I get the
following backtrace:
#0 free_arc (list=0x7b35c0) at u_free.c:34
#1 0x0000000000408049 in create_arcobject (lx=2115, ly=4140) at d_arc.c:217
#2 0x000000000047b2a5 in canvas_selected (tool=<value optimized out>,
event=<value optimized out>, params=<value optimized out>, nparams=<value
optimized out>) at w_canvas.c:360
#3 0x00002aaaab40bae6 in _XtMatchAtom () from /usr/lib/libXt.so.6
#4 0x00002aaaab40c077 in _XtMatchAtom () from /usr/lib/libXt.so.6
#5 0x00002aaaab40c763 in _XtTranslateEvent () from /usr/lib/libXt.so.6
#6 0x00002aaaab3e5e6b in XtDispatchEventToWidget () from /usr/lib/libXt.so.6
#7 0x00002aaaab3e6650 in _XtOnGrabList () from /usr/lib/libXt.so.6
#8 0x00002aaaab3e67be in XtDispatchEvent () from /usr/lib/libXt.so.6
#9 0x0000000000448899 in main (argc=1, argv=0x7fffffeefb08) at main.c:1519
The program crashes in function free_arc():
void
free_arc(list)
F_arc **list;
{
F_arc *a, *arc;
for (a = *list; a != NULL;) {
arc = a;
a = a->next;
if (arc->for_arrow)
...
When this code is entered the first time, arc->for_arrow is set to
0x0, which results in the segmentation fault, when trying to access
arc->for_arrow.
Ciao
Roland
--- End Message ---