Opened 17 years ago

Last modified 15 years ago

#12335 closed defect

xfig crashes when accessing any menu — at Initial Version

Reported by: ejm@… Owned by: macports-dev@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: xfig

Description

Installed the xfig port, and the program launches. I can draw figures. However when I go to access a menu I get a crash. Here is the log

Host Name: fourier1 Date/Time: 2007-07-20 12:52:55.302 -0500 OS Version: 10.4.10 (Build 8R2218) Report Version: 4

Command: xfig Path: /opt/local/bin/xfig Parent: tcsh [9190]

Version: ??? (???)

PID: 9191 Thread: 0

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

Thread 0 Crashed: 0 libXaw3d.7.dylib 0x00546f25 Redisplay + 20 (SmeLine.c:220) 1 xfig 0x000e235a Redisplay + 153 (SimpleMenu.c:324) 2 libXt.6.dylib 0x006b2c42 SendExposureEvent + 161 3 libXt.6.dylib 0x006b3a80 XtDispatchEventToWidget + 843 4 libXt.6.dylib 0x006b3f2e _XtDefaultDispatcher + 427 5 libXt.6.dylib 0x006b2e6c 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: 0x006b2baf ecx: 0x000001e1 edx: 0x0110ac10 edi: 0x01109550 esi: 0x0110baa0 ebp: 0xbffff218 esp: 0xbffff1e0

ss: 0x0000001f efl: 0x00010282 eip: 0x00546f25 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 - 0x3e1fff libXpm.4.dylib /usr/X11R6/lib/libXpm.4.dylib 0x3e7000 - 0x3f6fff libz.1.dylib /opt/local/lib/libz.1.dylib 0x505000 - 0x522fff libpng.3.dylib /opt/local/lib/libpng.3.dylib 0x52a000 - 0x52efff libXi.6.dylib /usr/X11R6/lib/libXi.6.dylib 0x533000 - 0x562fff libXaw3d.7.dylib /usr/X11R6/lib/libXaw3d.7.dylib 0x68f000 - 0x69dfff libXmu.6.dylib /usr/X11R6/lib/libXmu.6.dylib 0x6a5000 - 0x6defff libXt.6.dylib /usr/X11R6/lib/libXt.6.dylib 0x6f2000 - 0x6f6fff libSM.6.dylib /usr/X11R6/lib/libSM.6.dylib 0x6fb000 - 0x70afff libICE.6.dylib /usr/X11R6/lib/libICE.6.dylib 0x712000 - 0x71afff libXext.6.dylib /usr/X11R6/lib/libXext.6.dylib

0x1008000 - 0x10c5fff libX11.6.dylib /usr/X11R6/lib/libX11.6.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

In fact, my problem seems to be exactly as described on the xfig FAQS page

http://epb.lbl.gov/xfig/frm_faq.html

under the first item (which I am taking the liberty to copy and paste):

Problems when running xfig or TransFig (fig2dev)

1.

When I pull up a menu, xfig crashes

POSSIBLE CAUSE:

Your version of the 3D Athena Widget Set may be incompatible

SOLUTION:

If your vendor has installed the Xaw3D1.5E verison of the 3D Athena Widget set but has called it Xaw3D, then it is incompatible with xfig's menu widget. Fix this by uncommenting the #define XAW3D1_5E line in the Imakefile and recompiling xfig. Be sure to do:

xmkmf make clean make install

Change History (0)

Note: See TracTickets for help on using tickets.