FreeBSD Bugzilla – Bug 127491
math/octave can crash with "malloc(): error: recursive call"
Last modified: 2009-05-26 03:10:01 UTC
octave can crash with "malloc(): error: recursive call".
This seems to happen intermittently when installing any of the octave-forge-*
ports, either using ports or packages.
The problem seems to be caused by a signal handler that invokes malloc.
My guess is that it is in octave-3.0.2/src/sighandlers.cc inside
octave_child_list::instance_ok, which is called via octave_child_list::reap
Fix: First install PR ports/127490.
Then apply this patch:
How-To-Repeat: Run the script
sh -c "while true; do killall -CHLD octave-3.0.2; done"
and at the same time install some of the octave-forge-* ports, either from
ports or packages. It will not happen every time.
I can make this happen with FreeBSD-6.x, but not with FreeBSD-8.x. I have
only tried it with the amd64 architecture, not i386, so I don't know if it is
a problem with i386.
Over to maintainer (via the GNATS Auto Assign Tool)
maho 2009-05-26 02:03:38 UTC
FreeBSD ports repository
Fix a commit for prior than FBSD7.
Original patch has been slighlty modified.
Submitted by: Stephen Montgomery-Smith
Revision Changes Path
1.98 +9 -0 ports/math/octave/Makefile
email@example.com mailing list
To unsubscribe, send any mail to "firstname.lastname@example.org"