This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug libstdc++/29496] _M_invalidate function is not thread-safe in GLIBCXX_DEBUG mode



------- Comment #14 from pcarlini at suse dot de  2006-10-31 13:23 -------
(In reply to comment #13)
> We actually encountered this problem - this is not taken from code review only.

Again, adding a mutex to that those *_base functions it's trivial. Now, please
start preparing reduced testcases for such issues, because apprently you *know*
how to do that. The approach "No test case - no bug" maybe can be considered
"naive" as you say, on the other hand enforcing it eventually makes for sound
software engineering, because would be even more naive to rely on submitter
itself and no one else in the world to test a candidate fix, thus not being
able to avoid regressions at a later stage within the project.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29496


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