• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Application crashing on iPod Touch, not on iPhone
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application crashing on iPod Touch, not on iPhone


  • Subject: Re: Application crashing on iPod Touch, not on iPhone
  • From: Sébastien Stormacq <email@hidden>
  • Date: Thu, 03 Dec 2009 20:14:57 +0100

I totally agree with you
Here is my stack trace

Frame 15 is the last line from my code, it calls [NSURL urlWithString] (frame 14)

0   libSystem.B.dylib             	0x0008e7e0 __semwait_signal_nocancel + 24
1   libSystem.B.dylib             	0x0008e128 nanosleep$NOCANCEL + 100
2   libSystem.B.dylib             	0x0007d200 usleep$NOCANCEL + 36
3   libSystem.B.dylib             	0x000a7e68 abort + 40
4   libstdc++.6.dylib             	0x00066390 __gnu_cxx::__verbose_terminate_handler() + 588
5   libobjc.A.dylib               	0x00008898 _objc_terminate + 160
6   libstdc++.6.dylib             	0x00063a84 __cxxabiv1::__terminate(void (*)()) + 76
7   libstdc++.6.dylib             	0x00063afc std::terminate() + 16
8   libstdc++.6.dylib             	0x00063c24 __cxa_throw + 100
9   libobjc.A.dylib               	0x00006e54 objc_exception_throw + 104
10  CoreFoundation                	0x00026b2c +[NSException raise:format:arguments:] + 76
11  CoreFoundation                	0x00026acc +[NSException raise:format:] + 24
12  Foundation                    	0x0005a2d6 -[NSURL initWithString:relativeToURL:] + 246
13  Foundation                    	0x0005a154 +[NSURL URLWithString:relativeToURL:] + 28
14  Foundation                    	0x0005a12a +[NSURL URLWithString:] + 10
15  Maxi80                        	0x000045a4 -[Maxi80ViewController loadStreamingURL] (Maxi80ViewController.m:140)
16  Foundation                    	0x00053ac6 -[NSThread main] + 42
17  Foundation                    	0x00001d0e __NSThread__main__ + 852
18  libSystem.B.dylib             	0x0002b7b0 _pthread_body + 20

--Seb




On 03 Dec 2009, at 17:59, Matt Neuburg wrote:

> On Thu, 03 Dec 2009 13:37:32 +0100, S?bastien Stormacq <email@hidden>
> said:
>> For your curiosity : [NSURL urlWithString] is the culprit : it throws a
> NSException on the Touch when there is no network, not on the iPhone ;-)
>
> That's hard to believe. To transform a string into a URL should have no
> dependency on whether there's a network. The dependency on the network
> should come later, like when you actually try to download something! And
> Apple's own examples do no exception checking around [NSURL urlWithString].
> So if you're certain this is the problem, I would suggest filing a
> bugreporter bug. m.
>
> --
> matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
> A fool + a tool + an autorelease pool = cool!
> AppleScript: the Definitive Guide - Second Edition!
> http://www.tidbits.com/matt/default.html#applescriptthings
>
>
>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Application crashing on iPod Touch, not on iPhone
      • From: Kyle Sluder <email@hidden>
    • Re: Application crashing on iPod Touch, not on iPhone
      • From: Jens Alfke <email@hidden>
References: 
 >Re: Application crashing on iPod Touch, not on iPhone (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: totally baffled by "odoc" apple event failing on launch
  • Next by Date: Re: image not found
  • Previous by thread: Re: Application crashing on iPod Touch, not on iPhone
  • Next by thread: Re: Application crashing on iPod Touch, not on iPhone
  • Index(es):
    • Date
    • Thread