Giter Club home page Giter Club logo

locationtest's People

Contributors

redbluething avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

locationtest's Issues

Significant change crash.

Since iOS 4.1 I have noticed a crash in the background when a significant change event occurs:

0   libSystem.B.dylib                  0x00004f0c OSSpinLockLock + 44
1   CoreFoundation                     0x0005aa42 CFMessagePortInvalidate + 26
2   CoreFoundation                     0x0005b05e CFMessagePortIsValid + 42
3   CoreLocation                       0x000030f8 CLClientIsValid + 12
4   CoreLocation                       0x00004b10 CLClientSendAndCache(__CLClient*, CLDaemonCommType, void*, int, unsigned char, unsigned char) + 40
5   CoreLocation                       0x000051cc CLClientHandleWatchdogTimerExpiry(__CFRunLoopTimer*, void*) + 24
6   CoreFoundation                     0x000567f4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 8
7   CoreFoundation                     0x000562a6 __CFRunLoopDoTimer + 854
8   CoreFoundation                     0x0002779e __CFRunLoopRun + 1082
9   CoreFoundation                     0x00027270 CFRunLoopRunSpecific + 224
10  CoreFoundation                     0x00027178 CFRunLoopRunInMode + 52
11  GraphicsServices                   0x000045ec GSEventRunModal + 108
12  GraphicsServices                   0x00004698 GSEventRun + 56
13  UIKit                              0x0000411c -[UIApplication _run] + 396
14  UIKit                              0x00002128 UIApplicationMain + 664
15  MyApp                              0x00002400 main (main.m:14)
16  MyApp                              0x000023b4 start + 32

There is a developer forum question for this issue from another user. Not sure if this is a bug in LocationTest or a 4.1 problem

Crash running in background

I'm seeing a lot of logs for the crash below. The app is running in the background.

Incident Identifier: CB311332-598F-478A-BF24-EA4E4B17F283
CrashReporter Key: 4d4552f76e566bc47d9e3de0191f19c3093dd680
Hardware Model: iPhone3,1
Process: LocationTest [5492]
Path: /var/mobile/Applications/122186F5-CC07-456F-B201-72AB78F9C445/LocationTest.app/LocationTest
Identifier: LocationTest
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]

Date/Time: 2010-09-15 10:52:30.434 +0900
OS Version: iPhone OS 4.1 (8B117)
Report Version: 104

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0

Thread 0 Crashed:
0 libSystem.B.dylib 0x00078ac8 kill + 8
1 libSystem.B.dylib 0x00078ab8 kill + 4
2 libSystem.B.dylib 0x00078aaa raise + 10
3 libSystem.B.dylib 0x0008d03a abort + 50
4 libstdc++.6.dylib 0x00044a20 __gnu_cxx::__verbose_terminate_handler() + 376
5 libobjc.A.dylib 0x00005958 _objc_terminate + 104
6 libstdc++.6.dylib 0x00042df2 __cxxabiv1::__terminate(void (*)()) + 46
7 libstdc++.6.dylib 0x00042e46 std::terminate() + 10
8 libstdc++.6.dylib 0x00042f16 __cxa_throw + 78
9 libobjc.A.dylib 0x00004838 objc_exception_throw + 64
10 CoreFoundation 0x000a167c -[NSObject(NSObject) doesNotRecognizeSelector:] + 96
11 CoreFoundation 0x000491d2 __forwarding
+ 502
12 CoreFoundation 0x00048f88 _CF_forwarding_prep_0 + 40
13 LocationTest 0x00002c7e -LocationTestAppDelegate application:didFinishLaunchingWithOptions:
14 UIKit 0x0000e47a -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 766
15 UIKit 0x000049e0 -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 200
16 UIKit 0x0005dfd6 -[UIApplication handleEvent:withNewEvent:] + 1390
17 UIKit 0x0005d8fa -[UIApplication sendEvent:] + 38
18 UIKit 0x0005d330 _UIApplicationHandleEvent + 5104
19 GraphicsServices 0x00005044 PurpleEventCallback + 660
20 CoreFoundation 0x00034cdc CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 20
21 CoreFoundation 0x00034ca0 __CFRunLoopDoSource1 + 160
22 CoreFoundation 0x00027566 __CFRunLoopRun + 514
23 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
24 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
25 UIKit 0x000040fc -[UIApplication _run] + 364
26 UIKit 0x00002128 UIApplicationMain + 664
27 LocationTest 0x000026dc main (main.m:14)
28 LocationTest 0x00002690 start + 32

Thread 1:
0 libSystem.B.dylib 0x0002d330 kevent + 24
1 libSystem.B.dylib 0x000d6b6c _dispatch_mgr_invoke + 88
2 libSystem.B.dylib 0x000d65bc _dispatch_queue_invoke + 96
3 libSystem.B.dylib 0x000d675c _dispatch_worker_thread2 + 120
4 libSystem.B.dylib 0x0007a67a _pthread_wqthread + 258
5 libSystem.B.dylib 0x00073190 start_wqthread + 0

Thread 2:
0 libSystem.B.dylib 0x0007b19c __workq_kernreturn + 8
1 libSystem.B.dylib 0x0007a790 _pthread_wqthread + 536
2 libSystem.B.dylib 0x00073190 start_wqthread + 0

Thread 3:
0 libSystem.B.dylib 0x00000c98 mach_msg_trap + 20
1 libSystem.B.dylib 0x00002d64 mach_msg + 44
2 CoreFoundation 0x00027c38 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x000274c2 __CFRunLoopRun + 350
4 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
6 WebCore 0x000024e2 RunWebThread(void*) + 362
7 libSystem.B.dylib 0x0007a27e _pthread_start + 242
8 libSystem.B.dylib 0x0006f2a8 thread_start + 0

Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x3e0862b4
r4: 0x00000006 r5: 0x0014265c r6: 0x2fffe1c8 r7: 0x2fffe1d8
r8: 0x00120100 r9: 0x00000065 r10: 0x00103520 r11: 0x00000000
ip: 0x00000025 sp: 0x2fffe1d8 lr: 0x30277abf pc: 0x30277ac8
cpsr: 0x00000010

Binary Images:
0x1000 - 0x5fff +LocationTest armv7 <85384510e27437e9c3a3ce3a017695a7> /var/mobile/Applications/122186F5-CC07-456F-B201-72AB78F9C445/LocationTest.app/LocationTest
0xe6000 - 0xe7fff dns.so armv7 <240b8d3f07b4fcb234de598f8e67de1a> /usr/lib/info/dns.so
0xeb000 - 0xeffff AccessibilitySettingsLoader armv7 /System/Library/AccessibilityBundles/AccessibilitySettingsLoader.bundle/AccessibilitySettingsLoader
0x2fe00000 - 0x2fe26fff dyld armv7 /usr/lib/dyld
0x3002b000 - 0x300ebfff libobjc.A.dylib armv7 <49029949741e10f21b178b0a4b2df979> /usr/lib/libobjc.A.dylib
0x300ff000 - 0x30141fff ManagedConfiguration armv7 <75ae0cfae42b263eb4de427a1b991f9a> /System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfiguration
0x30187000 - 0x3018afff libMobileGestalt.dylib armv7 /usr/lib/libMobileGestalt.dylib
0x301ff000 - 0x3030cfff libSystem.B.dylib armv7 <0792bef82e8cde31cb32d06e80262288> /usr/lib/libSystem.B.dylib
0x30791000 - 0x3079bfff ExternalAccessory armv7 <8c3b9937841c974fde7b3e26d2ff5f7d> /System/Library/Frameworks/ExternalAccessory.framework/ExternalAccessory
0x307a0000 - 0x307a1fff CoreSurface armv7 <586f25579330ac060decd2df4cc05bd8> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface
0x307ef000 - 0x307f7fff libkxld.dylib armv7 /usr/lib/system/libkxld.dylib
0x307f8000 - 0x308cbfff CoreFoundation armv7 /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x308cc000 - 0x30979fff MapKit armv7 /System/Library/Frameworks/MapKit.framework/MapKit
0x30996000 - 0x30a7efff libGLProgrammability.dylib armv7 /System/Library/Frameworks/OpenGLES.framework/libGLProgrammability.dylib
0x30a7f000 - 0x30a87fff libgcc_s.1.dylib armv7 <6fb15d72d3ee5444d901dc9ef974a3b3> /usr/lib/libgcc_s.1.dylib
0x30a88000 - 0x30ac2fff IOKit armv7 <6810c1b44dd12227780dc88c76b692e4> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x30ac9000 - 0x30ad0fff libbz2.1.0.dylib armv7 <0011bd5af0230fcaf63005f7eefa11dd> /usr/lib/libbz2.1.0.dylib
0x30ad5000 - 0x30ad7fff MobileInstallation armv7 <8b23f794f02c2f7572a8fe6532630161> /System/Library/PrivateFrameworks/MobileInstallation.framework/MobileInstallation
0x30b44000 - 0x30b8ffff GMM armv7 <140d9a6633393f644c3aa852fe7e7e42> /System/Library/PrivateFrameworks/GMM.framework/GMM
0x30bb3000 - 0x30bbffff SpringBoardServices armv7 /System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices
0x30bc8000 - 0x30c59fff ImageIO armv7 <3f421780e67f0219e416287d3e684b54> /System/Library/Frameworks/ImageIO.framework/ImageIO
0x30c5a000 - 0x30cfafff Celestial armv7 /System/Library/PrivateFrameworks/Celestial.framework/Celestial
0x30cfb000 - 0x30d2afff SystemConfiguration armv7 /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x30d49000 - 0x30e6ffff MediaToolbox armv7 /System/Library/PrivateFrameworks/MediaToolbox.framework/MediaToolbox
0x30f4b000 - 0x30f82fff Security armv7 <4770002d4b443c186dc1e3ddaa1787c8> /System/Library/Frameworks/Security.framework/Security
0x30f8b000 - 0x30fbbfff AppSupport armv7 <20908678e860c23207574337097b94f1> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x30fc3000 - 0x31201fff ProtocolBuffer armv7 /System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer
0x313a6000 - 0x313a8fff IOMobileFramebuffer armv7 /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer
0x31499000 - 0x314a4fff libz.1.dylib armv7 <19a78978d5908bedc6496470fe542936> /usr/lib/libz.1.dylib
0x31509000 - 0x31537fff libCGFreetype.A.dylib armv7 <41663f59614034ba151e9b4f86e1e141> /System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib
0x31565000 - 0x31572fff OpenGLES armv7 <6bdd1b930c09cfec7c6c7629551c0cbd> /System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x31574000 - 0x3157dfff AccountSettings armv7 /System/Library/PrivateFrameworks/AccountSettings.framework/AccountSettings
0x315ec000 - 0x31601fff libresolv.9.dylib armv7 <1ed920d5a995cd94e71c41631d7c551e> /usr/lib/libresolv.9.dylib
0x318c3000 - 0x3196afff WebKit armv7 /System/Library/PrivateFrameworks/WebKit.framework/WebKit
0x31adb000 - 0x31ae4fff CoreVideo armv7 /System/Library/Frameworks/CoreVideo.framework/CoreVideo
0x31ae6000 - 0x31afcfff EAP8021X armv7 <419b97910c4b517f38697a3121775bc7> /System/Library/PrivateFrameworks/EAP8021X.framework/EAP8021X
0x31be3000 - 0x31c1dfff CoreMedia armv7 /System/Library/Frameworks/CoreMedia.framework/CoreMedia
0x31c20000 - 0x31c20fff vecLib armv7 /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
0x31c25000 - 0x31c36fff PersistentConnection armv7 <23a6206a542a6b02dd4c5103af3f9da2> /System/Library/PrivateFrameworks/PersistentConnection.framework/PersistentConnection
0x31c6c000 - 0x31c6efff CrashReporterSupport armv7 <2b26c74e98505a26da656eeb781b16cd> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterSupport
0x31c88000 - 0x31c8efff liblockdown.dylib armv7 /usr/lib/liblockdown.dylib
0x31d2d000 - 0x31d34fff MobileWiFi armv7 /System/Library/PrivateFrameworks/MobileWiFi.framework/MobileWiFi
0x31e40000 - 0x31e4cfff GraphicsServices armv7 <7075593b53fcd90c8d2aa40ba9ff4397> /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x31e4d000 - 0x3308dfff UIKit armv7 <3f1f8f7555dcf93cc4ce2146286bd3f6> /System/Library/Frameworks/UIKit.framework/UIKit
0x330af000 - 0x33601fff WebCore armv7 <4d60fdc638b6218c26d3c143af5e829c> /System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x337dd000 - 0x337fcfff Bom armv7 /System/Library/PrivateFrameworks/Bom.framework/Bom
0x33847000 - 0x33876fff CoreText armv7 <0855144a7f9eeade285f2e7c030f7478> /System/Library/Frameworks/CoreText.framework/CoreText
0x33877000 - 0x33908fff AddressBookUI armv7 <99283bc397692fbf3c296b0c1a298aed> /System/Library/Frameworks/AddressBookUI.framework/AddressBookUI
0x3390e000 - 0x33951fff CoreTelephony armv7 /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x3396a000 - 0x3399dfff AddressBook armv7 <59286907142fc76ead3dab9fa3baff5c> /System/Library/Frameworks/AddressBook.framework/AddressBook
0x3399e000 - 0x339b6fff libRIP.A.dylib armv7 <6d9b86e946a18416f1a50586beabd716> /System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
0x339bc000 - 0x339bffff CaptiveNetwork armv7 <6c367af97f27bcdac9362897e0bae546> /System/Library/PrivateFrameworks/CaptiveNetwork.framework/CaptiveNetwork
0x339c7000 - 0x339cafff libGFXShared.dylib armv7 <0d33b320dcac6cb6a594171f3f8c3b04> /System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
0x339dd000 - 0x339e5fff MobileBluetooth armv7 /System/Library/PrivateFrameworks/MobileBluetooth.framework/MobileBluetooth
0x339ea000 - 0x33a93fff QuartzCore armv7 <1628da07ea69b89c0b6a5a7d2dc42a24> /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x33a94000 - 0x33aa6fff VoiceServices armv7 <0516eeee20637169a6cff84ce7c37a93> /System/Library/PrivateFrameworks/VoiceServices.framework/VoiceServices
0x33b7a000 - 0x33b8afff GeoServices armv6 /System/Library/PrivateFrameworks/GeoServices.framework/GeoServices
0x33b8b000 - 0x33bd0fff libsqlite3.dylib armv7 <7de3ef8f02a0af58ef9f58348d5dbc50> /usr/lib/libsqlite3.dylib
0x33bfc000 - 0x33d17fff CoreGraphics armv7 <6dcc299d5ca75f73afbc98a1b4bd2c7a> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics
0x33d21000 - 0x33d8ffff ProofReader armv7 <184b846e1f602485068db7a9c943595f> /System/Library/PrivateFrameworks/ProofReader.framework/ProofReader
0x33d91000 - 0x33d95fff AssetsLibraryServices armv7 <0c10a998f46151b69a9060b5879973cc> /System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices
0x33f5a000 - 0x33f99fff libGLImage.dylib armv7 /System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
0x33fc6000 - 0x33fc7fff DataMigration armv7 /System/Library/PrivateFrameworks/DataMigration.framework/DataMigration
0x33fde000 - 0x34087fff libxml2.2.dylib armv7 <1d74fa3a5cec309857503a51cb2df667> /usr/lib/libxml2.2.dylib
0x34091000 - 0x340dbfff libstdc++.6.dylib armv7 <7b2a8cf02f12c636c6db7f5e1906f9f0> /usr/lib/libstdc++.6.dylib
0x340fc000 - 0x34396fff libLAPACK.dylib armv7 <795a79616d24a733fae53d9df6c46998> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib
0x34464000 - 0x34503fff JavaScriptCore armv7 <28583b202a5108a6e93c9990a2f1d576> /System/Library/PrivateFrameworks/JavaScriptCore.framework/JavaScriptCore
0x34504000 - 0x34537fff CoreLocation armv7 /System/Library/Frameworks/CoreLocation.framework/CoreLocation
0x34538000 - 0x34568fff VideoToolbox armv7 /System/Library/PrivateFrameworks/VideoToolbox.framework/VideoToolbox
0x34569000 - 0x345befff libvDSP.dylib armv7 /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib
0x345bf000 - 0x345cffff DataAccessExpress armv7 <51e935a31a31072ec7a10b7b80adc85e> /System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress
0x346d8000 - 0x346e1fff ITSync armv7 <6de2eeb0276458257e6c972f7195a787> /System/Library/PrivateFrameworks/ITSync.framework/ITSync
0x3473e000 - 0x34740fff libAccessibility.dylib armv7 /usr/lib/libAccessibility.dylib
0x34781000 - 0x34786fff MobileKeyBag armv7 /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag
0x34787000 - 0x348b7fff AudioToolbox armv7 <9420239a007f28f7aa2163b05053d110> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x348ba000 - 0x348fafff CoreAudio armv7 <96e6c0b793449c9e08a507693c956aad> /System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x34906000 - 0x34951fff libBLAS.dylib armv7 <9e5eadf1538d47142a4257d2fa5bbdd5> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBLAS.dylib
0x34979000 - 0x3497cfff IOSurface armv7 <83927fd3641791e5bcdadcca0edd196b> /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface
0x349a7000 - 0x34ac6fff Foundation armv7 <5cffb5458e87beccdb75770cea676753> /System/Library/Frameworks/Foundation.framework/Foundation
0x34ad1000 - 0x34ad7fff IAP armv7 /System/Library/PrivateFrameworks/IAP.framework/IAP
0x34ad8000 - 0x34ae5fff libbsm.0.dylib armv7 /usr/lib/libbsm.0.dylib
0x34af1000 - 0x34af4fff ApplePushService armv7 /System/Library/PrivateFrameworks/ApplePushService.framework/ApplePushService
0x34b3c000 - 0x34c55fff libicucore.A.dylib armv7 <71ef015f1994cf85658df91a50a37815> /usr/lib/libicucore.A.dylib
0x34c56000 - 0x34c56fff Accelerate armv7 <0601858b149ba0586210ad15b0d41c1e> /System/Library/Frameworks/Accelerate.framework/Accelerate
0x34cdf000 - 0x34da1fff CFNetwork armv7 <0860d900e5328f349290feaaa3eb6e9a> /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x34fc8000 - 0x34fdbfff libmis.dylib armv7 /usr/lib/libmis.dylib
0x35122000 - 0x3514bfff MobileCoreServices armv7 /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices

Leak of NSString on line 45 of LocationTestAppDelegate.m

If you run the analyzer you'll see that there is a leak of NSString on line 45 of LocationTestAppDelegate.m, the variable "content". If you autorelease the string it should be fine, but my preferred fix would be to use the class method stringWithContentsOfFile:encoding:error: instead.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.