Opened 12 years ago

Closed 11 years ago

#1522 closed bug (fixed)

Crash on ALT+Q while adding a view containing a bitmap+offscreen view in App constructor to window

Reported by: julun Owned by: axeld
Priority: normal Milestone: R1
Component: Servers/app_server Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

This is related to Ticket#1500.
The orginal Be sample code created a window and a view in the app ctor, after that the window was locked and the view was added to the window as child.
The special thing is that the view contains a bitmap with an offscreen view. While creating and adding the view containing the bitmap in the window ctor, everything works fine on ALT+Q. Doing this in the app ctor crashes the app on ALT+Q.
Not creating and adding the bitmap with offscreen view, you can add the visible view in the app or window ctor without problems on quit. see attached sample code and stack trace.

Attachments (4)

CrashApp.cpp (1.7 KB ) - added by julun 12 years ago.
CrashApp.2.cpp (1.7 KB ) - added by julun 12 years ago.
Alt+Q.PNG (34.7 KB ) - added by julun 12 years ago.
Alt+Q-02.PNG (33.0 KB ) - added by julun 12 years ago.

Download all attachments as: .zip

Change History (5)

by julun, 12 years ago

Attachment: CrashApp.cpp added

by julun, 12 years ago

Attachment: CrashApp.2.cpp added

by julun, 12 years ago

Attachment: Alt+Q.PNG added

by julun, 12 years ago

Attachment: Alt+Q-02.PNG added

comment:1 by julun, 11 years ago

Resolution: fixed
Status: newclosed

fixed in hrev28236

Note: See TracTickets for help on using tickets.