vlc crashed opening a blu-ray disk

Bug #864933 reported by CMatomic
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VLC media player
New
Unknown
vlc (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

vlc crashed opening a blu-ray disk

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: vlc-nox 1.1.11-2build2
ProcVersionSignature: Ubuntu 3.0.0-12.19-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu2
Architecture: i386
CrashCounter: 1
Date: Sun Oct 2 23:50:59 2011
ExecutablePath: /usr/bin/vlc
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta i386 (20110901)
ProcCmdline: vlc /media/BD35083JOHNMAYER
SegvAnalysis:
 Segfault happened at: 0xc33920: mov 0x18(%ecx),%eax
 PC (0x00c33920) ok
 source "0x18(%ecx)" (0x00000018) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
 Stack memory exhausted (SP below stack segment)
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: vlc
StacktraceTop:
 ?? () from /usr/lib/vlc/plugins/access/libaccess_bd_plugin.so
 ?? () from /usr/lib/vlc/plugins/access/libaccess_bd_plugin.so
 ?? () from /usr/lib/vlc/plugins/access/libaccess_bd_plugin.so
 ?? () from /usr/lib/vlc/plugins/access/libaccess_bd_plugin.so
 module_need () from /usr/lib/libvlccore.so.4
Title: vlc crashed with SIGSEGV in module_need()
UpgradeStatus: Upgraded to oneiric on 2011-09-23 (9 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
CMatomic (cmatomic) wrote :
visibility: private → public
visibility: public → private
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 GetClpiPacket (p_demux=0x8f0ed04, pi_ep=0x8e0d428, i_time=524280, p_mpls_clpi=<optimized out>) at bd.c:719
 SetPlayItem (p_demux=0x8f0ed04, i_mpls=150160524, i_play_item=0) at bd.c:670
 SetTitle (p_demux=0x8f0ed04, i_title=0) at bd.c:566
 Open (p_this=0x8f0ed04) at bd.c:209
 module_need (p_this=0x8f0ed04, psz_capability=0x6b4e9f "access_demux", psz_name=<optimized out>, b_strict=true) at modules/modules.c:559

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in vlc (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Benjamin Drung (bdrung)
visibility: private → public
Benjamin Drung (bdrung)
Changed in vlc (Ubuntu):
status: New → Triaged
Revision history for this message
Bryce Harrington (bryce) wrote :

static int64_t GetClpiPacket( demux_t *p_demux, int *pi_ep, const bd_mpls_clpi_t *p_mpls_clpi, int64_t i_time /* in 45kHz */ )
{
    demux_sys_t *p_sys = p_demux->p_sys;

    const bd_clpi_t *p_clpi = p_sys->p_clpi;
    assert( p_clpi );

    if( p_clpi->i_ep_map <= 0 )
        return -1;
    const bd_clpi_ep_map_t *p_ep_map = &p_clpi->p_ep_map[0];
    ...

Guessing it hit that assert; if not, it would segfault on the following line when it's deref'd.

I'm not spotting any reason to think this should be fixed in Precise, however if you get a chance to re-test and can confirm it's still crashing that would help.

Changed in vlc:
status: Unknown → New
Revision history for this message
Rémi Denis-Courmont (rdenis) wrote :

This only affects the old Bluray plugin (from VLC 1.1). The newer libbluray-based plugin does not have that code path. Maybe the old plugin should be removed altogether...

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vlc - 2.2.4-1

---------------
vlc (2.2.4-1) unstable; urgency=medium

  * New upstream release.
  * debian/patches:
    - g711-fix-dangling-pointer-fixes-16909.patch,
      adpcm-reject-invalid-QuickTime-IMA-files.patch, zsh-completion.patch,
      frenchtv-links.patch, fix-Hurd-build.patch,
      the-Hurd-also-uses-the-.so-extension-for-libraries.patch: Removed, all
      included upstream.
    - generated-mimetypes.patch: Upstream patch for auto-generated list of
      mime types. (Closes: #822245)
  * debian/{rules,vlc-nox.install}: No longer install old BluRay access
    plugin. (LP: #864933)
  * debian/rules: No longer disable i686 optimization on i386 architectures.

 -- Sebastian Ramacher <email address hidden> Sun, 05 Jun 2016 16:08:54 +0200

Changed in vlc (Ubuntu):
status: Triaged → 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.