I get the following error and core dump when trying to create a new
archive of a small spool file:
Converting messages to .
Reading /.../spool/czm ..........Bad free() ignored at
/.../lib/MHonArc/readmail.pl line 470, <FOPEN1> line 1557.
Bad free() ignored at /export/home/silvert/lib/MHonArc/readmail.pl line 470,
<FOPEN1> line 1557.
Bad free() ignored at /export/home/silvert/lib/MHonArc/readmail.pl line 470,
<FOPEN1> line 1557.
Segmentation Fault - core dumped
Any hints on how I go about debugging this problem? I "solved" it by
deleting the message that contained line 1557, but now I get
Converting messages to .
Reading /export/home/silvert/spool/czm ...........Bad free() ignored at
/export/home/silvert/lib/MHonArc/readmail.pl line 470, <FOPEN1> line 3398.
Bad free() ignored at /export/home/silvert/lib/MHonArc/readmail.pl line 470,
<FOPEN1> line 3398.
Bad free() ignored at /export/home/silvert/lib/MHonArc/mhamain.pl line 941,
<FOPEN1> line 3398.
....Bad free() ignored at /export/home/silvert/lib/MHonArc/readmail.pl line
470, <FOPEN1> line 4203.
Bad free() ignored at /export/home/silvert/lib/MHonArc/readmail.pl line 470,
<FOPEN1> line 4203.
Bad free() ignored at /export/home/silvert/lib/MHonArc/mhamain.pl line 941,
<FOPEN1> line 4203.
.......
Writing mail ......................
Writing ./index.html ...
Writing ./threads.html ...
Writing database ...
22 messages
At least this time I don't get a core dump, and the files seem to get
written OK. However I don't know what this all signifies.
I'm using MHonArc 2.2.0 with perl 5.001 (I know that this is a buggy
version of perl, but it's not my machine). Solaris 5.5 too.
--
Bill Silvert, Habitat Ecology Section, Bedford Institute of Oceanography,
P. O. Box 1006, Dartmouth, Nova Scotia, CANADA B2Y 4A2, Tel. (902)426-1577
http://www.mar.dfo-mpo.gc.ca/science/mesd/he/staff/silvert/silvert.html