Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8.2.0 still crash #2769

Closed
shenyinghao opened this issue Mar 8, 2023 · 14 comments
Closed

8.2.0 still crash #2769

shenyinghao opened this issue Mar 8, 2023 · 14 comments

Comments

@shenyinghao
Copy link

shenyinghao commented Mar 8, 2023

Platform

iOS

Installed

CocoaPods

Version

8.2.0

Steps to Reproduce

libobjc.A.dylib
objc_release_x0 + 16
1
libobjc.A.dylib
objc_release + 16
2

SentryDispatchQueueWrapper.m - 第 68 行
-[SentryDispatchQueueWrapper dispatchAfter:block:] + 68
3

SentryTracer.m - 第 223 行
-[SentryTracer dispatchIdleTimeout] + 223
4

SentryTracer.m - 第 354 行
-[SentryTracer spanFinished:] + 354
5

SentrySpan.m - 第 157 行
-[SentrySpan finishWithStatus:] + 157
6

SentryNetworkTracker.m - 第 290 行
-[SentryNetworkTracker urlSessionTask:setState:] + 290
7

SentryNetworkTrackingIntegration.m - 第 72 行
__57+[SentryNetworkTrackingIntegration swizzleURLSessionTask]_block_invoke_2.27 + 72

Expected Result

no crash

Actual Result

There are many crashes. Please solve this problem as soon as possible. Currently, the crashes caused by sentry SDK account for 90%

Are you willing to submit a PR?

No response

@brustolin
Copy link
Contributor

Hello @shenyinghao. Do you have a reliable way to reproduce this error? Can you share you us some code?

@shenyinghao
Copy link
Author

shenyinghao commented Mar 9, 2023

Hello @shenyinghao. Do you have a reliable way to reproduce this error? Can you share you us some code?

This is an online problem. Only the online crash log I fed back above did not recur during the development process, but there are many online crashes. Please help me check it

@brustolin
Copy link
Contributor

Thanks @shenyinghao.
Does Sentry captures this crash?
If so, can you send the event json to dhiogo.brustolin (at) sentry.io it would help a lot.

@shenyinghao
Copy link
Author

0
libobjc.A.dylib
objc_retain + 16
1

SentryDispatchQueueWrapper.m - 第 59 行
-[SentryDispatchQueueWrapper dispatchAfter:block:] + 59
2

SentryTracer.m - 第 223 行
-[SentryTracer dispatchIdleTimeout] + 223
3

SentryTracer.m - 第 354 行
-[SentryTracer spanFinished:] + 354
4

SentrySpan.m - 第 157 行
-[SentrySpan finishWithStatus:] + 157
5

SentryNSDataTracker.m - 第 257 行
-[SentryNSDataTracker finishTrackingNSData:span:] + 257
6

SentryNSDataTracker.m - 第 88 行
-[SentryNSDataTracker measureNSData:writeToFile:options:error:method:] + 88
7

SentryNSDataSwizzling.m - 第 82 行
__38+[SentryNSDataSwizzling swizzleNSData]_block_invoke_2.35 + 82
8
libswiftFoundation.dylib
closure #1 in Data.write(to:options:) + 192
11
libswiftFoundation.dylib
Data.write(to:options:) + 96
12

DiskStorage.swift - 第 150 行
specialized DiskStorage.Backend.store(value:forKey:expiration:writeOptions:) + 150
13

ImageCache.swift - 第 418 行
ImageCache.syncStoreToDisk(_:forKey:processorIdentifier:callbackQueue:expiration:writeOptions:completionHandler:) + 418
14

ImageCache.swift - 第 320 行
closure #2 in ImageCache.store(_:original:forKey:options:toDisk:completionHandler:) + 320
15

- 第 1922980 行
partial apply for closure #2 in ImageCache.store(_:original:forKey:options:toDisk:completionHandler:) + 1922980
23
libsystem_pthread.dylib
start_wqthread + 8

@shenyinghao
Copy link
Author

This is the most detailed record. Although the sentry platform has not found the report of this problem, I have this problem in the firebase-bug statistics

@shenyinghao
Copy link
Author

I believe you have solved some problems, but this problem still exists in version 8.2.0

已崩溃:com.apple.NSURLSession-work
SIGSEGV 0x0000000b8b31a390
0
libobjc.A.dylib
objc_release + 16
1

SentryDispatchQueueWrapper.m - 第 68 行
-[SentryDispatchQueueWrapper dispatchAfter:block:] + 68
2

SentryTracer.m - 第 223 行
-[SentryTracer dispatchIdleTimeout] + 223
3

SentryTracer.m - 第 354 行
-[SentryTracer spanFinished:] + 354
4
SentrySpan.m - 第 157 行
-[SentrySpan finishWithStatus:] + 157
5

SentryNetworkTracker.m - 第 290 行
-[SentryNetworkTracker urlSessionTask:setState:] + 290
6

SentryNetworkTrackingIntegration.m - 第 72 行
__57+[SentryNetworkTrackingIntegration swizzleURLSessionTask]_block_invoke_2.27 + 72
7
CFNetwork
_CFHTTPMessageSetResponseProxyURL + 5104
23
libsystem_pthread.dylib
start_wqthread + 8

@philipphofmann
Copy link
Member

Again @shenyinghao, please give us the error message of the crash.

@shenyinghao
Copy link
Author

shenyinghao commented Mar 15, 2023

Crashlytics - Stack trace

Application: com.shop.identifier

Platform: apple

Version: 2.6.5 (1102)

Issue: 41ad00d3fc1074a584df9bd6d8e068cf

Session: 4d919e7f71ba43448772aaa4782d89d7_DNE_0_v2

Date: Wed Mar 15 2023 06:47:32 GMT+0800

com.apple.main-thread
0 libsystem_kernel.dylib 0x14a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1ae4 mach_msg + 76
2 CoreFoundation 0x6d30 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0xb1bc __CFRunLoopRun + 1180
4 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
5 GraphicsServices 0x1374 GSEventRunModal + 164
6 UIKitCore 0x514648 -[UIApplication run] + 1100
7 UIKitCore 0x295d90 UIApplicationMain + 364
8 libswiftUIKit.dylib 0x30ecc UIApplicationMain(
:::_:) + 104
9 0x6814 main + 4343162900 (OrderReviewSubmitProxy.swift:4343162900)
10 ??? 0x107475ce4 (缺少)

com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x14a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1ae4 mach_msg + 76
2 CoreFoundation 0x6d30 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0xb1bc __CFRunLoopRun + 1180
4 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
5 Foundation 0x19464 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236
6 Foundation 0x5ae2c -[NSRunLoop(NSRunLoop) runUntilDate:] + 92
7 UIKitCore 0x48e770 -[UIEventFetcher threadMain] + 524
8 Foundation 0x6943c NSThread__start + 808
9 libsystem_pthread.dylib 0x19ac _pthread_start + 148
10 libsystem_pthread.dylib 0xe68 thread_start + 8

com..base.central-task-thread
0 libsystem_kernel.dylib 0x14a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1ae4 mach_msg + 76
2 CoreFoundation 0x6d30 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0xb1bc __CFRunLoopRun + 1180
4 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
5 Foundation 0x19464 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 236
6 Foundation 0x19c20 -[NSRunLoop(NSRunLoop) run] + 92
7 0xd9f4 CentralTaskQueue.threadEntrance() + 4343192052 (:4343192052)
8 0xd86c @objc CentralTaskQueue.threadEntrance() + 4343191660 (:4343191660)
9 Foundation 0x6943c NSThread__start + 808
10 libsystem_pthread.dylib 0x19ac _pthread_start + 148
11 libsystem_pthread.dylib 0xe68 thread_start + 8

KSCrash Exception Handler (Secondary)
0 libsystem_kernel.dylib 0x14a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1ae4 mach_msg + 76
2 libsystem_kernel.dylib 0xda44 thread_suspend + 96
3 0xabec24 ksmachexc_i_handleExceptions + 222 (BSG_KSCrashSentry_MachException.c:222)
4 libsystem_pthread.dylib 0x19ac _pthread_start + 148
5 libsystem_pthread.dylib 0xe68 thread_start + 8

KSCrash Exception Handler (Primary)
0 libsystem_kernel.dylib 0x14a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1ae4 mach_msg + 76
2 0xabec58 ksmachexc_i_handleExceptions + 229 (BSG_KSCrashSentry_MachException.c:229)
3 libsystem_pthread.dylib 0x19ac _pthread_start + 148
4 libsystem_pthread.dylib 0xe68 thread_start + 8

com.bugsnag.app-hang-detector
0 libsystem_kernel.dylib 0x14dc semaphore_wait_trap + 8
1 libdispatch.dylib 0x3fcc _dispatch_sema4_wait + 28
2 libdispatch.dylib 0x4674 _dispatch_semaphore_wait_slow + 132
3 0x21f58 -[BSGAppHangDetector detectAppHangs] + 126 (BSGAppHangDetector.m:126)
4 0x21ed8 DetectAppHangs + 217 (BSGAppHangDetector.m:217)
5 libsystem_pthread.dylib 0x19ac _pthread_start + 148
6 libsystem_pthread.dylib 0xe68 thread_start + 8

com.apple.CFNetwork.CustomProtocols
0 libsystem_kernel.dylib 0x14a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1ae4 mach_msg + 76
2 CoreFoundation 0x6d30 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0xb1bc __CFRunLoopRun + 1180
4 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
5 CFNetwork 0x27823c _CFURLStorageSessionDisableCache + 60032
6 Foundation 0x6943c NSThread__start + 808
7 libsystem_pthread.dylib 0x19ac _pthread_start + 148
8 libsystem_pthread.dylib 0xe68 thread_start + 8

com.google.firebase.crashlytics.MachExceptionServer
0 libsystem_kernel.dylib 0x14a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1ae4 mach_msg + 76
2 0xb889b8 FIRCLSMachExceptionServer + 192 (FIRCLSMachException.c:192)
3 libsystem_pthread.dylib 0x19ac _pthread_start + 148
4 libsystem_pthread.dylib 0xe68 thread_start + 8

com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x14a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1ae4 mach_msg + 76
2 CoreFoundation 0x6d30 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0xb1bc __CFRunLoopRun + 1180
4 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
5 CFNetwork 0x27823c _CFURLStorageSessionDisableCache + 60032
6 Foundation 0x6943c NSThread__start + 808
7 libsystem_pthread.dylib 0x19ac _pthread_start + 148
8 libsystem_pthread.dylib 0xe68 thread_start + 8

Thread
0 libsystem_kernel.dylib 0x1a2c __semwait_signal + 8
1 libsystem_c.dylib 0x50e4 nanosleep + 220
2 libsystem_c.dylib 0x19388 sleep + 52
3 0xe756d0 monitorCachedData + 144 (SentryCrashCachedData.c:144)
4 libsystem_pthread.dylib 0x19ac _pthread_start + 148
5 libsystem_pthread.dylib 0xe68 thread_start + 8

SentryCrash Exception Handler (Secondary)
0 libsystem_kernel.dylib 0x14a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1ae4 mach_msg + 76
2 0xe814f8 handleExceptions + 315 (SentryCrashMonitor_MachException.c:315)
3 libsystem_pthread.dylib 0x19ac _pthread_start + 148
4 libsystem_pthread.dylib 0xe68 thread_start + 8

io.sentry.app-hang-tracker
0 libsystem_kernel.dylib 0x1a2c __semwait_signal + 8
1 libsystem_c.dylib 0x50e4 nanosleep + 220
2 Foundation 0x7bd08 +[NSThread sleepForTimeInterval:] + 160
3 0xe663f8 -[SentryANRTracker detectANRs] + 98 (SentryANRTracker.m:98)
4 Foundation 0x6943c NSThread__start + 808
5 libsystem_pthread.dylib 0x19ac _pthread_start + 148
6 libsystem_pthread.dylib 0xe68 thread_start + 8

AVAudioSession Notify Thread
0 libsystem_kernel.dylib 0x14a0 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x1ae4 mach_msg + 76
2 CoreFoundation 0x6d30 __CFRunLoopServiceMachPort + 372
3 CoreFoundation 0xb1bc __CFRunLoopRun + 1180
4 CoreFoundation 0x1ebc8 CFRunLoopRunSpecific + 600
5 AudioSession 0x6f04 CADeprecated::GenericRunLoopThread::Entry(void*) + 164
6 AudioSession 0x108f0 CADeprecated::CAPThread::Entry(CADeprecated::CAPThread*) + 92
7 libsystem_pthread.dylib 0x19ac _pthread_start + 148
8 libsystem_pthread.dylib 0xe68 thread_start + 8

Thread
0 libsystem_kernel.dylib 0x1a74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1108 _pthread_wqthread + 364
2 libsystem_pthread.dylib 0xe5c start_wqthread + 8

Crashed: com.apple.NSURLSession-work
0 libobjc.A.dylib 0x3180 objc_release + 16
1 0xe94e00 -[SentryDispatchQueueWrapper dispatchAfter:block:] + 68 (SentryDispatchQueueWrapper.m:68)
2 0xecd98c -[SentryTracer dispatchIdleTimeout] + 223 (SentryTracer.m:223)
3 0xece620 -[SentryTracer spanFinished:] + 354 (SentryTracer.m:354)
4 0xec66c0 -[SentrySpan finishWithStatus:] + 157 (SentrySpan.m:157)
5 0xeaa864 -[SentryNetworkTracker urlSessionTask:setState:] + 290 (SentryNetworkTracker.m:290)
6 0xeabfe8 __57+[SentryNetworkTrackingIntegration swizzleURLSessionTask]_block_invoke_2.27 + 72 (SentryNetworkTrackingIntegration.m:72)
7 CFNetwork 0xed74 _CFNetworkErrorGetLocalizedRecoverySuggestion + 4464
8 CFNetwork 0xa004 CFHTTPCookieCopyDomain + 656
9 CFNetwork 0x44590 _CFNetworkCopyATSContext + 1048
10 CFNetwork 0xa67c CFHTTPCookieCopyDomain + 2312
11 CFNetwork 0xa588 CFHTTPCookieCopyDomain + 2068
12 libdispatch.dylib 0x12830 _dispatch_block_async_invoke2 + 148
13 libdispatch.dylib 0x3a30 _dispatch_client_callout + 20
14 libdispatch.dylib 0xb124 _dispatch_lane_serial_drain + 668
15 libdispatch.dylib 0xbcb4 _dispatch_lane_invoke + 444
16 libdispatch.dylib 0x16500 _dispatch_workloop_worker_thread + 648
17 libsystem_pthread.dylib 0x10bc _pthread_wqthread + 288
18 libsystem_pthread.dylib 0xe5c start_wqthread + 8

Thread
0 libsystem_kernel.dylib 0x1a74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1108 _pthread_wqthread + 364
2 libsystem_pthread.dylib 0xe5c start_wqthread + 8

Thread
0 libsystem_kernel.dylib 0x1a74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1108 _pthread_wqthread + 364
2 libsystem_pthread.dylib 0xe5c start_wqthread + 8

Thread
0 libsystem_kernel.dylib 0x1a74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1108 _pthread_wqthread + 364
2 libsystem_pthread.dylib 0xe5c start_wqthread + 8

com.google.GDTCORFlatFileStorage
0 libsystem_kernel.dylib 0x2eb4 write + 8
1 Foundation 0x533cc _NSWriteToFileDescriptorWithProgress + 240
2 Foundation 0x412b4 ___NSWriteDataToFileWithExtendedAttributes_block_invoke + 80
3 Foundation 0x393a0 -[NSData(NSData) enumerateByteRangesUsingBlock:] + 136
4 Foundation 0x3d6c8 _NSWriteDataToFileWithExtendedAttributes + 672
5 0xeacb28 __38+[SentryNSDataSwizzling swizzleNSData]_block_invoke_3.36 + 82 (SentryNSDataSwizzling.m:82)
6 0xead3f0 -[SentryNSDataTracker measureNSData:writeToFile:options:error:method:] + 81 (SentryNSDataTracker.m:81)
7 0xeaca94 __38+[SentryNSDataSwizzling swizzleNSData]_block_invoke_2.35 + 82 (SentryNSDataSwizzling.m:82)
8 0x87bc0 GDTCORWriteDataToFile + 295 (GDTCORPlatform.m:295)
9 0xbe55a0 __47-[GDTCORFlatFileStorage storeEvent:onComplete:]_block_invoke.42 + 171 (GDTCORFlatFileStorage.m:171)
10 libdispatch.dylib 0x1e6c _dispatch_call_block_and_release + 32
11 libdispatch.dylib 0x3a30 _dispatch_client_callout + 20
12 libdispatch.dylib 0xb124 _dispatch_lane_serial_drain + 668
13 libdispatch.dylib 0xbc80 _dispatch_lane_invoke + 392
14 libdispatch.dylib 0x16500 _dispatch_workloop_worker_thread + 648
15 libsystem_pthread.dylib 0x10bc _pthread_wqthread + 288
16 libsystem_pthread.dylib 0xe5c start_wqthread + 8

Thread
0 libsystem_kernel.dylib 0x1a74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1108 _pthread_wqthread + 364
2 libsystem_pthread.dylib 0xe5c start_wqthread + 8

Thread
0 libsystem_kernel.dylib 0x1a74 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x1108 _pthread_wqthread + 364
2 libsystem_pthread.dylib 0xe5c start_wqthread + 8

@philipphofmann philipphofmann moved this from Needs Discussion to Needs More Information in Mobile & Cross Platform SDK Mar 15, 2023
@philipphofmann
Copy link
Member

philipphofmann commented Mar 15, 2023

@shenyinghao, I still need to get the error message. An example would be

EXC_BAD_ACCESS
crash > crash: > dyld_v1  arm64e > objectAtIndex: >
Attempted to dereference null pointer.

or

SIGABRT
Double free of object %p
 > xctest(11925,0x700000e2c000) malloc: Double free of object 0x7fad38b72700

@wxhzzsf
Copy link

wxhzzsf commented Mar 20, 2023

Here are several error messages for the crash:

Crashed:com.onevcat.Kingfisher.ImageCache.ioQueue.E9E8B081-6F5D-456A-ACDC-0564F1830074
SIGSEGV 0x0000000000000008
Crashed:com.onevcat.Kingfisher.ImageCache.ioQueue.57B7333E-E090-4F20-AC31-2D14CB44C41A
SIGSEGV 0x00000007547665c0
Crashed: com.google. GDTCORFlatFileStorage
SIGSEGV 0x00000003dabf13d0

@philipphofmann
Copy link
Member

@wxhzzsf, I don't understand why you think your error messages relate to this crash, as they don't point to Sentry. The stacktraces of @shenyinghao point all to the following location.

1 0xe94e00 -[SentryDispatchQueueWrapper dispatchAfter:block:] + 68 (SentryDispatchQueueWrapper.m:68)
2 0xecd98c -[SentryTracer dispatchIdleTimeout] + 223 (SentryTracer.m:223)
3 0xece620 -[SentryTracer spanFinished:] + 354 (SentryTracer.m:354)
4 0xec66c0 -[SentrySpan finishWithStatus:] + 157 (SentrySpan.m:157)
5 0xeaa864 -[SentryNetworkTracker urlSessionTask:setState:] + 290 (SentryNetworkTracker.m:290)
6 0xeabfe8 __57+[SentryNetworkTrackingIntegration swizzleURLSessionTask]_block_invoke_2.27 + 72 (SentryNetworkTrackingIntegration.m:72)

Can you please share some stacktraces, including the error message, @wxhzzsf?

@wxhzzsf
Copy link

wxhzzsf commented Mar 21, 2023

Crashed: com.google.GDTCORFlatFileStorage
SIGSEGV 0x0000da0215259a50
Crashed: com.google.GDTCORFlatFileStorage
0  libobjc.A.dylib                0x1c20 objc_msgSend + 32
1  libobjc.A.dylib                0x1cb30 objc_object::sidetable_release(bool, bool) + 292
2  CIDER                          0xe9e360 -[SentryDispatchQueueWrapper dispatchAfter:block:] + 68 (SentryDispatchQueueWrapper.m:68)
3  CIDER                          0xed8008 -[SentryTracer dispatchIdleTimeout] + 228 (SentryTracer.m:228)
4  CIDER                          0xed8cc8 -[SentryTracer spanFinished:] + 360 (SentryTracer.m:360)
5  CIDER                          0xed0eac -[SentrySpan finishWithStatus:] + 156 (SentrySpan.m:156)
6  CIDER                          0xeb82fc -[SentryNSDataTracker finishTrackingNSData:span:] + 257 (SentryNSDataTracker.m:257)
7  CIDER                          0xeb7604 -[SentryNSDataTracker measureNSData:writeToFile:options:error:method:] + 88 (SentryNSDataTracker.m:88)
8  CIDER                          0xeb6c80 __38+[SentryNSDataSwizzling swizzleNSData]_block_invoke_2.35 + 82 (SentryNSDataSwizzling.m:82)
9  CIDER                          0x87eb0 GDTCORWriteDataToFile + 295 (GDTCORPlatform.m:295)
10 CIDER                          0xbef5b0 __47-[GDTCORFlatFileStorage storeEvent:onComplete:]_block_invoke.42 + 171 (GDTCORFlatFileStorage.m:171)
11 libdispatch.dylib              0x2460 _dispatch_call_block_and_release + 32
12 libdispatch.dylib              0x3f88 _dispatch_client_callout + 20
13 libdispatch.dylib              0xb640 _dispatch_lane_serial_drain + 672
14 libdispatch.dylib              0xc18c _dispatch_lane_invoke + 384
15 libdispatch.dylib              0x16e10 _dispatch_workloop_worker_thread + 652
16 libsystem_pthread.dylib        0xdf8 _pthread_wqthread + 288
17 libsystem_pthread.dylib        0xb98 start_wqthread + 8

@wxhzzsf
Copy link

wxhzzsf commented Mar 21, 2023

Crashed:com.onevcat.Kingfisher.ImageCache.ioQueue.DB207702-CEFF-4A61-9858-B90C4CE326AF
SIGSEGV 0x000000095e06cc60
Crashed: com.onevcat.Kingfisher.ImageCache.ioQueue.DB207702-CEFF-4A61-9858-B90C4CE326AF
0  libobjc.A.dylib                0x3554 objc_release_x0 + 16
1  libobjc.A.dylib                0x3554 objc_release + 16
2  CIDER                          0xe801bc -[SentryDispatchQueueWrapper dispatchAfter:block:] + 68 (SentryDispatchQueueWrapper.m:68)
3  CIDER                          0xeb8c6c -[SentryTracer dispatchIdleTimeout] + 223 (SentryTracer.m:223)
4  CIDER                          0xeb9760 -[SentryTracer spanFinished:] + 344 (SentryTracer.m:344)
5  CIDER                          0xeb1abc -[SentrySpan finishWithStatus:] + 149 (SentrySpan.m:149)
6  CIDER                          0xe994cc -[SentryNSDataTracker finishTrackingNSData:span:] + 257 (SentryNSDataTracker.m:257)
7  CIDER                          0xe987d4 -[SentryNSDataTracker measureNSData:writeToFile:options:error:method:] + 88 (SentryNSDataTracker.m:88)
8  CIDER                          0xe97e50 __38+[SentryNSDataSwizzling swizzleNSData]_block_invoke_2.35 + 82 (SentryNSDataSwizzling.m:82)
9  Foundation                     0x417b9c specialized __DataStorage.withInteriorPointerReference<A>(_:_:) + 192
10 Foundation                     0x420b70 specialized Data._Representation.withInteriorPointerReference<A>(_:) + 432
11 Foundation                     0x424b08 Data.write(to:options:) + 68
12 CIDER                          0xc7cc84 specialized DiskStorage.Backend.store(value:forKey:expiration:writeOptions:) + 150 (DiskStorage.swift:150)
13 CIDER                          0xc813cc ImageCache.syncStoreToDisk(_:forKey:processorIdentifier:callbackQueue:expiration:writeOptions:completionHandler:) + 418 (ImageCache.swift:418)
14 CIDER                          0xc80e10 closure #2 in ImageCache.store(_:original:forKey:options:toDisk:completionHandler:) + 320 (ImageCache.swift:320)
15 CIDER                          0xc888c0 partial apply for closure #2 in ImageCache.store(_:original:forKey:options:toDisk:completionHandler:) + 1862616 (<compiler-generated>:1862616)
16 CIDER                          0x11070 thunk for @escaping @callee_guaranteed () -> () + 4329689200 (<compiler-generated>:4329689200)
17 libdispatch.dylib              0x2460 _dispatch_call_block_and_release + 32
18 libdispatch.dylib              0x3f88 _dispatch_client_callout + 20
19 libdispatch.dylib              0xb640 _dispatch_lane_serial_drain + 672
20 libdispatch.dylib              0xc18c _dispatch_lane_invoke + 384
21 libdispatch.dylib              0x16e10 _dispatch_workloop_worker_thread + 652
22 libsystem_pthread.dylib        0xdf8 _pthread_wqthread + 288
23 libsystem_pthread.dylib        0xb98 start_wqthread + 8

@philipphofmann philipphofmann moved this from Needs More Information to Needs Investigation in Mobile & Cross Platform SDK Mar 22, 2023
@philipphofmann philipphofmann self-assigned this Mar 22, 2023
philipphofmann added a commit that referenced this issue Mar 24, 2023
dispatch_block_create can return NULL. If it does we finish
the transaction and don't schedule the timeout.

Fixes GH-2832, GH-2769
@philipphofmann philipphofmann moved this from Needs Investigation to In Progress in Mobile & Cross Platform SDK Mar 24, 2023
philipphofmann added a commit that referenced this issue Mar 24, 2023
dispatch_block_create can return NULL. If it does, we finish
the transaction, and don't schedule the timeout.

Fixes GH-2832, GH-2769
@philipphofmann
Copy link
Member

Fixed with #2834

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants