Bug#831909: gstreamer coredumps when playing wavs since the libavcodec upgrade

Faidon Liambotis paravoid at debian.org
Wed Jul 20 19:06:05 UTC 2016


Package: libavcodec57
Version: 7:3.1.1-2
Severity: grave

I ran Debian testing on my desktop. Since about a day ago, pidgin
started crashing unexpectedly. After a little bit of debugging, I found
that it reproducibly crashes when trying to play sounds. Going a step
further, I made the test case as simple as:

$ gst-launch-1.0 filesrc location=/usr/share/sounds/purple/alert.wav  ! wavparse ! audioconvert !  fakesink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Aborted (core dumped)

My dpkg.log has a bunch of ffmpeg-related package upgrades, including
libavcodec57, being installed on 2016-07-18, approximately when those
crashes started. Because of this and the backtrace below, I'm filing
this against libavcodec57 -- feel free to reassign if that's wrong.

The backtrace seems to be:
           PID: 4121 (gst-launch-1.0)
           UID: 1000 (paravoid)
           GID: 1000 (paravoid)
        Signal: 6 (ABRT)
     Timestamp: Τετ 2016-07-20 21:55:59 EEST (5min ago)
  Command Line: gst-launch-1.0 filesrc location=/usr/share/sounds/purple/alert.wav ! wavparse ! audioconvert ! fakesink
    Executable: /usr/bin/gst-launch-1.0
 Control Group: /
         Slice: -.slice
       Boot ID: fc3d59275e1042c491633f9a920c10e5
    Machine ID: ddb673bb6861472487a0edbc40f6f1fc
      Hostname: donald
      Coredump: /var/lib/systemd/coredump/core.gst-launch-1\x2e0.1000.fc3d59275e1042c491633f9a920c10e5.4121.1469040959000000000000.xz
       Message: Process 4121 (gst-launch-1.0) of user 1000 dumped core.
                
                Stack trace of thread 4122:
                #0  0x00007fa47ae7f1c8 raise (libc.so.6)
                #1  0x00007fa47ae8064a abort (libc.so.6)
                #2  0x00007fa4719b8f5b n/a (libavcodec.so.57)
                #3  0x00007fa4719b9026 avcodec_alloc_context3 (libavcodec.so.57)
                #4  0x00007fa473360540 n/a (libgstlibav.so)
                #5  0x00007fa473356e53 n/a (libgstlibav.so)
                #6  0x00007fa47b74b22d g_type_class_ref (libgobject-2.0.so.0)
                #7  0x00007fa47b9c8da4 gst_element_register (libgstreamer-1.0.so.0)
                #8  0x00007fa4733575b3 n/a (libgstlibav.so)
                #9  0x00007fa473349e20 n/a (libgstlibav.so)
                #10 0x00007fa47b9ea537 n/a (libgstreamer-1.0.so.0)
                #11 0x00007fa47b9ec425 n/a (libgstreamer-1.0.so.0)
                #12 0x00007fa47b9ed12c gst_plugin_load_by_name (libgstreamer-1.0.so.0)
                #13 0x00007fa47b9eda8d gst_plugin_feature_load (libgstreamer-1.0.so.0)
                #14 0x00007fa47ba137e3 gst_type_find_factory_call_function (libgstreamer-1.0.so.0)
                #15 0x00007fa479c48421 gst_type_find_helper_for_data (libgstbase-1.0.so.0)
                #16 0x00007fa479c485a4 gst_type_find_helper_for_buffer (libgstbase-1.0.so.0)
                #17 0x00007fa4799f446a n/a (libgstwavparse.so)
                #18 0x00007fa4799f4b47 n/a (libgstwavparse.so)
                #19 0x00007fa4799fabb1 n/a (libgstwavparse.so)
                #20 0x00007fa47ba0ee71 n/a (libgstreamer-1.0.so.0)
                #21 0x00007fa47b47b55e n/a (libglib-2.0.so.0)
                #22 0x00007fa47b47abc5 n/a (libglib-2.0.so.0)
                #23 0x00007fa47b1f4464 start_thread (libpthread.so.0)
                #24 0x00007fa47af3330d __clone (libc.so.6)
                
                Stack trace of thread 4121:
                #0  0x00007fa47af2a19d poll (libc.so.6)
                #1  0x00007fa47b45439c n/a (libglib-2.0.so.0)
                #2  0x00007fa47b454722 g_main_loop_run (libglib-2.0.so.0)
                #3  0x00007fa47b9af8e9 gst_bus_poll (libgstreamer-1.0.so.0)
                #4  0x00000000004046f8 n/a (gst-launch-1.0)
                #5  0x00000000004036e9 n/a (gst-launch-1.0)
                #6  0x00007fa47ae6c730 __libc_start_main (libc.so.6)
                #7  0x0000000000403d19 n/a (gst-launch-1.0)
                
                Stack trace of thread 4123:
                #0  0x00007fa47af2a19d poll (libc.so.6)
                #1  0x00007fa47b45439c n/a (libglib-2.0.so.0)
                #2  0x00007fa47b4544ac g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007fa47b4544e9 n/a (libglib-2.0.so.0)
                #4  0x00007fa47b47abc5 n/a (libglib-2.0.so.0)
                #5  0x00007fa47b1f4464 start_thread (libpthread.so.0)
                #6  0x00007fa47af3330d __clone (libc.so.6)

Finally, note that running "mpv /usr/share/sounds/purple/receive.wav"
seems to work without crashing (and produces sound), however, there is a
big yellow warning at the top that reads: "Warning: mpv was compiled
against a different version of ffmpeg than the shared library it is
linked against. This is most likely a broken build and misbehavior and
crashes are to be expected."

Thanks,
Faidon

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.6.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=el_GR.UTF-8, LC_CTYPE=el_GR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages libavcodec57 depends on:
ii  libavutil55            7:3.1.1-2
ii  libc6                  2.23-1
ii  libcrystalhd3          1:0.0~git20110715.fdd2f19-11+b1
ii  libgsm1                1.0.13-4
ii  liblzma5               5.1.1alpha+20120614-2.1
ii  libmp3lame0            3.99.5+repack1-9+b1
ii  libopenjp2-7           2.1.1-1
ii  libopus0               1.1.2-1
ii  libschroedinger-1.0-0  1.0.11-2.1
ii  libshine3              3.1.0-4
ii  libsnappy1v5           1.1.3-3
ii  libspeex1              1.2~rc1.2-1
ii  libswresample2         7:3.1.1-2
ii  libtheora0             1.1.1+dfsg.1-14
ii  libtwolame0            0.3.13-1.2
ii  libva1                 1.7.1-1
ii  libvorbis0a            1.3.5-3
ii  libvorbisenc2          1.3.5-3
ii  libvpx3                1.5.0-3
ii  libwavpack1            4.80.0-1
ii  libwebp5               0.4.4-1.1
ii  libx264-148            2:0.148.2699+gita5e06b9-1
ii  libx265-79             1.9-3
ii  libxvidcore4           2:1.3.4-1
ii  libzvbi0               0.2.35-10+b1
ii  zlib1g                 1:1.2.8.dfsg-2+b1

libavcodec57 recommends no packages.

libavcodec57 suggests no packages.

-- no debconf information



More information about the pkg-multimedia-maintainers mailing list