Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#15796 closed bug (fixed)

Stack overflow in app_server if too many windows are tiled

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 (last modified by X512)

This is hrev53937.

Steps to reproduce:

  1. Install Koder. Full path in window title is enabled.
  2. Open haiku/headers/os/interface or some other folder with a lot of text files in Tracker.
  3. Select all and open in Koder.
  4. app_server will crash and after stack trace all screen are filled with TabDecorator::_DistributeTabSize(float) + 0x1a9.

Attachments (1)

ManyTabs.png (4.1 KB ) - added by X512 5 years ago.
Small window with many tabs with https://review.haiku-os.org/c/haiku/+/2680 applied.

Download all attachments as: .zip

Change History (11)

comment:1 by X512, 5 years ago

Description: modified (diff)

comment:3 by X512, 5 years ago

Now it freeze in TabDecorator::_DoTabLayout in event loop thread. Display is not refreshing, only cursor is moving.

comment:4 by X512, 5 years ago

I managed to reproduce problem in test_app_server.

comment:5 by X512, 5 years ago

I also get this while testing:

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
test_app_server: ../src/system/libroot/posix/malloc_hoard2/superblock.h:171:BPrivate::block* BPrivate::superblock::getBlock(): getNumAvailable() == 0

Crash was caused by malloc in BRegion.

by X512, 5 years ago

Attachment: ManyTabs.png added

Small window with many tabs with https://review.haiku-os.org/c/haiku/+/2680 applied.

comment:8 by X512, 5 years ago

While testing I sometimes get issue similar to #13070 and once I get monitor turn off when Koder windows are opening (why???).

comment:9 by waddlesplash, 5 years ago

Resolution: fixed
Status: newclosed

Merged in hrev54188.

comment:10 by nielx, 5 years ago

Milestone: UnscheduledR1/beta2
Note: See TracTickets for help on using tickets.