New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #24020 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

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

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

Change History

comment:1 Changed 3 years ago by macsforever2000@…

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

comment:2 Changed 3 years ago by jmr@…

  • Keywords LP64 added

Changed 3 years ago by brett.higgins@…

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:4 Changed 3 years ago by snc@…

  • Status changed from new to closed
  • Resolution set to fixed

Patch added in r69729.

Added configure.cc and supported_archs.

Maintainer timeout.

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.

Note: See TracTickets for help on using tickets.