[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #34481] GNUstep seems to release top-level-nib objects although it
From: |
julian |
Subject: |
[bug #34481] GNUstep seems to release top-level-nib objects although it shouldn't |
Date: |
Wed, 05 Oct 2011 12:57:35 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.50 (KHTML, like Gecko) Version/5.1 Safari/534.50 |
URL:
<http://savannah.gnu.org/bugs/?34481>
Summary: GNUstep seems to release top-level-nib objects
although it shouldn't
Project: GNUstep
Submitted by: julian_
Submitted on: Mi 05 Okt 2011 12:57:34 GMT
Category: Gui/AppKit
Severity: 3 - Normal
Item Group: Bug
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
GNUstep handling of top-level-nib objects doesn't seem to match Cocoa. in
Cocoa, top-level-nib objects are retained, and the application is responsible
for releasing them. in GNUstep the objects don't seem to be retained.
attached is a small sample project to illustrate the issue.
awakeFromNib starts a timer and after 4.5 seconds a method wants to add a
top-level-object from the nib, a NSBox to the window. in cocoa this works just
fine, in gnustep this crashes because the box already has been deallocated.
i can't believe that something so fundamental is broken in gnustep, perhaps it
only occurs for XIB files?
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mi 05 Okt 2011 12:57:34 GMT Name: gnustepbug.tar.gz Size: 169kB By:
julian_
<http://savannah.gnu.org/bugs/download.php?file_id=24101>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34481>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/
- [bug #34481] GNUstep seems to release top-level-nib objects although it shouldn't,
julian <=