Bug 395414 - Valgrind hangs when about to exit
Summary: Valgrind hangs when about to exit
Status: RESOLVED NOT A BUG
Alias: None
Product: valgrind
Classification: Developer tools
Component: memcheck (show other bugs)
Version: 3.13.0
Platform: PCLinuxOS Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-15 08:01 UTC by Opera Wang
Modified: 2018-09-03 07:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
mem check hangs by mutex lock (2.87 KB, text/plain)
2018-06-15 08:01 UTC, Opera Wang
Details
mem check hangs at glibc? (2.67 KB, text/plain)
2018-06-15 08:14 UTC, Opera Wang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Opera Wang 2018-06-15 08:01:15 UTC
Created attachment 113335 [details]
mem check hangs by mutex lock

We're using Valgrind 3.13 to check memory leak issues, and some test cases randomly hangs when it exit

We do see 2 kind of hangs, the 1st one seems happen more frequently, and hangs @ pthread_mutex_lock, the 2nd one hangs @ tls_get_addr_tail, please see attached file
Comment 1 Opera Wang 2018-06-15 08:14:18 UTC
Created attachment 113336 [details]
mem check hangs at glibc?
Comment 2 Julian Seward 2018-09-03 07:11:26 UTC
Statistically speaking, this is most likely to be a (locking)
bug in your program.  You run it with --tool=helgrind to get
more information.
Comment 3 Julian Seward 2018-09-03 07:12:23 UTC
Closing as invalid.  If you have more information that suggests
it's really a bug in Valgrind -- including a small test case --
then please feel free to reopen.