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

Crash in AutoRotatingFileDestination #290

Open
JamesBedford opened this issue Aug 9, 2019 · 2 comments
Open

Crash in AutoRotatingFileDestination #290

JamesBedford opened this issue Aug 9, 2019 · 2 comments

Comments

@JamesBedford
Copy link

We have experienced a crash in XCGLogger in the auto rotating files logic.

Main thread is in

#0. com.apple.main-thread
0 libsystem_kernel.dylib 0x1864f07b0 getxattr + 8
1 XCGLogger 0x101d4fcfc $s10Foundation3URLV9XCGLoggerE17extendedAttribute7forNameAA4DataVSgSS_tKFAISPys4Int8VGSgKXEfU_ + 248
2 XCGLogger 0x101d40df8 $s10Foundation3URLV9XCGLoggerE17extendedAttribute7forNameAA4DataVSgSS_tKFAISPys4Int8VGSgKXEfU_TA + 16
3 XCGLogger 0x101d40e28 $sSPys4Int8VGSg10Foundation4DataVSgs5Error_pIgyozo_AdHsAI_pIegyrzo_TRTA + 24
4 libswiftFoundation.dylib 0x1b47f8ac8 URL.withUnsafeFileSystemRepresentation(_:) + 116
5 XCGLogger 0x101d3cf24 $s9XCGLogger27AutoRotatingFileDestinationC08archivedD4URLsSay10Foundation3URLVGyF + 1996
6 XCGLogger 0x101d3bd0c $s9XCGLogger27AutoRotatingFileDestinationC15cleanUpLogFilesyyF + 232
7 XCGLogger 0x101d3dd74 $s9XCGLogger27AutoRotatingFileDestinationC06rotateD0yyF + 1388
8 XCGLogger 0x101d467b8 $s9XCGLogger21BaseQueuedDestinationC6output10logDetails7messageyAA03LogG0V_SStFyycfU_Tf4nxn_n + 784
9 XCGLogger 0x101d46940 $s9XCGLogger21BaseQueuedDestinationC6output10logDetails7messageyAA03LogG0V_SStFTf4nxn_n + 372
10 XCGLogger 0x101d45764 $s9XCGLogger15BaseDestinationC15processInternal10logDetailsyAA03LogG0V_tF + 1992
11 XCGLogger 0x101d45ea8 $s9XCGLogger15BaseDestinationCAA0C8ProtocolA2aDP15processInternal10logDetailsyAA03LogH0V_tFTW + 28
12 XCGLogger 0x101d5b3f8 $s9XCGLoggerAAC6_logln_5level6sourceySS_AB5LevelOAA19DestinationProtocol_pSgtF + 804
13 XCGLogger 0x101d4ae98 $s9XCGLogger15FileDestinationC06rotateB02to7closureSbyp_ySbcSgtF + 5012
14 XCGLogger 0x101d3dd00 $s9XCGLogger27AutoRotatingFileDestinationC06rotateD0yyF + 1272
15 XCGLogger 0x101d467b8 $s9XCGLogger21BaseQueuedDestinationC6output10logDetails7messageyAA03LogG0V_SStFyycfU_Tf4nxn_n + 784
16 XCGLogger 0x101d46940 $s9XCGLogger21BaseQueuedDestinationC6output10logDetails7messageyAA03LogG0V_SStFTf4nxn_n + 372
17 XCGLogger 0x101d44f04 $s9XCGLogger15BaseDestinationC7process10logDetailsyAA03LogF0V_tF + 5464
18 XCGLogger 0x101d45e80 $s9XCGLogger15BaseDestinationCAA0C8ProtocolA2aDP7process10logDetailsyAA03LogG0V_tFTW + 28
19 XCGLogger 0x101d57c14 $s9XCGLoggerAAC5logln_12functionName04fileD010lineNumber8userInfo7closureyAB5LevelO_S2SSiSDySSypGypSgyXEtF + 1012
20 XCGLogger 0x101d59eb4 $s9XCGLoggerAAC7verbose_12functionName04fileD010lineNumber8userInfoyypSgyXK_s12StaticStringVAJSiSDySSypGtFTm + 252
21 XCGLogger 0x101d59394 $s9XCGLoggerAAC5debug_12functionName04fileD010lineNumber8userInfoyypSgyXK_s12StaticStringVAJSiSDySSypGtF + 32
22 IC6 0x10121d04c $s3IC607DefaultA6LoggerC5debugyyAA6LogTagO_SStF + 496
23 IC6 0x10121d368 $s3IC607DefaultA6LoggerCAA0aC0A2aDP5debugyyAA6LogTagO_SStFTW + 20
24 IC6 0x1011e9a28 $s3IC613BeaconManagerC08locationC0_15didRangeBeacons2inySo010CLLocationC0C_SaySo8CLBeaconCGSo0J6RegionCtFTf4dndn_n + 436
25 IC6 0x1011e7bac $s3IC613BeaconManagerC08locationC0_15didRangeBeacons2inySo010CLLocationC0C_SaySo8CLBeaconCGSo0J6RegionCtFTo + 132
26 CoreLocation 0x18d70e6dc CLClientStopVehicleHeadingUpdates + 79244
27 CoreLocation 0x18d70c414 CLClientStopVehicleHeadingUpdates + 70340
28 CoreLocation 0x18d6f6854 CLClientInvalidate + 1288
29 CoreFoundation 0x1868e4578 CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 20
30 CoreFoundation 0x1868e3e7c __CFRunLoopDoBlocks + 272
31 CoreFoundation 0x1868df3e8 __CFRunLoopRun + 2312
32 CoreFoundation 0x1868de7c0 CFRunLoopRunSpecific + 436
33 GraphicsServices 0x188adf79c GSEventRunModal + 104
34 UIKitCore 0x1b3256c38 UIApplicationMain + 212
35 jbb 0x100555be4 main ()
36 libdyld.dylib 0x1863a28e0 start + 4

