Opened 11 years ago

Closed 6 years ago

#5391 closed bug (fixed)

[media_addon_server] crashes in DormantNodeManager::_UnloadAddOn on shutdown

Reported by: jahaiku Owned by: nobody
Priority: normal Milestone: R1
Component: Servers/media_addon_server Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #10299, #10346, #11282
Platform: All


This is gcc4 build from 30.1. I got this regularly but not every time when shutting down haiku.

KERN: vm_soft_fault: va 0x6d3a6000 not covered by area in address space
KERN: vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0x6d3a6566, ip 0x4a546c, write 0, user 1, thread 0x91
KERN: vm_page_fault: thread "media_addon_server" (145) in team "media_addon_server" (145) tried to read address 0x6d3a6566, ip 0x4a546c ("libmedia.so_seg0ro" +0x5946c)
KERN: debug_server: Thread 145 entered the debugger: Segment violation
KERN: stack trace, current PC 0x4a546c  _ZN8BPrivate5media18DormantNodeManager12_UnloadAddOnEP11BMediaAddOnl + 0x20:
KERN:   (0x7ffeeb78)  0x4a5da0  _ZN8BPrivate5media18DormantNodeManager8PutAddOnEl + 0xe4
KERN:   (0x7ffeebb8)  0x20894e  _ZN16MediaAddonServer19_PutAddonIfPossibleER9AddOnInfo + 0x34
KERN:   (0x7ffeebd8)  0x209452  _ZN16MediaAddonServer13QuitRequestedEv + 0x88
KERN:   (0x7ffeec08)  0x2b9745  _ZN7BLooper14_QuitRequestedEP8BMessage + 0x21
KERN:   (0x7ffeec88)  0x2b9862  _ZN7BLooper15DispatchMessageEP8BMessageP8BHandler + 0x46
KERN:   (0x7ffeeca8)  0x2b0580  _ZN12BApplication15DispatchMessageEP8BMessageP8BHandler + 0x416
KERN:   (0x7ffeeec8)  0x2bb3bb  _ZN7BLooper11task_looperEv + 0x205
KERN:   (0x7ffeef08)  0x2b0a62  _ZN12BApplication3RunEv + 0x64
KERN:   (0x7ffeef38)  0x209b8a  main + 0x4d
KERN:   (0x7ffeef68)  0x20849d  _start + 0x51
KERN:   (0x7ffeef9c)  0x10529b  runtime_loader + 0x12f

Change History (6)

comment:1 by marcusoverhagen, 11 years ago

Owner: changed from marcusoverhagen to nobody
Status: newassigned

comment:2 by diver, 7 years ago

Blocking: 10299 added

comment:3 by diver, 7 years ago

Summary: Another SegFault when shutting down Haiku[media_addon_server] crashes in DormantNodeManager::_UnloadAddOn on shutdown
Version: R1/alpha1R1/Development

#10299 contains a backtrace.

comment:4 by diver, 7 years ago

Blocking: 10346 added

comment:5 by anevilyak, 6 years ago

Blocking: 11282 added

(In #11282) Indeed, thanks for the hint. Forgot about that one.

comment:6 by mmlr, 6 years ago

Resolution: fixed
Status: assignedclosed

Fixed in hrev48985.

Note: See TracTickets for help on using tickets.