Opened 4 years ago

Closed 4 years ago

#16010 closed bug (fixed)

[HaikuDepot] Crashes upon resizing main window while Featured Packages is selected

Reported by: waddlesplash Owned by: apl-haiku
Priority: critical Milestone: R1/beta2
Component: Applications/HaikuDepot Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I noticed this after my recent BCardLayout change, but I confirmed that this crash still occurs with the same frequency even before that.

  1. Open HaikuDepot.
  2. While the Featured Packages view is being populated, rapidly resize the window.
  3. Crash!

Attachments (1)

HaikuDepot-3458-debug-11-05-2020-01-04-25.report (35.2 KB ) - added by waddlesplash 4 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by waddlesplash, 4 years ago

I tried using the Guarded Heap but it OOMed before I could try and reproduce the crash. It looks like something is modifying views without a lock held, I guess? But it looks like that should be legal, so this may be a Layout Kit bug.

comment:2 by waddlesplash, 4 years ago

Milestone: UnscheduledR1/beta2
Priority: normalcritical

This actually seems to occur on virtually any resize with the Featured Packages in focus, and after the responsiveness fixes, it occurs even more often.

comment:3 by waddlesplash, 4 years ago

Oddly enough, this seems to occur less often under the debug heap. I tried the guarded heap, but it seems HaikuDepot uses too much memory for that to work on 32bit, so someone will have to retry on 64bit.

comment:4 by apl-haiku, 4 years ago

Hi; I have tested this on x86_64 with hrev54245 and am unable to see the problem.

comment:5 by diver, 4 years ago

I can't reproduce on x86_64 either.

comment:6 by waddlesplash, 4 years ago

Resolution: fixed
Status: newclosed

Indeed.

Note: See TracTickets for help on using tickets.