[Bug 301723] Re: ffmpeg -i crashes with segmentation fault

Jan Rüegg rggjan at gmail.com
Tue Nov 25 16:37:19 UTC 2008


Ok, I compiled now from SVN with the default options ("./configure"
without arguments).

I get: 
jan at MacBuntu:~/linux/ffmpeg$ ffmpeg -i /media/Synology/The\ Matrix\ -\ HD\ 720p\ x264.mkv 
FFmpeg version SVN-r15935, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: 
  libavutil     49.12. 0 / 49.12. 0
  libavcodec    52. 3. 0 / 52. 3. 0
  libavformat   52.23. 1 / 52.23. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Nov 25 2008 17:23:31, gcc: 4.3.2
/media/Synology/The Matrix - HD 720p x264.mkv: memory allocation error occurred

Cutting down the file into a smaller as described on the link makes the
recognition work, so I cannot provide a sample file:

jan at MacBuntu:~$ dd if=/media/Synology/The\ Matrix\ -\ HD\ 720p\ x264.mkv of=/home/jan/Desktop/sample-file.mkv bs=1024 count=10000
10000+0 records in
10000+0 records out
10240000 bytes (10 MB) copied, 4.33087 s, 2.4 MB/s
jan at MacBuntu:~$ file -i /home/jan/Desktop/sample-file.mkv 
/home/jan/Desktop/sample-file.mkv: application/octet-stream

But that means, it must be the big size of the file, that causes the
problem (ffmpeg -i on all the other files in my media library worked).

Now the desired gdb ffmpeg_g output:

jan at MacBuntu:~/linux/ffmpeg$ gdb ffmpeg_g
GNU gdb 6.8-debian
Copyright (C) 2008 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"...
(gdb) r -i '/media/Synology/The Matrix - HD 720p x264.mkv'
Starting program: /home/jan/linux/ffmpeg/ffmpeg_g -i '/media/Synology/The Matrix - HD 720p x264.mkv'
FFmpeg version SVN-r15935, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: 
  libavutil     49.12. 0 / 49.12. 0
  libavcodec    52. 3. 0 / 52. 3. 0
  libavformat   52.23. 1 / 52.23. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  built on Nov 25 2008 17:23:31, gcc: 4.3.2
/media/Synology/The Matrix - HD 720p x264.mkv: memory allocation error occurred

Program exited with code 01.
(gdb) bt
No stack.
(gdb) disass $pc-32 $pc+32
No registers.
(gdb) info all-registers
The program has no registers now. 

(Didn't seem to work very well though, as the registers are all empty...
Maybe a 64-bit problem?)

---

If you need any more information, please tell me!

** Changed in: ffmpeg (Ubuntu)
       Status: Incomplete => New

-- 
ffmpeg -i crashes with segmentation fault
https://bugs.launchpad.net/bugs/301723
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list