Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12374 closed defect (duplicate)

BUG: xfig crash

Reported by: andre@… Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: andre@…, pguyot (Paul Guyot)
Port:

Description

I install xfig from sources without problems. I can launch it from X11 and use the drawing tools. Whenever I try to save, the application crashes. I can run other port applications such as octave and gnuplot without problems.

The system is OS X 10.4.10 2.33 GHz Intel Core2 Duo

This is the X11 terminal output

andre-girards-computer:~ andre$ xfig color = '#ffcccc'

xfig3.2.5: SIGBUS signal trapped xfig: attempting to save figure xfig: 3 object(s) saved in "/Users/andre/SAVE.fig" Abort trap

The SAVE.fig file is created and appears normal

This is the crash log

Host Name: andre-girards-computer Date/Time: 2007-07-31 08:45:30.298 -0400 OS Version: 10.4.10 (Build 8R2218) Report Version: 4

Command: xfig Path: opt/local/bin/xfig Parent: bash [15779]

Version: ??? (???)

PID: 15780 Thread: 0

Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x0000008c

Thread 0 Crashed: 0 libXaw3d.7.dylib 0x0052a949 Redisplay + 20 1 xfig 0x000e235a Redisplay + 153 (SimpleMenu.c:324) 2 libXt.6.dylib 0x9d0bcc2e SendExposureEvent + 161 3 libXt.6.dylib 0x9d0bda6c XtDispatchEventToWidget + 843 4 libXt.6.dylib 0x9d0bdf1a _XtDefaultDispatcher + 427 5 libXt.6.dylib 0x9d0bce58 XtDispatchEvent + 414 6 xfig 0x0004445f main + 11848 (main.c:1543) 7 xfig 0x000021da _start + 216 8 xfig 0x00002101 start + 41

Thread 0 crashed with X86 Thread State (32-bit):

eax: 0x00000000 ebx: 0x9d0bcb9b ecx: 0x0000018d edx: 0x0060ab60 edi: 0x006094a0 esi: 0x0060b9f0 ebp: 0xbffff148 esp: 0xbffff110

ss: 0x0000001f efl: 0x00010282 eip: 0x0052a949 cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037

Binary Images Description:

0x1000 - 0x118fff xfig /opt/local/bin/xfig

0x3b3000 - 0x3cefff libjpeg.62.dylib /opt/local/lib/libjpeg.62.dylib 0x3d6000 - 0x3f3fff libpng.3.dylib /opt/local/lib/libpng.3.dylib 0x505000 - 0x514fff libz.1.dylib /opt/local/lib/libz.1.dylib 0x519000 - 0x548fff libXaw3d.7.dylib /usr/X11R6/lib/libXaw3d.7.dylib

0x8fe00000 - 0x8fe4afff dyld 46.12 /usr/lib/dyld 0x90000000 - 0x90171fff libSystem.B.dylib /usr/lib/libSystem.B.dylib 0x901c1000 - 0x901c3fff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib 0x90bd2000 - 0x90bd9fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib 0x9ac31000 - 0x9ac40fff libICE.6.dylib /usr/X11R6/lib/libICE.6.dylib 0x9ac46000 - 0x9ac4afff libSM.6.dylib /usr/X11R6/lib/libSM.6.dylib 0x9cf20000 - 0x9cfddfff libX11.6.dylib /usr/X11R6/lib/libX11.6.dylib 0x9d024000 - 0x9d02cfff libXext.6.dylib /usr/X11R6/lib/libXext.6.dylib 0x9d05b000 - 0x9d05ffff libXi.6.dylib /usr/X11R6/lib/libXi.6.dylib 0x9d069000 - 0x9d077fff libXmu.6.dylib /usr/X11R6/lib/libXmu.6.dylib 0x9d08d000 - 0x9d098fff libXpm.4.dylib /usr/X11R6/lib/libXpm.4.dylib 0x9d0af000 - 0x9d0e8fff libXt.6.dylib /usr/X11R6/lib/libXt.6.dylib

Change History (7)

comment:1 Changed 17 years ago by nox@…

Cc: andre@… added
Milestone: Port Bugs
Priority: ExpectedNormal
Summary: xfig crashBUG: xfig crash
Version: 1.5.0

Are you sure this is not a problem in xfig itself?

comment:2 Changed 17 years ago by nox@…

Cc: pguyot@… added

comment:3 Changed 17 years ago by bletofarine@…

xfig 3.2 is still broken. If I launch xfig, then click on the "File" menu, it appears as blank and xfig crashs.

Here is a gdb log :

(gdb) run xfig
Starting program: /opt/local/bin/xfig xfig
Reading symbols for shared libraries .++++ done
color = '#ffcccc'

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000008c
Redisplay (w=0x110aa40, event=0x0, region=0x0) at SmeLine.c:220
220     SmeLine.c: No such file or directory.
        in SmeLine.c

I'm using MacPorts 1.520, with an up to date port tree, on a MacOS X 10.4.10.

nisos ~ $ uname -ar
Darwin nisos.rsr.lip6.fr 8.10.0 Darwin Kernel Version 8.10.0: Wed May 23 16:50:59 PDT 2007; root:xnu-792.21.3~1/RELEASE_PPC Power Macintosh powerpc

nisos ~ $ xfig -v
Xfig 3.2 patchlevel 5 (Protocol 3.2)

comment:4 Changed 17 years ago by alexander.zimmermann@…

comment:5 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to pguyot@…

Assigning to maintainer of xfig.

comment:6 Changed 17 years ago by pguyot (Paul Guyot)

Resolution: duplicate
Status: newclosed

Dup of #12044 which was fixed with r33558.

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.