[haiku-bugs] Re: [Haiku] #7180: Media Server crashing when shttuing down/used with cortex/randomly with media files

  • From: "diver" <trac@xxxxxxxxxxxx>
  • Date: Thu, 26 Dec 2013 01:48:29 -0000

#7180: Media Server crashing when shttuing down/used with cortex/randomly with
media files
------------------------------------------+-----------------------
   Reporter:  stargatefan                 |      Owner:  axeld
       Type:  bug                         |     Status:  new
   Priority:  normal                      |  Milestone:  R1
  Component:  Servers/media_addon_server  |    Version:  R1/alpha2
 Resolution:                              |   Keywords:
 Blocked By:                              |   Blocking:
Has a Patch:  0                           |   Platform:  All
------------------------------------------+-----------------------
Changes (by diver):

 * component:  Servers/media_server => Servers/media_addon_server


Old description:

> was trying to use cortex to see if inputs and output worked. I was met
> with fialure.
>

> {{{
> 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 2492 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/libgame.so...done.
> Loaded symbols for /boot/system/lib/libgame.so
> Reading symbols from /boot/system/lib/libsupc++.so...done.
> Loaded symbols for /boot/system/lib/libsupc++.so
> Reading symbols from /boot/system/lib/libstdc++.so...done.
> Loaded symbols for /boot/system/lib/libstdc++.so
> Reading symbols from /boot/system/lib/libroot.so...done.
> Loaded symbols for /boot/system/lib/libroot.so
> Reading symbols from /boot/system/lib/libtracker.so...done.
> Loaded symbols for /boot/system/lib/libtracker.so
> Reading symbols from /boot/system/lib/libtranslation.so...done.
> Loaded symbols for /boot/system/lib/libtranslation.so
> Reading symbols from /boot/system/add-
> ons/media/firewire_dv.media_addon...done.
> Loaded symbols for /boot/system/add-ons/media/firewire_dv.media_addon
> Reading symbols from /boot/system/add-
> ons/media/hmulti_audio.media_addon...done.
> Loaded symbols for /boot/system/add-ons/media/hmulti_audio.media_addon
> Reading symbols from /boot/system/add-ons/media/mixer.media_addon...done.
> Loaded symbols for /boot/system/add-ons/media/mixer.media_addon
> [tcsetpgrp failed in terminal_inferior: Invalid Argument]
> [Switching to team /boot/system/servers/media_addon_server (2474) thread
> Audio Mixer control (2492)]
> 0x00956d89 in Resampler::float_to_float ()
>    from /boot/system/add-ons/media/mixer.media_addon
> (gdb) bt
> #0  0x00956d89 in Resampler::float_to_float ()
>    from /boot/system/add-ons/media/mixer.media_addon
> #1  0x0095289f in MixerInput::BufferReceived ()
>    from /boot/system/add-ons/media/mixer.media_addon
> #2  0x00950222 in MixerCore::BufferReceived ()
>    from /boot/system/add-ons/media/mixer.media_addon
> #3  0x0094d58f in AudioMixer::HandleInputBuffer ()
>    from /boot/system/add-ons/media/mixer.media_addon
> #4  0x0094d5fa in AudioMixer::HandleEvent ()
>    from /boot/system/add-ons/media/mixer.media_addon
> #5  0x004c443b in BMediaEventLooper::DispatchEvent ()
>    from /boot/system/lib/libmedia.so
> #6  0x004c4ab7 in BMediaEventLooper::ControlLoop ()
>    from /boot/system/lib/libmedia.so
> #7  0x004c43a9 in BMediaEventLooper::_ControlThreadStart ()
>    from /boot/system/lib/libmedia.so
> #8  0x00657060 in thread_entry () from /boot/system/lib/libroot.so
> #9  0x701c5fec in ?? ()
> (gdb)
>
> }}}

New description:

 was trying to use cortex to see if inputs and output worked. I was met
 with fialure.

 {{{
 Thread 2492 caused an exception: Segment violation
 [...]
 [Switching to team /boot/system/servers/media_addon_server (2474) thread
 Audio Mixer control (2492)]
 0x00956d89 in Resampler::float_to_float ()
    from /boot/system/add-ons/media/mixer.media_addon
 (gdb) bt
 #0  0x00956d89 in Resampler::float_to_float ()
    from /boot/system/add-ons/media/mixer.media_addon
 #1  0x0095289f in MixerInput::BufferReceived ()
    from /boot/system/add-ons/media/mixer.media_addon
 #2  0x00950222 in MixerCore::BufferReceived ()
    from /boot/system/add-ons/media/mixer.media_addon
 #3  0x0094d58f in AudioMixer::HandleInputBuffer ()
    from /boot/system/add-ons/media/mixer.media_addon
 #4  0x0094d5fa in AudioMixer::HandleEvent ()
    from /boot/system/add-ons/media/mixer.media_addon
 #5  0x004c443b in BMediaEventLooper::DispatchEvent ()
    from /boot/system/lib/libmedia.so
 #6  0x004c4ab7 in BMediaEventLooper::ControlLoop ()
    from /boot/system/lib/libmedia.so
 #7  0x004c43a9 in BMediaEventLooper::_ControlThreadStart ()
    from /boot/system/lib/libmedia.so
 #8  0x00657060 in thread_entry () from /boot/system/lib/libroot.so
 #9  0x701c5fec in ?? ()
 (gdb)
 }}}

--

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

Other related posts: