[FFmpeg-trac] #2767(undetermined:new): utils: crash in low mem situation
FFmpeg
trac at avcodec.org
Wed Jul 10 02:48:59 CEST 2013
#2767: utils: crash in low mem situation
-------------------------------------+-------------------------------------
Reporter: ami_stuff | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: | undetermined
unspecified | Keywords:
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
-------------------------------------+-------------------------------------
I will send a possible patch soon.
http://www1.datafilehost.com/d/51ada4be
{{{
knoppix at Microknoppix:/media/sdb1$ ulimit -c unlimited -Sv 23500
knoppix at Microknoppix:/media/sdb1$ ./ffmpeg_g -i asamples/test.shn -f null
-
ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
built on Jul 9 2013 17:21:00 with gcc 4.7 (Debian 4.7.2-4)
configuration: --disable-asm --enable-gpl --disable-ffprobe --disable-
ffserver
libavutil 52. 38.100 / 52. 38.100
libavcodec 55. 18.102 / 55. 18.102
libavformat 55. 11.101 / 55. 11.101
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 79.100 / 3. 79.100
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
Segmentation fault (core dumped)
knoppix at Microknoppix:/media/sdb1$ ulimit -c unlimited -Sv 2350055555
knoppix at Microknoppix:/media/sdb1$ gdb -c core ffmpeg_g
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /media/sdb1/ffmpeg_g...done.
[New LWP 12950]
warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Failed to read a valid object file image from memory.
Core was generated by `./ffmpeg_g -i asamples/test.shn -f null -'.
Program terminated with signal 11, Segmentation fault.
#0 av_dup_packet (pkt=0x0) at libavcodec/avpacket.c:237
237 if (!pkt->buf && pkt->data
(gdb) bt
#0 av_dup_packet (pkt=0x0) at libavcodec/avpacket.c:237
#1 0x08235b56 in avformat_find_stream_info (ic=0x9077c50,
options=0x90783b0)
at libavformat/utils.c:2786
#2 0x080a3b85 in open_input_file (o=o at entry=0xbff2b5c0,
filename=<optimized out>) at ffmpeg_opt.c:815
#3 0x080a23e9 in open_files (inout=<optimized out>,
inout at entry=0x887d25b "input",
open_file=open_file at entry=0x80a37a0 <open_input_file>,
l=<error reading variable: Unhandled dwarf expression opcode 0xfa>,
l=<error reading variable: Unhandled dwarf expression opcode 0xfa>)
at ffmpeg_opt.c:2495
#4 0x080aa5f9 in ffmpeg_parse_options (argc=argc at entry=6,
argv=argv at entry=0xbff2ba44) at ffmpeg_opt.c:2532
#5 0x0809faca in main (argc=6, argv=0xbff2ba44) at ffmpeg.c:3367
(gdb)
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2767>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list