vlc assert failure: *** Error in `/usr/bin/vlc': free(): invalid next size (fast): 0x00007fa2c4cca3b0 ***

Bug #1375450 reported by Sslaxx
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
vlc (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Attempting to play some sound files through VLC (in particular, it seems ones only a few seconds long), causes VLC to crash, locking the program up (and taking up 100% of a CPU core).

ProblemType: Crash
DistroRelease: Ubuntu 14.10
Package: vlc-nox 2.2.0~pre2-4build1
ProcVersionSignature: Ubuntu 3.16.0-18.25-generic 3.16.3
Uname: Linux 3.16.0-18-generic x86_64
ApportVersion: 2.14.7-0ubuntu2
Architecture: amd64
AssertionMessage: *** Error in `/usr/bin/vlc': free(): invalid next size (fast): 0x00007fa2c4cca3b0 ***
CurrentDesktop: Unity
Date: Mon Sep 29 21:11:02 2014
ExecutablePath: /usr/bin/vlc
InstallationDate: Installed on 2014-07-05 (86 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
ProcCmdline: /usr/bin/vlc --started-from-file /home/username/Data/Media/Sound/Games/DungeonsAndDragons/BaldursGate/1/OST/06-Gorions-Battle.ogg
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
Signal: 6
SourcePackage: vlc
StacktraceTop:
 __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7fa315461a40 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
 malloc_printerr (ptr=<optimised out>, str=0x7fa315461be0 "free(): invalid next size (fast)", action=1) at malloc.c:4996
 _int_free (av=<optimised out>, p=<optimised out>, have_lock=0) at malloc.c:3840
 ?? () from /usr/lib/vlc/plugins/demux/libogg_plugin.so
 ?? () from /usr/lib/libvlccore.so.8
Title: vlc assert failure: *** Error in `/usr/bin/vlc': free(): invalid next size (fast): 0x00007fa2c4cca3b0 ***
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Sslaxx (stuart-sslaxx) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __libc_message (do_abort=do_abort@entry=1, fmt=fmt@entry=0x7fa315461a40 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
 malloc_printerr (ptr=<optimized out>, str=0x7fa315461be0 "free(): invalid next size (fast)", action=1) at malloc.c:4996
 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3840
 Demux (p_demux=0x7fa2c4c2ae48) at demux/ogg.c:563
 demux_Demux (p_demux=0x7fa2c4c2ae48) at input/demux.h:44

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : StacktraceSource.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in vlc (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Sslaxx (stuart-sslaxx)
information type: Private → Public
Revision history for this message
Rémi Denis-Courmont (rdenis) wrote :

There has been a number of fixes to the Ogg demux plugin since 2.2.0-pre2. Please retry and provide a sample file if the problem still occurs.

Changed in vlc (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for vlc (Ubuntu) because there has been no activity for 60 days.]

Changed in vlc (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Jan Rathmann (kaiserclaudius) wrote :

I'm seeing this crash under Wily and was redirected here by apport.

I could narrow the cause down to the following config option in my ~/.config/vlc/vlcrc:

avcodec-hw=vaapi_x11

If I comment out this option or set it to a another value, the crash does not happen and playback works fine.

Here are the steps to reproduce this in a clean guest session:

1. Start VLC
2. Select "Tools -> Preferences -> Show settings: "All" -> Input / Codec -> Video Codecs -> ffmpeg -> Hardware decoding -> VA-API video decoder via X11"
3. Close VLC
4. Download the following example video: http://medien.wdr.de/m/1444056885/menschenhautnah/wdr_fernsehen_menschen_hautnah_20151008.mp4
5. Try to play it with VLC. It will crash immediately.

This seems to happen only with MP4 videos encoded in a certain way, because most of the MP4 files I have tested do not crash with this setting.

Kind regards,
Jan

Changed in vlc (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Sebastian Ramacher (s-ramacher) wrote :

This sound like a different issue to me. The original report report talked about sound files. So vaapi is not involved. Jan, if you still see this issue, please file a new bug report.

Marking as fixed. The Ogg fixes have been released.

Changed in vlc (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.