Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-19-2010, 05:57 PM   #1 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 5
jschorn is on a distinguished road
Default Memory leak / instruments question

I've been testing an application on a device with instruments. When i click on the leak in instruments i see the leak's responsible library is "CFNetwork" and the Responsible Caller is "HostLookup_Master::HostLookup_Master(__CFStri ng const*, InheritEnum<_ExtendedHostInfoType, CFHostInfoType>, __CFHost*, CFStreamError*)"

And then when open up the detail view to see the stack trace i don't see any part of the trace related to any object I've allocated in my application.
All of the elements of the stack trace are related to the following libraries libSystem.B.dylib, Foundation, CoreFoundation, and CFNetwork. There is no part of the stack linking me to a line of code i've written.

It looks like the leak is related to NSURL, but i'm not sure.

I'm at a loss. Been at this leak for a long time an i am weary.

Any help would be much appreciated.

Thanks
Joe Schorn
jschorn is offline   Reply With Quote
Old 01-20-2010, 03:05 AM   #2 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 1
laka is on a distinguished road
Default

Hi Joe,

Did you find any solution to your problem by any chance ? I am running into the same problem when using CFNetwork for FTP access.

Thanks,
Leïla.
laka is offline   Reply With Quote
Old 01-20-2010, 12:10 PM   #3 (permalink)
Registered Member
 
Join Date: Jan 2010
Posts: 5
jschorn is on a distinguished road
Default

Quote:
Originally Posted by laka View Post
Hi Joe,

Did you find any solution to your problem by any chance ? I am running into the same problem when using CFNetwork for FTP access.

Thanks,
Leïla.


No solution yet. But I'm thinking it may be an OS bug. Is your leak GeneralBlock-3584?

According to this thread, it seem there is a 3.5k leak related to CFNetwork that's been reported to apple.

http://www.iphonedevsdk.com/forum/ip...mory-leak.html
jschorn is offline   Reply With Quote
Reply

Bookmarks

Tags
cfnetwork, instruments, memory leak

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 331
9 members and 322 guests
2Apps1Day, akacaj, Domele, michelle, NSString, SLIC, soohyun, Techgirl-52, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,650
Threads: 94,114
Posts: 402,886
Top Poster: BrianSlick (7,990)
Welcome to our newest member, soohyun
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:03 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0