Opened 14 years ago

Closed 10 years ago

#6195 closed bug (duplicate)

Random MediaServer crashing on GCC4h

Reported by: streak Owned by: axeld
Priority: normal Milestone: R1
Component: Servers/media_addon_server Version: R1/alpha2
Keywords: Cc:
Blocked By: #6188 Blocking:
Platform: x86

Description (last modified by stippi)

gdb + backtrace

[tcsetpgrp failed in terminal_inferior: Invalid Argument]
Thread 181 called debugger(): oops
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/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 (139) thread Audio Mixer control (181)]
0xffff0114 in ?? ()
(gdb) bt
#0  0xffff0114 in ?? ()
#1  0x005bf173 in debugger () from /boot/system/lib/libroot.so
#2  0x0048bd2e in BBuffer::SetHeader () from /boot/system/lib/libmedia.so
#3  0x0048cd3c in BBufferConsumer::HandleMessage ()
   from /boot/system/lib/libmedia.so
#4  0x0049b1d6 in BMediaNode::WaitForMessage ()
   from /boot/system/lib/libmedia.so
#5  0x00495f72 in BMediaEventLooper::ControlLoop ()
---Type <return> to continue, or q <return> to quit---
   from /boot/system/lib/libmedia.so
#6  0x0049598b in BMediaEventLooper::_ControlThreadStart ()
   from /boot/system/lib/libmedia.so
#7  0x005c2e5c in thread_entry () from /boot/system/lib/libroot.so
#8  0x70184fec in ?? ()
(gdb) 
(gdb) 

Change History (10)

comment:1 by streak, 14 years ago

Problems on nightly hrev37165

comment:2 by stippi, 14 years ago

Description: modified (diff)

Unfortunately, you have stripped the line with the debugger() message.

comment:3 by stippi, 14 years ago

Oops, no you didn't. The debugger message is "oops".

comment:4 by streak, 14 years ago

Still present in hrev37693

Commonly crash after shutdown / restart system when haiku tries to close every process

comment:5 by michaelvoliveira, 14 years ago

It's duplicated from

#4175

Please close this one

comment:6 by streak, 14 years ago

Michael.. Its different. Mediaserver crashes usually on haiku exit [restart/shutdown], even if Media Player wasnt used in session..

Last edited 14 years ago by streak (previous) (diff)

comment:7 by diver, 13 years ago

Component: Servers/media_serverServers/media_addon_server

Just got this crash at system restart with hrev39939, gcc4hybrid. Hope it's related.

Thread 197 caused an exception: Segment violation
[...]
[Switching to team /boot/system/servers/media_addon_server (165) thread Audio Mixer control (197)]
0x004c4973 in BMediaEventLooper::ControlLoop ()
   from /boot/system/lib/libmedia.so
(gdb) bt
#0  0x004c4973 in BMediaEventLooper::ControlLoop ()
   from /boot/system/lib/libmedia.so
#1  0x004c43a9 in BMediaEventLooper::_ControlThreadStart ()
   from /boot/system/lib/libmedia.so
#2  0x00657044 in thread_entry () from /boot/system/lib/libroot.so
#3  0x70184fec in ?? ()
(gdb)

comment:8 by diver, 13 years ago

Could be related to #5391 and/or #5863.

comment:9 by Disreali, 13 years ago

The back trace is the identical to that from #5339. This maybe a duplicate.

comment:10 by diver, 10 years ago

Blocked By: 6188 added
Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.