vlc 1.1.8 crash segfault on DVB-T

*nix specific usage questions
djsb
New Cone
New Cone
Posts: 7
Joined: 21 Jan 2009 03:11

vlc 1.1.8 crash segfault on DVB-T

Postby djsb » 04 Apr 2011 01:45

Hi all,

I'm using vlc with an avermedia card on Linux (ubuntu 10.04) / Windows (xp) and i have the same crash behavior.
In our country (portugal) DVB-T Stream is mpeg4 based. VLC starts showing 2 or 3 seconds of video and audio, but then segfaults.

I've tested version 1.0.4 and 1.0.6 as well as the last 1.1.8 on Windows and Linux. The capture card works great with mplayer or their own software (Avermedia USB Video capture HD 830).

Here's the output:

Code: Select all

VLC media player 1.1.8 The Luggage (revision exported) Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS") Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE") [0x867b194] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed. [0x867b194] main interface error: no suitable interface module [0x866aafc] main interface error: no suitable interface module [0x85c815c] main libvlc error: interface "globalhotkeys,none" initialization failed [0x866aafc] dummy interface: using the dummy interface module... libdvbpsi error (PSI decoder): TS discontinuity (received 7, expected 0) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 0) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 0) for PID 272 [0x8681084] ts demux error: MPEG-4 descriptor not found libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 0) for PID 17 [0x8689574] packetizer_mpeg4audio decoder: AAC channels: 2 samplerate: 24000 [0x86a3f9c] avcodec encoder error: cannot find encoder MPEG Audio layer 1/2/3 *** Your FFMPEG installation is crippled. *** *** Please check with your FFMPEG packager. *** *** This is NOT a VLC media player issue. *** [0x86a3f9c] main encoder error: Streaming / Transcoding failed [0x86a3f9c] main encoder error: It seems your FFMPEG (libavcodec) installation lacks the following encoder: MPEG Audio layer 1/2/3. If you don't know how to fix this, ask for support from your distribution. This is not an error inside VLC media player. Do not contact the VideoLAN project about this issue. [0x8672f04] main stream out error: Failed to create audio filter [0x8672f04] stream_out_transcode stream out error: Failed to find conversion filter for resampling [0x8672f04] stream_out_transcode stream out error: cannot create audio chain [0x8689574] main decoder error: cannot create packetizer output (mp4a) number of reference frames exceeds max (probably corrupt input), discarding one number of reference frames exceeds max (probably corrupt input), discarding one number of reference frames exceeds max (probably corrupt input), discarding one number of reference frames exceeds max (probably corrupt input), discarding one number of reference frames exceeds max (probably corrupt input), discarding one number of reference frames exceeds max (probably corrupt input), discarding one libdvbpsi error (dr_4e decoder): bad tag or corrupted(0x4e) libdvbpsi error (dr_4e decoder): bad tag or corrupted(0x4e) libdvbpsi error (dr_4e decoder): bad tag or corrupted(0x4e) libdvbpsi error (dr_4e decoder): bad tag or corrupted(0x4e) libdvbpsi error (dr_4e decoder): bad tag or corrupted(0x4e) libdvbpsi error (dr_4e decoder): bad tag or corrupted(0x4e) libdvbpsi error (dr_4e decoder): bad tag or corrupted(0x4e) libdvbpsi error (dr_4e decoder): bad tag or corrupted(0x4e) libdvbpsi error (dr_4e decoder): bad tag or corrupted(0x4e) libdvbpsi error (dr_4e decoder): bad tag or corrupted(0x4e) libdvbpsi error (dr_4e decoder): bad tag or corrupted(0x4e) libdvbpsi error (dr_4e decoder): bad tag or corrupted(0x4e) illegal short term buffer state detected libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 7) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 14, expected 1) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 12, expected 15) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 13) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 3) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 1) for PID 0 libdvbpsi error (misc PSI): Bad CRC_32 (0x8acd400f) !!! libdvbpsi error (PSI decoder): PSI section too long libdvbpsi error (misc PSI): Bad CRC_32 (0x009b6f14) !!! libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 15) for PID 272 libdvbpsi error (PSI decoder): TS discontinuity (received 2, expected 12) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 5, expected 3) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 10, expected 6) for PID 0 libdvbpsi error (PSI decoder): TS discontinuity (received 11, expected 0) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 8, expected 12) for PID 18 libdvbpsi error (PSI decoder): TS discontinuity (received 0, expected 11) for PID 0 libdvbpsi error (misc PSI): Bad CRC_32 (0x21fa1216) !!! number of reference frames exceeds max (probably corrupt input), discarding one number of reference frames exceeds max (probably corrupt input), discarding one number of reference frames exceeds max (probably corrupt input), discarding one number of reference frames exceeds max (probably corrupt input), discarding one number of reference frames exceeds max (probably corrupt input), discarding one number of reference frames exceeds max (probably corrupt input), discarding one number of reference frames exceeds max (probably corrupt input), discarding one reference picture missing during reorder Missing reference picture reference picture missing during reorder Missing reference picture mmco: unref short failure number of reference frames exceeds max (probably corrupt input), discarding one libdvbpsi error (dr_4e decoder): bad tag or corrupted(0x4e) libdvbpsi error (dr_4e decoder): bad tag or corrupted(0x4e) libdvbpsi error (dr_4e decoder): bad tag or corrupted(0x4e) *** glibc detected *** /usr/bin/vlc: malloc(): memory corruption: 0x08bec400 *** ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(+0x6b591)[0xd6d591] /lib/tls/i686/cmov/libc.so.6(+0x6e395)[0xd70395] /lib/tls/i686/cmov/libc.so.6(__libc_malloc+0x5c)[0xd71f9c] /lib/tls/i686/cmov/libc.so.6(__vasprintf_chk+0x28)[0xde3dc8] /usr/lib/libvlccore.so.4(msg_GenericVa+0x99)[0x74be19] ======= Memory map: ======== 00110000-00116000 r-xp 00000000 08:01 3409197 /usr/lib/vlc/plugins/audio_output/libalsa_plugin.so 00116000-00117000 r--p 00005000 08:01 3409197 /usr/lib/vlc/plugins/audio_output/libalsa_plugin.so 00117000-00118000 rw-p 00006000 08:01 3409197 /usr/lib/vlc/plugins/audio_output/libalsa_plugin.so 00118000-0011b000 r-xp 00000000 08:01 3409195 /usr/lib/vlc/plugins/audio_output/liboss_plugin.so 0011b000-0011c000 r--p 00002000 08:01 3409195 /usr/lib/vlc/plugins/audio_output/liboss_plugin.so 0011c000-0011d000 rw-p 00003000 08:01 3409195 /usr/lib/vlc/plugins/audio_output/liboss_plugin.so 0011d000-0011f000 r-xp 00000000 08:01 3409001 /usr/lib/vlc/plugins/mmxext/libmemcpymmxext_plugin.so 0011f000-00120000 r--p 00001000 08:01 3409001 /usr/lib/vlc/plugins/mmxext/libmemcpymmxext_plugin.so 00120000-00121000 rw-p 00002000 08:01 3409001 /usr/lib/vlc/plugins/mmxext/libmemcpymmxext_plugin.so 00121000-00136000 r-xp 00000000 08:01 2889866 /usr/lib/libdvdnav.so.4.1.3 00136000-00137000 r--p 00014000 08:01 2889866 /usr/lib/libdvdnav.so.4.1.3 00137000-00138000 rw-p 00015000 08:01 2889866 /usr/lib/libdvdnav.so.4.1.3 00138000-00158000 r-xp 00000000 08:01 2889860 /usr/lib/libdvdread.so.4.1.3 00158000-00159000 r--p 0001f000 08:01 2889860 /usr/lib/libdvdread.so.4.1.3 00159000-0015a000 rw-p 00020000 08:01 2889860 /usr/lib/libdvdread.so.4.1.3 0015a000-0015c000 r-xp 00000000 08:01 3409020 /usr/lib/vlc/plugins/access/libaccess_mmap_plugin.so 0015c000-0015d000 r--p 00001000 08:01 3409020 /usr/lib/vlc/plugins/access/libaccess_mmap_plugin.so 0015d000-0015e000 rw-p 00002000 08:01 3409020 /usr/lib/vlc/plugins/access/libaccess_mmap_plugin.so 0015e000-00173000 r-xp 00000000 08:01 3409178 /usr/lib/vlc/plugins/demux/libplaylist_plugin.so 00173000-00174000 r--p 00015000 08:01 3409178 /usr/lib/vlc/plugins/demux/libplaylist_plugin.so 00174000-00175000 rw-p 00016000 08:01 3409178 /usr/lib/vlc/plugins/demux/libplaylist_plugin.so 00175000-00180000 r-xp 00000000 08:01 3409248 /usr/lib/vlc/plugins/meta_engine/libtaglib_plugin.so 00180000-00181000 r--p 0000a000 08:01 3409248 /usr/lib/vlc/plugins/meta_engine/libtaglib_plugin.so 00181000-00182000 rw-p 0000b000 08:01 3409248 /usr/lib/vlc/plugins/meta_engine/libtaglib_plugin.so 00182000-0019f000 r-xp 00000000 08:01 8126547 /lib/libgcc_s.so.1 0019f000-001a0000 r--p 0001c000 08:01 8126547 /lib/libgcc_s.so.1 001a0000-001a1000 rw-p 0001d000 08:01 8126547 /lib/libgcc_s.so.1 001a1000-001c1000 r-xp 00000000 08:01 3409152 /usr/lib/vlc/plugins/misc/liblua_plugin.so 001c1000-001c2000 r--p 00020000 08:01 3409152 /usr/lib/vlc/plugins/misc/liblua_plugin.so 001c2000-001c3000 rw-p 00021000 08:01 3409152 /usr/lib/vlc/plugins/misc/liblua_plugin.so 001c3000-001c5000 r-xp 00000000 08:01 2891246 /usr/lib/libxcb-keysyms.so.1.0.0 001c5000-001c6000 r--p 00001000 08:01 2891246 /usr/lib/libxcb-keysyms.so.1.0.0 001c6000-001c7000 rw-p 00002000 08:01 2891246 /usr/lib/libxcb-keysyms.so.1.0.0 001c7000-001ca000 r-xp 00000000 08:01 3409146 /usr/lib/vlc/plugins/misc/libdummy_plugin.so 001ca000-001cb000 r--p 00003000 08:01 3409146 /usr/lib/vlc/plugins/misc/libdummy_plugin.so 001cb000-001cc000 rw-p 00004000 08:01 3409146 /usr/lib/vlc/plugins/misc/libdummy_plugin.so 001cc000-001dd000 r-xp 00000000 08:01 3409011 /usr/lib/vlc/plugins/access/libaccess_bd_plugin.so 001dd000-001de000 r--p 00010000 08:01 3409011 /usr/lib/vlc/plugins/access/libaccess_bd_plugin.so 001de000-001df000 rw-p 00011000 08:01 3409011 /usr/lib/vlc/plugins/access/libaccess_bd_plugin.so 001df000-00204000 r-xp 00000000 08:01 2889883 /usr/lib/liblua5.1.so.0.0.0 00204000-00205000 r--p 00024000 08:01 2889883 /usr/lib/liblua5.1.so.0.0.0 00205000-00206000 rw-p 00025000 08:01 2889883 /usr/lib/liblua5.1.so.0.0.0 00206000-0020a000 r-xp 00000000 08:01 2886453 /usr/lib/libXdmcp.so.6.0.0 0020a000-0020b000 r--p 00003000 08:01 2886453 /usr/lib/libXdmcp.so.6.0.0 0020b000-0020c000 rw-p 00004000 08:01 2886453 /usr/lib/libXdmcp.so.6.0.0 0020c000-00217000 r-xp 00000000 08:01 2889857 /usr/lib/libdvbpsi.so.5.0.0 00217000-00219000 rw-p 0000a000 08:01 2889857 /usr/lib/libdvbpsi.so.5.0.0 00219000-0021b000 r-xp 00000000 08:01 3409141 /usr/lib/vlc/plugins/misc/libinhibit_plugin.so 0021b000-0021c000 r--p 00001000 08:01 3409141 /usr/lib/vlc/plugins/misc/libinhibit_plugin.so 0021c000-0021d000 rw-p 00002000 08:01 3409141 /usr/lib/vlc/plugins/misc/libinhibit_plugin.so 0021d000-00235000 r-xp 00000000 08:01 2887449 /usr/lib/libxcb.so.1.1.0 00235000-00236000 r--p 00017000 08:01 2887449 /usr/lib/libxcb.so.1.1.0 00236000-00237000 rw-p 00018000 08:01 2887449 /usr/lib/libxcb.so.1.1.0 00237000-00248000 r-xp 00000000 08:01 3408993 /usr/lib/vlc/plugins/stream_out/libstream_out_rtp_plugin.so 00248000-00249000 r--p 00010000 08:01 3408993 /usr/lib/vlc/plugins/stream_out/libstream_out_rtp_plugin.so 00249000-0024a000 rw-p 00011000 08:01 3408993 /usr/lib/vlc/plugins/stream_out/libstream_out_rtp_plugin.so 0024a000-00263000 r-xp 00000000 08:01 3409256 /usr/lib/vlc/plugins/mux/libmux_ts_plugin.so 00263000-00264000 r--p 00018000 08:01 3409256 /usr/lib/vlc/plugins/mux/libmux_ts_plugin.so 00264000-00265000 rw-p 00019000 08:01 3409256 /usr/lib/vlc/plugins/mux/libmux_ts_plugin.so 00265000-00267000 r-xp 00000000 08:01 3409107 /usr/lib/vlc/plugins/codec/librawvideo_plugin.so 00267000-00268000 r--p 00001000 08:01 3409107 /usr/lib/vlc/plugins/codec/librawvideo_plugin.so 00268000-00269000 rw-p 00002000 08:01 3409107 /usr/lib/vlc/plugins/codec/librawvideo_plugin.so 0026b000-0026d000 r-xp 00000000 08:01 3409123 /usr/lib/vlc/plugins/stream_filter/libstream_filter_record_plugin.so 0026d000-0026e000 r--p 00001000 08:01 3409123 /usr/lib/vlc/plugins/stream_filter/libstream_filter_record_plugin.so 0026e000-0026f000 rw-p 00002000 08:01 3409123 /usr/lib/vlc/plugins/stream_filter/libstream_filter_record_plugin.so 0026f000-002fe000 r-xp 00000000 08:01 2888496 /usr/lib/libtag.so.1.6.3 002fe000-002ff000 ---p 0008f000 08:01 2888496 /usr/lib/libtag.so.1.6.3Aborted

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: vlc 1.1.8 crash segfault on DVB-T

