Re: Unexpected value-at for NULL'd pointer with pthreads

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

 



On 08/24/2015 03:29 PM, Kyle Harper wrote:
>>> I'm happy to provide any other code or info, or try other debugging
>>> tools.  I'm getting desperate trying to track this down, so any help
>>> is appreciated.
>>
>> The rule for this is always super-simple:
>>
>> Provide a complete example with full instructions about how to
>> reproduce the problem.
>>
>> Andrew.
>>
> 
> My apologies if I'm misunderstanding what you mean, but I did provide
> the full simplified example to demonstrate the issue in the Gist link:
> https://gist.github.com/KyleJHarper/af89bc1a11a699e14d48#file-grr-c

I did not see that link in any of your emails.  It doesn't do
anything about removing elements from lists.

> 
> Compiled with:
> gcc -std=gnu99 -pthread -o grr grr.c

You're freeing the same buffer twice.  Thus your program crashes.

Andrew.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux