[Webkit-unassigned] [Bug 54629] New: [webkitwebsrc] locks randomly fetching an uri

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 17 02:24:41 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=54629

           Summary: [webkitwebsrc] locks randomly fetching an uri
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ylatuya at gmail.com


I have noticed a random lock in the webkit source fetching an uri. It looks like no buffers are pushed into the appsrc

(gdb) thread apply all bt

Hilo 8 (Thread 0xb64f2b70 (LWP 22603)):
#0  0x00774416 in __kernel_vsyscall ()
#1  0x04ebadf6 in __poll (fds=0x4f51ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x04d08a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x04cfb43c in ?? () from /lib/libglib-2.0.so.0
#4  0x04cfbba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x02d996b4 in ?? () from /usr/lib/libgio-2.0.so.0
#6  0x04d2248f in ?? () from /lib/libglib-2.0.so.0
#7  0x0061fcc9 in start_thread (arg=0xb64f2b70) at pthread_create.c:304
#8  0x04ec969e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Hilo 7 (Thread 0xb5affb70 (LWP 22604)):
#0  0x00774416 in __kernel_vsyscall ()
#1  0x006244dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x011065f7 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/local/lib/libwebkit-1.0.so
#3  0x01106631 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/local/lib/libwebkit-1.0.so
#4  0x0061fcc9 in start_thread (arg=0xb5affb70) at pthread_create.c:304
#5  0x04ec969e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Hilo 6 (Thread 0xb51feb70 (LWP 22605)):
#0  0x00774416 in __kernel_vsyscall ()
#1  0x006244dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x01042754 in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/local/lib/libwebkit-1.0.so
#3  0x00dd165f in WebCore::IconDatabase::syncThreadMainLoop() () from /usr/local/lib/libwebkit-1.0.so
#4  0x00dd1734 in WebCore::IconDatabase::iconDatabaseSyncThread() () from /usr/local/lib/libwebkit-1.0.so
#5  0x010426bf in WTF::threadEntryPoint(void*) () from /usr/local/lib/libwebkit-1.0.so
#6  0x0061fcc9 in start_thread (arg=0xb51feb70) at pthread_create.c:304
#7  0x04ec969e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Hilo 5 (Thread 0xb1ca4b70 (LWP 22606)):
#0  0x00774416 in __kernel_vsyscall ()
#1  0x006244dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x01634f5a in gst_task_func (task=0x87f48f8) at gsttask.c:303
#3  0x01636487 in default_func (tdata=0x8e4f8a0, pool=0x8ce3720) at gsttaskpool.c:70
#4  0x04d243d4 in ?? () from /lib/libglib-2.0.so.0
#5  0x04d2248f in ?? () from /lib/libglib-2.0.so.0
#6  0x0061fcc9 in start_thread (arg=0xb1ca4b70) at pthread_create.c:304
#7  0x04ec969e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Hilo 4 (Thread 0xafd0cb70 (LWP 22608)):
#0  0x00774416 in __kernel_vsyscall ()
#1  0x006244dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x01634f5a in gst_task_func (task=0x87f4f58) at gsttask.c:303
#3  0x01636487 in default_func (tdata=0x8d064e0, pool=0x8ce3720) at gsttaskpool.c:70
#4  0x04d243d4 in ?? () from /lib/libglib-2.0.so.0
#5  0x04d2248f in ?? () from /lib/libglib-2.0.so.0
#6  0x0061fcc9 in start_thread (arg=0xafd0cb70) at pthread_create.c:304
#7  0x04ec969e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Hilo 3 (Thread 0xaf50bb70 (LWP 22609)):
#0  0x00774416 in __kernel_vsyscall ()
#1  0x006244dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x01b230e9 in gst_hls_src_fetch_location (src=0x8ece008, uri=<value optimized out>) at gsthlssrc.c:752
#3  0x01b2372d in gst_hls_src_get_next_fragment (src=0x8ece008, retry=<value optimized out>) at gsthlssrc.c:924
#4  0x01b23d5b in gst_hls_src_cache_fragments (src=0x8ece008) at gsthlssrc.c:718
#5  gst_hls_src_loop (src=0x8ece008) at gsthlssrc.c:478
---Type <return> to continue, or q <return> to quit---
#6  0x01634d62 in gst_task_func (task=0x87f4ed0) at gsttask.c:318
#7  0x01636487 in default_func (tdata=0xb5b0f220, pool=0x8ce3720) at gsttaskpool.c:70
#8  0x04d243d4 in ?? () from /lib/libglib-2.0.so.0
#9  0x04d2248f in ?? () from /lib/libglib-2.0.so.0
#10 0x0061fcc9 in start_thread (arg=0xaf50bb70) at pthread_create.c:304
#11 0x04ec969e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Hilo 2 (Thread 0xaed0ab70 (LWP 22610)):
#0  0x00774416 in __kernel_vsyscall ()
#1  0x006244dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x005ce3fd in gst_app_src_create (bsrc=0x8e50c20, offset=0, size=4096, buf=0xaed0a05c) at gstappsrc.c:1040
#3  0x00732ab1 in gst_base_src_get_range (src=<value optimized out>, offset=0, length=4096, buf=0xaed0a05c) at gstbasesrc.c:2137
#4  0x0073583f in gst_base_src_loop (pad=0x8ea2650) at gstbasesrc.c:2394
#5  0x01634d62 in gst_task_func (task=0x8ed0de8) at gsttask.c:318
#6  0x01636487 in default_func (tdata=0xb5b1ab38, pool=0x8ce3720) at gsttaskpool.c:70
#7  0x04d243d4 in ?? () from /lib/libglib-2.0.so.0
#8  0x04d2248f in ?? () from /lib/libglib-2.0.so.0
#9  0x0061fcc9 in start_thread (arg=0xaed0ab70) at pthread_create.c:304
#10 0x04ec969e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Hilo 1 (Thread 0xb689b860 (LWP 22602)):
#0  0x00774416 in __kernel_vsyscall ()
#1  0x04ebadf6 in __poll (fds=0x4f51ff4, nfds=13, timeout=188) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x04d08a1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x04cfb43c in ?? () from /lib/libglib-2.0.so.0
#4  0x04cfbba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5  0x031a51d9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x0806e793 in main ()

