Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#24020 closed defect (fixed)

jgraph-8.3 Segmentation fault on Snow Leopard

Reported by: brett.higgins@… Owned by: s@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: LP64 Cc:
Port: jgraph

Description

Segfault when processing a simple column graph. Compiling patched source from jgraph homepage yields a flurry of compiler warnings like this:

warning: cast to pointer from integer of different size

Adding -m32 to compiler flags in makefile fixes the issue.

Attachments (1)

patch-makefile.diff (330 bytes) - added by brett.higgins@… 14 years ago.
Replacement makefile patch with added flag.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Keywords: jgraph removed
Owner: changed from macports-tickets@… to s@…

comment:2 Changed 14 years ago by jmroot (Joshua Root)

Keywords: LP64 added

Changed 14 years ago by brett.higgins@…

Attachment: patch-makefile.diff added

Replacement makefile patch with added flag.

comment:3 Changed 14 years ago by nerdling (Jeremy Lavergne)

I'm going to tweak this a little to use configure.cc as well.

comment:4 Changed 14 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

Patch added in r69729.

Added configure.cc and supported_archs.

Maintainer timeout.

comment:5 Changed 14 years ago by stevecheckoway (Stephen Checkoway)

Maintainer timeout.

Oops. I didn't know that I needed to do anything. Adding -m32 worked for me.

comment:6 in reply to:  5 Changed 14 years ago by jmroot (Joshua Root)

Replying to s@…:

Oops. I didn't know that I needed to do anything. Adding -m32 worked for me.

As maintainer, you're expected to indicate whether you approve or disapprove of proposed changes like this. If you approve, ask a committer to commit the patch for you, e.g. by asking on the -dev list or on IRC. Remember that usually nobody sees what goes on in a ticket unless they are the reporter, the assignee, or in cc.

Note: See TracTickets for help on using tickets.