Ticket #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
Change History
comment:1 Changed 3 years ago by macsforever2000@…
- Owner changed from macports-tickets@… to s@…
- Keywords jgraph removed
Changed 3 years ago by brett.higgins@…
- Attachment patch-makefile.diff added
Replacement makefile patch with added flag.
comment:3 Changed 3 years ago by snc@…
I'm going to tweak this a little to use configure.cc as well.
comment:5 follow-up: ↓ 6 Changed 3 years ago by s@…
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 3 years ago by jmr@…
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.

