[Bug 669301] New: xvimagesink: hang joining thread at state switch to NULL

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Feb 3 03:57:01 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=669301
  GStreamer | gst-plugins-base | git

           Summary: xvimagesink: hang joining thread at state switch to
                    NULL
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: vincent.penquerch at collabora.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Got this while trying to repro the crash from
https://bugzilla.gnome.org/show_bug.cgi?id=434996.

Happened on a Matroska file after a dozen loops, but I doubt this is data
dependant from the stack trace.

This was using the sample code from that bug:
http://bugzilla-attachments.gnome.org/attachment.cgi?id=87392


Thread 2 (Thread 0x7f86456a1700 (LWP 20684)):
#0  0x00007f865952f203 in __poll (fds=<value optimised out>, nfds=<value
optimised out>, timeout=-1)
    at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8646c232da in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f8646c24f4c in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0x00007f86476b1993 in _XReply () from /usr/lib/libX11.so.6
#4  0x00007f864768f0e8 in _XGetWindowAttributes () from /usr/lib/libX11.so.6
#5  0x00007f864768f281 in XGetWindowAttributes () from /usr/lib/libX11.so.6
#6  0x00007f8640009e2f in gst_xvimagesink_xwindow_update_geometry
(xvimagesink=0x7f86501dd690)
    at xvimagesink.c:1078
#7  0x00007f864000ab76 in gst_xvimagesink_handle_xevents
(xvimagesink=0x7f86501dd690) at xvimagesink.c:1296
#8  0x00007f864000c872 in gst_xvimagesink_event_thread
(xvimagesink=0x7f86501dd690) at xvimagesink.c:1664
#9  0x00007f8659a5f615 in g_thread_proxy (data=0xf46d40) at gthread.c:801
#10 0x00007f86597df971 in start_thread (arg=<value optimised out>) at
pthread_create.c:304
#11 0x00007f865953b92d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f865adaf700 (LWP 20558)):
#0  0x00007f86597e0285 in pthread_join (threadid=140214666925824,
thread_return=0x0) at pthread_join.c:89
#1  0x00007f8659a79b46 in g_system_thread_wait (thread=0xf46d40) at
gthread-posix.c:1158
#2  0x00007f8659a5f6f5 in g_thread_join (thread=0x7f86456a19d0) at
gthread.c:966
#3  0x00007f8640012617 in gst_xvimagesink_reset (xvimagesink=0x7f86501dd690) at
xvimagesink.c:3432
#4  0x00007f864000f0fe in gst_xvimagesink_change_state (element=0x7f86501dd690, 
    transition=GST_STATE_CHANGE_READY_TO_NULL) at xvimagesink.c:2342
#5  0x00007f865a8fae18 in gst_element_change_state (element=0x7f86501dd690, 
    transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2761
#6  0x00007f865a8facc4 in gst_element_set_state_func (element=0x7f86501dd690,
state=GST_STATE_NULL)
    at gstelement.c:2717
#7  0x00007f865a8fa8cf in gst_element_set_state (element=0x7f86501dd690,
state=GST_STATE_NULL)
    at gstelement.c:2618
#8  0x00007f865a8de130 in gst_bin_element_set_state (bin=0xf104d0,
element=0x7f86501dd690, base_time=0, 
---Type <return> to continue, or q <return> to quit---
    start_time=0, current=GST_STATE_READY, next=GST_STATE_NULL) at
gstbin.c:2209
#9  0x00007f865a8df62c in gst_bin_change_state_func (element=0xf104d0, 
    transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2518
#10 0x00007f864cc3e1b1 in gst_auto_video_sink_change_state (element=0xf104d0, 
    transition=GST_STATE_CHANGE_READY_TO_NULL) at gstautovideosink.c:387
#11 0x00007f865a8fae18 in gst_element_change_state (element=0xf104d0, 
    transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2761
#12 0x00007f865a8facc4 in gst_element_set_state_func (element=0xf104d0,
state=GST_STATE_NULL)
    at gstelement.c:2717
#13 0x00007f865a8fa8cf in gst_element_set_state (element=0xf104d0,
state=GST_STATE_NULL) at gstelement.c:2618
#14 0x00007f865a8de130 in gst_bin_element_set_state (bin=0xec08a0,
element=0xf104d0, base_time=0, 
    start_time=0, current=GST_STATE_READY, next=GST_STATE_NULL) at
gstbin.c:2209
#15 0x00007f865a8df62c in gst_bin_change_state_func (element=0xec08a0, 
    transition=GST_STATE_CHANGE_READY_TO_NULL) at gstbin.c:2518
#16 0x00007f865a8fae18 in gst_element_change_state (element=0xec08a0, 
    transition=GST_STATE_CHANGE_READY_TO_NULL) at gstelement.c:2761
#17 0x00007f865a8facc4 in gst_element_set_state_func (element=0xec08a0,
state=GST_STATE_NULL)
    at gstelement.c:2717
#18 0x00007f865a8fa8cf in gst_element_set_state (element=0xec08a0,
state=GST_STATE_NULL) at gstelement.c:2618
#19 0x00007f8657e85e01 in remove_sinks (play_bin=0xd28040) at gstplaybin.c:1398
#20 0x00007f8657e8787f in gst_play_bin_change_state (element=0xd28040, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstplaybin.c:1968
#21 0x00007f865a8fae18 in gst_element_change_state (element=0xd28040, 
    transition=GST_STATE_CHANGE_PAUSED_TO_READY) at gstelement.c:2761
#22 0x00007f865a8facc4 in gst_element_set_state_func (element=0xd28040,
state=GST_STATE_NULL)
    at gstelement.c:2717
#23 0x00007f865a8fa8cf in gst_element_set_state (element=0xd28040,
state=GST_STATE_NULL) at gstelement.c:2618
#24 0x000000000040121d in main ()
(gdb)

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