This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fw: [Boost-users] Problem with shared_ptr and pthreads_mutex_lock


Kurt Kohler wrote:

I was already using 3.0.1 (specifically 1:3.0.1-1 from the Debian repository). I've attached the output.

Ok, thanks.


I should emphasize that this isn't just a problem with what valgrind reports. In my real program I was seeing both hangs and asserts in pthread_mutex_lock called from the destructor for shared_count until I switched to using the boost version of shared_ptr.

Of course isn't just such a problem, otherwise you would have posted to the valgrind mailing list, right? ;)
But unfortunately, for some reason, the only useful debug info that we have so far, I cannot reproduce.


It would be useful to know at least something more about your application, for instance whether is heavily multithreaded or not. Really, you understand that if we cannot reproduce at least the valgrind messages we don't have much, concretely.

Thanks,
Paolo.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]