Opened 4 years ago
Last modified 2 months ago
#16845 new bug
app_server: crash in ServerInfo::GetInfo when opening and closing window
Reported by: | X512 | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | Servers/app_server | Version: | R1/Development |
Keywords: | Cc: | ||
Blocked By: | Blocking: | #18281 | |
Platform: | All |
Description
This is hrev54968.
Steps to reproduce:
g++ MinApp.cpp -lbe -o MinApp
- Run
MinApp
. - Run some application (StyledEdit for example).
app_server
will crash.
Attachments (2)
Change History (10)
by , 4 years ago
Attachment: | MinApp.cpp added |
---|
by , 4 years ago
Attachment: | CIMG4680-2.JPG added |
---|
comment:1 by , 4 years ago
I get this crash when attempting to close window without any stress tests or another unusual things.
comment:3 by , 22 months ago
Blocking: | 18281 added |
---|
comment:4 by , 22 months ago
Doesn't reproduce for me, on hrev56792. I let the application run for a while and started and stopped StyledEdit and others while it was running. No crash.
comment:5 by , 22 months ago
Seems to be some race condition so it may be timing dependent. Also using SMP may help reproducing.
comment:8 by , 2 months ago
I hit this app_server crash today on hrev58228, 64 bits. With only a couple of Tracker windows open. Moved a folder around, closed a window. Puff.
On a slow Atom N2600 (2C/4T) netbook, using framebuffer, if that changes anything.
KERN: vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0x58c, ip 0x17caeecb357, write 0, user 1, exec 0, thread 0xc0 KERN: debug_server: Thread 192 entered the debugger: Segment violation KERN: stack trace, current PC 0x17caeecb357 </boot/system/servers/app_server> _ZN12ServerWindow7GetInfoER11window_info + 0x37: KERN: (0x7fe3a2b2d5c0) 0x17caeea284d </boot/system/servers/app_server> _ZN7Desktop15WriteWindowInfoEiRN8BPrivate10LinkSenderE + 0x9d KERN: (0x7fe3a2b2d710) 0x17caeebaec3 </boot/system/servers/app_server> _ZN9ServerApp16_DispatchMessageEiRN8BPrivate12LinkReceiverE + 0x2ef3 KERN: (0x7fe3a2b2e230) 0x17caeeb7edc </boot/system/servers/app_server> _ZN9ServerApp14_MessageLooperEv + 0xfc KERN: (0x7fe3a2b2e300) 0x17caeeb155a </boot/system/servers/app_server> _ZN13MessageLooper15_message_threadEPv + 0xa KERN: (0x7fe3a2b2e310) 0x145e2ca9f29 </boot/system/lib/libroot.so> thread_entry + 0x19
app_server stack trace