and a background thread is in

#7. NSOperationQueue 0x281274ae0 (QOS: UNSPECIFIED)
0 libsystem_kernel.dylib 0x1864f07b0 getxattr + 8
1 XCGLogger 0x101d4fcfc $s10Foundation3URLV9XCGLoggerE17extendedAttribute7forNameAA4DataVSgSS_tKFAISPys4Int8VGSgKXEfU_ + 248
2 XCGLogger 0x101d40df8 $s10Foundation3URLV9XCGLoggerE17extendedAttribute7forNameAA4DataVSgSS_tKFAISPys4Int8VGSgKXEfU_TA + 16
3 XCGLogger 0x101d41f44 $s10Foundation3URLV9XCGLoggerE17extendedAttribute7forNameAA4DataVSgSS_tKFAISPys4Int8VGSgKXEfU_TA.7 + 12
4 XCGLogger 0x101d40e28 $sSPys4Int8VGSg10Foundation4DataVSgs5Error_pIgyozo_AdHsAI_pIegyrzo_TRTA + 24
5 XCGLogger 0x101d41f6c $sSPys4Int8VGSg10Foundation4DataVSgs5Error_pIgyozo_AdHsAI_pIegyrzo_TRTA.11 + 12
6 libswiftFoundation.dylib 0x1b47f8ac8 URL.withUnsafeFileSystemRepresentation(:) + 116
7 XCGLogger 0x101d3d034 $s9XCGLogger27AutoRotatingFileDestinationC08archivedD4URLsSay10Foundation3URLVGyF + 2268
8 XCGLogger 0x101d3bd0c $s9XCGLogger27AutoRotatingFileDestinationC15cleanUpLogFilesyyF + 232
9 XCGLogger 0x101d3dd74 $s9XCGLogger27AutoRotatingFileDestinationC06rotateD0yyF + 1388
10 XCGLogger 0x101d467b8 $s9XCGLogger21BaseQueuedDestinationC6output10logDetails7messageyAA03LogG0V_SStFyycfU_Tf4nxn_n + 784
11 XCGLogger 0x101d46940 $s9XCGLogger21BaseQueuedDestinationC6output10logDetails7messageyAA03LogG0V_SStFTf4nxn_n + 372
12 XCGLogger 0x101d44f04 $s9XCGLogger15BaseDestinationC7process10logDetailsyAA03LogF0V_tF + 5464
13 XCGLogger 0x101d45e80 $s9XCGLogger15BaseDestinationCAA0C8ProtocolA2aDP7process10logDetailsyAA03LogG0V_tFTW + 28
14 XCGLogger 0x101d57c14 $s9XCGLoggerAAC5logln_12functionName04fileD010lineNumber8userInfo7closureyAB5LevelO_S2SSiSDySSypGypSgyXEtF + 1012
15 XCGLogger 0x101d59eb4 $s9XCGLoggerAAC7verbose_12functionName04fileD010lineNumber8userInfoyypSgyXK_s12StaticStringVAJSiSDySSypGtFTm + 252
16 XCGLogger 0x101d59394 $s9XCGLoggerAAC5debug_12functionName04fileD010lineNumber8userInfoyypSgyXK_s12StaticStringVAJSiSDySSypGtF + 32
17 IC6 0x10121d04c $s3IC607DefaultA6LoggerC5debugyyAA6LogTagO_SStF + 496
18 IC6 0x10121d368 $s3IC607DefaultA6LoggerCAA0aC0A2aDP5debugyyAA6LogTagO_SStFTW + 20
19 IC6 0x101215918 $s3IC616DataSynchroniserC13checkCanSynch33_A8341202A58132166E63D6693D6E5A34LL5stateyAC5StateC_tF + 452
20 IC6 0x101215548 $s3IC616DataSynchroniserC11doNextStage33_A8341202A58132166E63D6693D6E5A34LL5stage5stateyAC0F0O_AC5StateCtFyycfU
+ 664
21 IC6 0x10124d044 $sIeg_IeyB_TR + 28
22 Foundation 0x1873b7ec8 NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK + 16
23 Foundation 0x1872c42e0 -[NSBlockOperation main] + 72
24 Foundation 0x1872c37c8 -[__NSOperationInternal _start:] + 740
25 Foundation 0x1873b9c4c __NSOQSchedule_f + 272
26 libdispatch.dylib 0x186390a38 _dispatch_call_block_and_release + 24
27 libdispatch.dylib 0x1863917d4 _dispatch_client_callout + 16
28 libdispatch.dylib 0x18633601c _dispatch_continuation_pop$VARIANT$mp + 412
29 libdispatch.dylib 0x1863356e0 _dispatch_async_redirect_invoke + 600
30 libdispatch.dylib 0x186342030 _dispatch_root_queue_drain + 372
31 libdispatch.dylib 0x1863428d4 _dispatch_worker_thread2 + 128
32 libsystem_pthread.dylib 0x1865721b4 _pthread_wqthread + 464
33 libsystem_pthread.dylib 0x186574cd4 start_wqthread + 4

Thanks for taking a look.

@JamesBedford
Copy link
Author

JamesBedford commented Aug 9, 2019

Platform: ios
Application: IC6 Dev Trial
Version: 1.6.47 (1564571512)
Bundle Identifier: com.interceptip.ic6.devtrial
Issue ID: bf4e829851bafb2e30ccd3122983b73a
Session ID: 73886efb26184e7aa03e4fa368185bf0_DNE_0_v2
Date: 2019-08-07T09:17:00Z
OS Version: 12.4.0 (16G77)
Device: iPhone 5s
RAM Free: 2.8%
Disk Free: 76.2%

@JamesBedford
Copy link
Author

XCGLogger version was 7.0.0.

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

No branches or pull requests

1 participant