Bug#683907: mencoder: Crashes with seg fault even after getting rid of dmo libraries
Hi, Is there any chance this change will make it before the current Debian release? Regards, Grzegorz On 6 August 2012 19:26, Reimar Döffinger reimar.doeffin...@gmx.de wrote: On Mon, Aug 06, 2012 at 02:21:41PM +0100, Grześ Andruszkiewicz wrote: Sorry for the private email. As suggested, I downloaded this clip: http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi and I get the same error with this file (as downloaded), which suggests something is wrong with my configuration? Is there a way to see which libraries are loaded, etc. to nail down this issue? ga@grzes:~/Spam/video$ mencoder big_buck_bunny_480p_stereo.avi -o a.mpg -vf crop=346:240:2:24 -oac copy -ovc x264 -x264encopts bitrate=3000 pass=1 nr=2000 Thank you for the instructions. I believe this to be fixed now in upstream MPlayer SVN r35061. As a workaround I believe -noslices should work. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#683907: mencoder: Crashes with seg fault even after getting rid of dmo libraries
Hi, The output from gdb. I installed the symbols you mentioned, I hope its all that is needed. Cheers, Grzegorz (gdb) run avseq03\ Latawiec.mpg -o 03.mpg -vf crop=346:240:2:24 -oac copy -ovc x264 -x264encopts bitrate=3000 pass=1 nr=2000 Starting program: /usr/bin/mencoder avseq03\ Latawiec.mpg -o 03.mpg -vf crop=346:240:2:24 -oac copy -ovc x264 -x264encopts bitrate=3000 pass=1 nr=2000 [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/i386-linux-gnu/i686/cmov/libthread_db.so.1. [New Thread 0xb4ac0b70 (LWP 5115)] [New Thread 0xb42bfb70 (LWP 5116)] [New Thread 0xb3abeb70 (LWP 5117)] [New Thread 0xb2d3cb70 (LWP 5118)] x264 [info]: profile High, level 3.0 Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] draw_slice: dmpi not stored by vf_expand Program received signal SIGSEGV, Segmentation fault. 0x080dcd9b in ?? () (gdb) bt #0 0x080dcd9b in ?? () #1 0x080dcee4 in ?? () #2 0x080d41cc in ?? () #3 0x08187d48 in ?? () #4 0xb6a2dc39 in ?? () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53 #5 0xb69e4d6b in ?? () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53 #6 0xb69e7bf5 in ?? () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53 #7 0xb69e8978 in ?? () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53 #8 0xb6afdece in avcodec_decode_video2 () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53 #9 0x081884bf in ?? () #10 0x080cb3e1 in decode_video () #11 0x0808aac6 in main () -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#683907: mencoder: Crashes with seg fault even after getting rid of dmo libraries
On Mon, Aug 6, 2012 at 9:53 AM, Grześ Andruszkiewicz gandr...@gmail.com wrote: Hi, The output from gdb. I installed the symbols you mentioned, I hope its all that is needed. Cheers, Grzegorz (gdb) run avseq03\ Latawiec.mpg -o 03.mpg -vf crop=346:240:2:24 -oac copy -ovc x264 -x264encopts bitrate=3000 pass=1 nr=2000 Starting program: /usr/bin/mencoder avseq03\ Latawiec.mpg -o 03.mpg -vf crop=346:240:2:24 -oac copy -ovc x264 -x264encopts bitrate=3000 pass=1 nr=2000 [Thread debugging using libthread_db enabled] Using host libthread_db library /lib/i386-linux-gnu/i686/cmov/libthread_db.so.1. [New Thread 0xb4ac0b70 (LWP 5115)] [New Thread 0xb42bfb70 (LWP 5116)] [New Thread 0xb3abeb70 (LWP 5117)] [New Thread 0xb2d3cb70 (LWP 5118)] x264 [info]: profile High, level 3.0 Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] draw_slice: dmpi not stored by vf_expand Program received signal SIGSEGV, Segmentation fault. 0x080dcd9b in ?? () (gdb) bt #0 0x080dcd9b in ?? () #1 0x080dcee4 in ?? () #2 0x080d41cc in ?? () #3 0x08187d48 in ?? () #4 0xb6a2dc39 in ?? () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53 Unfortunately, no. It seems that libavcodec does call some other function that is not covered by the libav package. It remains unclear where exactly the crash happens, which is necessary to work on a fix. -- regards, Reinhard -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#683907: mencoder: Crashes with seg fault even after getting rid of dmo libraries
Hi, It seems that libavcodec does call some other function that is not covered by the libav package. It remains unclear where exactly the crash happens, which is necessary to work on a fix. Would you be able to guess where can I get the missing symbols from? Or how to figure out which ones are missing? Regards, Grzegorz -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#683907: mencoder: Crashes with seg fault even after getting rid of dmo libraries
On Mon, Aug 6, 2012 at 10:21 AM, Grześ Andruszkiewicz gandr...@gmail.com wrote: Hi, It seems that libavcodec does call some other function that is not covered by the libav package. It remains unclear where exactly the crash happens, which is necessary to work on a fix. Would you be able to guess where can I get the missing symbols from? Or how to figure out which ones are missing? In order to map addresses to source lines, the code needs to be annotated with debugging information. Please see http://wiki.debian.org/HowToGetABacktrace for details how to recompile debian packages with debug information included. -- regards, Reinhard -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#683907: mencoder: Crashes with seg fault even after getting rid of dmo libraries
Am 06.08.2012 10:21, schrieb Grześ Andruszkiewicz: Would you be able to guess where can I get the missing symbols from? Or how to figure out which ones are missing? Alternatively, could you make (a part of) the affected video file available to the libav developers? - Fabian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#683907: mencoder: Crashes with seg fault even after getting rid of dmo libraries
No private mails, please! Am 06.08.2012 11:55, schrieb Grześ Andruszkiewicz: What is the best way to do it? It has about 50 MB and is covered by copyright, so I wouldn't like to make it available to general public. Then it's complicated. Could you re-encode some free content (e.g. Big Buck Bunny) the same way the problematic video was encoded? - Fabian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#683907: mencoder: Crashes with seg fault even after getting rid of dmo libraries
Sorry for the private email. As suggested, I downloaded this clip: http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi and I get the same error with this file (as downloaded), which suggests something is wrong with my configuration? Is there a way to see which libraries are loaded, etc. to nail down this issue? ga@grzes:~/Spam/video$ mencoder big_buck_bunny_480p_stereo.avi -o a.mpg -vf crop=346:240:2:24 -oac copy -ovc x264 -x264encopts bitrate=3000 pass=1 nr=2000 MEncoder svn r34540 (Debian), built with gcc-4.7 (C) 2000-2012 MPlayer Team WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help. success: format: 0 data: 0x0 - 0x95417ac libavformat version 53.21.0 (external) Mismatching header version 53.19.0 AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 VIDEO: [MP42] 854x480 24bpp 24.000 fps 1840.6 kbps (224.7 kbyte/s) [V] filefmt:3 fourcc:0x3234504D size:854x480 fps:24.000 ftime:=0.0417 Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.00, round: 1 Opening video filter: [crop w=346 h=240 x=2 y=24] Crop: 346 x 240, 2 ; 24 == Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family libavcodec version 53.35.0 (external) Mismatching header version 53.32.2 Selected video codec: [ffmp42] vfm: ffmpeg (FFmpeg MSMPEG-4 v2) == audiocodec: framecopy (format=55 chans=2 rate=48000 bits=0 B/s=30718 sample-0) Movie-Aspect is undefined - no prescaling applied. x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle Cache64 x264 [info]: profile High, level 3.0 draw_slice: dmpi not stored by vf_expand Segmentation fault -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#683907: mencoder: Crashes with seg fault even after getting rid of dmo libraries
tags 683907 confirmed thanks Am 06.08.2012 15:21, schrieb Grześ Andruszkiewicz: ga@grzes:~/Spam/video$ mencoder big_buck_bunny_480p_stereo.avi -o a.mpg -vf crop=346:240:2:24 -oac copy -ovc x264 -x264encopts bitrate=3000 pass=1 nr=2000 Indeed, I can reproduce the segfault as long as the command line includes the -vf crop=346:240:2:24 option. - Fabian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#683907: mencoder: Crashes with seg fault even after getting rid of dmo libraries
That's how my backtrace looks like (with both mplayer-dbg and libav-dbg installed): Program received signal SIGSEGV, Segmentation fault. 0x080dcd9b in draw_bottom_blackbar_slice (vf=vf@entry=0x8429908, h=h@entry=8, y=y@entry=0, x=error reading variable: Unhandled dwarf expression opcode 0xfa, w=error reading variable: Unhandled dwarf expression opcode 0xfa, stride=error reading variable: Unhandled dwarf expression opcode 0xfa, src=error reading variable: Unhandled dwarf expression opcode 0xfa) at libmpcodecs/vf_expand.c:366 366 libmpcodecs/vf_expand.c: No such file or directory. (gdb) bt #0 0x080dcd9b in draw_bottom_blackbar_slice (vf=vf@entry=0x8429908, h=h@entry=8, y=y@entry=0, x=error reading variable: Unhandled dwarf expression opcode 0xfa, w=error reading variable: Unhandled dwarf expression opcode 0xfa, stride=error reading variable: Unhandled dwarf expression opcode 0xfa, src=error reading variable: Unhandled dwarf expression opcode 0xfa) at libmpcodecs/vf_expand.c:366 #1 0x080dcee4 in draw_slice (vf=0x8429908, src=0xbfffedd4, stride=0xbfffee30, w=346, h=8, x=0, y=0) at libmpcodecs/vf_expand.c:402 #2 0x080d41cc in draw_slice (vf=0x8429a80, src=0xbfffee20, stride=0xbfffee30, w=346, h=optimized out, x=0, y=0) at libmpcodecs/vf_crop.c:152 #3 0x08187d48 in draw_slice (s=0x8429de0, src=0x8430760, offset=0xbfffeea0, y=16, type=3, height=optimized out) at libmpcodecs/vd_ffmpeg.c:473 #4 0xb6a3dc39 in ?? () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53 #5 0xb685cbed in ?? () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53 #6 0xb685dc63 in ?? () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53 #7 0xb6b0dece in avcodec_decode_video2 () from /usr/lib/i386-linux-gnu/i686/cmov/libavcodec.so.53 #8 0x081884bf in decode (sh=0x8422a50, data=0x8427188, len=4460, flags=0) at libmpcodecs/vd_ffmpeg.c:808 #9 0x080cb3e1 in decode_video (sh_video=sh_video@entry=0x8422a50, start=0x8427188 \tx\376\037$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I\002\071$\b\344\220#\222@\216I..., in_size=4460, drop_frame=0, pts=-9.2233720368547758e+18, full_frame=0x0, full_frame@entry=0xfc2634e6) at libmpcodecs/dec_video.c:393 #10 0x0808aac6 in main (argc=14, argv=0xb414) at mencoder.c:1463 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#683907: mencoder: Crashes with seg fault even after getting rid of dmo libraries
Am 06.08.2012 15:37, schrieb Fabian Greffrath: 366libmpcodecs/vf_expand.c: No such file or directory. This line reads: if(vf-priv-exp_y+vf-hvf-dmpi-h y+h == vf-h) {... The problem is that vf-dmpi is de-referenced. If this line gets changed into if(vf-dmpi vf-priv-exp_y+vf-hvf-dmpi-h y+h == vf-h) {... everything works fine, but I don't know if this is the actual fix or just working around a deeper problem. - Fabian -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#683907: mencoder: Crashes with seg fault even after getting rid of dmo libraries
On Mon, Aug 06, 2012 at 02:21:41PM +0100, Grześ Andruszkiewicz wrote: Sorry for the private email. As suggested, I downloaded this clip: http://mirrorblender.top-ix.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_stereo.avi and I get the same error with this file (as downloaded), which suggests something is wrong with my configuration? Is there a way to see which libraries are loaded, etc. to nail down this issue? ga@grzes:~/Spam/video$ mencoder big_buck_bunny_480p_stereo.avi -o a.mpg -vf crop=346:240:2:24 -oac copy -ovc x264 -x264encopts bitrate=3000 pass=1 nr=2000 Thank you for the instructions. I believe this to be fixed now in upstream MPlayer SVN r35061. As a workaround I believe -noslices should work. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#683907: mencoder: Crashes with seg fault even after getting rid of dmo libraries
Package: mencoder Version: 2:1.0~rc4.dfsg1+svn34540-1+b2 Severity: important Dear Maintainer, As you kind of suggested, I got rid of all the dogdy dmo libraries, but it still crashes :( ga@grzes:~/Filmy/Bajki/Peppa2$ mencoder avseq03\ Latawiec.mpg -o 03.mpg -vf crop=346:240:2:24 -oac copy -ovc x264 -x264encopts bitrate=3000 pass=1 nr=2000 MEncoder svn r34540 (Debian), built with gcc-4.7 (C) 2000-2012 MPlayer Team WARNING: OUTPUT FILE FORMAT IS _AVI_. See -of help. success: format: 0 data: 0x0 - 0x32eb9ec libavformat version 53.21.0 (external) Mismatching header version 53.19.0 MPEG-PS file format detected. VIDEO: MPEG1 352x288 (aspect 8) 25.000 fps 1150.0 kbps (143.8 kbyte/s) [V] filefmt:2 fourcc:0x1001 size:352x288 fps:25.000 ftime:=0.0400 == Requested audio codec family [mpg123] (afm=mpg123) not available. Enable it at compilation. Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders libavcodec version 53.35.0 (external) Mismatching header version 53.32.2 AUDIO: 44100 Hz, 2 ch, floatle, 224.0 kbit/7.94% (ratio: 28000-352800) Selected audio codec: [ffmp2float] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio) == Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.00, round: 1 Opening video filter: [crop w=346 h=240 x=2 y=24] Crop: 346 x 240, 2 ; 24 == Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1) == audiocodec: framecopy (format=50 chans=2 rate=44100 bits=16 B/s=28000 sample-1) Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. x264 [info]: using SAR=377/346 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle Cache64 x264 [info]: profile High, level 3.0 Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] draw_slice: dmpi not stored by vf_expand Segmentation fault ga@grzes:~/Filmy/Bajki/Peppa2$ mencoder avseq03\ Latawiec.mpg -o 03.avi -vf crop=346:240:2:24 -oac copy -ovc x264 -x264encopts bitrate=3000 pass=1 nr=2000 MEncoder svn r34540 (Debian), built with gcc-4.7 (C) 2000-2012 MPlayer Team success: format: 0 data: 0x0 - 0x32eb9ec libavformat version 53.21.0 (external) Mismatching header version 53.19.0 MPEG-PS file format detected. VIDEO: MPEG1 352x288 (aspect 8) 25.000 fps 1150.0 kbps (143.8 kbyte/s) [V] filefmt:2 fourcc:0x1001 size:352x288 fps:25.000 ftime:=0.0400 == Requested audio codec family [mpg123] (afm=mpg123) not available. Enable it at compilation. Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders libavcodec version 53.35.0 (external) Mismatching header version 53.32.2 AUDIO: 44100 Hz, 2 ch, floatle, 224.0 kbit/7.94% (ratio: 28000-352800) Selected audio codec: [ffmp2float] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio) == Opening video filter: [expand osd=1] Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.00, round: 1 Opening video filter: [crop w=346 h=240 x=2 y=24] Crop: 346 x 240, 2 ; 24 == Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffmpeg1] vfm: ffmpeg (FFmpeg MPEG-1) == audiocodec: framecopy (format=50 chans=2 rate=44100 bits=16 B/s=28000 sample-1) Unsupported PixelFormat 61 Unsupported PixelFormat 53 Unsupported PixelFormat 81 Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. x264 [info]: using SAR=377/346 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle Cache64 x264 [info]: profile High, level 3.0 Pos: 0.0s 1f ( 0%) 0.00fps Trem: 0min 0mb A-V:0.000 [0:0] draw_slice: dmpi not stored by vf_expand Segmentation fault -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (700, 'testing'), (600, 'stable'), (50, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mencoder depends on: ii libasound2 1.0.25-3 ii libavcodec536:0.8.3-4 ii libavformat53 6:0.8.3-4 ii libavutil51 6:0.8.3-5 ii libbluray1 1:0.2.2-1 ii libc6 2.13-33 ii libcdparanoia0 3.10.2+debian-10.1 ii libdca0 0.0.5-5 ii libdvdnav4 4.2.0+20120524-2 ii libdvdread4 4.2.0+20120521-2 ii libenca01.13-4 ii libfaad22.7-8 ii
Bug#683907: mencoder: Crashes with seg fault even after getting rid of dmo libraries
tags 683907 moreinfo stop On Sun, Aug 5, 2012 at 12:08 PM, Grzegorz Andruszkiewicz gandr...@gmail.com wrote: Package: mencoder Version: 2:1.0~rc4.dfsg1+svn34540-1+b2 Severity: important Dear Maintainer, As you kind of suggested, I got rid of all the dogdy dmo libraries, but it still crashes :( Please try to obtain a meaningful backtrace so that we can see where it actually crashes. Make sure that the package libav-dbg is installed. Also see http://wiki.debian.org/HowToGetABacktrace for more information. Versions of packages mencoder depends on: [..] ii libmp3lame0 1:3.99.5-dmo1 *cough* -- regards, Reinhard -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org