Opened 4 years ago

Last modified 4 weeks 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:

  1. g++ MinApp.cpp -lbe -o MinApp
  2. Run MinApp.
  3. Run some application (StyledEdit for example).
  4. app_server will crash.

Attachments (2)

MinApp.cpp (1.4 KB ) - added by X512 4 years ago.
CIMG4680-2.JPG (317.9 KB ) - added by X512 4 years ago.
app_server stack trace

Download all attachments as: .zip

Change History (10)

by X512, 4 years ago

Attachment: MinApp.cpp added

by X512, 4 years ago

Attachment: CIMG4680-2.JPG added

app_server stack trace

comment:1 by X512, 4 years ago

I get this crash when attempting to close window without any stress tests or another unusual things.

comment:2 by X512, 22 months ago

Still can reproduce with hrev56688.

comment:3 by waddlesplash, 21 months ago

Blocking: 18281 added

comment:4 by waddlesplash, 21 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 X512, 21 months ago

Seems to be some race condition so it may be timing dependent. Also using SMP may help reproducing.

comment:6 by waddlesplash, 21 months ago

The VM I tested in had 2 cores allotted.

comment:7 by humdinger, 21 months ago

Reproducible on metal, i7 8 cores.

comment:8 by bipolar, 4 weeks 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
Last edited 4 weeks ago by bipolar (previous) (diff)
Note: See TracTickets for help on using tickets.