[Bug 681575] New: [0.11] gstnetclientclock test hangs forever on Ubuntu Quantal

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Aug 9 23:12:11 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=681575
  GStreamer | gstreamer (core) | 0.11.x

           Summary: [0.11] gstnetclientclock test hangs forever on Ubuntu
                    Quantal
    Classification: Platform
           Product: GStreamer
           Version: 0.11.x
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


The gstnetclientclock test hangs forever on Ubuntu Quantal. Even the timeout of
the testrunner is not killing it after some time. No idea why the testrunner
does not kill it after some time but the test problem seems to be a deadlock in
the GMainContext used by the clock.


Testrunner process:

(gdb) bt
#0  0x00002b8ce5d9184e in waitpid () from /lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00002b8ce533fef1 in tcase_run_tfun_fork (i=0, tfun=0x123e370,
tc=0x126c930, sr=0x123e3d0)
    at check_run.c:382
#2  srunner_iterate_tcase_tfuns (tc=0x126c930, sr=<optimized out>) at
check_run.c:175
#3  srunner_run_tcase (tc=0x126c930, sr=0x123e3d0) at check_run.c:302
#4  srunner_iterate_suites (sr=0x123e3d0, print_mode=<optimized out>) at
check_run.c:150
#5  srunner_run_all (sr=sr at entry=0x123e3d0,
print_mode=print_mode at entry=CK_NORMAL)
    at check_run.c:561
#6  0x00002b8ce533c5ed in gst_check_run_suite (suite=suite at entry=0x126bb50, 
    name=name at entry=0x40187e "gst_net_client_clock", 
    fname=fname at entry=0x401774 "libs/gstnetclientclock.c") at gstcheck.c:666
#7  0x0000000000400ecd in main (argc=1, argv=0x7fffe05b16d8) at
libs/gstnetclientclock.c:128


Test process:

(gdb) bt
#0  0x00002b8ce5d8b148 in pthread_join () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00002b8ce5b108d7 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00002b8ce5af7205 in g_thread_join () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00002b8ce51309db in gst_net_client_clock_stop (self=0x1270000) at
gstnetclientclock.c:517
#4  gst_net_client_clock_finalize (object=0x1270000) at gstnetclientclock.c:151
#5  0x00002b8ce5850138 in g_object_unref () from
/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6  0x000000000040162e in test_instantiation (__i__=<optimized out>) at
libs/gstnetclientclock.c:40
#7  0x00002b8ce53402e5 in tcase_run_tfun_fork (i=0, tfun=0x123e370,
tc=0x126c930, sr=0x123e3d0)
    at check_run.c:372
#8  srunner_iterate_tcase_tfuns (tc=0x126c930, sr=<optimized out>) at
check_run.c:175
#9  srunner_run_tcase (tc=0x126c930, sr=0x123e3d0) at check_run.c:302
#10 srunner_iterate_suites (sr=0x123e3d0, print_mode=<optimized out>) at
check_run.c:150
#11 srunner_run_all (sr=sr at entry=0x123e3d0,
print_mode=print_mode at entry=CK_NORMAL)
    at check_run.c:561
#12 0x00002b8ce533c5ed in gst_check_run_suite (suite=suite at entry=0x126bb50, 
    name=name at entry=0x40187e "gst_net_client_clock", 
    fname=fname at entry=0x401774 "libs/gstnetclientclock.c") at gstcheck.c:666
#13 0x0000000000400ecd in main (argc=1, argv=0x7fffe05b16d8) at
libs/gstnetclientclock.c:128

(gdb) thread 2
[Switching to thread 2 (Thread 0x2b8ce7c64700 (LWP 13027))]
#0  0x00002b8ce5d9089c in __lll_lock_wait () from
/lib/x86_64-linux-gnu/libpthread.so.0
(gdb) bt
#0  0x00002b8ce5d9089c in __lll_lock_wait () from
/lib/x86_64-linux-gnu/libpthread.so.0
#1  0x00002b8ce5d8c09b in _L_lock_1006 () from
/lib/x86_64-linux-gnu/libpthread.so.0
#2  0x00002b8ce5d8c01c in pthread_mutex_lock () from
/lib/x86_64-linux-gnu/libpthread.so.0
#3  0x00002b8ce5b101d1 in g_mutex_lock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00002b8ce5ad19b8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00002b8ce5ad1d3f in g_main_context_unref () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00002b8ce5130113 in gst_net_client_clock_thread (data=0x1270000) at
gstnetclientclock.c:416
#7  0x00002b8ce5af6db5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00002b8ce5d89e9a in start_thread () from
/lib/x86_64-linux-gnu/libpthread.so.0
#9  0x00002b8ce60914bd in clone () from /lib/x86_64-linux-gnu/libc.so.6
#10 0x0000000000000000 in ?? ()

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list