GNOME Bugzilla – Bug 654380
[hlsdemux] Crashes after some time and invalid memory accesses
Last modified: 2012-10-16 21:58:37 UTC
Hi, to use Http Live Streaming streams I'm using the hlsdemux from gst-plugins-bad. Running the pipeline like: gst-launch playbin2 url = http://ipad.akamai.com/Video_Content/cbc/being_erica/all.m3u8 runs fine, however after a while I'm receiving: gst-launch-0.10: malloc.c:4631: _int_malloc: Assertion `(unsigned long)(size) >= (unsigned long)(nb)' failed. Program received signal SIGABRT, Aborted. running gdb provides the following information which (at least to me) does not give any additional clue: (gdb) bt
+ Trace 227728
137 Thread 0xb5238b70 (LWP 30484) 0xb7fe1424 in ?? () 15 Thread 0xac619b70 (LWP 30229) 0xb7fe1424 in ?? () 14 Thread 0xb0e58b70 (LWP 30228) 0xb7fe1424 in ?? () * 13 Thread 0xb17e7b70 (LWP 30227) 0xb7fe1424 in ?? () 12 Thread 0xb41e1b70 (LWP 30226) 0xb7fe1424 in ?? () 11 Thread 0xb22bbb70 (LWP 30224) 0xb7fe1424 in ?? () 10 Thread 0xb39e0b70 (LWP 30213) 0xb7fe1424 in ?? () 8 Thread 0xb6affb70 (LWP 30211) 0xb7fe1424 in ?? () 5 Thread 0xb5a39b70 (LWP 30208) 0xb7fe1424 in ?? () 4 Thread 0xb623ab70 (LWP 30207) 0xb7fe1424 in ?? () 2 Thread 0xb740cb70 (LWP 30205) 0xb7fe1424 in ?? () 1 Thread 0xb7aa56c0 (LWP 30202) 0xb7fe1424 in ?? () Thanks
Doesn't crash for me with latest GIT of everything but after some time ffmpeg complains about broken slices: [...] 0:02:05.421445228 4323 0x24b0590 ERROR ffmpeg :0:: allocate_progress() overflow 0:02:05.421469113 4323 0x24b0590 ERROR ffmpeg :0:: get_buffer() failed (-1 0 0 (nil)) 0:02:05.421489228 4323 0x24b0590 ERROR ffmpeg :0:: decode_slice_header error 0:02:05.421509272 4323 0x24b0590 ERROR ffmpeg :0:: allocate_progress() overflow 0:02:05.421526663 4323 0x24b0590 ERROR ffmpeg :0:: get_buffer() failed (-1 0 0 (nil)) 0:02:05.421545101 4323 0x24b0590 ERROR ffmpeg :0:: decode_slice_header error 0:02:05.421565005 4323 0x24b0590 ERROR ffmpeg :0:: allocate_progress() overflow 0:02:05.421582256 4323 0x24b0590 ERROR ffmpeg :0:: get_buffer() failed (-1 0 0 (nil)) 0:02:05.421600834 4323 0x24b0590 ERROR ffmpeg :0:: decode_slice_header error 0:02:05.421617666 4323 0x24b0590 ERROR ffmpeg :0:: no frame! [...] Audio continues but no video is decoded again.
This looks like memory corruption, which would likely be found pretty quickly by valgrind. You might need to use a pipeline that avoids decoding, since decoding is rather slow inside valgrind. I can help you with this, but it would be best to check if you still have the problem with gst-plugins-bad from git.
Well, I updated everything to git master and unfortunately the issue still persist. In some cases the stream runs for for 10 minutes or more and then crashes in some other cases the stream crashes right after start. So, any pointer on how to chase the memory corruption with valgrind would be appreciated.
Now I have been running the pipeline with valgrind -v --time-stamp=yes --tool=memcheck --leak-check=yes to get additional information. However the stream runs for 10 mins or so an then quits with the original error message: gst-launch-0.10: malloc.c:4631: _int_malloc: Assertion `(unsigned long)(size) >= (unsigned long)(nb)' failed. Aborted
Can you attach the complete output of valgrind? Also set G_SLICE=always-malloc before running valgrind and pass --track-origins=yes to valgrind.
ok, that looks better,--track-origins was the point. Here we go: ======= Backtrace: ========= /lib/i386-linux-gnu/libc.so.6(+0x6b961)[0xb73f5961] /lib/i386-linux-gnu/libc.so.6(+0x6d28b)[0xb73f728b] /lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0xb73fa41d] /lib/i386-linux-gnu/libglib-2.0.so.0(g_free+0x36)[0xb7559c86] /lib/i386-linux-gnu/libglib-2.0.so.0(g_slice_free1+0x83)[0xb7571c73] /usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x7fc)[0xb761ab7c] /usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x32)[0xb761acc2] /usr/lib/libsoup-2.4.so.1(soup_message_got_chunk+0x36)[0xb6cf02f6] /usr/lib/libsoup-2.4.so.1(+0x306af)[0xb6cf56af] /usr/lib/libsoup-2.4.so.1(+0x31077)[0xb6cf6077] /usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x7c)[0xb761b48c] /usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x192)[0xb75ff372] /usr/lib/i386-linux-gnu/libgobject-2.0.so.0(+0x1f048)[0xb7612048] /usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x7a9)[0xb761ab29] /usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x32)[0xb761acc2] /usr/lib/libsoup-2.4.so.1(+0x3f89c)[0xb6d0489c] /usr/lib/i386-linux-gnu/libgio-2.0.so.0(+0x5a249)[0xb6c1c249] /lib/i386-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x1c8)[0xb7552aa8] /lib/i386-linux-gnu/libglib-2.0.so.0(+0x41270)[0xb7553270] /lib/i386-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x17b)[0xb755392b] /usr/lib/gstreamer-0.10/libgstsouphttpsrc.so(+0x586e)[0xb6e7b86e] /usr/lib/libgstbase-0.10.so.0(+0x42c85)[0xb6db5c85] /usr/lib/libgstbase-0.10.so.0(+0x2d1fd)[0xb6da01fd] /usr/lib/libgstbase-0.10.so.0(+0x2ed50)[0xb6da1d50] /usr/lib/libgstreamer-0.10.so.0(+0x850aa)[0xb76bf0aa] /usr/lib/libgstreamer-0.10.so.0(+0x864e7)[0xb76c04e7] /lib/i386-linux-gnu/libglib-2.0.so.0(+0x6ca39)[0xb757ea39] /lib/i386-linux-gnu/libglib-2.0.so.0(+0x6a2df)[0xb757c2df] /lib/i386-linux-gnu/libpthread.so.0(+0x5e99)[0xb74f0e99] /lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xb745a73e] ======= Memory map: ======== 08048000-0804f000 r-xp 00000000 08:06 631542 /usr/bin/gst-launch-0.10 0804f000-08050000 r--p 00006000 08:06 631542 /usr/bin/gst-launch-0.10 08050000-08051000 rw-p 00007000 08:06 631542 /usr/bin/gst-launch-0.10 0948b000-09d20000 rw-p 00000000 00:00 0 [heap] a7aa4000-a7d41000 rw-p 00000000 00:00 0 a7fcd000-a8800000 rw-p 00000000 00:00 0 a8800000-a889a000 rw-p 00000000 00:00 0 a889a000-a8900000 ---p 00000000 00:00 0 a8a00000-a8aa7000 rw-p 00000000 00:00 0 a8aa7000-a8b00000 ---p 00000000 00:00 0 a8b00000-a8d00000 rw-p 00000000 00:00 0 a8d00000-a8e00000 rw-p 00000000 00:00 0 a9100000-a9300000 rw-p 00000000 00:00 0 a9300000-a93fa000 rw-p 00000000 00:00 0 a93fa000-a9400000 ---p 00000000 00:00 0 a9587000-a9800000 rw-p 00000000 00:00 0 a9800000-a9900000 rw-p 00000000 00:00 0 a997d000-a9acf000 rw-s 00000000 00:04 20578361 /SYSV00000000 (deleted) a9acf000-a9c21000 rw-s 00000000 00:04 20545592 /SYSV00000000 (deleted) a9c21000-a9d73000 rw-s 00000000 00:04 20512823 /SYSV00000000 (deleted) a9d73000-a9ec5000 rw-s 00000000 00:04 20480054 /SYSV00000000 (deleted) a9ec5000-aa017000 rw-s 00000000 00:04 20447285 /SYSV00000000 (deleted) aa017000-aa018000 ---p 00000000 00:00 0 aa018000-aa9f6000 rw-p 00000000 00:00 0 aa9f6000-aab48000 rw-s 00000000 00:04 20348980 /SYSV00000000 (deleted) aab48000-aab55000 r-xp 00000000 08:06 50714 /usr/lib/gstreamer-0.10/libgstaudioresample.so aab55000-aab56000 r--p 0000c000 08:06 50714 /usr/lib/gstreamer-0.10/libgstaudioresample.so aab56000-aab58000 rw-p 0000d000 08:06 50714 /usr/lib/gstreamer-0.10/libgstaudioresample.so aab58000-aac44000 rw-p 00000000 00:00 0 aac44000-aac58000 r-xp 00000000 08:06 51710 /usr/lib/gstreamer-0.10/libgstvideoscale.so aac58000-aac59000 r--p 00013000 08:06 51710 /usr/lib/gstreamer-0.10/libgstvideoscale.so aac59000-aac5a000 rw-p 00014000 08:06 51710 /usr/lib/gstreamer-0.10/libgstvideoscale.so aac5a000-aac5b000 rw-p 00000000 00:00 0 aac5b000-aac9f000 r-xp 00000000 08:06 51214 /usr/lib/gstreamer-0.10/libgstffmpegcolorspace.so aac9f000-aaca0000 r--p 00043000 08:06 51214 /usr/lib/gstreamer-0.10/libgstffmpegcolorspace.so aaca0000-aaca2000 rw-p 00044000 08:06 51214 /usr/lib/gstreamer-0.10/libgstffmpegcolorspace.so aaca2000-aad95000 rw-p 00000000 00:00 0 aad95000-aad96000 ---p 00000000 00:00 0 aad96000-ab596000 rw-p 00000000 00:00 0 ab596000-ab5bc000 r-xp 00000000 08:06 49754 /usr/lib/libgstcontroller-0.10.so.0.29.0 ab5bc000-ab5bd000 r--p 00025000 08:06 49754 /usr/lib/libgstcontroller-0.10.so.0.29.0 ab5bd000-ab5be000 rw-p 00026000 08:06 49754 /usr/lib/libgstcontroller-0.10.so.0.29.0 ab5c2000-ab5d1000 r-xp 00000000 08:06 50690 /usr/lib/gstreamer-0.10/libgstaudioconvert.so ab5d1000-ab5d2000 r--p 0000e000 08:06 50690 /usr/lib/gstreamer-0.10/libgstaudioconvert.so ab5d2000-ab5d3000 rw-p 0000f000 08:06 50690 /usr/lib/gstreamer-0.10/libgstaudioconvert.so ab5d3000-af5d4000 rw-s 00000000 00:10 1029079 /dev/shm/pulse-shm-301595974 af5d4000-af5d5000 ---p 00000000 00:00 0 af5d5000-afdd5000 rw-p 00000000 00:00 0 afdd5000-afe1f000 r-xp 00000000 08:06 49357 /usr/lib/libFLAC.so.8.2.0 afe1f000-afe20000 r--p 00049000 08:06 49357 /usr/lib/libFLAC.so.8.2.0 afe20000-afe21000 rw-p 0004a000 08:06 49357 /usr/lib/libFLAC.so.8.2.0 afe21000-afe81000 r-xp 00000000 08:06 50122 /usr/lib/libsndfile.so.1.0.23 afe81000-afe82000 r--p 00060000 08:06 50122 /usr/lib/libsndfile.so.1.0.23 afe82000-afe83000 rw-p 00061000 08:06 50122 /usr/lib/libsndfile.so.1.0.23 afe83000-afe87000 rw-p 00000000 00:00 0 afe87000-afe8e000 r-xp 00000000 08:01 2949224 /lib/libwrap.so.0.7.6 afe8e000-afe8f000 r--p 00006000 08:01 2949224 /lib/libwrap.so.0.7.6 afe8f000-afe90000 rw-p 00007000 08:01 2949224 /lib/libwrap.so.0.7.6 afe90000-afe93000 r-xp 00000000 08:01 2950031 /lib/i386-linux-gnu/libuuid.so.1.3.0 afe93000-afe94000 r--p 00002000 08:01 2950031 /lib/i386-linux-gnu/libuuid.so.1.3.0 afe94000-afe95000 rw-p 00003000 08:01 2950031 /lib/i386-linux-gnu/libuuid.so.1.3.0 afe95000-afedc000 r-xp 00000000 08:06 52946 /usr/lib/libpulsecommon-0.9.22.so afedc000-afedd000 r--p 00046000 08:06 52946 /usr/lib/libpulsecommon-0.9.22.so afedd000-afede000 rw-p 00047000 08:06 52946 /usr/lib/libpulsecommon-0.9.22.so afede000-afee1000 r-xp 00000000 08:06 50248 /usr/lib/libxcb-atom.so.1.0.0 afee1000-afee2000 r--p 00002000 08:06 50248 /usr/lib/libxcb-atom.so.1.0.0 afee2000-afee3000 rw-p 00003000 08:06 50248 /usr/lib/libxcb-atom.so.1.0.0 afee3000-afee4000 ---p 00000000 00:00 0 afee4000-b06e4000 rw-p 00000000 00:00 0 b06e4000-b06e5000 ---p 00000000 00:00 0 b06e5000-b0ee5000 rw-p 00000000 00:00 0 b0ee5000-b0ffb000 r-xp 00000000 08:06 50271 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 b0ffb000-b0ffc000 ---p 00116000 08:06 50271 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 b0ffc000-b0ffd000 r--p 00116000 08:06 50271 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 b0ffd000-b0fff000 rw-p 00117000 08:06 50271 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 b0fff000-b1000000 rw-p 00000000 00:00 0 b1000000-b1100000 rw-p 00000000 00:00 0 b1100000-b1200000 rw-p 00000000 00:00 0 b1204000-b1208000 r-xp 00000000 08:06 49406 /usr/lib/libXtst.so.6.1.0 b1208000-b1209000 r--p 00003000 08:06 49406 /usr/lib/libXtst.so.6.1.0 b1209000-b120a000 rw-p 00004000 08:06 49406 /usr/lib/libXtst.so.6.1.0 b120a000-b1210000 r-xp 00000000 08:06 50955 /usr/lib/i386-linux-gnu/libSM.so.6.0.1 b1210000-b1211000 r--p 00005000 08:06 50955 /usr/lib/i386-linux-gnu/libSM.so.6.0.1 b1211000-b1212000 rw-p 00006000 08:06 50955 /usr/lib/i386-linux-gnu/libSM.so.6.0.1 b1212000-b1226000 r-xp 00000000 08:06 50953 /usr/lib/i386-linux-gnu/libICE.so.6.3.0 b1226000-b1227000 r--p 00013000 08:06 50953 /usr/lib/i386-linux-gnu/libICE.so.6.3.0 b1227000-b1228000 rw-p 00014000 08:06 50953 /usr/lib/i386-linux-gnu/libICE.so.6.3.0 b1228000-b122a000 rw-p 00000000 00:00 0 b122a000-b1269000 r-xp 00000000 08:06 50757 /usr/lib/libpulse.so.0.12.3 b1269000-b126a000 r--p 0003e000 08:06 50757 /usr/lib/libpulse.so.0.12.3 b126a000-b126b000 rw-p 0003f000 08:06 50757 /usr/lib/libpulse.so.0.12.3 b126b000-b1281000 r-xp 00000000 08:06 49691 /usr/lib/gstreamer-0.10/libgstpulse.so b1281000-b1282000 ---p 00016000 08:06 49691 /usr/lib/gstreamer-0.10/libgstpulse.so b1282000-b1283000 r--p 00016000 08:06 49691 /usr/lib/gstreamer-0.10/libgstpulse.so b1283000-b1284000 rw-p 00017000 08:06 49691 /usr/lib/gstreamer-0.10/libgstpulse.so b1284000-b129b000 r-xp 00000000 08:06 51109 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 b129b000-b129c000 r--p 00016000 08:06 51109 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 b129c000-b129d000 rw-p 00017000 08:06 51109 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 b129d000-b12aa000 r-xp 00000000 08:06 50971 /usr/lib/i386-linux-gnu/libXext.so.6.4.0 b12aa000-b12ab000 r--p 0000c000 08:06 50971 /usr/lib/i386-linux-gnu/libXext.so.6.4.0 b12ab000-b12ac000 rw-p 0000d000 08:06 50971 /usr/lib/i386-linux-gnu/libXext.so.6.4.0 b12b9000-b12bf000 r-xp 00000000 08:06 51712 /usr/lib/gstreamer-0.10/libgstvolume.so b12bf000-b12c0000 r--p 00005000 08:06 51712 /usr/lib/gstreamer-0.10/libgstvolume.so b12c0000-b12c1000 rw-p 00006000 08:06 51712 /usr/lib/gstreamer-0.10/libgstvolume.so b12c1000-b12fc000 r-xp 00000000 08:06 52682 /usr/lib/libfaad.so.2.0.0 b12fc000-b12fd000 r--p 0003a000 08:06 52682 /usr/lib/libfaad.so.2.0.0 b12fd000-b1300000 rw-p 0003b000 08:06 52682 /usr/lib/libfaad.so.2.0.0 b1300000-b1400000 rw-p 00000000 00:00 0 b1403000-b1407000 r-xp 00000000 08:06 50969 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 b1407000-b1408000 r--p 00003000 08:06 50969 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 b1408000-b1409000 rw-p 00004000 08:06 50969 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 b1409000-b1418000 r-xp 00000000 08:06 50825 /usr/lib/gstreamer-0.10/libgstxvimagesink.so b1418000-b1419000 r--p 0000e000 08:06 50825 /usr/lib/gstreamer-0.10/libgstxvimagesink.so b1419000-b141a000 rw-p 0000f000 08:06 50825 /usr/lib/gstreamer-0.10/libgstxvimagesink.so b141a000-b1422000 r-xp 00000000 08:06 280184 /usr/lib/gstreamer-0.10/libgstautodetect.so b1422000-b1423000 r--p 00007000 08:06 280184 /usr/lib/gstreamer-0.10/libgstautodetect.so b1423000-b1424000 rw-p 00008000 08:06 280184 /usr/lib/gstreamer-0.10/libgstautodetect.so b1424000-b142c000 r-xp 00000000 08:06 280062 /usr/lib/gstreamer-0.10/libgstfaad.so b142c000-b142d000 r--p 00007000 08:06 280062 /usr/lib/gstreamer-0.10/libgstfaad.so b142d000-b142e000 rw-p 00008000 08:06 280062 /usr/lib/gstreamer-0.10/libgstfaad.so b142e000-b1433000 r-xp 00000000 08:06 50578 /usr/lib/gstreamer-0.10/libgstcoreindexers.so b1433000-b1434000 r--p 00004000 08:06 50578 /usr/lib/gstreamer-0.10/libgstcoreindexers.so b1434000-b1435000 rw-p 00005000 08:06 50578 /usr/lib/gstreamer-0.10/libgstcoreindexers.so b1435000-b1436000 ---p 00000000 00:00 0 b1436000-b1c36000 rw-p 00000000 00:00 0 b1c36000-b1c50000 r-xp 00000000 08:01 2949199 /lib/i386-linux-gnu/libgcc_s.so.1 b1c50000-b1c51000 r--p 00019000 08:01 2949199 /lib/i386-linux-gnu/libgcc_s.so.1 b1c51000-b1c52000 rw-p 0001a000 08:01 2949199 /lib/i386-linux-gnu/libgcc_s.so.1 b1c52000-b1cc3000 r-xp 00000000 08:06 329767 /usr/lib/liborc-0.4.so.0.14.0 b1cc3000-b1cc4000 r--p 00071000 08:06 329767 /usr/lib/liborc-0.4.so.0.14.0 b1cc4000-b1cc7000 rw-p 00072000 08:06 329767 /usr/lib/liborc-0.4.so.0.14.0 b1cc7000-b1cc8000 rw-p 00000000 00:00 0 b1cc8000-b1d55000 r-xp 00000000 08:06 52395 /usr/lib/libvpx.so.0.9.6 b1d55000-b1d56000 ---p 0008d000 08:06 52395 /usr/lib/libvpx.so.0.9.6 b1d56000-b1d57000 r--p 0008d000 08:06 52395 /usr/lib/libvpx.so.0.9.6 b1d57000-b1d58000 rw-p 0008e000 08:06 52395 /usr/lib/libvpx.so.0.9.6 b1d58000-b1d62000 rw-p 00000000 00:00 0 b1d62000-b1d87000 r-xp 00000000 08:06 50219 /usr/lib/libvorbis.so.0.4.5 b1d87000-b1d88000 r--p 00025000 08:06 50219 /usr/lib/libvorbis.so.0.4.5 b1d88000-b1d89000 rw-p 00026000 08:06 50219 /usr/lib/libvorbis.so.0.4.5 b1d89000-b1eee000 r-xp 00000000 08:06 50221 /usr/lib/libvorbisenc.so.2.0.8 b1eee000-b1eef000 ---p 00165000 08:06 50221 /usr/lib/libvorbisenc.so.2.0.8 b1eef000-b1f00000 r--p 00165000 08:06 50221 /usr/lib/libvorbisenc.so.2.0.8 b1f00000-b1f01000 rw-p 00176000 08:06 50221 /usr/lib/libvorbisenc.so.2.0.8 b1f01000-b1f19000 r-xp 00000000 08:06 50171 /usr/lib/libtheoradec.so.1.1.4 b1f19000-b1f1a000 r--p 00017000 08:06 50171 /usr/lib/libtheoradec.so.1.1.4 b1f1a000-b1f1b000 rw-p 00018000 08:06 50171 /usr/lib/libtheoradec.so.1.1.4 b1f1b000-b1f5d000 r-xp 00000000 08:06 50173 /usr/lib/libtheoraenc.so.1.1.2 b1f5d000-b1f5e000 r--p 00041000 08:06 50173 /usr/lib/libtheoraenc.so.1.1.2 b1f5e000-b1f5f000 rw-p 00042000 08:06 50173 /usr/lib/libtheoraenc.so.1.1.2 b1f5f000-b1f7a000 r-xp 00000000 08:06 52051 /usr/lib/sse2/libspeex.so.1.5.0 b1f7a000-b1f7b000 r--p 0001a000 08:06 52051 /usr/lib/sse2/libspeex.so.1.5.0 b1f7b000-b1f7c000 rw-p 0001b000 08:06 52051 /usr/lib/sse2/libspeex.so.1.5.0 b1f7c000-b201b000 r-xp 00000000 08:06 52385 /usr/lib/libschroedinger-1.0.so.0.10.0 b201b000-b201c000 r--p 0009f000 08:06 52385 /usr/lib/libschroedinger-1.0.so.0.10.0 b201c000-b201d000 rw-p 000a0000 08:06 52385 /usr/lib/libschroedinger-1.0.so.0.10.0 b201d000-b2029000 r-xp 00000000 08:06 52381 /usr/lib/libgsm.so.1.0.12 b2029000-b202a000 r--p 0000b000 08:06 52381 /usr/lib/libgsm.so.1.0.12 b202a000-b202b000 rw-p 0000c000 08:06 52381 /usr/lib/libgsm.so.1.0.12 b202b000-b2039000 r-xp 00000000 08:06 52389 /usr/lib/libva.so.1.0.8 b2039000-b203a000 r--p 0000d000 08:06 52389 /usr/lib/libva.so.1.0.8 b203a000-b203b000 rw-p 0000e000 08:06 52389 /usr/lib/libva.so.1.0.8 b203b000-b2053000 rw-p 00000000 00:00 0 b2053000-b2501000 r-xp 00000000 08:06 147592 /usr/lib/i686/cmov/libavcodec.so.52.72.2 b2501000-b2502000 r--p 004ad000 08:06 147592 /usr/lib/i686/cmov/libavcodec.so.52.72.2 b2502000-b250d000 rw-p 004ae000 08:06 147592 /usr/lib/i686/cmov/libavcodec.so.52.72.2 b250d000-b29f3000 rw-p 00000000 00:00 0 b29f3000-b2abe000 r-xp 00000000 08:06 147596 /usr/lib/i686/cmov/libavformat.so.52.64.2 b2abe000-b2abf000 r--p 000ca000 08:06 147596 /usr/lib/i686/cmov/libavformat.so.52.64.2Aborted
You should paste the *complete* valgrind output here, the important parts are above what you pasted now.
so here's all I get: ~/src/gst-plugins-bad$ valgrind -v --time-stamp=yes --track-origins=yes --tool=memcheck --leak-check=yes gst-launch playbin2 uri=http://live.iphone.redbull.de.edgesuite.net/servus2mb.m3u8 ==00:00:00:00.000 16658== Memcheck, a memory error detector ==00:00:00:00.000 16658== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==00:00:00:00.000 16658== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info ==00:00:00:00.000 16658== Command: gst-launch playbin2 uri=http://live.iphone.redbull.de.edgesuite.net/servus2mb.m3u8 ==00:00:00:00.000 16658== --00:00:00:00.000 16658-- Valgrind options: --00:00:00:00.000 16658-- --suppressions=/usr/lib/valgrind/debian-libc6-dbg.supp --00:00:00:00.000 16658-- -v --00:00:00:00.000 16658-- --time-stamp=yes --00:00:00:00.000 16658-- --track-origins=yes --00:00:00:00.000 16658-- --tool=memcheck --00:00:00:00.000 16658-- --leak-check=yes --00:00:00:00.000 16658-- Contents of /proc/version: --00:00:00:00.000 16658-- Linux version 2.6.39-020639rc4-generic (root@zinc) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #201104191410 SMP Tue Apr 19 15:45:56 UTC 2011 --00:00:00:00.000 16658-- Arch and hwcaps: X86, x86-sse1-sse2 --00:00:00:00.000 16658-- Page sizes: currently 4096, max supported 4096 --00:00:00:00.000 16658-- Valgrind library directory: /usr/lib/valgrind --00:00:00:00.091 16658-- Reading syms from /lib/i386-linux-gnu/ld-2.13.so (0x4000000) --00:00:00:00.091 16658-- Considering /lib/i386-linux-gnu/ld-2.13.so .. --00:00:00:00.091 16658-- .. CRC mismatch (computed 2a2c2799 wanted 1e351f1f) --00:00:00:00.091 16658-- Considering /usr/lib/debug/lib/i386-linux-gnu/ld-2.13.so .. --00:00:00:00.094 16658-- .. CRC is valid --00:00:00:00.098 16658-- Reading syms from /usr/bin/gst-launch (0x8048000) --00:00:00:00.098 16658-- Reading syms from /usr/lib/valgrind/memcheck-x86-linux (0x38000000) --00:00:00:00.099 16658-- object doesn't have a dynamic symbol table --00:00:00:00.139 16658-- Reading suppressions file: /usr/lib/valgrind/debian-libc6-dbg.supp --00:00:00:00.139 16658-- Reading suppressions file: /usr/lib/valgrind/default.supp --00:00:00:00.224 16658-- REDIR: 0x4016a80 (index) redirected to 0x3803f82b (vgPlain_x86_linux_REDIR_FOR_index) --00:00:00:00.282 16658-- Reading syms from /usr/lib/valgrind/vgpreload_core-x86-linux.so (0x4020000) --00:00:00:00.297 16658-- Reading syms from /usr/lib/valgrind/vgpreload_memcheck-x86-linux.so (0x4023000) ==00:00:00:00.299 16658== WARNING: new redirection conflicts with existing -- ignoring it --00:00:00:00.299 16658-- new: 0x04016a80 (index ) R-> 0x04026c78 index --00:00:00:00.307 16658-- REDIR: 0x4016c20 (strlen) redirected to 0x4027048 (strlen) --00:00:00:00.343 16658-- Reading syms from /lib/i386-linux-gnu/libglib-2.0.so.0.2800.6 (0x4041000) --00:00:00:00.343 16658-- Considering /lib/i386-linux-gnu/libglib-2.0.so.0.2800.6 .. --00:00:00:00.346 16658-- .. CRC mismatch (computed 2312631e wanted e21a44de) --00:00:00:00.346 16658-- object doesn't have a symbol table --00:00:00:00.351 16658-- Reading syms from /lib/i386-linux-gnu/librt-2.13.so (0x4119000) --00:00:00:00.351 16658-- Considering /lib/i386-linux-gnu/librt-2.13.so .. --00:00:00:00.351 16658-- .. CRC mismatch (computed 680ec6ea wanted 247d4d27) --00:00:00:00.351 16658-- Considering /usr/lib/debug/lib/i386-linux-gnu/librt-2.13.so .. --00:00:00:00.352 16658-- .. CRC is valid --00:00:00:00.354 16658-- Reading syms from /lib/i386-linux-gnu/libdl-2.13.so (0x4122000) --00:00:00:00.354 16658-- Considering /lib/i386-linux-gnu/libdl-2.13.so .. --00:00:00:00.354 16658-- .. CRC mismatch (computed 608d0daf wanted 983d6578) --00:00:00:00.354 16658-- Considering /usr/lib/debug/lib/i386-linux-gnu/libdl-2.13.so .. --00:00:00:00.354 16658-- .. CRC is valid --00:00:00:00.363 16658-- Reading syms from /lib/i386-linux-gnu/libc-2.13.so (0x4126000) --00:00:00:00.364 16658-- Considering /lib/i386-linux-gnu/libc-2.13.so .. --00:00:00:00.368 16658-- .. CRC mismatch (computed 97e88cd2 wanted 4635a554) --00:00:00:00.368 16658-- Considering /usr/lib/debug/lib/i386-linux-gnu/libc-2.13.so .. --00:00:00:00.394 16658-- .. CRC is valid --00:00:00:00.497 16658-- Reading syms from /lib/i386-linux-gnu/libpcre.so.3.12.1 (0x4287000) --00:00:00:00.497 16658-- Considering /lib/i386-linux-gnu/libpcre.so.3.12.1 .. --00:00:00:00.498 16658-- .. CRC mismatch (computed 9e5ab3c1 wanted 29aaf7e3) --00:00:00:00.498 16658-- object doesn't have a symbol table --00:00:00:00.500 16658-- Reading syms from /lib/i386-linux-gnu/libpthread-2.13.so (0x42c6000) --00:00:00:00.500 16658-- Considering /lib/i386-linux-gnu/libpthread-2.13.so .. --00:00:00:00.500 16658-- .. CRC mismatch (computed 87269ed5 wanted 7df95f2f) --00:00:00:00.500 16658-- Considering /usr/lib/debug/lib/i386-linux-gnu/libpthread-2.13.so .. --00:00:00:00.503 16658-- .. CRC is valid --00:00:00:00.596 16658-- REDIR: 0x4199fb0 (strncmp) redirected to 0x4020479 (_vgnU_ifunc_wrapper) --00:00:00:00.646 16658-- REDIR: 0x41a1140 (strstr) redirected to 0x4020479 (_vgnU_ifunc_wrapper) --00:00:00:00.647 16658-- REDIR: 0x41a0db0 (__GI_strstr) redirected to 0x4028ef1 (strstr) --00:00:00:00.656 16658-- REDIR: 0x419a0b0 (rindex) redirected to 0x4026acc (rindex) --00:00:00:00.698 16658-- REDIR: 0x4199d30 (strlen) redirected to 0x4020479 (_vgnU_ifunc_wrapper) --00:00:00:00.700 16658-- REDIR: 0x41a06f0 (__strlen_sse2_bsf) redirected to 0x4027012 (strlen) --00:00:00:00.704 16658-- REDIR: 0x4199d80 (__GI_strlen) redirected to 0x402702d (__GI_strlen) --00:00:00:00.706 16658-- REDIR: 0x41a02e0 (__GI_strncmp) redirected to 0x40274bd (__GI_strncmp) --00:00:00:00.709 16658-- REDIR: 0x4195ef0 (malloc) redirected to 0x40267df (malloc) --00:00:00:00.711 16658-- REDIR: 0x419b520 (memcpy) redirected to 0x4020479 (_vgnU_ifunc_wrapper) --00:00:00:00.712 16658-- REDIR: 0x423aa70 (__memcpy_ssse3) redirected to 0x4027b59 (memcpy) --00:00:00:00.726 16658-- REDIR: 0x419a000 (strncpy) redirected to 0x402721a (strncpy) --00:00:00:00.733 16658-- REDIR: 0x419a270 (strpbrk) redirected to 0x4020479 (_vgnU_ifunc_wrapper) --00:00:00:00.734 16658-- REDIR: 0x419a2b0 (__GI_strpbrk) redirected to 0x4028f6b (strpbrk) --00:00:00:00.749 16658-- REDIR: 0x4196490 (realloc) redirected to 0x402688e (realloc) --00:00:00:00.753 16658-- REDIR: 0x4244120 (__strncmp_ssse3) redirected to 0x4027448 (strncmp) --00:00:00:00.769 16658-- REDIR: 0x41963b0 (free) redirected to 0x4025b6b (free) --00:00:00:00.772 16658-- REDIR: 0x4199740 (strcmp) redirected to 0x4020479 (_vgnU_ifunc_wrapper) --00:00:00:00.773 16658-- REDIR: 0x4242cb0 (__strcmp_ssse3) redirected to 0x40279d0 (strcmp) --00:00:00:00.777 16658-- REDIR: 0x41995d0 (index) redirected to 0x4026bb8 (index) --00:00:00:00.793 16658-- REDIR: 0x419ae40 (memmove) redirected to 0x4020479 (_vgnU_ifunc_wrapper) --00:00:00:00.794 16658-- REDIR: 0x423c960 (__memmove_ssse3) redirected to 0x4028a45 (memmove) --00:00:00:00.807 16658-- REDIR: 0x419c7e0 (strchrnul) redirected to 0x4028b3c (strchrnul) --00:00:00:00.826 16658-- REDIR: 0x4196e70 (calloc) redirected to 0x4025235 (calloc) Setting pipeline to PAUSED ... Pipeline is PREROLLING ... Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstPulseSinkClock *** glibc detected *** /usr/bin/gst-launch-0.10: free(): invalid next size (fast): 0x08dace18 *** ======= Backtrace: ========= /lib/i386-linux-gnu/libc.so.6(+0x6b961)[0xb7511961] /lib/i386-linux-gnu/libc.so.6(+0x6d28b)[0xb751328b] /lib/i386-linux-gnu/libc.so.6(cfree+0x6d)[0xb751641d] /lib/i386-linux-gnu/libglib-2.0.so.0(g_free+0x36)[0xb7675c86] /lib/i386-linux-gnu/libglib-2.0.so.0(g_slice_free1+0x83)[0xb768dc73] /usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x7fc)[0xb7736b7c] /usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x32)[0xb7736cc2] /usr/lib/libsoup-2.4.so.1(soup_message_got_chunk+0x36)[0xb6e0c2f6] /usr/lib/libsoup-2.4.so.1(+0x306af)[0xb6e116af] /usr/lib/libsoup-2.4.so.1(+0x31077)[0xb6e12077] /usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_cclosure_marshal_VOID__VOID+0x7c)[0xb773748c] /usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x192)[0xb771b372] /usr/lib/i386-linux-gnu/libgobject-2.0.so.0(+0x1f048)[0xb772e048] /usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x7a9)[0xb7736b29] /usr/lib/i386-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x32)[0xb7736cc2] /usr/lib/libsoup-2.4.so.1(+0x3f89c)[0xb6e2089c] /usr/lib/i386-linux-gnu/libgio-2.0.so.0(+0x5a249)[0xb6d38249] /lib/i386-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x1c8)[0xb766eaa8] /lib/i386-linux-gnu/libglib-2.0.so.0(+0x41270)[0xb766f270] /lib/i386-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x17b)[0xb766f92b] /usr/lib/gstreamer-0.10/libgstsouphttpsrc.so(+0x586e)[0xb6f9786e] /usr/lib/libgstbase-0.10.so.0(+0x42c85)[0xb6ed1c85] /usr/lib/libgstbase-0.10.so.0(+0x2d1fd)[0xb6ebc1fd] /usr/lib/libgstbase-0.10.so.0(+0x2ed50)[0xb6ebdd50] /usr/lib/libgstreamer-0.10.so.0(+0x850aa)[0xb77db0aa] /usr/lib/libgstreamer-0.10.so.0(+0x864e7)[0xb77dc4e7] /lib/i386-linux-gnu/libglib-2.0.so.0(+0x6ca39)[0xb769aa39] /lib/i386-linux-gnu/libglib-2.0.so.0(+0x6a2df)[0xb76982df] /lib/i386-linux-gnu/libpthread.so.0(+0x5e99)[0xb760ce99] /lib/i386-linux-gnu/libc.so.6(clone+0x5e)[0xb757673e] ======= Memory map: ======== 08048000-0804f000 r-xp 00000000 08:06 631542 /usr/bin/gst-launch-0.10 0804f000-08050000 r--p 00006000 08:06 631542 /usr/bin/gst-launch-0.10 08050000-08051000 rw-p 00007000 08:06 631542 /usr/bin/gst-launch-0.10 08acc000-09199000 rw-p 00000000 00:00 0 [heap] a8b8d000-a8e00000 rw-p 00000000 00:00 0 a8e00000-a8e22000 rw-p 00000000 00:00 0 a8e22000-a8f00000 ---p 00000000 00:00 0 a8fc5000-a926a000 rw-p 00000000 00:00 0 a92e8000-a9575000 rw-p 00000000 00:00 0 a9584000-a9800000 rw-p 00000000 00:00 0 a9800000-a98ff000 rw-p 00000000 00:00 0 a98ff000-a9900000 ---p 00000000 00:00 0 a9900000-a9a00000 rw-p 00000000 00:00 0 a9a00000-a9adc000 rw-p 00000000 00:00 0 a9adc000-a9b00000 ---p 00000000 00:00 0 a9b6f000-a9cc1000 rw-s 00000000 00:04 22183993 /SYSV00000000 (deleted) a9cc1000-a9e13000 rw-s 00000000 00:04 22151224 /SYSV00000000 (deleted) a9e13000-a9f65000 rw-s 00000000 00:04 22118455 /SYSV00000000 (deleted) a9f65000-aa0b7000 rw-s 00000000 00:04 22085686 /SYSV00000000 (deleted) aa0b7000-aa209000 rw-s 00000000 00:04 22052917 /SYSV00000000 (deleted) aa209000-aa20a000 ---p 00000000 00:00 0 aa20a000-aabe8000 rw-p 00000000 00:00 0 aabe8000-aad3a000 rw-s 00000000 00:04 21954612 /SYSV00000000 (deleted) aad3a000-aad47000 r-xp 00000000 08:06 50714 /usr/lib/gstreamer-0.10/libgstaudioresample.so aad47000-aad48000 r--p 0000c000 08:06 50714 /usr/lib/gstreamer-0.10/libgstaudioresample.so aad48000-aad4a000 rw-p 0000d000 08:06 50714 /usr/lib/gstreamer-0.10/libgstaudioresample.so aad4a000-aad5e000 r-xp 00000000 08:06 51710 /usr/lib/gstreamer-0.10/libgstvideoscale.so aad5e000-aad5f000 r--p 00013000 08:06 51710 /usr/lib/gstreamer-0.10/libgstvideoscale.so aad5f000-aad60000 rw-p 00014000 08:06 51710 /usr/lib/gstreamer-0.10/libgstvideoscale.so aad60000-aaf6d000 rw-p 00000000 00:00 0 aaf6d000-aafb1000 r-xp 00000000 08:06 51214 /usr/lib/gstreamer-0.10/libgstffmpegcolorspace.so aafb1000-aafb2000 r--p 00043000 08:06 51214 /usr/lib/gstreamer-0.10/libgstffmpegcolorspace.so aafb2000-aafb4000 rw-p 00044000 08:06 51214 /usr/lib/gstreamer-0.10/libgstffmpegcolorspace.so aafb4000-aafb5000 rw-p 00000000 00:00 0 aafb5000-aafb6000 ---p 00000000 00:00 0 aafb6000-ab7b6000 rw-p 00000000 00:00 0 ab7b6000-ab7dc000 r-xp 00000000 08:06 49754 /usr/lib/libgstcontroller-0.10.so.0.29.0 ab7dc000-ab7dd000 r--p 00025000 08:06 49754 /usr/lib/libgstcontroller-0.10.so.0.29.0 ab7dd000-ab7de000 rw-p 00026000 08:06 49754 /usr/lib/libgstcontroller-0.10.so.0.29.0 ab7e2000-ab7f1000 r-xp 00000000 08:06 50690 /usr/lib/gstreamer-0.10/libgstaudioconvert.so ab7f1000-ab7f2000 r--p 0000e000 08:06 50690 /usr/lib/gstreamer-0.10/libgstaudioconvert.so ab7f2000-ab7f3000 rw-p 0000f000 08:06 50690 /usr/lib/gstreamer-0.10/libgstaudioconvert.so ab7f3000-af7f4000 rw-s 00000000 00:10 1133310 /dev/shm/pulse-shm-1917528135 af7f4000-af7f5000 ---p 00000000 00:00 0 af7f5000-afff5000 rw-p 00000000 00:00 0 afff5000-b003f000 r-xp 00000000 08:06 49357 /usr/lib/libFLAC.so.8.2.0 b003f000-b0040000 r--p 00049000 08:06 49357 /usr/lib/libFLAC.so.8.2.0 b0040000-b0041000 rw-p 0004a000 08:06 49357 /usr/lib/libFLAC.so.8.2.0 b0041000-b00a1000 r-xp 00000000 08:06 50122 /usr/lib/libsndfile.so.1.0.23 b00a1000-b00a2000 r--p 00060000 08:06 50122 /usr/lib/libsndfile.so.1.0.23 b00a2000-b00a3000 rw-p 00061000 08:06 50122 /usr/lib/libsndfile.so.1.0.23 b00a3000-b00a7000 rw-p 00000000 00:00 0 b00a7000-b00ae000 r-xp 00000000 08:01 2949224 /lib/libwrap.so.0.7.6 b00ae000-b00af000 r--p 00006000 08:01 2949224 /lib/libwrap.so.0.7.6 b00af000-b00b0000 rw-p 00007000 08:01 2949224 /lib/libwrap.so.0.7.6 b00b0000-b00b3000 r-xp 00000000 08:01 2950031 /lib/i386-linux-gnu/libuuid.so.1.3.0 b00b3000-b00b4000 r--p 00002000 08:01 2950031 /lib/i386-linux-gnu/libuuid.so.1.3.0 b00b4000-b00b5000 rw-p 00003000 08:01 2950031 /lib/i386-linux-gnu/libuuid.so.1.3.0 b00b5000-b00fc000 r-xp 00000000 08:06 52946 /usr/lib/libpulsecommon-0.9.22.so b00fc000-b00fd000 r--p 00046000 08:06 52946 /usr/lib/libpulsecommon-0.9.22.so b00fd000-b00fe000 rw-p 00047000 08:06 52946 /usr/lib/libpulsecommon-0.9.22.so b00fe000-b0102000 r-xp 00000000 08:06 49406 /usr/lib/libXtst.so.6.1.0 b0102000-b0103000 r--p 00003000 08:06 49406 /usr/lib/libXtst.so.6.1.0 b0103000-b0104000 rw-p 00004000 08:06 49406 /usr/lib/libXtst.so.6.1.0 b0104000-b010a000 r-xp 00000000 08:06 50955 /usr/lib/i386-linux-gnu/libSM.so.6.0.1 b010a000-b010b000 r--p 00005000 08:06 50955 /usr/lib/i386-linux-gnu/libSM.so.6.0.1 b010b000-b010c000 rw-p 00006000 08:06 50955 /usr/lib/i386-linux-gnu/libSM.so.6.0.1 b010c000-b0120000 r-xp 00000000 08:06 50953 /usr/lib/i386-linux-gnu/libICE.so.6.3.0 b0120000-b0121000 r--p 00013000 08:06 50953 /usr/lib/i386-linux-gnu/libICE.so.6.3.0 b0121000-b0122000 rw-p 00014000 08:06 50953 /usr/lib/i386-linux-gnu/libICE.so.6.3.0 b0122000-b0124000 rw-p 00000000 00:00 0 b0124000-b0163000 r-xp 00000000 08:06 50757 /usr/lib/libpulse.so.0.12.3 b0163000-b0164000 r--p 0003e000 08:06 50757 /usr/lib/libpulse.so.0.12.3 b0164000-b0165000 rw-p 0003f000 08:06 50757 /usr/lib/libpulse.so.0.12.3 b0165000-b017b000 r-xp 00000000 08:06 49691 /usr/lib/gstreamer-0.10/libgstpulse.so b017b000-b017c000 ---p 00016000 08:06 49691 /usr/lib/gstreamer-0.10/libgstpulse.so b017c000-b017d000 r--p 00016000 08:06 49691 /usr/lib/gstreamer-0.10/libgstpulse.so b017d000-b017e000 rw-p 00017000 08:06 49691 /usr/lib/gstreamer-0.10/libgstpulse.so b017e000-b017f000 ---p 00000000 00:00 0 b017f000-b097f000 rw-p 00000000 00:00 0 b097f000-b0980000 ---p 00000000 00:00 0 b0980000-b1180000 rw-p 00000000 00:00 0 b1180000-b1184000 r-xp 00000000 08:06 50969 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 b1184000-b1185000 r--p 00003000 08:06 50969 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 b1185000-b1186000 rw-p 00004000 08:06 50969 /usr/lib/i386-linux-gnu/libXdmcp.so.6.0.0 b1186000-b119d000 r-xp 00000000 08:06 51109 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 b119d000-b119e000 r--p 00016000 08:06 51109 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 b119e000-b119f000 rw-p 00017000 08:06 51109 /usr/lib/i386-linux-gnu/libxcb.so.1.1.0 b119f000-b11ac000 r-xp 00000000 08:06 50971 /usr/lib/i386-linux-gnu/libXext.so.6.4.0 b11ac000-b11ad000 r--p 0000c000 08:06 50971 /usr/lib/i386-linux-gnu/libXext.so.6.4.0 b11ad000-b11ae000 rw-p 0000d000 08:06 50971 /usr/lib/i386-linux-gnu/libXext.so.6.4.0 b11ae000-b12c4000 r-xp 00000000 08:06 50271 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 b12c4000-b12c5000 ---p 00116000 08:06 50271 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 b12c5000-b12c6000 r--p 00116000 08:06 50271 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 b12c6000-b12c8000 rw-p 00117000 08:06 50271 /usr/lib/i386-linux-gnu/libX11.so.6.3.0 b12c8000-b12c9000 rw-p 00000000 00:00 0 b12d6000-b12dc000 r-xp 00000000 08:06 51712 /usr/lib/gstreamer-0.10/libgstvolume.so b12dc000-b12dd000 r--p 00005000 08:06 51712 /usr/lib/gstreamer-0.10/libgstvolume.so b12dd000-b12de000 rw-p 00006000 08:06 51712 /usr/lib/gstreamer-0.10/libgstvolume.so b12de000-b12ed000 r-xp 00000000 08:06 50825 /usr/lib/gstreamer-0.10/libgstxvimagesink.so b12ed000-b12ee000 r--p 0000e000 08:06 50825 /usr/lib/gstreamer-0.10/libgstxvimagesink.so b12ee000-b12ef000 rw-p 0000f000 08:06 50825 /usr/lib/gstreamer-0.10/libgstxvimagesink.so b12ef000-b132a000 r-xp 00000000 08:06 52682 /usr/lib/libfaad.so.2.0.0 b132a000-b132b000 r--p 0003a000 08:06 52682 /usr/lib/libfaad.so.2.0.0 b132b000-b132e000 rw-p 0003b000 08:06 52682 /usr/lib/libfaad.so.2.0.0 b132e000-b1331000 r-xp 00000000 08:06 50248 /usr/lib/libxcb-atom.so.1.0.0 b1331000-b1332000 r--p 00002000 08:06 50248 /usr/lib/libxcb-atom.so.1.0.0 b1332000-b1333000 rw-p 00003000 08:06 50248 /usr/lib/libxcb-atom.so.1.0.0 b1333000-b1337000 r-xp 00000000 08:06 49408 /usr/lib/libXv.so.1.0.0 b1337000-b1338000 r--p 00003000 08:06 49408 /usr/lib/libXv.so.1.0.0 b1338000-b1339000 rw-p 00004000 08:06 49408 /usr/lib/libXv.so.1.0.0 b1339000-b1341000 r-xp 00000000 08:06 280184 /usr/lib/gstreamer-0.10/libgstautodetect.so b1341000-b1342000 r--p 00007000 08:06 280184 /usr/lib/gstreamer-0.10/libgstautodetect.so b1342000-b1343000 rw-p 00008000 08:06 280184 /usr/lib/gstreamer-0.10/libgstautodetect.so b1343000-b134b000 r-xp 00000000 08:06 280062 /usr/lib/gstreamer-0.10/libgstfaad.so b134b000-b134c000 r--p 00007000 08:06 280062 /usr/lib/gstreamer-0.10/libgstfaad.so b134c000-b134d000 rw-p 00008000 08:06 280062 /usr/lib/gstreamer-0.10/libgstfaad.so b134d000-b1352000 r-xp 00000000 08:06 50578 /usr/lib/gstreamer-0.10/libgstcoreindexers.so b1352000-b1353000 r--p 00004000 08:06 50578 /usr/lib/gstreamer-0.10/libgstcoreindexers.so b1353000-b1354000 rw-p 00005000 08:06 50578 /usr/lib/gstreamer-0.10/libgstcoreindexers.so b1354000-b1355000 ---p 00000000 00:00 0 b1355000-b1b55000 rw-p 00000000 00:00 0 b1b55000-b1b6f000 r-xp 00000000 08:01 2949199 /lib/i386-linux-gnu/libgcc_s.so.1 b1b6f000-b1b70000 r--p 00019000 08:01 2949199 /lib/i386-linux-gnu/libgcc_s.so.1 b1b70000-b1b71000 rw-p 0001a000 08:01 2949199 /lib/i386-linux-gnu/libgcc_s.so.1 b1b71000-b1be2000 r-xp 00000000 08:06 329767 /usr/lib/liborc-0.4.so.0.14.0 b1be2000-b1be3000 r--p 00071000 08:06 329767 /usr/lib/liborc-0.4.so.0.14.0 b1be3000-b1be6000 rw-p 00072000 08:06 329767 /usr/lib/liborc-0.4.so.0.14.0 b1be6000-b1be7000 rw-p 00000000 00:00 0 b1be7000-b1c74000 r-xp 00000000 08:06 52395 /usr/lib/libvpx.so.0.9.6 b1c74000-b1c75000 ---p 0008d000 08:06 52395 /usr/lib/libvpx.so.0.9.6 b1c75000-b1c76000 r--p 0008d000 08:06 52395 /usr/lib/libvpx.so.0.9.6 b1c76000-b1c77000 rw-p 0008e000 08:06 52395 /usr/lib/libvpx.so.0.9.6 b1c77000-b1c81000 rw-p 00000000 00:00 0 b1c81000-b1ca6000 r-xp 00000000 08:06 50219 /usr/lib/libvorbis.so.0.4.5 b1ca6000-b1ca7000 r--p 00025000 08:06 50219 /usr/lib/libvorbis.so.0.4.5 b1ca7000-b1ca8000 rw-p 00026000 08:06 50219 /usr/lib/libvorbis.so.0.4.5 b1ca8000-b1e0d000 r-xp 00000000 08:06 50221 /usr/lib/libvorbisenc.so.2.0.8 b1e0d000-b1e0e000 ---p 00165000 08:06 50221 /usr/lib/libvorbisenc.so.2.0.8 b1e0e000-b1e1f000 r--p 00165000 08:06 50221 /usr/lib/libvorbisenc.so.2.0.8 b1e1f000-b1e20000 rw-p 00176000 08:06 50221 /usr/lib/libvorbisenc.so.2.0.8 b1e20000-b1e62000 r-xp 00000000 08:06 50173 /usr/lib/libtheoraenc.so.1.1.2 b1e62000-b1e63000 r--p 00041000 08:06 50173 /usr/lib/libtheoraenc.so.1.1.2 b1e63000-b1e64000 rw-p 00042000 08:06 50173 /usr/lib/libtheoraenc.so.1.1.2 b1e64000-b1f03000 r-xp 00000000 08:06 52385 /usr/lib/libschroedinger-1.0.so.0.10.0 b1f03000-b1f04000 r--p 0009f000 08:06 52385 /usr/lib/libschroedinger-1.0.so.0.10.0 b1f04000-b1f05000 rw-p 000a0000 08:06 52385 /usr/lib/libschroedinger-1.0.so.0.10.0 b1f05000-b23b3000 r-xp 00000000 08:06 147592 /usr/lib/i686/cmov/libavcodec.so.52.72.2 b23b3000-b23b4000 r--p 004ad000 08:06 147592 /usr/lib/i686/cmov/libavcodec.so.52.72.2 b23b4000-b23bf000 rw-p 004ae000 08:06 147592 /usr/lib/i686/cmov/libavcodec.so.52.72.2 b23bf000-b28a5000 rw-p 00000000 00:00 0 b28a5000-b2970000 r-xp 00000000 08:06 147596 /usr/lib/i686/cmov/libavformat.so.52.64.2 b2970000-b2971000 r--p 000ca000 08:06 147596 /usr/lib/i686/cmov/libavformat.so.52.64.2 b2971000-b2977000 rw-p 000cb000 08:06 147596 /usr/lib/i686/cmov/libavformat.so.52.64.2 b2977000-b2978000 ---p 00000000 00:00 0 b2978000-b3178000 rw-p 00000000 00:00 0 b3178000-b3179000 ---p 00000000 00:00 0 b3179000-b3979000 rw-p 00000000 00:00 0 b3a00000-b3c00000 rw-p 00000000 00:00 0 b3c00000-b3e00000 rw-p 00000000 00:00 0 b3e00000-b3f00000 rw-p 00000000 00:00 0 b3f00000-b3f18000 r-xp 00000000 08:06 50171 /usr/lib/libtheoradec.so.1.1.4 b3f18000-b3f19000 r--p 00017000 08:06 50171 /usr/lib/libtheoradec.so.1.1.4 b3f19000-b3f1a000 rw-p 00018000 08:06 50171 /usr/lib/libtheoradec.so.1.1.4 b3f1a000-b3f35000 r-xp 00000000 08:06 52051 /usr/lib/sse2/libspeex.so.1.5.0 b3f35000-b3f36000 r--p 0001a000 08:06 52051 /usr/lib/sse2/libspeex.so.1.5.0 b3f36000-b3f37000 rw-p 0001b000 08:06 52051 /usr/lib/sse2/libspeex.so.1.5.0 b3f37000-b3f43000 r-xp 00000000 08:06 52381 /usr/lib/libgsm.so.1.0.12 b3f43000-b3f44000 r--p 0000b000 08:06 52381 /usr/lib/libgsm.so.1.0.12 b3f44000-b3f45000 rw-p 0000c000 08:06 52381 /usr/lib/libgsm.so.1.0.12 b3f45000-b3f53000 r-xp 00000000 08:06 52389 /usr/lib/libva.so.1.0.8 b3f53000-b3f54000 r--p 0000d000 08:06 52389 /usr/lib/libva.so.1.0.8 b3f54000-b3f55000 rw-p 0000e000 08:06 52389 /usr/lib/libva.so.1.0.8 b3f55000-b3f6d000 rw-p 00000000 00:00 0 b3f6d000-b3f7c000 r-xp 00000000 08:01 2949155 /lib/libbz2.so.1.0.4 b3f7c000-b3f7d000 r--p 0000f000 08:01 2949155 /lib/libbz2.so.1.0.4 b3f7d000-b3f7e000 rw-p 00010000 08:01 2949155 /lib/libbz2.so.1.0.4 b3f7e000-b3f8d000 r-xp 00000000 08:06 147588 /usr/lib/i686/cmov/libavutil.so.50.15.1 b3f8d000-b3f8e000 r--p 0000e000 08:06 147588 /usr/lib/i686/cmov/libavutil.so.50.15.1 b3f8e000-b3f8f000 rw-p 0000f000 08:06 147588 /usr/lib/i686/cmov/libavutil.so.50.15.1 b3f8f000-b3f92000 rw-p 00000000 00:00 0 b3f94000-b3fa5000 r-xp 00000000 08:06 280180 /usr/lib/gstreamer-0.10/libgstaudioparsers.so b3fa5000-b3fa6000 r--p 00010000 08:06 280180 /usr/lib/gstreamer-0.10/libgstaudioparsers.so b3fa6000-b3fa7000 rw-p 00011000 08:06 280180 /usr/lib/gstreamer-0.10/libgstaudioparsers.so b3fa7000-b3fdf000 r-xp 00000000 08:06 52417 /usr/lib/gstreamer-0.10/libgstffmpeg.so b3fdf000-b3fe0000 r--p 00037000 08:06 52417 /usr/lib/gstreamer-0.10/libgstffmpeg.so b3fe0000-b3fe1000 rw-p 00038000 08:06 52417 /usr/lib/gstreamer-0.10/libgstffmpeg.so b3fe1000-b4013000 r-xp 00000000 08:06 280281 /usr/lib/gstreamer-0.10/libgstmpegdemux.so b4013000-b4014000 r--p 00031000 08:06 280281 /usr/lib/gstreamer-0.10/libgstmpegdemux.so b4014000-b4015000 rw-p 00032000 08:06 280281 /usr/lib/gstreamer-0.10/libgstmpegdemux.so b429b000-b429c000 ---p 00000000 00:00 0 b429c000-b4a9c000 rw-p 00000000 00:00 0 b4a9c000-b4a9d000 ---p 00000000 00:00 0 b4a9d000-b529d000 rw-p 00000000 00:00 0 b529d000-b529e000 ---p 00000000 00:00 0 b529e000-b5a9e000 rw-p 00000000 00:00 0 b5a9e000-b5ac0000 r-xp 00000000 08:06 51258 /usr/lib/libgstaudio-0.10.so.0.24.0 b5ac0000-b5ac1000 r--p 00022000 08:06 51258 /usr/lib/libgstaudio-0.10.so.0.24.0 b5ac1000-b5ac2000 rw-p 00023000 08:06 51258 /usr/lib/libgstaudio-0.10.so.0.24.0 b5ac2000-b5afd000 r-xp 00000000 08:01 2949959 /lib/i386-linux-gnu/libdbus-1.so.3.5.4 b5afd000-b5afe000 r--p 0003a000 08:01 2949959 /lib/i386-linux-gnu/libdbus-1.so.3.5.4 b5afe000-b5aff000 rw-p 0003b000 08:01 2949959 /lib/i386-linux-gnu/libdbus-1.so.3.5.4 b5aff000-b5b00000 ---p 00000000 00:00 0 b5b00000-b6300000 rw-p 00000000 00:00 0 b6300000-b6400000 rw-p 00000000 00:00 0 b6404000-b6418000 r-xp 00000000 08:06 51659 /usr/lib/libgstrtp-0.10.so.0.24.0 b6418000-b6419000 r--p 00014000 08:06 51659 /usr/lib/libgstrtp-0.10.so.0.24.0 b6419000-b641a000 rw-p 00015000 08:06 51659 /usr/lib/libgstrtp-0.10.so.0.24.0 b641a000-b642e000 r-xp 00000000 08:06 49537 /usr/lib/libbluetooth.so.3.11.0 b642e000-b642f000 r--p 00013000 08:06 49537 /usr/lib/libbluetooth.so.3.11.0 b642f000-b6430000 rw-p 00014000 08:06 49537 /usr/lib/libbluetooth.so.3.11.0 b6431000-b6432000 r-xp 00000000 08:06 49430 /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0 b6432000-b6433000 r--p 00000000 08:06 49430 /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0 b6433000-b6434000 rw-p 00001000 08:06 49430 /usr/lib/i386-linux-gnu/libX11-xcb.so.1.0.0 b6434000-b6439000 r-xp 00000000 08:06 49988 /usr/lib/libogg.so.0.7.0 b6439000-b643a000 r--p 00004000 08:06 49988 /usr/lib/libogg.so.0.7.0 b643a000-b643b000 rw-p 00005000 08:06 49988 /usr/lib/libogg.so.0.7.0 b643b000-b6443000 r-xp 00000000 08:06 280153 /usr/lib/gstreamer-0.10/libgstfragmented.so b6443000-b6444000 r--p 00007000 08:06 280153 /usr/lib/gstreamer-0.10/libgstfragmented.soAborted
Ah ok, now please do the same again either with --trace-children=yes and gst-launch-0.10 instead of gst-launch
Created attachment 191863 [details] valgrind.log
running the pipeline like: valgrind -v --time-stamp=yes --track-origins=yes --tool=memcheck --leak-check=yes --log-file=valgrind.log gst-launch-0.10 playbin2 uri=http://live.iphone.redbull.de.edgesuite.net/servus2mb.m3u8 is pretty choppy and takes a lot of cpu. I'm afraid it will not get to the point where the process crashes, but hopefully some additional hints are provided.
Probably, yes. There are many invalid reads in the hls demuxer which could cause these crashes.
works fine with tsdemux in current git. Which makes me think it's either an hlsdemux issue which was fixed, or an issue with the mpegdemux demuxer.
I think I might have reproduced this problem! At least I get a similar Aborted message. Here is a valgrind log (or part of one) that might be interesting: ==00:00:03:07.817 1688== Invalid write of size 1 ==00:00:03:07.817 1688== at 0x8012DAB: gst_m3u8_client_update (m3u8.c:230) ==00:00:03:07.817 1688== by 0x8015F2B: gst_hls_demux_update_playlist.clone.2 (gsthlsdemux.c:1139) ==00:00:03:07.817 1688== by 0x801682A: gst_hls_demux_loop (gsthlsdemux.c:992) ==00:00:03:07.817 1688== by 0x42100918: gst_task_func (gsttask.c:318) ==00:00:03:07.817 1688== by 0x421019EB: default_func (gsttaskpool.c:70) ==00:00:03:07.817 1688== by 0x4FF17130: ??? (in /lib/libglib-2.0.so.0.2800.6) ==00:00:03:07.817 1688== by 0x4FF15D21: ??? (in /lib/libglib-2.0.so.0.2800.6) ==00:00:03:07.817 1688== by 0x4FDECB15: start_thread (pthread_create.c:297) ==00:00:03:07.817 1688== by 0x4FD2D1FD: clone (clone.S:130) ==00:00:03:07.817 1688== Address 0x10528959 is 9 bytes after a block of size 976 alloc'd ==00:00:03:07.817 1688== at 0x40051AD: calloc (vg_replace_malloc.c:467) ==00:00:03:07.817 1688== by 0x4FF31DF4: g_malloc0 (in /lib/libglib-2.0.so.0.2800.6) ==00:00:03:07.817 1688== by 0x8014ECA: gst_hls_src_buf_to_utf8_playlist (gsthlsdemux.c:1114) ==00:00:03:07.817 1688== by 0x8015EFC: gst_hls_demux_update_playlist.clone.2 (gsthlsdemux.c:1133) ==00:00:03:07.817 1688== by 0x801682A: gst_hls_demux_loop (gsthlsdemux.c:992) ==00:00:03:07.817 1688== by 0x42100918: gst_task_func (gsttask.c:318) ==00:00:03:07.817 1688== by 0x421019EB: default_func (gsttaskpool.c:70) ==00:00:03:07.817 1688== by 0x4FF17130: ??? (in /lib/libglib-2.0.so.0.2800.6) ==00:00:03:07.817 1688== by 0x4FF15D21: ??? (in /lib/libglib-2.0.so.0.2800.6) ==00:00:03:07.817 1688== by 0x4FDECB15: start_thread (pthread_create.c:297) ==00:00:03:07.817 1688== by 0x4FD2D1FD: clone (clone.S:130) What I did was to create a script that does play/stop (play=create pipeline and set to state PLAYING, stop pipeline=NULL) over and over. I takes "a while" (completly random) before I get this so this does not happen every time I play something. After looking at the code my thinking is that it might have something to do with playlists that have an empty line at the end of the file but I am not sure. Oh, I am using the git HEAD (did git pull this morning) version of gst-plugins-bad
Can you reproduce it with latest git which now autoplugs tsdemux instead of mgeptsdemux? I can't reproduce here.
I can't reproduce this either (git master 1.0.x), so let's close it. I'm sure there are still issues, but there have also been loads of fixes, esp. wrt thread-safety, all over the place in the last year. People will file new bugs if there are still problems. Please re-open or file a new bug if you still have issues and can get an up-to-date stack trace or valgrind log with GStreamer 1.0.x, thanks!