Summary: | mutex PTHREAD_PROCESS_SHARED attribute missinterpretation | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Petr Ovtchenkov <abominable-snowman> |
Component: | drd | Assignee: | Bart Van Assche <bart.vanassche+kde> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | abominable-snowman |
Priority: | NOR | ||
Version: | 3.4.1 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | Proposed fix. |
Description
Petr Ovtchenkov
2009-03-13 14:19:53 UTC
A bit correction: pthread_mutexattr_init( &att ); should be added in test before pthread_mutexattr_setpshared. Created attachment 32097 [details]
Proposed fix.
Can you please try the attached patch ? The attached patch should apply fine to the Valgrind 3.4.1 source code. By the way, this patch has already been committed on the trunk and on the VALGRIND_3_4_BRANCH. The relevant commits are: 9398,9399,9400 and 9407 for the trunk, and 9408 for the 3.4 branch.
I'm check attached patch (against 3.4.1 release) and trunk (r9408). It work fine! Thanks. |