[Bug 796731] gstplayer join to self cause crash

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jul 2 06:38:03 UTC 2018


https://bugzilla.gnome.org/show_bug.cgi?id=796731

--- Comment #3 from rland <rlandjon at gmail.com> ---
And this is the full stack backtace:
---

Thread 8 (Thread 7616.16885):
#0  tgkill () at bionic/libc/arch-arm/syscalls/tgkill.S:10
No locals.
#1  0xeda93522 in g_log_default_handler (log_domain=0xedda54cc "GLib",
log_level=6, message=<optimized out>, unused_data=<optimized out>)
    at gmessages.c:3051
        fields = {{key = 0xedda9fcd "GLIB_OLD_LOG_API", value = 0xedc0ab96,
length = -1}, {key = 0xedda9f2e "MESSAGE", value = 0xeb7cbcc0, 
            length = -1}, {key = 0xedda9f41 "PRIORITY", value = 0xedc4640e,
length = -1}, {key = 0xedda9f9b "GLIB_DOMAIN", value = 0xedda54cc, 
            length = -1}}
        n_fields = <optimized out>
#2  0xeda93706 in g_logv (log_domain=0xedda54cc "GLib",
log_level=log_level at entry=G_LOG_LEVEL_ERROR, format=format at entry=0xedda54cc
"GLib", 
    args=..., args at entry=...) at gmessages.c:1341
        domain = 0x0
        data = 0x0
        depth = 1
        log_func = 0xeda934c9 <g_log_default_handler>
        domain_fatal_mask = <optimized out>
        masquerade_fatal = 0
        test_level = 6
        was_fatal = 0
        was_recursion = 0
        msg = 0xeb7cbcc0 "file gthread-posix.c: line 1212
(g_system_thread_wait): error 'Resource deadlock would occur' during
'pthread_join (pt->system_thread, NULL)'"
        msg_alloc = 0xeb7cbcc0 "file gthread-posix.c: line 1212
(g_system_thread_wait): error 'Resource deadlock would occur' during
'pthread_join (pt->system_thread, NULL)'"
        i = 2
#3  0xeda937b0 in g_log (log_domain=<optimized out>,
log_level=log_level at entry=G_LOG_LEVEL_ERROR, 
    format=0xeddafb79 "file %s: line %d (%s): error '%s' during '%s'") at
gmessages.c:1403
        args = {__ap = 0xe70ff78c}
#4  0xedab6380 in g_system_thread_wait (thread=0xe8eed260) at
gthread-posix.c:1212
        error = <optimized out>
        pt = 0xe8eed260
        __FUNCTION__ = "g_system_thread_wait"
#5  0xedaa50ec in g_thread_join (thread=0xe8eed260) at gthread.c:952
        real = 0xe8eed260
        retval = <optimized out>
        __FUNCTION__ = "g_thread_join"
#6  0xf1a586f0 in gst_player_dispose (object=0xe94ba580)
    at
/home/shakin/work/src/ssc/gstreamer/mmpadapter/src/platforms/android/jni/../../../../src/engine_gst/engine/gstplayer.c:507
        self = 0xe94ba580
        __FUNCTION__ = "gst_player_dispose"
#7  0xeda5ecd2 in g_object_unref (_object=0xe94ba580) at gobject.c:3293
        weak_locations = 0x0
        old_ref = <optimized out>
        object = 0xe94ba580
#8  0xf1a56270 in state_changed_signal_data_free (data=0xe8907620)
    at
/home/shakin/work/src/ssc/gstreamer/mmpadapter/src/platforms/android/jni/../../../../src/engine_gst/engine/gstplayer.c:886
No locals.
#9  0xf1a5bc6a in change_state (self=self at entry=0xe94ba580,
state=GST_PLAYER_STATE_STOPPED)
    at
/home/shakin/work/src/ssc/gstreamer/mmpadapter/src/platforms/android/jni/../../../../src/engine_gst/engine/gstplayer.c:908
        data = 0xe8907620
        __FUNCTION__ = "change_state"
#10 0xf1a5c36e in gst_player_stop_internal (self=0xe94ba580,
transient=transient at entry=0)
    at
/home/shakin/work/src/ssc/gstreamer/mmpadapter/src/platforms/android/jni/../../../../src/engine_gst/engine/gstplayer.c:3388
        __FUNCTION__ = "gst_player_stop_internal"
#11 0xf1a5c56c in gst_player_stop_internal_dispatch (user_data=0xe94ba580)
    at
/home/shakin/work/src/ssc/gstreamer/mmpadapter/src/platforms/android/jni/../../../../src/engine_gst/engine/gstplayer.c:3429
        self = <optimized out>
#12 0xeda8f800 in g_main_dispatch (context=0xe9e35930) at gmain.c:3249
        dispatch = 0xeda8d7e1 <g_idle_dispatch>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0xe94ba580
        callback = 0xf1a5c555 <gst_player_stop_internal_dispatch>
        cb_funcs = 0xee523acc <g_source_callback_funcs>
        cb_data = 0xe99a0040
        need_destroy = <optimized out>
        source = 0xe9e1d5b0
        current = 0xe94d3a28
        i = 0
#13 g_main_context_dispatch (context=context at entry=0xe9e35930) at gmain.c:3949
No locals.
#14 0xeda8f9a4 in g_main_context_iterate (context=0xe9e35930,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>)
    at gmain.c:4022
        max_priority = 2147483647
        timeout = 100
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = <optimized out>
        fds = 0xe94c00d0
#15 0xeda8fc4c in g_main_loop_run (loop=0xe8ec4330) at gmain.c:4218
        __FUNCTION__ = "g_main_loop_run"
#16 0xf1a5c050 in gst_player_main (data=<optimized out>)
    at
/home/shakin/work/src/ssc/gstreamer/mmpadapter/src/platforms/android/jni/../../../../src/engine_gst/engine/gstplayer.c:3091
        self = 0xe94ba580
        bus = 0xe950b308
        source = <optimized out>
        bus_source = 0xe98d0c58
        scaletempo = <optimized out>
        env = <optimized out>
        __FUNCTION__ = "gst_player_main"
#17 0xedaa4d8e in g_thread_proxy (data=0xe8eed260) at gthread.c:784
        thread = 0xe8eed260
#18 0xf0b51db8 in __pthread_start (arg=0xe70ff970) at
bionic/libc/bionic/pthread_create.cpp:215
        thread = 0xe70ff970
        result = <optimized out>
#19 0xf0b24f80 in __start_thread (fn=0xf0b51da1 <__pthread_start(void*)>,
arg=0xe70ff970) at bionic/libc/bionic/clone.cpp:46
        self = <optimized out>
        status = <optimized out>
#20 0x00000000 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

-- 
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