Opened 18 years ago

Last modified 16 years ago

#757 closed bug

[app_server] deadlock on workspace switching — at Version 4

Reported by: diver Owned by: axeld
Priority: critical Milestone: R1
Component: Servers/app_server Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by axeld)

This is hard to reproduce i fear, but i'll try to explain. This is kinda stress test and takes about 3-5 min. After Haiku bootup type in terminal - screensaver. You need to switch workspaces (alt+f1,alt+f2) like crazy and in the same time you need to switch betwen terminal and screensaver from in the team menu of the deskbar. You couls see various things, like some menus opening in the upper left corner, white spaces, etc. After several minutes app_server will just freeze.

Change History (5)

comment:1 by diver, 18 years ago

Checked again and this time app_server crashed in WindowLayer::Frontmost() as in #195.

comment:2 by diver, 18 years ago

Ok, it seems i found a way to deadlock it faster, press Be Menu-Preferences, select all prefs and start them at once. After they are loaded repeat steps in my first comment after this line: "After Haiku bootup type in terminal - screensaver." app_server should lock up after 3-6 seconds. Hope this would help...

comment:3 by diver, 18 years ago

It seems that the more you have opened apps the faster you could dead lock app_server, i could reproduce this dead lock very easy now, it takes me a second or two (no more 3-5 min) now to bring down app_server ;-)

by diver, 18 years ago

Attachment: app_server_crash_9.PNG added

back trace for comment #1

comment:4 by axeld, 18 years ago

Component: GeneralUser Interface/Application Server
Description: modified (diff)
Platform: All
Note: See TracTickets for help on using tickets.