-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/09/13 15:40, Christopher Samuel wrote:

> It dies when it does:
> 
> set_head(remainder, remainder_size | PREV_INUSE);
> 
> where remainder_size=0.

Ignore that, I've shown it to someone who is actually a programmer and
we've determined that it's remainder that is wrong, not (necessarily)
remainder_size.

(gdb) print remainder
$1 = (struct malloc_chunk *) 0x2008e5700
(gdb) print *remainder
Cannot access memory at address 0x2008e5700

I cannot duplicate this under valgrind or gdb and given that this
doesn't happen every time I run it and gdb indicates there are at
least 2 threads running then we're wondering if this is a race condition.

cheers,
Chris
- -- 
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlIkMQYACgkQO2KABBYQAh9HMQCfRapLNicP5gBeqPecQA4xpM0+
fuIAoIUcwwSxsc1Y3QZiX8rNjvyKZFMC
=NQKd
-----END PGP SIGNATURE-----

Reply via email to