Menu

#578 Marathon 1 crashes after starting in FFmpegDecoder::GetAudio

closed-fixed
nobody
None
9
2015-06-28
2014-05-06
No

When starting marathon 20140104 with alephone 20140104 on Ubuntu 14.04 amd64 there is a crash when starting the game:

0 GI_libc_free (mem=0x1) at malloc.c:2929

1 0x00007ffff643513c in av_freep ()

from /usr/lib/x86_64-linux-gnu/libavutil.so.52

2 0x00007ffff6cc7f73 in avcodec_get_frame_defaults ()

from /usr/lib/x86_64-linux-gnu/libavcodec.so.54

3 0x00000000006abd2d in FFmpegDecoder::GetAudio (this=this@entry=0x1388e00)

at FFmpegDecoder.cpp:203

4 0x00000000006abf0b in FFmpegDecoder::Decode (this=0x1388e00,

buffer=0xb80cd0 "", max_length=1024) at FFmpegDecoder.cpp:129

5 0x000000000069c373 in Music::FillBuffer (this=this@entry=0xb80810)

at Music.cpp:253

6 0x000000000069c7a0 in Music::Play (this=0xb80810) at Music.cpp:221

7 0x000000000069c9d4 in Music::Idle (this=0xb80810) at Music.cpp:137

8 0x0000000000425447 in global_idle_proc () at shell_misc.cpp:331

9 0x000000000040f3ea in main_event_loop () at shell.cpp:849

10 main (argc=<optimized out="">, argv=<optimized out="">) at shell.cpp:370

Line 203 is: avcodec_get_frame_defaults(&frame);

These patches have been applied to the code:
https://github.com/carstene1ns/PKGBUILDs/blob/master/alephone/alephone-ffmpeg-add-magic-number.diff
http://sourceforge.net/p/marathon/code/5002/

Discussion

  • Jeremiah Morris

    Jeremiah Morris - 2015-06-28
    • status: open --> closed-fixed
     
  • Jeremiah Morris

    Jeremiah Morris - 2015-06-28

    Aleph One 1.2 (20150619) contains a fix for this crash. If you continue to have problems with this or later versions, please create a new ticket or reopen this one.

     

Log in to post a comment.