Postby Rémi Denis-Courmont » 04 Apr 2011 07:03

My best guess is that reception errors occur and the codec is not handling that very well. It's really impossible to find the problem with so few details anyway.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

djsb
New Cone
New Cone
Posts: 7
Joined: 21 Jan 2009 03:11

Re: vlc 1.1.8 crash segfault on DVB-T

Postby djsb » 04 Apr 2011 19:55

What further details can i supply to you?

On windows my signal strength is announced by the hardware/software vendor as between 80 a 95%.
This happens only with vlc (linux or windows xp), not mplayer or avermedia own software.

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: vlc 1.1.8 crash segfault on DVB-T

Postby Rémi Denis-Courmont » 04 Apr 2011 20:04

valgrind trace might be helpful in finding the culprit. Fixing the bug may be more difficult as it depends on the right expert looking at the issue.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

djsb
New Cone
New Cone
Posts: 7
Joined: 21 Jan 2009 03:11

Re: vlc 1.1.8 crash segfault on DVB-T

Postby djsb » 06 Apr 2011 18:11

As you suggested i include a valgrind debug.

http://pastebin.com/Tn8Vntvp

thank you

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: vlc 1.1.8 crash segfault on DVB-T

Postby Rémi Denis-Courmont » 06 Apr 2011 20:34

This looks like a bug in libdvbpsi. It probably does not deal with corrupt TS packets correctly.

You should report it to dvbpsi developers...
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

djsb
New Cone
New Cone
Posts: 7
Joined: 21 Jan 2009 03:11

Re: vlc 1.1.8 crash segfault on DVB-T

Postby djsb » 07 Apr 2011 17:19

It looks this libdvbpsi is maintained by vlc developers. Isn't this the forum?

best regards and thank you for your help.

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: vlc 1.1.8 crash segfault on DVB-T

Postby Rémi Denis-Courmont » 07 Apr 2011 20:33

It's the same cover organization. But I don't think dvbpsi developers read this forum.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 13 guests