Opened 17 years ago

Closed 14 years ago

#12044 closed defect (fixed)

BUG: xfig-3.2.5 crashes when accessing menu bar

Reported by: schlecht@… Owned by: pguyot (Paul Guyot)
Priority: Normal Milestone:
Component: ports Version: 1.4.42
Keywords: Cc: schlecht@…, pguyot (Paul Guyot), ryandesign (Ryan Carsten Schmidt)
Port: xfig

Description (last modified by jmpalacios (Juan Manuel Palacios))

When accessing xfig menus (file, etc), the program crashes. A backtrace in gdb produces the following results

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x0000008c
Redisplay (w=0x110aee0, event=0x0, region=0x0) at SmeLine.c:220
220     SmeLine.c: No such file or directory.
        in SmeLine.c
(gdb) backtrace
#0  Redisplay (w=0x110aee0, event=0x0, region=0x0) at SmeLine.c:220
#1  0x000f0104 in Redisplay (w=0x1109820, event=0x0, region=0x1100af0) at SimpleMenu.c:341
#2  0x007820b4 in SendExposureEvent ()
#3  0x00783290 in XtDispatchEventToWidget ()
#4  0x007837a8 in _XtDefaultDispatcher ()
#5  0x00782318 in XtDispatchEvent ()
#6  0x0004bb14 in main (argc=1, argv=0xbffff1f4) at main.c:1543

Change History (11)

comment:1 Changed 17 years ago by markd@…

Cc: pguyot@… added
Owner: changed from macports-dev@… to pguyot@…
Summary: xfig crashes when accessing menu barBUG: xfig-3.2.5 crashes when accessing menu bar

Assign to maintainer.

comment:2 Changed 17 years ago by markd@…

Looks like there may be a problem with xaw3d. Here is a possible fix.

http://lists.freebsd.org/pipermail/freebsd-ports/2005-August/025633.html

comment:3 Changed 17 years ago by boeyms@…

Milestone: MacPorts 1.4Port Bugs

Correct milestone from "MacPorts 1.4" to "Port Bugs".

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

Cc: ryandesign@… added

The "possible fix" above looks rather complicated, while #12335 shows a simple one-line patch that is supposed to fix the problem. I haven't tested it yet.

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

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

Resolution: fixed
Status: newclosed

Fixed in r33558.

comment:7 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)
Priority: HighNormal

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:9 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Port: xfig added
Resolution: fixed
Status: closedreopened

I broke this again when updating xfig to 3.2.5b in r70347.

comment:10 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Re-fixed in r70350.

comment:11 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.