a user reported a crash of one of my applications when trying to open a
png file (and/or a zip file).
my application passes the open request to gmerlin-avdec (bgav_open()).

since i was using that last release of gavl/gmerlin/gmerlin-avdec (thats
1.2.0 from 2012, when the world was still young und lusty), i first
tried to make sure that i was not hitting an old and already fixed bug.
so i updated to SVN head ,and lo and behold the zip ile now correctly
fails to open (and no longer crashes).

unfortunately, the png file still crashes.

this is reproducible with `bgavdump`, so i doubt that the problem is on
my application's side.
the backtrace (see end-of-mail) indicates that the crash happens within
ffmpeg, but i can "play" the png just fine with

$ ffplay /tmp/ducks.png

the file in question can be downloaded from
   https://github.com/umlaeute/Gem/blob/master/examples/data/ducks.png


any ideas how to fix this?


gfmards
IOhannes

PS: here's the backtrace (which is very similar to the one i get in my
own application)

$  gdb --args /usr/local/bin/bgavdump  /tmp/ducks.png
[...]
(gdb) run
Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106     ../sysdeps/x86_64/strlen.S: No such file or directory.
(gdb) bt
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007ffff39b7657 in av_match_name () from
/usr/lib/x86_64-linux-gnu/libavutil-ffmpeg.so.54
#2  0x00007ffff52ca4de in av_probe_input_format3 () from
/usr/lib/x86_64-linux-gnu/libavformat-ffmpeg.so.56
#3  0x00007ffff52ca692 in av_probe_input_format2 () from
/usr/lib/x86_64-linux-gnu/libavformat-ffmpeg.so.56
#4  0x00007ffff52ca6f6 in av_probe_input_format () from
/usr/lib/x86_64-linux-gnu/libavformat-ffmpeg.so.56
#5  0x00007ffff7ad5bfe in get_format () from
/usr/local/lib/libgmerlin_avdec.so.1
#6  0x00007ffff7ad5c41 in probe_ffmpeg () from
/usr/local/lib/libgmerlin_avdec.so.1
#7  0x00007ffff7af5387 in bgav_demuxer_probe () from
/usr/local/lib/libgmerlin_avdec.so.1
#8  0x00007ffff7af1116 in bgav_init () from
/usr/local/lib/libgmerlin_avdec.so.1
#9  0x00007ffff7af1280 in bgav_open () from
/usr/local/lib/libgmerlin_avdec.so.1
#10 0x000000000040355b in main ()
(gdb)

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
_______________________________________________
Gmerlin-general mailing list
Gmerlin-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gmerlin-general

Reply via email to