[lsb-bugs] [Bug 3042] /glib-t2c/tests/glib_threads/glib_threads

bugzilla-daemon at linux-foundation.org bugzilla-daemon at linux-foundation.org
Mon Sep 27 20:04:02 PDT 2010


http://bugs.linuxbase.org/show_bug.cgi?id=3042

--- Comment #6 from brett.pub at gmail.com 2010-09-27 20:04:00 PDT ---
Yep.. that's the one.

root at localhost:/root> ./bug-3042
root at localhost:/root> diff -u bug-3042.c bug-3042-hacked.c
--- bug-3042.c  2010-09-28 03:10:38.000000000 +0000
+++ bug-3042-hacked.c   2010-09-28 03:20:28.000000000 +0000
@@ -112,9 +112,11 @@
         * error should be raced at g_static_rec_mutex_free(&rec_mutex)
         */
        //comment start
+       /*
        set_cond_variable(&common_sync, 2);
        g_thread_join(thread1);
        g_thread_join(thread2);
+       */
        //comment end
        g_static_rec_mutex_free(&rec_mutex);
        return 0;
root at localhost:/root> ./bug-3042-hacked

GThread-ERROR **: file gthread-posix.c: line 171 (g_mutex_free_posix_impl):
error 'Device or resource busy' during 'pthread_mutex_destroy ((pthread_mutex_t
*) mutex)'
aborting...
Aborted
root at localhost:/root>

Thanks.

-- 
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the lsb-bugs mailing list