This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Unexpected value-at for NULL'd pointer with pthreads
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Kyle Harper <kylejharper at gmail dot com>
- Cc: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Fri, 21 Aug 2015 11:59:17 +0100
- Subject: Re: Unexpected value-at for NULL'd pointer with pthreads
- Authentication-results: sourceware.org; auth=none
- References: <CAPcbWWxx3g9Uk9sn5jgG1GgmxSk1fjy5ybHKuRMzdKN3LJqt2Q at mail dot gmail dot com>
Without looking at the code, I suggest trying GCC's -sanitize=thread
option and/or valgrind's helgrind tool.