0:00:00.712582110 22847 0xb4b29b38 INFO                  hlssrc gsthlssrc.c:935:gst_hls_src_get_next_fragment:<hlssrc0> Input source caps: video/mpegts, systemstream=(boolean)true, packetsize=(int)188
0:00:00.712616505 22847 0xb4b29b38 INFO                  hlssrc gsthlssrc.c:922:gst_hls_src_get_next_fragment:<hlssrc0> Fetching next fragment http://devimages.apple.com/iphone/samples/bipbop/gear4/fileSequence1.ts
0:00:00.712626160 22847 0xb4b29b38 DEBUG                 hlssrc gsthlssrc.c:547:gst_hls_src_make_fetcher:<hlssrc0> Creating fetcher for the URI:http://devimages.apple.com/iphone/samples/bipbop/gear4/fileSequence1.ts
0:00:00.712798044 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:416:gst_base_src_init:<GstBaseSrc at 0x99b8c98> creating src pad
0:00:00.712820943 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:419:gst_base_src_init:<GstBaseSrc at 0x99b8c98> setting functions on src pad
0:00:00.712832177 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:432:gst_base_src_init:<GstBaseSrc at 0x99b8c98> adding src pad
0:00:00.712842266 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:446:gst_base_src_init:<GstBaseSrc at 0x99b8c98> init done
0:00:00.712891634 22847 0xb4b29b38 DEBUG                 appsrc gstappsrc.c:1217:gst_app_src_set_stream_type:<appsrc2> setting stream_type of 1
0:00:00.712901972 22847 0xb4b29b38 DEBUG                 appsrc gstappsrc.c:1273:gst_app_src_set_max_bytes:<appsrc2> setting max-bytes to 524288
0:00:00.712916897 22847 0xb4b29b38 DEBUG                 appsrc gstappsrc.c:1100:gst_app_src_set_caps:<appsrc2> setting caps to (NULL)
0:00:00.712926522 22847 0xb4b29b38 DEBUG                 appsrc gstappsrc.c:1161:gst_app_src_set_size:<appsrc2> setting size of -1
0:00:00.712934845 22847 0xb4b29b38 DEBUG           webkitwebsrc WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:392:webKitWebSrcStop:<WebKitWebSrc at 0xb4b083b0> Stopped request
0:00:00.713008143 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:2928:gst_base_src_activate_push:<appsrc2> Activating in push mode
0:00:00.713018099 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:2694:gst_base_src_start:<appsrc2> starting source
0:00:00.713025877 22847 0xb4b29b38 DEBUG                 appsrc gstappsrc.c:735:gst_app_src_start:<appsrc2> starting
0:00:00.713033707 22847 0xb4b29b38 DEBUG                 appsrc gstappsrc.c:1189:gst_app_src_get_size:<appsrc2> getting size of -1
0:00:00.713041485 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:2727:gst_base_src_start:<appsrc2> setting size 18446744073709551615
0:00:00.713050485 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:2740:gst_base_src_start:<appsrc2> format: bytes, have size: 1, size: 18446744073709551615, duration: -1
0:00:00.713059559 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:2743:gst_base_src_start:<appsrc2> is seekable: 1
0:00:00.713067142 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:2748:gst_base_src_start:<appsrc2> is random_access: 1
0:00:00.713075940 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:2604:gst_base_src_default_negotiate:<appsrc2> caps of src: ANY
0:00:00.713085286 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:2652:gst_base_src_default_negotiate:<appsrc2> no negotiation needed
0:00:00.713093428 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:1308:gst_base_src_perform_seek:<appsrc2> doing seek: (NULL)
0:00:00.713102930 22847 0xb4b29b38 DEBUG                 appsrc gstappsrc.c:720:gst_app_src_unlock_stop:<appsrc2> unlock stop
0:00:00.713110804 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:1363:gst_base_src_perform_seek:<appsrc2> seek with seqnum 108
0:00:00.713118910 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:1399:gst_base_src_perform_seek:<appsrc2> segment configured from 0 to -1, position 0
0:00:00.713127549 22847 0xb4b29b38 DEBUG                 appsrc gstappsrc.c:858:gst_app_src_do_seek:<appsrc2> seeking to 0, format bytes
0:00:00.713135917 22847 0xb4b29b38 DEBUG           webkitwebsrc WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:639:webKitWebSrcSeekDataCb:<webkitwebsrc1> Seeking to offset: 0
0:00:00.713143939 22847 0xb4b29b38 DEBUG                 appsrc gstappsrc.c:879:gst_app_src_do_seek:<appsrc2> flushing queue
0:00:00.713151780 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:1459:gst_base_src_perform_seek:<appsrc2> Sending newsegment from 0 to -1
0:00:00.713218853 22847  0x9879fc0 LOG                  basesrc gstbasesrc.c:2392:gst_base_src_loop:<appsrc2> next_ts 0:00:00.000000000 size 4096
0:00:00.713229533 22847  0x9879fc0 DEBUG                basesrc gstbasesrc.c:2045:gst_base_src_update_length:<appsrc2> reading offset 0, length 4096, size -1, segment.stop -1, maxsize -1
0:00:00.713238873 22847  0x9879fc0 DEBUG                basesrc gstbasesrc.c:2135:gst_base_src_get_range:<appsrc2> calling create offset 0 length 4096, time 0
0:00:00.713247635 22847  0x9879fc0 DEBUG           webkitwebsrc WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:595:webKitWebSrcNeedDataCb:<webkitwebsrc1> Need more data: 4096
0:00:00.713267883 22847 0xb4b29b38 DEBUG           webkitwebsrc WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:475:webKitWebSrcChangeState:<webkitwebsrc1> READY->PAUSED
0:00:00.725116845 22847 0xb4b29b38 DEBUG           webkitwebsrc WebCore/platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:443:webKitWebSrcStart:<webkitwebsrc1> Started request
0:00:00.725159135 22847 0xb4b29b38 DEBUG                basesrc gstbasesrc.c:3065:gst_base_src_change_state:<appsrc2> PAUSED->PLAYING
0:00:00.725180771 22847 0xb4b29b38 DEBUG                 hlssrc gsthlssrc.c:751:gst_hls_src_fetch_location:<hlssrc0> Waiting to fetch the URI

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



More information about the webkit-unassigned mailing list