[gstreamer-bugs] [Bug 606759] New: [v4l2src] Hangs capturing frame

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jan 12 08:17:06 PST 2010


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

           Summary: [v4l2src] Hangs capturing frame
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: hadess at hadess.net
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


gstreamer-plugins-good-0.10.17-4.fc12.x86_64
gstreamer-0.10.25.1-3.fc12.x86_64
gstreamer-plugins-base-0.10.25.1-2.fc12.x86_64

When using the "cheese-test-chooser" test program from cheese master, the
capture sometimes hangs, leaving the webcam in use, and the program frozen.

Using libv4l2's debug facility (LIBV4L2_LOG_FILENAME=/tmp/log as envvar), I get
loops of:
request == VIDIOC_DQBUF
result == 0
request == VIDIOC_QBUF
result == 0

Thread 7 (Thread 0x7f8f0a604710 (LWP 9118)):
#0  0x00000037f5ad51e3 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8f11be3b5c in g_main_context_poll (n_fds=<value optimized out>,
fds=<value optimized out>, priority=<value optimized out>, timeout=<value
optimized out>, context=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (n_fds=<value optimized out>, fds=<value optimized
out>, priority=<value optimized out>, timeout=<value optimized out>,
context=<value optimized out>) at gmain.c:2586
#3  0x00007f8f11be41c5 in IA__g_main_loop_run (loop=0x7f8f040008c0) at
gmain.c:2799
#4  0x0000003801247560 in link_io_thread_fn (data=<value optimized out>) at
linc.c:396
#5  0x00007f8f11c094c4 in g_thread_create_proxy (data=0x7f8f040019a0) at
gthread.c:635
#6  0x00000037f6606a3a in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#7  0x00000037f5ade67d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f8f039df710 (LWP 9119)):
#0  0x00000037f660e91d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f8f11c0b808 in IA__g_usleep (microseconds=<value optimized out>) at
gtimer.c:170
#2  0x00007f8f03bf1f9a in gst_xvimagesink_event_thread
(xvimagesink=0x7f8f040cfb00 [GstXvImageSink]) at xvimagesink.c:1638
#3  0x00007f8f11c094c4 in g_thread_create_proxy (data=0x7f8f040cef90) at
gthread.c:635
#4  0x00000037f6606a3a in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#5  0x00000037f5ade67d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f8f02fde710 (LWP 9120)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f8f09cf0918 in gst_queue_loop (pad=<value optimized out>) at
gstqueue.c:1172
#2  0x000000380d685c7e in gst_task_func (task=0x7f8f04004180 [GstTask]) at
gsttask.c:234
#3  0x00007f8f11c0aab2 in g_thread_pool_thread_proxy (data=<value optimized
out>) at gthreadpool.c:265
#4  0x00007f8f11c094c4 in g_thread_create_proxy (data=0x7f8f040d0710) at
gthread.c:635
#5  0x00000037f6606a3a in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#6  0x00000037f5ade67d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f8f025dd710 (LWP 9121)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f8f09cf0918 in gst_queue_loop (pad=<value optimized out>) at
gstqueue.c:1172
#2  0x000000380d685c7e in gst_task_func (task=0x7f8f04004280 [GstTask]) at
gsttask.c:234
#3  0x00007f8f11c0aab2 in g_thread_pool_thread_proxy (data=<value optimized
out>) at gthreadpool.c:265
#4  0x00007f8f11c094c4 in g_thread_create_proxy (data=0x7f8f040dd220) at
gthread.c:635
#5  0x00000037f6606a3a in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#6  0x00000037f5ade67d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8f01bdc710 (LWP 9122)):
#0  0x00000037f5ad5417 in ppoll (fds=0x7f8eec001150, nfds=2, timeout=0x0,
sigmask=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:58
#1  0x000000380d66d178 in gst_poll_wait (set=0x7f8f040029e0,
timeout=18446744073709551615) at gstpoll.c:1191
#2  0x00007f8f0a3bc7b0 in gst_color_balance_channel_get_type () at
colorbalancechannel.c:56
#3  0x00007f8f0a3b4f5b in gst_color_balance_channel_get_type () at
colorbalancechannel.c:56
#4  0x00007f8f0a3b54b7 in gst_color_balance_channel_get_type () at
colorbalancechannel.c:56
#5  0x000000381141a93a in gst_base_src_get_range (src=0x7f8f04014350
[GstV4l2Src], offset=<value optimized out>, length=<value optimized out>,
buf=0x7f8f01bdbcb8) at gstbasesrc.c:1972
#6  0x000000381141c763 in gst_base_src_loop (pad=0x1313940 [GstPad]) at
gstbasesrc.c:2225
#7  0x000000380d685c7e in gst_task_func (task=0x7f8f04004380 [GstTask]) at
gsttask.c:234
#8  0x00007f8f11c0aab2 in g_thread_pool_thread_proxy (data=<value optimized
out>) at gthreadpool.c:265
#9  0x00007f8f11c094c4 in g_thread_create_proxy (data=0x7f8f040de660) at
gthread.c:635
#10 0x00000037f6606a3a in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#11 0x00000037f5ade67d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8f0b005710 (LWP 9124)):
#0  0x00000037f5ad51e3 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x000000380762c51f in poll_func (ufds=0x7f8f040d0170, nfds=2, timeout=-1,
userdata=0x136cad0) at pulse/thread-mainloop.c:75
#2  0x000000380761cb66 in pa_mainloop_poll (m=0x136cb90) at
pulse/mainloop.c:879
#3  0x000000380761df29 in pa_mainloop_iterate (m=0x136cb90, block=<value
optimized out>, retval=0x0) at pulse/mainloop.c:961
#4  0x000000380761dfe0 in pa_mainloop_run (m=0x136cb90, retval=0x0) at
pulse/mainloop.c:979
#5  0x000000380762c43b in thread (userdata=0x135d270) at
pulse/thread-mainloop.c:94
#6  0x0000003806238660 in internal_thread_func (userdata=0x136cf40) at
pulsecore/thread-posix.c:72
#7  0x00000037f6606a3a in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#8  0x00000037f5ade67d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8f11781800 (LWP 9101)):
#0  0x00000037f5ad51e3 in __poll (fds=<value optimized out>, nfds=<value
optimized out>, timeout=<value optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8f11be3b5c in g_main_context_poll (n_fds=<value optimized out>,
fds=<value optimized out>, priority=<value optimized out>, timeout=<value
optimized out>, context=<value optimized out>) at gmain.c:2904
#2  g_main_context_iterate (n_fds=<value optimized out>, fds=<value optimized
out>, priority=<value optimized out>, timeout=<value optimized out>,
context=<value optimized out>) at gmain.c:2586
#3  0x00007f8f11be41c5 in IA__g_main_loop_run (loop=0x134e810) at gmain.c:2799
#4  0x00007f8f12fe2a47 in IA__gtk_main () at gtkmain.c:1219
#5  0x0000000000400dca in main (argc=1, argv=0x7fff40cf4168) at
cheese-test-chooser.c:45

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