Open diversys opened 6 years ago
Probably crashes somewhere here: https://github.com/HaikuArchives/VMwareAddons/blob/bd3350d510d3f408bdb27cfbe1becf0b368bb9db/vmware_tray/VMWAddOnsTray.cpp#L207-L234
To workaround this bug create a folder mkdir /boot/home/config/settings/system/debug_server
and then lpe /boot/home/config/settings/system/debug_server/settings
file with this content:
executable_actions {
Deskbar kill
}
With new memory allocator:
LD_PRELOAD=libroot_debug.so MALLOC_DEBUG=g Deskbar
Debug information for team /boot/system/Deskbar (1177):
CPU(s): 2x Intel Core™ i7-3635QM
Memory: 2.00 GiB total, 509.16 MiB used
Haiku revision: hrev53142 May 17 2019 17:29:54 (x86_64)
Active Threads:
thread 1177: Deskbar (main)
thread 1183: _BMediaRoster_
thread 1184: Expando Window Watcher
thread 1187: w>Twitcher
thread 8798: team 1177 debug task
thread 1188: w>Deskbar
state: Call (thread 1188 tried accessing address 0x89b000 which is a guard page (base: 0x89aff0, size: 16, alignment: 16, allocated by thread: 1188, freed by thread: -1))
Frame IP Function Name
-----------------------------------------------
00000000 0x1a2e08e8b7f _kern_debugger + 0x7
Disassembly:
_kern_debugger:
0x000001a2e08e8b78: 48c7c0e1000000 mov $0xe1, %rax
0x000001a2e08e8b7f: 0f05 syscall <--
0x7f27bb84f570 0x1a2e0991130 panic(char const*, ...) + 0xc0
0x7f27bb84f5d0 0x1a2e0991581 guarded_heap_segfault_handler(int, __siginfo_t*, void*) + 0x181
0x7f27bb84f5d0 0x7f87bc6dd23b commpage_signal_handler + 0x2b
0x7f27bb84fa20 0x2e8cff4eb2 VMWBackdoor::SetHostClipboard(char*, unsigned long) + 0x30
0x7f27bb84fa60 0x2e8cff315d VMWAddOnsTray::MessageReceived(BMessage*) + 0x20b
0x7f27bb84fc90 0x707c1682e1 BWindow::DispatchMessage(BMessage*, BHandler*) + 0x411
0x7f27bb84fd20 0x707c163d25 BWindow::task_looper() + 0x1b5
0x7f27bb84fd40 0x707c09ee16 BLooper::_task0_(void*) + 0x26
0x7f27bb84fd60 0x1a2e08e78d7 thread_entry + 0x17
00000000 0x7f87bc6dd260 commpage_thread_exit + 0
vmware_tray randomly crashes Deskbar every 10-30 minutes. Closing vmware_tray seems to fix all of the crashes.