Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#16027 closed bug (fixed)

app_server: crash when stacking new windows while resizing

Reported by: X512 Owned by: axeld
Priority: normal Milestone: R1/beta2
Component: Servers/app_server Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev54185.

Steps to reproduce:

  1. Open Koder.
  2. Hold Alt+N.
  3. Repeately resize window.
  4. app_server will crash in malloc called by BRegion::_SetSize.

Also reproducible with https://github.com/X547/HaikuUtils/tree/master/TabbedWindows and test_app_server.

test_app_server stdout:

Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1113: top < bottom
Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1113: top < bottom
Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1113: top < bottom
Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1113: top < bottom
Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1113: top < bottom
Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1113: top < bottom
Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1116: r->left < r->right
Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1113: top < bottom
Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1113: top < bottom
Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1116: r->left < r->right
Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1113: top < bottom
test_app_server: ../src/system/libroot/posix/malloc_hoard2/superblock.h:171:BPrivate::block* BPrivate::superblock::getBlock(): getNumAvailable() == 0
Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1113: top < bottom
Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1116: r->left < r->right
Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1116: r->left < r->right
Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1116: r->left < r->right
Assertion failed file ../src/kits/interface/RegionSupport.cpp, line 1116: r->left < r->right

Can be related to #1501, #13070, #16013.

Attachments (3)

test_app_server-1267-debug-13-05-2020-06-08-08.report (47.4 KB ) - added by X512 4 years ago.
crash report
test_app_server-18024-debug-13-05-2020-06-21-19.report (62.9 KB ) - added by X512 4 years ago.
crash report when libroot_debug.so is used
test_app_server-21697-debug-13-05-2020-06-26-54.report (46.8 KB ) - added by X512 4 years ago.
crash report 2 when libroot_debug.so is used

Download all attachments as: .zip

Change History (6)

by X512, 4 years ago

crash report when libroot_debug.so is used

by X512, 4 years ago

crash report 2 when libroot_debug.so is used

comment:2 by waddlesplash, 4 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev54252.

comment:3 by nielx, 4 years ago

Milestone: UnscheduledR1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.