[haiku-bugs] Re: [Haiku] #8299: MediaConverter crashed

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Thu, 05 Apr 2012 13:20:57 -0000

#8299: MediaConverter crashed
--------------------------------+------------------------------------------
   Reporter:  Premislaus        |      Owner:  korli
       Type:  bug               |     Status:  assigned
   Priority:  normal            |  Milestone:  R1
  Component:  Audio &           |    Version:  R1/Development
  Video/Codecs                  |   Keywords:  MediaConverter, crashed, OGG
 Resolution:                    |   Blocking:
 Blocked By:                    |   Platform:  All
Has a Patch:  0                 |
--------------------------------+------------------------------------------
Changes (by diver):

 * owner:  stippi => korli
 * status:  new => assigned
 * version:  R1/alpha3 => R1/Development
 * component:  Applications/MediaConverter => Audio & Video/Codecs


Old description:

> I tried to convert the file: AVI Contener with MJPEG video and PCM audio,
> to OGG contener with Theora video and Vorbis audio.
>
> This error occurs when I press convert.
>
> How I made to AVI ( can not remember codecs), it was good.
>
> {{{
> MediaCoverter crash, convert motion jpeg to Ogg, Vorbis audio and Theora
> video
>

> GNU gdb 6.3
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you
> are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for
> details.
> This GDB was configured as "i586-pc-haiku"...(no debugging symbols found)
>
> [tcsetpgrp failed in terminal_inferior: Invalid Argument]
> Thread 2946 caused an exception: Segment violation
> Reading symbols from /boot/system/runtime_loader...done.
> Loaded symbols for /boot/system/runtime_loader
> Reading symbols from /boot/system/lib/libbe.so...done.
> Loaded symbols for /boot/system/lib/libbe.so
> Reading symbols from /boot/system/lib/libmedia.so...done.
> Loaded symbols for /boot/system/lib/libmedia.so
> Reading symbols from /boot/system/lib/libtracker.so...done.
> Loaded symbols for /boot/system/lib/libtracker.so
> Reading symbols from /boot/system/lib/liblocale.so...done.
> Loaded symbols for /boot/system/lib/liblocale.so
> Reading symbols from /boot/system/lib/libstdc++.r4.so...done.
> Loaded symbols for /boot/system/lib/libstdc++.r4.so
> Reading symbols from /boot/system/lib/libroot.so...done.
> Loaded symbols for /boot/system/lib/libroot.so
> Reading symbols from /boot/system/lib/libtranslation.so...done.
> Loaded symbols for /boot/system/lib/libtranslation.so
> Reading symbols from /boot/system/lib/libicudata.so.48.1.1...done.
> Loaded symbols for /boot/system/lib/libicudata.so.48.1.1
> Reading symbols from /boot/system/lib/libicui18n.so.48.1.1...done.
> Loaded symbols for /boot/system/lib/libicui18n.so.48.1.1
> Reading symbols from /boot/system/lib/libicuio.so.48.1.1...done.
> Loaded symbols for /boot/system/lib/libicuio.so.48.1.1
> Reading symbols from /boot/system/lib/libicule.so.48.1.1...done.
> Loaded symbols for /boot/system/lib/libicule.so.48.1.1
> Reading symbols from /boot/system/lib/libiculx.so.48.1.1...done.
> Loaded symbols for /boot/system/lib/libiculx.so.48.1.1
> Reading symbols from /boot/system/lib/libicutu.so.48.1.1...done.
> Loaded symbols for /boot/system/lib/libicutu.so.48.1.1
> Reading symbols from /boot/system/lib/libicuuc.so.48.1.1...done.
> Loaded symbols for /boot/system/lib/libicuuc.so.48.1.1
> Reading symbols from /boot/system/lib/libtextencoding.so...done.
> Loaded symbols for /boot/system/lib/libtextencoding.so
> Reading symbols from /boot/system/lib/libroot-addon-icu.so...done.
> Loaded symbols for /boot/system/lib/libroot-addon-icu.so
> Reading symbols from /boot/system/add-ons/media/plugins/ffmpeg...done.
> Loaded symbols for /boot/system/add-ons/media/plugins/ffmpeg
> [tcsetpgrp failed in terminal_inferior: Invalid Argument]
> [Switching to team /boot/system/apps/MediaConverter (2858) thread
> converter thread (2946)]
> 0x020a21c9 in ogg_buffer_page () from /boot/system/add-
> ons/media/plugins/ffmpeg
> (gdb) bt
> #0  0x020a21c9 in ogg_buffer_page ()
>    from /boot/system/add-ons/media/plugins/ffmpeg
> #1  0x0268a81c in ?? () from /boot/system/add-ons/media/plugins/ffmpeg
> #2  0x1817e288 in ?? ()
> #3  0x00000000 in ?? ()
> #4  0x00000001 in ?? ()
> #5  0x1815e1c0 in ?? ()
> #6  0x1815d4c0 in ?? ()
> #7  0x780f68dc in ?? ()
> #8  0x18110b70 in ?? ()
> #9  0x180c5ab8 in ?? ()
> #10 0x00000000 in ?? ()
> #11 0x00000005 in ?? ()
> #12 0x020a2b84 in ogg_write_trailer ()
>    from /boot/system/add-ons/media/plugins/ffmpeg
> #13 0x1817e270 in ?? ()
> #14 0x00000000 in ?? ()
> #15 0x00000000 in ?? ()
> #16 0x020a2b58 in ogg_write_trailer ()
>    from /boot/system/add-ons/media/plugins/ffmpeg
> #17 0x0268a81c in ?? () from /boot/system/add-ons/media/plugins/ffmpeg
> #18 0x780f6918 in ?? ()
> #19 0x00000000 in ?? ()
> #20 0x780f698c in ?? ()
> ---Type <return> to continue, or q <return> to quit---
> #21 0x180c5ab8 in ?? ()
> #22 0xffffffff in ?? ()
> #23 0x7fffffff in ?? ()
> #24 0x020b5c22 in av_write_trailer ()
>    from /boot/system/add-ons/media/plugins/ffmpeg
> #25 0x1817e270 in ?? ()
> #26 0x780f6918 in ?? ()
> #27 0x00000000 in ?? ()
> #28 0x00000001 in ?? ()
> #29 0x0268a81c in ?? () from /boot/system/add-ons/media/plugins/ffmpeg
> #30 0x0007cffa in ?? ()
> #31 0x00000000 in ?? ()
> #32 0x780f698c in ?? ()
> #33 0x180c6bc0 in ?? ()
> #34 0x00000000 in ?? ()
> #35 0x80000000 in ?? ()
> #36 0x00000000 in ?? ()
> #37 0x80000000 in ?? ()
> #38 0x180c6bc8 in ?? ()
> #39 0x180c6bc8 in ?? ()
> #40 0x00000000 in ?? ()
> #41 0x00000000 in ?? ()
> #42 0x00000000 in ?? ()
> #43 0x00000000 in ?? ()
> ---Type <return> to continue, or q <return> to quit---
> #44 0x0055c866 in BPrivate::media::PluginManager::DestroyDecoder ()
>    from /boot/system/lib/libmedia.so
> Previous frame inner to this frame (corrupt stack?)
> (gdb)
>
> }}}

