mencoder SIGSEGV in fixup_output_format

Bug #596118 reported by Matteo Croce
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mplayer (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: mplayer

$ gdb --args ../../../src/mplayer/mencoder 0{1..2}.avi -o temp.avi -oac pcm -ovc copy -lavcopts vcodec=ffvhuff -vf harddup -af lavcresample=44100
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/matteo/src/mplayer/mencoder...done.
(gdb) run
Starting program: /home/matteo/src/mplayer/mencoder 01.avi 02.avi -o temp.avi -oac pcm -ovc copy -lavcopts vcodec=ffvhuff -vf harddup -af lavcresample=44100
[Thread debugging using libthread_db enabled]
MEncoder SVN-r31471-4.4.3 (C) 2000-2010 MPlayer Team
success: format: 0 data: 0x0 - 0x2da802e
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [DX50] 592x448 24bpp 25.000 fps 914.8 kbps (111.7 kbyte/s)
[V] filefmt:3 fourcc:0x30355844 size:592x448 fps:25.000 ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
big_values too large!
big_values too large!
big_values too large!
mpg123: Can't rewind stream by 373 bits!
AUDIO: 48000 Hz, 2 ch, s16le, 56.0 kbit/3.65% (ratio: 7000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
videocodec: framecopy (592x448 24bpp fourcc=30355844)
mpg123: Can't rewind stream by 753 bits!
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Writing header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp header.
Pos: 0.9s 22f ( 0%) 0.00fps Trem: 0min 80mb A-V:0.084 [0:1536]
Skipping frame!
Pos: 1.2s 32f ( 0%) 0.00fps Trem: 0min 81mb A-V:0.081 [1051:1536]
Skipping frame!
Pos: 1.8s 47f ( 0%) 0.00fps Trem: 0min 87mb A-V:0.083 [1021:1536]
Skipping frame!
Pos: 3.0s 79f ( 1%) 0.00fps Trem: 0min 93mb A-V:0.081 [964:1536]]
Skipping frame!
success: format: 0 data: 0x0 - 0xf80104em: 0min 100mb A-V:-0.018 [914:1536]
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [DX50] 592x448 24bpp 25.000 fps 949.2 kbps (115.9 kbyte/s)
[V] filefmt:3 fourcc:0x30355844 size:592x448 fps:25.000 ftime:=0.0400
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
videocodec: framecopy (592x448 24bpp fourcc=30355844)

Program received signal SIGSEGV, Segmentation fault.
0x000000000045c811 in fixup_output_format (s=0x13524b0) at libaf/af.c:372
372 if(s->output.nch && s->last->data->nch!=s->output.nch){
(gdb) bt
#0 0x000000000045c811 in fixup_output_format (s=0x13524b0) at libaf/af.c:372
#1 0x000000000045cbe0 in af_init (s=0x13524b0) at libaf/af.c:509
#2 0x0000000000470267 in init_audio_filters (sh_audio=0x1566320, in_samplerate=<value optimized out>, out_samplerate=0x7fffffffe10c, out_channels=0x7fffffffe108, out_format=0x7fffffffe104)
    at libmpcodecs/dec_audio.c:354
#3 0x000000000042ddd0 in main (argc=<value optimized out>, argv=<value optimized out>) at mencoder.c:1253
(gdb) p s->output.nch
$1 = 2
(gdb) p s->output
$2 = {audio = 0x0, len = 0, rate = 48000, nch = 2, format = 9, bps = 2}
(gdb) p s->last->data
Cannot access memory at address 0x28
(gdb) p s->last
$3 = (af_instance_t *) 0x0
(gdb)

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.