Ubuntu

vlc crashed opening a blu-ray disk

Reported by CMatomic on 2011-10-02
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VLC media player
New
Unknown
vlc (Ubuntu)
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

CMatomic (cmatomic) wrote :
visibility: private → public
visibility: public → private

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

Changed in vlc (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Benjamin Drung (bdrung) on 2011-10-13
visibility: private → public
Benjamin Drung (bdrung) on 2011-10-13
Changed in vlc (Ubuntu):
status: New → Triaged
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
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...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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