New description:

 I tried to convert the file: AVI Contener with MJPEG video and PCM audio,
 to OGG contener with Theora video and Vorbis audio.

 This error occurs when I press convert.

 How I made to AVI ( can not remember codecs), it was good.

 MediaCoverter crash, convert motion jpeg to Ogg, Vorbis audio and Theora
 video

 {{{
 Thread 2946 caused an exception: Segment violation
 [..]
 [Switching to team /boot/system/apps/MediaConverter (2858) thread
 converter thread (2946)]
 0x020a21c9 in ogg_buffer_page () from /boot/system/add-
 ons/media/plugins/ffmpeg
 (gdb) bt
 #0  0x020a21c9 in ogg_buffer_page () from /boot/system/add-
 ons/media/plugins/ffmpeg
 #1  0x0268a81c in ?? () from /boot/system/add-ons/media/plugins/ffmpeg
 #2  0x1817e288 in ?? ()
 #3  0x00000000 in ?? ()
 #4  0x00000001 in ?? ()
 #5  0x1815e1c0 in ?? ()
 #6  0x1815d4c0 in ?? ()
 #7  0x780f68dc in ?? ()
 #8  0x18110b70 in ?? ()
 #9  0x180c5ab8 in ?? ()
 #10 0x00000000 in ?? ()
 #11 0x00000005 in ?? ()
 #12 0x020a2b84 in ogg_write_trailer () from /boot/system/add-
 ons/media/plugins/ffmpeg
 #13 0x1817e270 in ?? ()
 #14 0x00000000 in ?? ()
 #15 0x00000000 in ?? ()
 #16 0x020a2b58 in ogg_write_trailer () from /boot/system/add-
 ons/media/plugins/ffmpeg
 #17 0x0268a81c in ?? () from /boot/system/add-ons/media/plugins/ffmpeg
 #18 0x780f6918 in ?? ()
 #19 0x00000000 in ?? ()
 #20 0x780f698c in ?? ()
 #21 0x180c5ab8 in ?? ()
 #22 0xffffffff in ?? ()
 #23 0x7fffffff in ?? ()
 #24 0x020b5c22 in av_write_trailer () from /boot/system/add-
 ons/media/plugins/ffmpeg
 #25 0x1817e270 in ?? ()
 #26 0x780f6918 in ?? ()
 #27 0x00000000 in ?? ()
 #28 0x00000001 in ?? ()
 #29 0x0268a81c in ?? () from /boot/system/add-ons/media/plugins/ffmpeg
 #30 0x0007cffa in ?? ()
 #31 0x00000000 in ?? ()
 #32 0x780f698c in ?? ()
 #33 0x180c6bc0 in ?? ()
 #34 0x00000000 in ?? ()
 #35 0x80000000 in ?? ()
 #36 0x00000000 in ?? ()
 #37 0x80000000 in ?? ()
 #38 0x180c6bc8 in ?? ()
 #39 0x180c6bc8 in ?? ()
 #40 0x00000000 in ?? ()
 #41 0x00000000 in ?? ()
 #42 0x00000000 in ?? ()
 #43 0x00000000 in ?? ()
 #44 0x0055c866 in BPrivate::media::PluginManager::DestroyDecoder ()
    from /boot/system/lib/libmedia.so
 Previous frame inner to this frame (corrupt stack?)
 (gdb)
 }}}

--

Comment:

 Can you check again if this crash still occurs in current nightlies?
 FFmpeg plugin was updated recently.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8299#comment:4>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: