Ticket #195 (closed bug: fixed)

Opened 2 years ago

Last modified 10 months ago

[app_server] crash in WindowLayer::Frontmost()

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

Description (last modified by wkornewald) (diff)

This was while playing around desktop icons (renaming, Get info, etc). Dunno how to reproduce it yet. Screenshot will follow. Tested with rev16455 under wmvare.

Attachments

app_server_crash.PNG (25.6 kB) - added by diver 2 years ago.
debug shot

Change History

Changed 2 years ago by diver

debug shot

  Changed 2 years ago by marcusoverhagen

  • severity changed from major to blocker

  Changed 2 years ago by marcusoverhagen

Changing the severity to "blocker" as this problem crashes the whole system.

  Changed 2 years ago by marcusoverhagen

Probably fixing #266 will also fix this problem, as crash is both times in WindowLaxer::Frontmost()

  Changed 2 years ago by marcusoverhagen

  • dependson set to 266

  Changed 2 years ago by marcusoverhagen

  • status changed from new to closed

  Changed 2 years ago by marcusoverhagen

should be fixed now

  Changed 2 years ago by marcusoverhagen

  • resolution set to fixed

  Changed 2 years ago by diver

Happens again, see attachment 322 in #266 Reopening...

  Changed 2 years ago by diver

  • status changed from closed to reopened
  • resolution deleted

  Changed 2 years ago by diver

  • summary changed from app_server crash to app_server in WindowLayer::Frontmost()

  Changed 2 years ago by diver

  • summary changed from app_server in WindowLayer::Frontmost() to app_server crash in WindowLayer::Frontmost()

  Changed 2 years ago by diver

Ok, some more information, to speed up this crash press Be Menu-Preferences Select all prefs and start them at once, while they loading switch workspaces (alt+f1, alt+f2) and press team window to select them (as described in #757)

  Changed 2 years ago by diver

(In reply to comment #6) Well, now i just dead lock app_server this way, so it seems that this bug would be more easy to reproduce after #757 will be fixed ;-)

follow-up: ↓ 17   Changed 2 years ago by diver

  • summary changed from app_server crash in WindowLayer::Frontmost() to [app_server] crash in WindowLayer::Frontmost()

  Changed 2 years ago by axeld

  • platform set to All
  • component changed from General to User Interface/Application Server
  • description modified (diff)

  Changed 2 years ago by wkornewald

  • description modified (diff)

typo

in reply to: ↑ 14   Changed 2 years ago by diver

OK, bug #757 is fixed and i can reproduce this bug again now, cool ;-)

  Changed 2 years ago by axeld

I tried a number of times, but I can't reproduce it over here using the technique that triggered bug #757. Are you doing anything differently here?

  Changed 2 years ago by diver

It seems that now you have to open more apps to crash app_server. Try opening /boot/beos/apps at once and while they are loading start to switch workspaces and clicking team menu.

  Changed 12 months ago by stippi

Is this one still reproducable?

  Changed 12 months ago by stippi

Oh, yeah it is. Sorry for spamming.

  Changed 10 months ago by axeld

  • milestone changed from R1 to R1/alpha

  Changed 10 months ago by stippi

I have been working on this bug by changing the locking a bit in app_server. The weird thing is that this crashing bug does not happen in the test_environment. Try running all sorts of apps, including stress_test which opens windows like crazy and then switching workspaces works fine. At least after I fixed a couple of deadlocks which were more easily provoked with my locking changes. When I try this on Haiku though, most apps will hang and not open any window anymore, so I must have messed something up. I will try again with the recent fixes to the kernel and post my results here.

  Changed 10 months ago by axeld

  • status changed from reopened to closed
  • resolution set to fixed

Fixed in r22549.

Note: See TracTickets for help on using tickets.