Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2008 23:22:15 -0500
From:      Stephen Montgomery-Smith <stephen@math.missouri.edu>
To:        freebsd-ports <freebsd-ports@FreeBSD.org>
Subject:   signal handling issues
Message-ID:  <48D085F7.8080004@math.missouri.edu>

next in thread | raw e-mail | index | archive | help
Apparently the program octave, as installed from ports, can coredump 
with "malloc(): error: recursive call."  I did a google check, and it 
seems that it results when a signal handler calls malloc when the signal 
was caught inside a malloc.  And looking inside 
/usr/ports/math/octave/work/octave-3.0.2/src/sighandlers.cc, I see that 
it does seem to use "new" and printing functions which I guess are not 
listed as allowed in "man sigaction."

My question is this.  Do you think it would be a good idea to link 
octave against /devel/ptmalloc?  I am thinking of graphics/xaralx as a 
model for how to do this.

Or does anyone else have some other idea on how to fix this?

Thanks, Stephen




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48D085F7.8080004>