chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] double-free or corruption


From: Felix
Subject: Re: [Chicken-users] double-free or corruption
Date: Thu, 07 Jul 2011 08:59:16 +0200 (CEST)

From: David N Murray <address@hidden>
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
> 

This isn't related to your data-structures, I think. Can you try to reduce
the code to isolate the problem? Does it also crash when compiled?


cheers,
felix



reply via email to

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