Opened 9 years ago

Closed 9 years ago

#49434 closed defect (fixed)

scamp: undefined C expression in src/fields.c causes crashes on Mac

Reported by: junkobunko@… Owned by: cdeil (Christoph Deil)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: lpsinger (Leo Singer), ryandesign (Ryan Carsten Schmidt), kurthindenburg (Kurt Hindenburg)
Port: scamp

Description

See http://www.astromatic.net/forum/showthread.php?tid=1041 for details.

This bug has remained unfixed in the Scamp distribution since 2013.

Change History (5)

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

Cc: aronnax@… ryandesign@… added
Owner: changed from macports-tickets@… to Deil.Christoph@…

comment:2 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:3 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Do you have something that will trigger the crash? or should we just patch it?

comment:4 in reply to:  3 Changed 9 years ago by junkobunko@…

Replying to khindenburg@…:

Do you have something that will trigger the crash? or should we just patch it?

I don't have anything at the moment. I've been using my own patched version for a while. It may depend on the compiler used. Several people have noted this flaw (the fix actually came from http://www.astromatic.net/forum/showthread.php?tid=929 ) As noted in the thread pointed to by the URL, homebrew has a patch.

I think that the fact that it is invalid (undefined) C warrants a fix, whether or not it triggers a bug.

comment:5 Changed 9 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

done r142564

Note: See TracTickets for help on using tickets.