热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

CorePlot无声崩溃(可能来自scaletofit:)-CorePlotsilentcrash(possiblyfromscaleToFitPlots:)

IhaveaniPhoneappwithaCorePlotgraph.Ihaveabuttonplacednexttothegraphwhichcallssca

I have an iPhone app with a CorePlot graph. I have a button placed next to the graph which calls scaleToFitPlots: on the graph when pressed.

我有一个带有CorePlot图形的iPhone应用程序。我有一个按钮放在图的旁边,这个按钮叫做scaletofit:在按下的图上。

The problem is that sometimes my app crashes when scaleToFitPlots: is called.

问题是,有时我的应用程序崩溃时,scaletofit情节:被调用。

Most of the time there are no console messages and usually no debugger messages but rarely there is the following repeated about ten times

大多数时候没有控制台消息,通常没有调试器消息,但很少有以下重复的10次。

warning: Unable to restore previously selected frame.

There is usually no stack trace for the crashed thread but sometimes it is

崩溃的线程通常没有堆栈跟踪,但有时是。

0 

or

0 -[CPGradient newAxialGradientInRect:]
1 

One of the crash reports:

事故报告之一:

Incident Identifier: 4F9B520F-14A9-460F-A47D-93662C41D80A
CrashReporter Key:   d83f6beafd9d721fc55a6cda5eb9b2926b753649
Hardware Model:      iPad2,1
Process:         IQ [297]
Path:            /var/mobile/Applications/18468A8B-79C8-42FA-A597-141CC91E54F2/IQ.app/IQ
Identifier:      IQ
Version:         ??? (???)
Code Type:       ARM (Native)
Parent Process:  launchd [1]

Date/Time:       2011-07-20 15:53:48.420 -0700
OS Version:      iPhone OS 4.3.3 (8J2)
Report Version:  104

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x002fc080
Crashed Thread:  0

Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   ???                             0x002fc080 0 + 3129472
1   ???                             0xfffffff8 0 + -8

Thread 1 name:  Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0   libsystem_kernel.dylib          0x35590fbc kevent + 24
1   libdispatch.dylib               0x3525bed4 _dispatch_mgr_invoke + 744
2   libdispatch.dylib               0x3525cf3a _dispatch_queue_invoke + 70
3   libdispatch.dylib               0x3525c4ec _dispatch_worker_thread2 + 228
4   libsystem_c.dylib               0x3566758a _pthread_wqthread + 258
5   libsystem_c.dylib               0x35667bbc start_wqthread + 0

Thread 2 name:  WebThread
Thread 2:
0   libsystem_kernel.dylib          0x3558dc00 mach_msg_trap + 20
1   libsystem_kernel.dylib          0x3558d758 mach_msg + 44
2   CoreFoundation                  0x309582b8 __CFRunLoopServiceMachPort + 88
3   CoreFoundation                  0x3095a562 __CFRunLoopRun + 350
4   CoreFoundation                  0x308eaebc CFRunLoopRunSpecific + 224
5   CoreFoundation                  0x308eadc4 CFRunLoopRunInMode + 52
6   WebCore                         0x35f5327e RunWebThread(void*) + 382
7   libsystem_c.dylib               0x3566630a _pthread_start + 242
8   libsystem_c.dylib               0x35667bb4 thread_start + 0

Thread 3:
0   libsystem_kernel.dylib          0x355903ec __workq_kernreturn + 8
1   libsystem_c.dylib               0x356676d8 _pthread_wqthread + 592
2   libsystem_c.dylib               0x35667bbc start_wqthread + 0

Thread 0 crashed with ARM Thread State:
    r0: 0x00000001    r1: 0x0000000f      r2: 0x2fdfdae0      r3: 0x0000002f
    r4: 0x0650d740    r5: 0x2fdfdb30      r6: 0x005e7460      r7: 0x00c8a0d2
    r8: 0xd7400000    r9: 0x2fdfdaf4     r10: 0x7c852fdf     r11: 0xdb400004
    ip: 0x00000000    sp: 0x2fdfdb10      lr: 0x33325e15      pc: 0x002fc080
  cpsr: 0x600f0010

