ibireme / YYCache

High performance cache framework for iOS.
MIT License
2.38k stars 514 forks source link

-[YYKVStorage _dbClose] (YYKVStorage.m:133) SIGSEGV crash #133

Open kobe1941 opened 6 years ago

kobe1941 commented 6 years ago

image

iPhone 6 Plus iOS 9.2.1 (13D15) YYCache 1.0.4版本

klaus01 commented 2 years ago

最近两三个月我们的 App 也出现这个堆栈卡死的问题。 iPhone 12 Pro Max iOS 15.6 YYCache 1.0.4

Thread 0 name:  com.apple.main-thread
libsystem_kernel.dylib    ___unlink (in libsystem_kernel.dylib)
libsystem_kernel.dylib    _unlink (in libsystem_kernel.dylib)
longbridge-ios-app    unixDelete (in longbridge-ios-app:os_unix.c:6009)
longbridge-ios-app    sqlite3WalClose (in longbridge-ios-app:wal.c:1987)
longbridge-ios-app    sqlite3PagerClose (in longbridge-ios-app:pager.c:4044)
longbridge-ios-app    sqlite3BtreeClose (in longbridge-ios-app:btree.c:2540)
longbridge-ios-app    sqlite3LeaveMutexAndCloseZombie (in longbridge-ios-app:main.c:1134)
longbridge-ios-app    sqlite3Close (in longbridge-ios-app:main.c:1077)
longbridge-ios-app    -[YYKVStorage _dbClose] (in longbridge-ios-app:YYKVStorage.m:132)
longbridge-ios-app    -[YYKVStorage dealloc] (in longbridge-ios-app:YYKVStorage.m:731)
longbridge-ios-app    -[YYDiskCache _appWillBeTerminated] (in longbridge-ios-app:YYDiskCache.m:155)
CoreFoundation    ___CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ (in CoreFoundation)
CoreFoundation    ____CFXRegistrationPost_block_invoke (in CoreFoundation)
CoreFoundation    __CFXRegistrationPost (in CoreFoundation)
CoreFoundation    __CFXNotificationPost (in CoreFoundation)
Foundation    -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation)
longbridge-ios-app    -[NSNotificationCenter(_a65afc19) _a65afc19_postNotificationName:object:userInfo:] (in longbridge-ios-app:LBNotificationCenterUtils.m:40)
UIKitCore    -[UIApplication _terminateWithStatus:] (in UIKitCore)
UIKitCore    -[_UISceneLifecycleMultiplexer _evalTransitionToSettings:fromSettings:forceExit:withTransitionStore:] (in UIKitCore)
UIKitCore    -[_UISceneLifecycleMultiplexer forceExitWithTransitionContext:scene:] (in UIKitCore)
UIKitCore    -[UIApplication workspaceShouldExit:withTransitionContext:] (in UIKitCore)
FrontBoardServices    ___63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke_2 (in FrontBoardServices)
FrontBoardServices    -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] (in FrontBoardServices)
FrontBoardServices    ___63-[FBSWorkspaceScenesClient willTerminateWithTransitionContext:]_block_invoke (in FrontBoardServices)
libdispatch.dylib    __dispatch_client_callout (in libdispatch.dylib)
libdispatch.dylib    __dispatch_block_invoke_direct (in libdispatch.dylib)
FrontBoardServices    ___FBSSERIALQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ (in FrontBoardServices)
FrontBoardServices    -[FBSSerialQueue _targetQueue_performNextIfPossible] (in FrontBoardServices)
FrontBoardServices    -[FBSSerialQueue _performNextFromRunLoopSource] (in FrontBoardServices)
CoreFoundation    ___CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ (in CoreFoundation)
CoreFoundation    ___CFRunLoopDoSource0 (in CoreFoundation)
CoreFoundation    ___CFRunLoopDoSources0 (in CoreFoundation)
CoreFoundation    ___CFRunLoopRun (in CoreFoundation)
CoreFoundation    _CFRunLoopRunSpecific (in CoreFoundation)
GraphicsServices    _GSEventRunModal (in GraphicsServices)
UIKitCore    -[UIApplication _run] (in UIKitCore)
UIKitCore    _UIApplicationMain (in UIKitCore)
longbridge-ios-app    main (in longbridge-ios-app:main.m:22)
dyld    start (in dyld)