mencoder crashed with SIGSEGV in x264_nal_encode()

Bug #539555 reported by Marc Deslauriers
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)
Fix Released
High
Reinhard Tartler
Lucid
Fix Released
High
Reinhard Tartler
ogmrip (Ubuntu)
Invalid
Undecided
Unassigned
Lucid
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: mplayer

I keep getting this while trying to rip a DVD with ogmrip.

ProblemType: Crash
Architecture: amd64
Date: Tue Mar 16 08:55:59 2010
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/mencoder
NonfreeKernelModules: nvidia
Package: mencoder 2:1.0~rc3+svn20090426-1ubuntu14
ProcCmdline: mencoder -nocache -noslices -noconfig all -oac pcm -srate 8000 -af channels=1,lavcresample=8000 -aid 128 -spuaa 20 -sid 0 -forcedsubsonly -sws 7 -vf pullup,softskip,crop=720:352:0:64,scale=480:200,expand=480:272,hqdn3d=2:1:2,harddup -ofps 24000/1001 -zoom -dvdangle 1 -o /dev/null -dvd-device /tmp/dvd-2-065A85B5831F9ABC901DFC8145FAB4A6 -ovc x264 -passlogfile /tmp/log.5E9N9U -x264encopts deblock=-1,-1:subq=2:direct_pred=auto:frameref=1:b_adapt=2:weight_b:global_header:weightp=2:b_pyramid=normal:no8x8dct:mixed_refs:me=dia:merange=16:vbv_maxrate=4000:vbv_bufsize=4000:level_idc=21:cabac:cqm=flat:turbo=2:partitions=i4x4:trellis=0:bframes=3:psy-rd=1.00,0.15:rc_lookahead=50:bitrate=1024:pass=1:threads=2 dvd://2
ProcEnviron:
 PATH=(custom, user)
 LANG=en_CA.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
RelatedPackageVersions:
 libavcodec52 4:0.5.1-1ubuntu1
 libavcodec-extra-52 N/A
SegvAnalysis:
 Segfault happened at: 0x7f73248ce120 <x264_nal_encode>: mov 0x10(%rdx),%rax
 PC (0x7f73248ce120) ok
 source "0x10(%rdx)" (0x00000011) not located in a known VMA region (needed readable region)!
 destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: mplayer
StacktraceTop:
 x264_nal_encode () from /usr/lib/libx264.so.85
 ?? ()
 vf_config_wrapper ()
 vf_config_wrapper ()
 vf_config_wrapper ()
Title: mencoder crashed with SIGSEGV in x264_nal_encode()
Uname: Linux 2.6.32-16-generic x86_64
UserConf: # Write your default config options here!
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare sbuild
system: distro = Ubuntu, architecture = x86_64, kernel = 2.6.32-16-generic

Related branches

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :
Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

Something fishy is going on here:

mdeslaur@mdlinux:~/work/x264/lucid/x264-0.85.1448+git1a6d32$ grep -R "x264_nal_encode" *
common/common.h:int x264_nal_encode( uint8_t *dst, int b_annexb, x264_nal_t *nal );
common/common.c: * x264_nal_encode:
common/common.c:int x264_nal_encode( uint8_t *dst, int b_annexb, x264_nal_t *nal )
encoder/encoder.c: int size = x264_nal_encode( nal_buffer, h->param.b_annexb, &h->out.nal[i] );

mdeslaur@mdlinux:~/work/mplayer/lucid/mplayer-1.0~rc3+svn20090426$ grep -R "x264_nal_encode" *
libavcodec/libx264.c: int s = x264_nal_encode(p, &size, 1, nals + i);
libmpcodecs/ve_x264.c: int s = x264_nal_encode(p, &size, 1, nals + i);
libmpcodecs/ve_x264.c: i_size += x264_nal_encode(mod->mux->buffer + i_size, &i_data, 1, &nal[i]);

From mplayer build log:
libmpcodecs/ve_x264.c: In function 'encode_nals':
libmpcodecs/ve_x264.c:67: warning: implicit declaration of function 'x264_nal_encode'

tags: removed: need-amd64-retrace
visibility: private → public
Revision history for this message
Reinhard Tartler (siretart) wrote :

15:36 <siretart`> mdeslaur: seems I need to backport more if not all
                  of libmpcodecs/ve_x264.c. thanks for notifying me

Changed in mplayer (Ubuntu):
assignee: nobody → Reinhard Tartler (siretart)
importance: Undecided → High
tags: added: regression-potential
Changed in mplayer (Ubuntu Lucid):
status: New → In Progress
Revision history for this message
Brian Murray (brian-murray) wrote :

I believe the ogmrip task isn't necessary here.

Changed in ogmrip (Ubuntu Lucid):
status: New → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mplayer - 2:1.0~rc3+svn20090426-1ubuntu15

---------------
mplayer (2:1.0~rc3+svn20090426-1ubuntu15) lucid; urgency=low

  * backport newer libx264 wrapper, LP: #539555
 -- Reinhard Tartler <email address hidden> Wed, 17 Mar 2010 13:39:44 +0100

Changed in mplayer (Ubuntu Lucid):
status: In Progress → 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.