• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: VWR-6186
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Unassigned
Reporter: Sammy Frederix
Votes: 1
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
1. Second Life Viewer - VWR

Second Life is leaking Objective-C objects at startup

Created: 07/Apr/08 08:49 PM   Updated: 23/May/08 04:21 PM
Return to search
Component/s: None
Affects Version/s: 1.19.1.4
Fix Version/s: 1.20 Release Candidate

File Attachments: 1. Text File autoreleaseFix.patch (1 kB)

Environment: Mac OS X 10.5, though any mac really
Issue Links:
Relates
 

Linden Lab Issue ID: DEV-13501
Patch attached: Patch attached


 Description  « Hide
On start up, SL spews the following to the system log (and by extension, leaks a few objects)

8/04/08 1:35:06 PM Second Life[5253] *** _NSAutoreleaseNoPool(): Object 0x18327080 of class NSMutableParagraphStyle autoreleased with no pool in place - just leaking
Stack: (0x943fe12f 0x9430aec2 0x949a8f64 0x93971b78 0x93971a4c 0x939704f9 0x93980996 0x949abf52 0x949aba7a 0x949ab4fe 0x94ff6d51 0x1017b55 0xfe730b 0xf7a9d1 0x145da0 0xdcb468 0xde0bfd 0xde4871 0xde60d8 0x2e92 0x2db9)
8/04/08 1:35:06 PM Second Life[5253] *** _NSAutoreleaseNoPool(): Object 0x18324760 of class NSCFDictionary autoreleased with no pool in place - just leaking
Stack: (0x943fe12f 0x9430aec2 0x901c6e5c 0x949a8fa8 0x93971b78 0x93971a4c 0x939704f9 0x93980996 0x949abf52 0x949aba7a 0x949ab4fe 0x94ff6d51 0x1017b55 0xfe730b 0xf7a9d1 0x145da0 0xdcb468 0xde0bfd 0xde4871 0xde60d8 0x2e92 0x2db9)
8/04/08 1:35:06 PM Second Life[5253] *** _NSAutoreleaseNoPool(): Object 0x182b1cd0 of class NSCFArray autoreleased with no pool in place - just leaking
Stack: (0x943fe12f 0x9430aec2 0x949ae5dc 0x949adf73 0x949ad741 0x949ad55d 0x949ac62f 0x949abb41 0x949ab4fe 0x94ff6d51 0x1017b55 0xfe730b 0xf7a9d1 0x145da0 0xdcb468 0xde0bfd 0xde4871 0xde60d8 0x2e92 0x2db9)
8/04/08 1:35:06 PM Second Life[5253] *** _NSAutoreleaseNoPool(): Object 0x1840c180 of class NSView autoreleased with no pool in place - just leaking
Stack: (0x943fe12f 0x9430aec2 0x949abbe3 0x949ab4fe 0x94ff6d51 0x1017b55 0xfe730b 0xf7a9d1 0x145da0 0xdcb468 0xde0bfd 0xde4871 0xde60d8 0x2e92 0x2db9)
8/04/08 1:35:06 PM Second Life[5253] *** _NSAutoreleaseNoPool(): Object 0x182f60f0 of class NSCFArray autoreleased with no pool in place - just leaking
Stack: (0x943fe12f 0x9430aec2 0x949ae5dc 0x949adf73 0x949b6d10 0x949b6afd 0x949c00e7 0x949abbff 0x949ab4fe 0x94ff6d51 0x1017b55 0xfe730b 0xf7a9d1 0x145da0 0xdcb468 0xde0bfd 0xde4871 0xde60d8 0x2e92 0x2db9)
8/04/08 1:35:06 PM Second Life[5253] *** _NSAutoreleaseNoPool(): Object 0x1840c180 of class NSView autoreleased with no pool in place - just leaking
Stack: (0x943fe12f 0x9430aec2 0x949c17b9 0x949b74ff 0x949c10a9 0x94a3a79c 0x900dff36 0x949cdbfe 0x949cd90b 0x94aab7d2 0x94aab755 0x94aab703 0x94a390c1 0x1017b67 0xfe730b 0xf7a9d1 0x145da0 0xdcb468 0xde0bfd 0xde4871 0xde60d8 0x2e92 0x2db9)
8/04/08 1:35:06 PM Second Life[5253] *** _NSAutoreleaseNoPool(): Object 0x1840c180 of class NSView autoreleased with no pool in place - just leaking
Stack: (0x943fe12f 0x9430aec2 0x900dff36 0x949cdc76 0x949cd90b 0x94aab7d2 0x94aab755 0x94aab703 0x94a390c1 0x1017b67 0xfe730b 0xf7a9d1 0x145da0 0xdcb468 0xde0bfd 0xde4871 0xde60d8 0x2e92 0x2db9)



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Sammy Frederix added a comment - 07/Apr/08 08:53 PM
Linking other issues that mention _NSAutoreleaseNoPool

Sammy Frederix added a comment - 07/Apr/08 10:11 PM
This patch fixes the leak of Objective C objects on start up, which solves the leaking of objects on start up. I also creatied an autorelease pool around the other objective-C calls, more as defensive programming than out of necessity.

Tofu Linden added a comment - 11/Apr/08 04:41 AM
Thanks, I've imported this for our Mac devs to look at.

Gellan Glenelg added a comment - 21/May/08 06:52 PM
Fixed in 1.20.7 (87883)

Argent Stonecutter added a comment - 22/May/08 03:30 AM
Please do not close issues until they are verified.

Sammy Frederix added a comment - 23/May/08 04:21 PM
The messages no longer appear in the console log when SL starts in 1.20 RC8 (and probably RC7, but I wasn't able to test it before it was pulled)