Binary Images:
    0x1000 -    0x80fff +IQ armv7  <42c4cbc572a73bce9d0d2098320d61a0> /var/mobile/Applications/18468A8B-79C8-42FA-A597-141CC91E54F2/IQ.app/IQ
  0x18e000 -   0x192fff  AccessibilitySettingsLoader armv7  <977d3eb9b0a4389e85e0e8eb64806759> /System/Library/AccessibilityBundles/AccessibilitySettingsLoader.bundle/AccessibilitySettingsLoader
  0x199000 -   0x19afff  MessageUIFramework armv7   /System/Library/AccessibilityBundles/MessageUIFramework.axbundle/MessageUIFramework
  0x1a0000 -   0x1a0fff  QuickLook armv7  <6efbee38273d326b817693da9b454da1> /System/Library/AccessibilityBundles/QuickLook.axbundle/QuickLook
  0x1a3000 -   0x1a5fff  AddressBookUIFramework armv7   /System/Library/AccessibilityBundles/AddressBookUIFramework.axbundle/AddressBookUIFramework
  0x1e0000 -   0x1e2fff +libXcodeDebuggerSupport.dylib armv7   /Developer/usr/lib/libXcodeDebuggerSupport.dylib
 0x34de000 -  0x3518fff  UIKit armv7  <5a81f85811d035d988a9dbd89a79fb7b> /System/Library/AccessibilityBundles/UIKit.axbundle/UIKit
0x2fe00000 - 0x2fe25fff  dyld armv7   /usr/lib/dyld
0x3062a000 - 0x30635fff  libz.1.dylib armv7   /usr/lib/libz.1.dylib
0x3064b000 - 0x3064ffff  AssetsLibraryServices armv7   /System/Library/PrivateFrameworks/AssetsLibraryServices.framework/AssetsLibraryServices
0x30681000 - 0x306a1fff  MobileSync armv7  <4df400c4559435889eccd88db77a110c> /System/Library/PrivateFrameworks/MobileSync.framework/MobileSync
0x306c0000 - 0x306ccfff  SpringBoardServices armv7   /System/Library/PrivateFrameworks/SpringBoardServices.framework/SpringBoardServices
0x306ce000 - 0x3072dfff  libBLAS.dylib armv7  <0b36b2272aa33a8c9aa22d99c89d7189> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libBLAS.dylib
0x307a0000 - 0x307a2fff  IOMobileFramebuffer armv7  <683f321680763e519d61541170ba2133> /System/Library/PrivateFrameworks/IOMobileFramebuffer.framework/IOMobileFramebuffer
0x307a3000 - 0x308bdfff  libicucore.A.dylib armv7   /usr/lib/libicucore.A.dylib
0x30966000 - 0x30cf3fff  UIKit armv7   /System/Library/Frameworks/UIKit.framework/UIKit
0x30cf4000 - 0x30cf6fff  CrashReporterSupport armv7  <9e7efa009730322f84bbc5d8bf1ded94> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/CrashReporterSupport
0x30d91000 - 0x3107efff  libLAPACK.dylib armv7   /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libLAPACK.dylib
0x31182000 - 0x31185fff  ActorKit armv7   /System/Library/PrivateFrameworks/ActorKit.framework/ActorKit
0x311a9000 - 0x311ddfff  VideoToolbox armv7  <570c63dc3a273a5a8c9072fd5567f5c1> /System/Library/PrivateFrameworks/VideoToolbox.framework/VideoToolbox
0x311e1000 - 0x3120ffff  DataAccess armv7  <3a2e67aa1d8834b7a8fc2fbb56654b15> /System/Library/PrivateFrameworks/DataAccess.framework/DataAccess
0x31253000 - 0x312f0fff  AddressBookUI armv7   /System/Library/Frameworks/AddressBookUI.framework/AddressBookUI
0x312f1000 - 0x312fdfff  GraphicsServices armv7   /System/Library/PrivateFrameworks/GraphicsServices.framework/GraphicsServices
0x32e0c000 - 0x32e6bfff  CorePDF armv7   /System/Library/PrivateFrameworks/CorePDF.framework/CorePDF
0x32e85000 - 0x32ea5fff  PrintKit armv7   /System/Library/PrivateFrameworks/PrintKit.framework/PrintKit
0x32ea6000 - 0x32ed9fff  AppSupport armv7  <0217468bd9f839229a47910b7816b3d5> /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
0x32edc000 - 0x32edefff  MailServices armv7  <74ae0145ef713c6d91fd8f68885b0a61> /System/Library/PrivateFrameworks/MailServices.framework/MailServices
0x32edf000 - 0x32ee4fff  liblaunch.dylib armv7   /usr/lib/system/liblaunch.dylib
0x32efe000 - 0x32f0bfff  libdispatch.dylib armv7  <9a0511ad5ebc3db898f1f49ed1a73d34> /usr/lib/system/libdispatch.dylib
0x32f13000 - 0x32f18fff  libnotify.dylib armv7  <9d7198e91de9386a9e5ea43608a66a57> /usr/lib/system/libnotify.dylib
0x32f30000 - 0x32fc5fff  ImageIO armv7   /System/Library/Frameworks/ImageIO.framework/ImageIO
0x33060000 - 0x33065fff  libcopyfile.dylib armv7   /usr/lib/system/libcopyfile.dylib
0x330bf000 - 0x330bffff  libdnsinfo.dylib armv7  <21415179ffa03f949fa8cc851c6c31c7> /usr/lib/system/libdnsinfo.dylib
0x330eb000 - 0x331affff  libobjc.A.dylib armv7  <6b51e76fde9f381bb7b3bc5badbfee3a> /usr/lib/libobjc.A.dylib
0x331c6000 - 0x331c6fff  vecLib armv7  <0c60cd0a60f43d2791d36cb357d30e3c> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/vecLib
0x331c7000 - 0x331f0fff  MobileCoreServices armv7  <57fef84bdc17301d8bf53ba0fb967fe6> /System/Library/Frameworks/MobileCoreServices.framework/MobileCoreServices
0x331f6000 - 0x33206fff  DataAccessExpress armv7  <66d9047da79a31daa887e6d84c42ecb2> /System/Library/PrivateFrameworks/DataAccessExpress.framework/DataAccessExpress
0x33207000 - 0x33216fff  UIAccessibility armv7  <414b92afa9713ae092e8b6dd300d4c73> /System/Library/PrivateFrameworks/UIAccessibility.framework/UIAccessibility
0x33217000 - 0x3325efff  MessageUI armv7  <35a81f5d4eb03467a1447db80337e570> /System/Library/Frameworks/MessageUI.framework/MessageUI
0x3325f000 - 0x33265fff  liblockdown.dylib armv7  <14c89b7346433c1f8675f454531f6ca3> /usr/lib/liblockdown.dylib
0x33287000 - 0x333a6fff  Foundation armv7  <09ff368178c5321c9715b9c8d491d53f> /System/Library/Frameworks/Foundation.framework/Foundation
0x333c3000 - 0x33517fff  AudioToolbox armv7  <6619c8c13f8d328e923e797fa8d0df23> /System/Library/Frameworks/AudioToolbox.framework/AudioToolbox
0x3351b000 - 0x33520fff  MobileKeyBag armv7  <8c35c090bc373cb181fc26b961b8dba5> /System/Library/PrivateFrameworks/MobileKeyBag.framework/MobileKeyBag
0x33521000 - 0x3360efff  libiconv.2.dylib armv7   /usr/lib/libiconv.2.dylib
0x3360f000 - 0x3365dfff  GMM armv7  <049361f664eb3f30b0d25cd56ffc1f0f> /System/Library/PrivateFrameworks/GMM.framework/GMM
0x337ce000 - 0x337d1fff  ApplePushService armv7  <015c68c15621348db9f6a012499170e1> /System/Library/PrivateFrameworks/ApplePushService.framework/ApplePushService
0x337d3000 - 0x337e5fff  PersistentConnection armv7  <659ea9d5b13d3fefb37acff09016a69c> /System/Library/PrivateFrameworks/PersistentConnection.framework/PersistentConnection
0x337ef000 - 0x33818fff  ContentIndex armv7   /System/Library/PrivateFrameworks/ContentIndex.framework/ContentIndex
0x33819000 - 0x33828fff  MobileDeviceLink armv7  <563a09bcdb2f32369b1e22f53f58273a> /System/Library/PrivateFrameworks/MobileDeviceLink.framework/MobileDeviceLink
0x339ca000 - 0x33a09fff  libSystem.B.dylib armv7  <33dcf9a403ae3fd5971d6030ada2fcab> /usr/lib/libSystem.B.dylib
0x33a15000 - 0x33abefff  libxml2.2.dylib armv7  <5538d3f2c7d83b88b06168488fe6326b> /usr/lib/libxml2.2.dylib
0x33b81000 - 0x33baffff  MIME armv7  <60de1fe0bbb134d788c09f7c34b1caa4> /System/Library/PrivateFrameworks/MIME.framework/MIME
0x33bb0000 - 0x33cb4fff  JavascriptCore armv7  <61a94142e2d23dafa2964190dd46e9e3> /System/Library/PrivateFrameworks/JavascriptCore.framework/JavascriptCore
0x33cb7000 - 0x33cc0fff  MobileWiFi armv7  <03d98d5cf6383695aa7d8a88da52f410> /System/Library/PrivateFrameworks/MobileWiFi.framework/MobileWiFi
0x33de0000 - 0x33df5fff  libresolv.9.dylib armv7   /usr/lib/libresolv.9.dylib
0x33dfa000 - 0x33e4ffff  libvDSP.dylib armv7  <0221caba81a235c5a896a835e2aac047> /System/Library/Frameworks/Accelerate.framework/Frameworks/vecLib.framework/libvDSP.dylib
0x33e51000 - 0x33f02fff  WebKit armv7   /System/Library/PrivateFrameworks/WebKit.framework/WebKit
0x33f03000 - 0x33f46fff  ManagedConfiguration armv7   /System/Library/PrivateFrameworks/ManagedConfiguration.framework/ManagedConfiguration
0x33f5d000 - 0x33f90fff  StoreServices armv7   /System/Library/PrivateFrameworks/StoreServices.framework/StoreServices
0x3403b000 - 0x34094fff  EventKit armv7  <0d4e597ee229337183e96e921a72e30a> /System/Library/Frameworks/EventKit.framework/EventKit
0x34095000 - 0x34096fff  DataMigration armv7  <42e9e87a4e0735c3837e27d4f2adcf55> /System/Library/PrivateFrameworks/DataMigration.framework/DataMigration
0x340a1000 - 0x340a2fff  libremovefile.dylib armv7   /usr/lib/system/libremovefile.dylib
0x340b4000 - 0x340e9fff  AddressBook armv7  <3f2071a77bc134cd82065eef90d4082f> /System/Library/Frameworks/AddressBook.framework/AddressBook
0x340ea000 - 0x34130fff  CoreLocation armv7   /System/Library/Frameworks/CoreLocation.framework/CoreLocation
0x3413d000 - 0x3413dfff  libCVMSPluginSupport.dylib armv7  <42d8aa2a31843a6e8bfff745644a7ba5> /System/Library/Frameworks/OpenGLES.framework/libCVMSPluginSupport.dylib
0x3413e000 - 0x34147fff  CoreVideo armv7   /System/Library/Frameworks/CoreVideo.framework/CoreVideo
0x3414a000 - 0x34182fff  IOKit armv7  <80ae313ad69d3363935c88e51a11862d> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x34183000 - 0x34199fff  EAP8021X armv7  <9fefc0ada30435fbb3b51818c74f6cb8> /System/Library/PrivateFrameworks/EAP8021X.framework/EAP8021X
0x341ac000 - 0x341c3fff  libsystem_kernel.dylib armv7   /usr/lib/system/libsystem_kernel.dylib
0x341c8000 - 0x34205fff  CoreText armv7   /System/Library/Frameworks/CoreText.framework/CoreText
0x3420a000 - 0x34223fff  libRIP.A.dylib armv7  <4825c3e392983aba947eca06555e4480> /System/Library/Frameworks/CoreGraphics.framework/Resources/libRIP.A.dylib
0x3427e000 - 0x34280fff  libgcc_s.1.dylib armv7   /usr/lib/libgcc_s.1.dylib
0x34281000 - 0x34284fff  libmacho.dylib armv7  <43311c113a9d3182b7d007129819f029> /usr/lib/system/libmacho.dylib
0x34285000 - 0x34293fff  OpenGLES armv7  <5a76beaeaa013f0cbf16e5cb154598ab> /System/Library/Frameworks/OpenGLES.framework/OpenGLES
0x34390000 - 0x34398fff  MobileBluetooth armv7  <63f11756c4aa3262b2317ff3b8e2a977> /System/Library/PrivateFrameworks/MobileBluetooth.framework/MobileBluetooth
0x34399000 - 0x343dffff  CoreTelephony armv7   /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony
0x343e0000 - 0x343e1fff  CoreSurface armv7  <7b83cd757da73e6e826693c29296d3fa> /System/Library/PrivateFrameworks/CoreSurface.framework/CoreSurface
0x345a8000 - 0x34617fff  ProofReader armv7  <6d843c6aecdd37ae84baa40af8ad7e65> /System/Library/PrivateFrameworks/ProofReader.framework/ProofReader
0x3461b000 - 0x34620fff  libsystem_dnssd.dylib armv7   /usr/lib/system/libsystem_dnssd.dylib
0x34621000 - 0x34622fff  libdyld.dylib armv7  <41a7b5e5d9983449ab33affed0f635ad> /usr/lib/system/libdyld.dylib
0x34740000 - 0x347effff  QuartzCore armv7   /System/Library/Frameworks/QuartzCore.framework/QuartzCore
0x34841000 - 0x348cbfff  Message armv7  <2cce1aa95a493906bb0227197f9e4b96> /System/Library/PrivateFrameworks/Message.framework/Message
0x348cc000 - 0x348dcfff  WebBookmarks armv7  <6956561235333e74b8ff316cb2edc93e> /System/Library/PrivateFrameworks/WebBookmarks.framework/WebBookmarks
0x349bb000 - 0x34b07fff  MediaToolbox armv7  <482b13059e8a329fa5d832baede25103> /System/Library/PrivateFrameworks/MediaToolbox.framework/MediaToolbox
0x34b08000 - 0x34b11fff  ITSync armv7   /System/Library/PrivateFrameworks/ITSync.framework/ITSync
0x34e7e000 - 0x34efffff  libsystem_c.dylib armv7   /usr/lib/system/libsystem_c.dylib
0x3505d000 - 0x3509dfff  CoreMedia armv7  <8e0570582ba535bfa74f1f00eef64376> /System/Library/Frameworks/CoreMedia.framework/CoreMedia
0x3509e000 - 0x350a8fff  ExternalAccessory armv7   /System/Library/Frameworks/ExternalAccessory.framework/ExternalAccessory
0x350a9000 - 0x350ebfff  CoreAudio armv7   /System/Library/Frameworks/CoreAudio.framework/CoreAudio
0x3525b000 - 0x3525ffff  libcache.dylib armv7   /usr/lib/system/libcache.dylib
0x3527c000 - 0x35283fff  libMobileGestalt.dylib armv7  <55f29184efcc3046bb833dd72a4487e1> /usr/lib/libMobileGestalt.dylib
0x35284000 - 0x35293fff  Notes armv7   /System/Library/PrivateFrameworks/Notes.framework/Notes
0x352a4000 - 0x352c3fff  Bom armv7   /System/Library/PrivateFrameworks/Bom.framework/Bom
0x35404000 - 0x35408fff  libGFXShared.dylib armv7   /System/Library/Frameworks/OpenGLES.framework/libGFXShared.dylib
0x35419000 - 0x3546afff  libsqlite3.dylib armv7  <8a41cc6a6d9332308bc415d27577fd24> /usr/lib/libsqlite3.dylib
0x3546b000 - 0x35472fff  libbz2.1.0.dylib armv7  <0a082e1d475432959ba93aa3dbf7fb31> /usr/lib/libbz2.1.0.dylib
0x354cf000 - 0x35502fff  QuickLook armv7  <29d2d981d1d6358381f5716ee37314b4> /System/Library/Frameworks/QuickLook.framework/QuickLook
0x35503000 - 0x3553afff  Security armv7  <6599f42a910b3b31a0e1d98c883d61cb> /System/Library/Frameworks/Security.framework/Security
0x3553b000 - 0x3553cfff  libsystem_blocks.dylib armv7   /usr/lib/system/libsystem_blocks.dylib
0x3553d000 - 0x35575fff  libCGFreetype.A.dylib armv7   /System/Library/Frameworks/CoreGraphics.framework/Resources/libCGFreetype.A.dylib
0x35789000 - 0x3578bfff  MobileInstallation armv7  <94b6d6c5d9883175af26764567528127> /System/Library/PrivateFrameworks/MobileInstallation.framework/MobileInstallation
0x357dc000 - 0x357dffff  CaptiveNetwork armv7   /System/Library/PrivateFrameworks/CaptiveNetwork.framework/CaptiveNetwork
0x357e0000 - 0x3581cfff  libGLImage.dylib armv7  <9d97699e44ee3651ba4ac37e5adec35b> /System/Library/Frameworks/OpenGLES.framework/libGLImage.dylib
0x3581d000 - 0x35827fff  AccountSettings armv7   /System/Library/PrivateFrameworks/AccountSettings.framework/AccountSettings
0x35836000 - 0x35880fff  libstdc++.6.dylib armv7   /usr/lib/libstdc++.6.dylib
0x35887000 - 0x35887fff  libsystem_sandbox.dylib armv7   /usr/lib/system/libsystem_sandbox.dylib
0x3588c000 - 0x3588ffff  CertUI armv7  <9060fe03a4943ef295531feced9a17dd> /System/Library/PrivateFrameworks/CertUI.framework/CertUI
0x35890000 - 0x358adfff  libsystem_info.dylib armv7  <48016be86e3f3cd9aeee1c6590e1ac6f> /usr/lib/system/libsystem_info.dylib
0x358e3000 - 0x359ebfff  CoreData armv7  <9843a401dd1d322383e3e40021cc8b95> /System/Library/Frameworks/CoreData.framework/CoreData
0x35a9c000 - 0x35aa3fff  AggregateDictionary armv7   /System/Library/PrivateFrameworks/AggregateDictionary.framework/AggregateDictionary
0x35aa4000 - 0x35af2fff  CoreMotion armv7  <58c353bb7e33361f881da07c72f4cdfb> /System/Library/Frameworks/CoreMotion.framework/CoreMotion
0x35af3000 - 0x35af4fff  libsystem_network.dylib armv7  <39bf0f48bd8539169a77f8f61cdcd4c9> /usr/lib/system/libsystem_network.dylib
0x35af5000 - 0x35af7fff  libAccessibility.dylib armv7   /usr/lib/libAccessibility.dylib
0x35af8000 - 0x35afbfff  IOSurface armv7   /System/Library/PrivateFrameworks/IOSurface.framework/IOSurface
0x35afc000 - 0x35b2ffff  iCalendar armv7  <34ce1957082f3518b5740ac33cfc92eb> /System/Library/PrivateFrameworks/iCalendar.framework/iCalendar
0x35b30000 - 0x35b30fff  Accelerate armv7  <7d5ad465049136afaa1f0d89aac600bc> /System/Library/Frameworks/Accelerate.framework/Accelerate
0x35d32000 - 0x35df1fff  CFNetwork armv7   /System/Library/Frameworks/CFNetwork.framework/CFNetwork
0x35fd4000 - 0x36003fff  SystemConfiguration armv7  <1d73b8a159363f96bb9c039655c5eae6> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration
0x36004000 - 0x36024fff  AppleAccount armv7  <4e0ac5cf93b338ab8c5f34ba3c5e2ee4> /System/Library/PrivateFrameworks/AppleAccount.framework/AppleAccount
0x36025000 - 0x3602bfff  ProtocolBuffer armv7   /System/Library/PrivateFrameworks/ProtocolBuffer.framework/ProtocolBuffer
0x3602c000 - 0x36637fff  WebCore armv7  <07941e59d0a33f94802c16c76238fddf> /System/Library/PrivateFrameworks/WebCore.framework/WebCore
0x36644000 - 0x36650fff  AXRuntime armv7  <6698f47f8d1732579ebd62fff9c35035> /System/Library/PrivateFrameworks/AXRuntime.framework/AXRuntime
0x36970000 - 0x36983fff  libmis.dylib armv7  <529ea6e3a87230ce9f6cf3285c22429c> /usr/lib/libmis.dylib
0x36994000 - 0x36a79fff  CoreFoundation armv7   /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x36a91000 - 0x36b37fff  Celestial armv7  <7fbd02fa664b33babaf0327c320d1491> /System/Library/PrivateFrameworks/Celestial.framework/Celestial
0x36bbb000 - 0x36bcdfff  VoiceServices armv7   /System/Library/PrivateFrameworks/VoiceServices.framework/VoiceServices
0x36bfe000 - 0x36c04fff  IAP armv7   /System/Library/PrivateFrameworks/IAP.framework/IAP
0x36c29000 - 0x36c36fff  libbsm.0.dylib armv7  <0a1e2bb78d5138419ecad8ba0fe42fdd> /usr/lib/libbsm.0.dylib
0x36cd3000 - 0x36df4fff  CoreGraphics armv7  <65f6c8701b563542820a26b0dfc4f6a4> /System/Library/Frameworks/CoreGraphics.framework/CoreGraphics

One thing I tried was suspending all threads except the main thread with the debugger. This works to prevent crashes until the system starts another thread.

我尝试的一件事是暂停所有线程,除了主线程和调试器。这可以防止崩溃,直到系统启动另一个线程。

Notes:

注:

  • My program doesn't run any background threads that could cause this.
  • 我的程序没有运行任何可能导致这个的后台线程。
  • Fitting the plots immediately after pinching the graph to zoom causes it to crash around a third of the time while fitting the plots when the app has been idle for some time rarely causes a crash.
  • 将图缩放后立即拟合,使其在三分之一的时间内发生崩溃,而当应用程序闲置一段时间后,却很少会导致崩溃。
  • It doesn't crash on the Simulator. Only the device.
  • 它不会在模拟器上崩溃。只有设备。

Is this a known bug with CorePlot? Any help would be appreciated.

这是CorePlot的已知缺陷吗?如有任何帮助,我们将不胜感激。


EDIT: My app sets the global x and y range of the plot space to nil immediately before calling scaleToFitPlots: (So that is can fit a to plots outside the current global range). When I remove this, the app no longer crashes.

编辑:我的应用程序在调用scaletofitplot之前,将plot空间的全局x和y范围设置为nil:(这样就可以在当前全局范围之外设置一个图了)。当我删除它时,应用程序不再崩溃。

Is this a bug with CorePlot? How could I work around this? (I still need to limit user zooming with pinch gestures)

这是一个带CorePlot的小虫吗?我怎么能解决这个问题呢?(我仍然需要限制用户缩放手势)

1 个解决方案

#1


0  

Upgrade to Core Plot 0.4.

升级到核心图0.4。

I no longer get this crash after I upgraded to 0.4. http://code.google.com/p/core-plot/downloads/list?can=2&q=&sort=-uploaded&colspec=Filename%20Summary%20Uploaded%20ReleaseDate%20Size%20DownloadCount

在我升级到0.4之后,我不再有这次崩溃。http://code.google.com/p/core-plot/downloads/list?can=2&q=&sort=-uploaded&colspec=Filename%20Summary%20Uploaded%20ReleaseDate%20Size%20DownloadCount


推荐阅读
  • 本文详细解析了Python中的os和sys模块,介绍了它们的功能、常用方法及其在实际编程中的应用。 ... [详细]
  • 本文详细介绍了macOS系统的核心组件,包括如何管理其安全特性——系统完整性保护(SIP),并探讨了不同版本的更新亮点。对于使用macOS系统的用户来说,了解这些信息有助于更好地管理和优化系统性能。 ... [详细]
  • 本文介绍了如何通过 Maven 依赖引入 SQLiteJDBC 和 HikariCP 包,从而在 Java 应用中高效地连接和操作 SQLite 数据库。文章提供了详细的代码示例,并解释了每个步骤的实现细节。 ... [详细]
  • Scala 实现 UTF-8 编码属性文件读取与克隆
    本文介绍如何使用 Scala 以 UTF-8 编码方式读取属性文件,并实现属性文件的克隆功能。通过这种方式,可以确保配置文件在多线程环境下的一致性和高效性。 ... [详细]
  • 毕业设计:基于机器学习与深度学习的垃圾邮件(短信)分类算法实现
    本文详细介绍了如何使用机器学习和深度学习技术对垃圾邮件和短信进行分类。内容涵盖从数据集介绍、预处理、特征提取到模型训练与评估的完整流程,并提供了具体的代码示例和实验结果。 ... [详细]
  • 本文介绍如何通过创建替代插入触发器,使对视图的插入操作能够正确更新相关的基本表。涉及的表包括:飞机(Aircraft)、员工(Employee)和认证(Certification)。 ... [详细]
  • 高效解决应用崩溃问题!友盟新版错误分析工具全面升级
    友盟推出的最新版错误分析工具,专为移动开发者设计,提供强大的Crash收集与分析功能。该工具能够实时监控App运行状态,快速发现并修复错误,显著提升应用的稳定性和用户体验。 ... [详细]
  • 在维护公司项目时,发现按下手机的某个物理按键后会激活相应的服务,并在屏幕上模拟点击特定坐标点。本文详细介绍了如何使用ADB Shell Input命令来模拟各种输入事件,包括滑动、按键和点击等。 ... [详细]
  • MySQL 数据库迁移指南:从本地到远程及磁盘间迁移
    本文详细介绍了如何在不同场景下进行 MySQL 数据库的迁移,包括从一个硬盘迁移到另一个硬盘、从一台计算机迁移到另一台计算机,以及解决迁移过程中可能遇到的问题。 ... [详细]
  • 解决Element UI中Select组件创建条目为空时报错的问题
    本文介绍如何在Element UI的Select组件中使用allow-create属性创建新条目,并处理创建条目为空时出现的错误。我们将详细说明filterable属性的必要性,以及default-first-option属性的作用。 ... [详细]
  • 本教程涵盖OpenGL基础操作及直线光栅化技术,包括点的绘制、简单图形绘制、直线绘制以及DDA和中点画线算法。通过逐步实践,帮助读者掌握OpenGL的基本使用方法。 ... [详细]
  • 本文详细介绍了 MySQL 中 LAST_INSERT_ID() 函数的使用方法及其工作原理,包括如何获取最后一个插入记录的自增 ID、多行插入时的行为以及在不同客户端环境下的表现。 ... [详细]
  • 本文详细探讨了JDBC(Java数据库连接)的内部机制,重点分析其作为服务提供者接口(SPI)框架的应用。通过类图和代码示例,展示了JDBC如何注册驱动程序、建立数据库连接以及执行SQL查询的过程。 ... [详细]
  • MySQL索引详解与优化
    本文深入探讨了MySQL中的索引机制,包括索引的基本概念、优势与劣势、分类及其实现原理,并详细介绍了索引的使用场景和优化技巧。通过具体示例,帮助读者更好地理解和应用索引以提升数据库性能。 ... [详细]
  • 本题探讨如何通过最大流算法解决农场排水系统的设计问题。题目要求计算从水源点到汇合点的最大水流速率,使用经典的EK(Edmonds-Karp)和Dinic算法进行求解。 ... [详细]
author-avatar
碧桃玉李
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有