chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-users] double-free or corruption


From: David N Murray
Subject: [Chicken-users] double-free or corruption
Date: Tue, 05 Jul 2011 23:52:57 -0400 (EDT)

Hi all,

I have some code that runs fine on my Mac and under OpenBSD.  Under Linux
however, it crashes.  Same code, all running under csi 4.7.0 64-bit.
Could this be an issue with my code?  I'm not sure I fully understand the
ramifications of using shared structure with partition and append and want
to make sure it's not my code causing the problem.  Is there a way to
track this down?  It's been a few dozen years since I read a core dump.
The last debugging message my code displayed showed that I just finished
writing a text file via for-each over the list I created (with partition
and append) using format and then close-output-port.  If I'm reading the
backtrace correctly, I'm in fclose and a free() is being called.d

TIA,
Dave

*** glibc detected *** /usr/local/bin/csi: double free or corruption
(!prev): 0x0000000000661780 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x78f85)[0x7f55bbcf2f85]
/lib64/libc.so.6(cfree+0x73)[0x7f55bbcf6d93]
/lib64/libc.so.6(fclose+0x155)[0x7f55bbce16f5]
/usr/local/lib/libchicken.so.6(+0x1e4578)[0x7f55bc68d578]
/usr/local/lib/libchicken.so.6(+0x9a2b3)[0x7f55bc5432b3]
[snip rest of pretty big backtrace and memory map]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]