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

object-c wcdb crash when beginTransaction #482

Closed
nkbaer opened this issue Mar 26, 2019 · 10 comments
Closed

object-c wcdb crash when beginTransaction #482

nkbaer opened this issue Mar 26, 2019 · 10 comments

Comments

@nkbaer
Copy link

nkbaer commented Mar 26, 2019

Objective-C

1,0,7

iOS

Cocoapods

app crash when wcdb beginTransaction

BUS_ADRALN
__ZNK4WCDB8CoreBase7getPathEv (memory:)
WCDB::CoreBase::getPath() const (memory:3425)
WCDB::Database::begin(WCDB::StatementTransaction::Mode, WCDB::Error&) (database_transaction.cpp:58)
WCDB::Database::begin(WCDB::StatementTransaction::Mode, WCDB::Error&) (database_transaction.cpp:58)
-[WCTDatabase(Transaction) beginTransaction] (WCTDatabase+Transaction.mm:58)
-[LocalDBContext readMessageFromDBWithlimit:] (LocalDBContext.mm:130)
-[DefaultMessageLocalStorager getStoredMsgArr:] (DefaultMessageLocalStorager.mm:0)
-[BaseMessagePoster postLocalMsg:] (BaseMessagePoster.mm:0)
-[BaseMessagePoster process] (BaseMessagePoster.mm:73)

@nkbaer
Copy link
Author

nkbaer commented Mar 26, 2019

SIGSEGV
SEGV_ACCERR

libc++.1.dylib std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >::basic_string(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) + 32
1 WCDB::Database::begin(WCDB::StatementTransaction::Mode, WCDB::Error&) (memory:4137)
2 WCDB::Database::begin(WCDB::StatementTransaction::Mode, WCDB::Error&) (memory:4137)
3 -[WCTDatabase(Transaction) beginTransaction] (WCTDatabase+Transaction.mm:58)
4 -[LocalDBContext readMessageFromDBWithlimit:] (LocalDBContext.mm:130)
5 -[DefaultMessageLocalStorager getStoredMsgArr:] (DefaultMessageLocalStorager.mm:0)
6 -[BaseMessagePoster postLocalMsg:] (BaseMessagePoster.mm:0)
7 -[BaseMessagePoster process] (BaseMessagePoster.mm:73)
8 Foundation ___NSThreadPerformPerform + 336
9 CoreFoundation _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 24
10 CoreFoundation ___CFRunLoopDoSource0 + 88
11 CoreFoundation ___CFRunLoopDoSources0 + 176
12 CoreFoundation ___CFRunLoopRun + 1040
13 CoreFoundation CFRunLoopRunSpecific + 436
14 Foundation -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300
15 Foundation -[NSRunLoop(NSRunLoop) run] + 88

@RingoD
Copy link
Collaborator

RingoD commented Mar 26, 2019

Please show the entire crash stacks or submit a producible project for this crash.

@nkbaer
Copy link
Author

nkbaer commented Mar 26, 2019

my comment is the full stack .it is a sometimes issue.

@nkbaer
Copy link
Author

nkbaer commented Mar 26, 2019

0 libc++.1.dylib 0x0000000181f7ded4 std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >::basic_string(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)
1 0x0000000101832304 WCDB::Database::begin(WCDB::StatementTransaction::Mode, WCDB::Error&) (memory:4137)
2 0x0000000101832304 WCDB::Database::begin(WCDB::StatementTransaction::Mode, WCDB::Error&) (memory:4137)
3 0x0000000101844c78 -[WCTDatabase(Transaction) beginTransaction] (WCTDatabase+Transaction.mm:58)
4 0x00000001017b6a00 -[LocalDBContext readMessageFromDBWithlimit:] (LocalDBContext.mm:130)
5 0x00000001017aca6c -[DefaultMessageLocalStorager getStoredMsgArr:] (DefaultMessageLocalStorager.mm:0)
6 0x00000001017aad9c -[BaseMessagePoster postLocalMsg:] (BaseMessagePoster.mm:0)
7 0x00000001017aaa38 -[BaseMessagePoster process] (BaseMessagePoster.mm:73)
8 Foundation 0x000000018389942c ___NSThreadPerformPerform
9 CoreFoundation 0x0000000182d760e0 _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
10 CoreFoundation 0x0000000182d76060 ___CFRunLoopDoSource0
11 CoreFoundation 0x0000000182d75944 ___CFRunLoopDoSources0
12 CoreFoundation 0x0000000182d70810 ___CFRunLoopRun
13 CoreFoundation 0x0000000182d700e0 CFRunLoopRunSpecific
14 Foundation 0x0000000183766494 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
15 Foundation 0x00000001837a1e84 -[NSRunLoop(NSRunLoop) run]
16 Foundation 0x000000018389923c _NSThread__start
17 libsystem_pthread.dylib 0x0000000182a0025c __pthread_body
18 libsystem_pthread.dylib 0x0000000182a001bc _pthread_start

======

this is the stack at crash thread ? what else info do you need ?

@RingoD
Copy link
Collaborator

RingoD commented Mar 26, 2019

It only contains one thread.

@nkbaer
Copy link
Author

nkbaer commented Mar 26, 2019

Here is the all thread stack . thanks

#34 Thread
SIGBUS
BUS_ADRALN
0 MyApp WCDB::CoreBase::getPath() const (memory:3425)
1 MyApp WCDB::Database::begin(WCDB::StatementTransaction::Mode, WCDB::Error&) (database_transaction.cpp:58)
2 MyApp WCDB::Database::begin(WCDB::StatementTransaction::Mode, WCDB::Error&) (database_transaction.cpp:58)
3 MyApp -[WCTDatabase(Transaction) beginTransaction] (WCTDatabase+Transaction.mm:58)
4 MyApp -[LocalDBContext readMessageFromDBWithlimit:] (LocalDBContext.mm:130)
5 MyApp -[DefaultMessageLocalStorager getStoredMsgArr:] (DefaultMessageLocalStorager.mm:0)
6 MyApp -[BaseMessagePoster postLocalMsg:] (BaseMessagePoster.mm:0)
7 MyApp -[BaseMessagePoster process] (BaseMessagePoster.mm:73)
8 Foundation ___NSThreadPerformPerform + 336
9 CoreFoundation _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 24
10 CoreFoundation ___CFRunLoopDoSource0 + 88
11 CoreFoundation ___CFRunLoopDoSources0 + 176
12 CoreFoundation ___CFRunLoopRun + 1040
13 CoreFoundation CFRunLoopRunSpecific + 436
14 Foundation -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 300
15 Foundation -[NSRunLoop(NSRunLoop) run] + 88
16 Foundation _NSThread__start + 1040
17 libsystem_pthread.dylib __pthread_body + 128
18 libsystem_pthread.dylib _pthread_start + 48
#0 Thread
0 libsystem_kernel.dylib 0x0000000200207ea4 mach_msg_trap
1 libsystem_kernel.dylib 0x000000020020737c mach_msg
2 CoreFoundation 0x000000020060dad8 ___CFRunLoopServiceMachPort
3 CoreFoundation 0x0000000200608974 ___CFRunLoopRun
4 CoreFoundation 0x00000002006080e0 CFRunLoopRunSpecific
5 GraphicsServices 0x0000000202881584 GSEventRunModal
6 UIKitCore 0x000000022d81cc00 UIApplicationMain
7 MyApp 0x0000000100297f94 main (main.m:52)
8 libdyld.dylib 0x00000002000c6bb4 _start
#1 Thread
0 libsystem_kernel.dylib 0x0000000200207ee0 semaphore_wait_trap
1 libdispatch.dylib 0x0000000200056f7c __dispatch_sema4_wait$VARIANT$mp
2 libdispatch.dylib 0x0000000200057a00 __dispatch_semaphore_wait_slow
3 CFNetwork 0x0000000200cd0f2c CFURLConnectionSendSynchronousRequest
4 CFNetwork 0x0000000200c2da80 +[NSURLConnection sendSynchronousRequest:returningResponse:error:]
5 MyApp 0x0000000100fb42f0 -[SmHttpTransport transport:url:timeout:]
6 MyApp 0x0000000100fb4904 -[SmHttpTransport transportWithRetry:url:]
7 MyApp 0x0000000100fb314c -[SmTracker trackInter:updateId:url:]
8 MyApp 0x0000000100fb36a8 ___32-[SmTracker track:updateId:url:]_block_invoke
9 libdispatch.dylib 0x00000002000b56c8 __dispatch_call_block_and_release
10 libdispatch.dylib 0x00000002000b6484 __dispatch_client_callout
11 libdispatch.dylib 0x000000020005dbd0 __dispatch_lane_serial_drain$VARIANT$mp
12 libdispatch.dylib 0x000000020005e718 __dispatch_lane_invoke$VARIANT$mp
13 libdispatch.dylib 0x0000000200066eb8 __dispatch_workloop_worker_thread
14 libsystem_pthread.dylib 0x00000002002990dc _pthread_wqthread
#2 Thread
0 libsystem_kernel.dylib 0x0000000200213428 __semwait_signal
1 libsystem_c.dylib 0x00000002001885d0 nanosleep
2 Foundation 0x0000000201061ba8 +[NSThread sleepForTimeInterval:]
3 MyApp 0x0000000100410574 __37-[UCarBufferThread initBufferThread:]_block_invoke (UCarBufferThread.m:48)
4 libdispatch.dylib 0x00000002000b56c8 __dispatch_call_block_and_release
5 libdispatch.dylib 0x00000002000b6484 __dispatch_client_callout
6 libdispatch.dylib 0x000000020005dbd0 __dispatch_lane_serial_drain$VARIANT$mp
7 libdispatch.dylib 0x000000020005e718 __dispatch_lane_invoke$VARIANT$mp
8 libdispatch.dylib 0x0000000200066eb8 __dispatch_workloop_worker_thread
9 libsystem_pthread.dylib 0x00000002002990dc _pthread_wqthread
#3 com.apple.uikit.eventfetch-thread
0 libsystem_kernel.dylib 0x0000000200207ea4 mach_msg_trap
1 libsystem_kernel.dylib 0x000000020020737c mach_msg
2 CoreFoundation 0x000000020060dad8 ___CFRunLoopServiceMachPort
3 CoreFoundation 0x0000000200608974 ___CFRunLoopRun
4 CoreFoundation 0x00000002006080e0 CFRunLoopRunSpecific
5 Foundation 0x0000000200ffe494 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
6 Foundation 0x0000000200ffe304 -[NSRunLoop(NSRunLoop) runUntilDate:]
7 UIKitCore 0x000000022d90d0c4 -[UIEventFetcher threadMain]
8 Foundation 0x000000020113123c _NSThread__start
9 libsystem_pthread.dylib 0x000000020029825c __pthread_body
10 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#4 Thread
0 libsystem_kernel.dylib 0x0000000200213b9c __workq_kernreturn
1 libsystem_pthread.dylib 0x0000000200299100 _pthread_wqthread
#5 Thread
0 libsystem_kernel.dylib 0x0000000200213b9c __workq_kernreturn
1 libsystem_pthread.dylib 0x0000000200299100 _pthread_wqthread
#6 Thread
0 libsystem_kernel.dylib 0x0000000200213b9c __workq_kernreturn
1 libsystem_pthread.dylib 0x00000002002991c0 _pthread_wqthread
#7 com.apple.CoreMotion.MotionThread
0 libsystem_kernel.dylib 0x0000000200207ea4 mach_msg_trap
1 libsystem_kernel.dylib 0x000000020020737c mach_msg
2 CoreFoundation 0x000000020060dad8 ___CFRunLoopServiceMachPort
3 CoreFoundation 0x0000000200608974 ___CFRunLoopRun
4 CoreFoundation 0x00000002006080e0 CFRunLoopRunSpecific
5 CoreFoundation 0x0000000200608e7c CFRunLoopRun
6 CoreMotion 0x000000020605dc58 0x0000000205fe2000
7 libsystem_pthread.dylib 0x000000020029825c __pthread_body
8 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#8 Thread
0 libsystem_kernel.dylib 0x0000000200212f0c __psynch_cvwait
1 libsystem_pthread.dylib 0x0000000200290c88 __pthread_cond_wait$VARIANT$mp
2 MyApp 0x0000000100571a08 -[LinkedBlockingQueue popQueue] (LinkedBlockingQueue.m:54)
3 MyApp 0x0000000100567f78 __28-[DefaultMessageCache start]_block_invoke (DefaultMessageCache.m:0)
4 libdispatch.dylib 0x00000002000b56c8 __dispatch_call_block_and_release
5 libdispatch.dylib 0x00000002000b6484 __dispatch_client_callout
6 libdispatch.dylib 0x000000020005dbd0 __dispatch_lane_serial_drain$VARIANT$mp
7 libdispatch.dylib 0x000000020005e718 __dispatch_lane_invoke$VARIANT$mp
8 libdispatch.dylib 0x0000000200066eb8 __dispatch_workloop_worker_thread
9 libsystem_pthread.dylib 0x00000002002990dc _pthread_wqthread
#9 Thread
0 libsystem_kernel.dylib 0x0000000200212c78 __open
1 libsystem_kernel.dylib 0x0000000200210b6c open
2 CoreFoundation 0x00000002005de2c0 __CFReadBytesFromFile
3 CoreFoundation 0x000000020065d73c CFURLCreateDataAndPropertiesFromResource
4 CoreFoundation 0x00000002006d4ee8 __CFBundleCopyInfoDictionaryInDirectoryWithVersion
5 CoreFoundation 0x00000002006d5994 CFBundleGetInfoDictionary
6 CoreFoundation 0x00000002005c0054 __CFBundleCreate
7 CoreFoundation 0x00000002005bf944 __CFBundleEnsureBundleExistsForImagePath
8 CoreFoundation 0x00000002005bf7dc CFBundleGetBundleWithIdentifier
9 Foundation 0x0000000201015cd0 +[NSBundle bundleWithIdentifier:]
10 WebCore 0x00000002092ef7a4 WebCore::localizedString(char const*)
11 WebKitLegacy 0x000000020a947010 _WebLocalizedStringInternal
12 libdispatch.dylib 0x00000002000b56c8 __dispatch_call_block_and_release
13 libdispatch.dylib 0x00000002000b6484 __dispatch_client_callout
14 libdispatch.dylib 0x0000000200065b4c __dispatch_root_queue_drain
15 libdispatch.dylib 0x00000002000662c0 __dispatch_worker_thread2
16 libsystem_pthread.dylib 0x000000020029917c _pthread_wqthread
#10 Thread
0 libsystem_kernel.dylib 0x0000000200213b9c __workq_kernreturn
1 libsystem_pthread.dylib 0x0000000200299100 _pthread_wqthread
#11 Thread
0 libsystem_kernel.dylib 0x000000020021491c kevent
1 libsystem_info.dylib 0x00000002001c4690 __mdns_search_ex
2 libsystem_info.dylib 0x00000002001c3dac __mdns_search
3 libsystem_info.dylib 0x00000002001c27dc _mdns_hostbyname
4 libsystem_info.dylib 0x00000002001d0fb4 si_host_byname
5 libsystem_info.dylib 0x00000002001c88b4 _search_host_byname
6 libsystem_info.dylib 0x00000002001d0fb4 si_host_byname
7 libsystem_info.dylib 0x00000002001bf3ec gethostbyname
8 MyApp 0x0000000100395970 -[AppDNSConfig getIPAddressByHostName:] (AppDNSConfig.m:110)
9 MyApp 0x00000001003958fc -[AppDNSConfig monitorHackDNS] (AppDNSConfig.m:0)
10 libdispatch.dylib 0x00000002000b6484 __dispatch_client_callout
11 libdispatch.dylib 0x000000020005982c __dispatch_continuation_pop$VARIANT$mp
12 libdispatch.dylib 0x0000000200069b9c __dispatch_source_invoke$VARIANT$mp
13 libdispatch.dylib 0x0000000200059360 __dispatch_queue_override_invoke
14 libdispatch.dylib 0x0000000200065a18 __dispatch_root_queue_drain
15 libdispatch.dylib 0x00000002000662c0 __dispatch_worker_thread2
16 libsystem_pthread.dylib 0x000000020029917c _pthread_wqthread
#12 com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x0000000200213350 __select
1 CoreFoundation 0x0000000200616928 ___CFSocketManager
2 libsystem_pthread.dylib 0x000000020029825c __pthread_body
3 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#13 Thread
0 libsystem_kernel.dylib 0x0000000200213b9c __workq_kernreturn
1 libsystem_pthread.dylib 0x0000000200299100 _pthread_wqthread
#14 Thread
0 libsystem_kernel.dylib 0x0000000200213428 __semwait_signal
1 libsystem_c.dylib 0x00000002001885d0 nanosleep
2 Foundation 0x0000000201061ba8 +[NSThread sleepForTimeInterval:]
3 MyApp 0x0000000100410574 __37-[UCarBufferThread initBufferThread:]_block_invoke (UCarBufferThread.m:48)
4 libdispatch.dylib 0x00000002000b56c8 __dispatch_call_block_and_release
5 libdispatch.dylib 0x00000002000b6484 __dispatch_client_callout
6 libdispatch.dylib 0x000000020005dbd0 __dispatch_lane_serial_drain$VARIANT$mp
7 libdispatch.dylib 0x000000020005e718 __dispatch_lane_invoke$VARIANT$mp
8 libdispatch.dylib 0x0000000200066eb8 __dispatch_workloop_worker_thread
9 libsystem_pthread.dylib 0x00000002002990dc _pthread_wqthread
#15 com.apple.NSURLConnectionLoader
0 libsystem_kernel.dylib 0x0000000200207ea4 mach_msg_trap
1 libsystem_kernel.dylib 0x000000020020737c mach_msg
2 CoreFoundation 0x000000020060dad8 ___CFRunLoopServiceMachPort
3 CoreFoundation 0x0000000200608974 ___CFRunLoopRun
4 CoreFoundation 0x00000002006080e0 CFRunLoopRunSpecific
5 CFNetwork 0x0000000200c2b00c -[__CoreSchedulingSetRunnable runForever]
6 Foundation 0x000000020113123c _NSThread__start
7 libsystem_pthread.dylib 0x000000020029825c __pthread_body
8 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#16 GNaviMap-0
0 libsystem_kernel.dylib 0x0000000200212f0c __psynch_cvwait
1 libsystem_pthread.dylib 0x0000000200290c88 __pthread_cond_wait$VARIANT$mp
2 MyApp 0x0000000100965e6c CAnTaskStack::Hold()
3 MyApp 0x0000000100966550 CAnThreadPool::DoThreadWork(CAnThread*)
4 MyApp 0x00000001009660e0 CAnThread::run()
5 MyApp 0x0000000100bed068 asl::Thread::runCallback(void*)
6 libsystem_pthread.dylib 0x000000020029825c __pthread_body
7 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#17 GNaviMap-1
0 libsystem_kernel.dylib 0x0000000200212f0c __psynch_cvwait
1 libsystem_pthread.dylib 0x0000000200290c88 __pthread_cond_wait$VARIANT$mp
2 MyApp 0x0000000100965e6c CAnTaskStack::Hold()
3 MyApp 0x0000000100966550 CAnThreadPool::DoThreadWork(CAnThread*)
4 MyApp 0x00000001009660e0 CAnThread::run()
5 MyApp 0x0000000100bed068 asl::Thread::runCallback(void*)
6 libsystem_pthread.dylib 0x000000020029825c __pthread_body
7 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#18 GNaviMap-2
0 libsystem_kernel.dylib 0x0000000200212f0c __psynch_cvwait
1 libsystem_pthread.dylib 0x0000000200290c88 __pthread_cond_wait$VARIANT$mp
2 MyApp 0x0000000100965e6c CAnTaskStack::Hold()
3 MyApp 0x0000000100966550 CAnThreadPool::DoThreadWork(CAnThread*)
4 MyApp 0x00000001009660e0 CAnThread::run()
5 MyApp 0x0000000100bed068 asl::Thread::runCallback(void*)
6 libsystem_pthread.dylib 0x000000020029825c __pthread_body
7 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#19 GNaviMap-3
0 libsystem_kernel.dylib 0x0000000200212f0c __psynch_cvwait
1 libsystem_pthread.dylib 0x0000000200290c88 __pthread_cond_wait$VARIANT$mp
2 MyApp 0x0000000100965e6c CAnTaskStack::Hold()
3 MyApp 0x0000000100966550 CAnThreadPool::DoThreadWork(CAnThread*)
4 MyApp 0x00000001009660e0 CAnThread::run()
5 MyApp 0x0000000100bed068 asl::Thread::runCallback(void*)
6 libsystem_pthread.dylib 0x000000020029825c __pthread_body
7 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#20 GNaviMap-4
0 libsystem_kernel.dylib 0x0000000200212f0c __psynch_cvwait
1 libsystem_pthread.dylib 0x0000000200290c88 __pthread_cond_wait$VARIANT$mp
2 MyApp 0x0000000100965e6c CAnTaskStack::Hold()
3 MyApp 0x0000000100966550 CAnThreadPool::DoThreadWork(CAnThread*)
4 MyApp 0x00000001009660e0 CAnThread::run()
5 MyApp 0x0000000100bed068 asl::Thread::runCallback(void*)
6 libsystem_pthread.dylib 0x000000020029825c __pthread_body
7 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#21 GNaviMap-5
0 libsystem_kernel.dylib 0x0000000200212f0c __psynch_cvwait
1 libsystem_pthread.dylib 0x0000000200290c88 __pthread_cond_wait$VARIANT$mp
2 MyApp 0x0000000100965e6c CAnTaskStack::Hold()
3 MyApp 0x0000000100966550 CAnThreadPool::DoThreadWork(CAnThread*)
4 MyApp 0x00000001009660e0 CAnThread::run()
5 MyApp 0x0000000100bed068 asl::Thread::runCallback(void*)
6 libsystem_pthread.dylib 0x000000020029825c __pthread_body
7 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#22 GNaviMap-6
0 libsystem_kernel.dylib 0x0000000200212f0c __psynch_cvwait
1 libsystem_pthread.dylib 0x0000000200290c88 __pthread_cond_wait$VARIANT$mp
2 MyApp 0x0000000100965e6c CAnTaskStack::Hold()
3 MyApp 0x0000000100966550 CAnThreadPool::DoThreadWork(CAnThread*)
4 MyApp 0x00000001009660e0 CAnThread::run()
5 MyApp 0x0000000100bed068 asl::Thread::runCallback(void*)
6 libsystem_pthread.dylib 0x000000020029825c __pthread_body
7 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#23 GNaviMap-7
0 libsystem_kernel.dylib 0x0000000200212f0c __psynch_cvwait
1 libsystem_pthread.dylib 0x0000000200290c88 __pthread_cond_wait$VARIANT$mp
2 MyApp 0x0000000100965e6c CAnTaskStack::Hold()
3 MyApp 0x0000000100966550 CAnThreadPool::DoThreadWork(CAnThread*)
4 MyApp 0x00000001009660e0 CAnThread::run()
5 MyApp 0x0000000100bed068 asl::Thread::runCallback(void*)
6 libsystem_pthread.dylib 0x000000020029825c __pthread_body
7 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#24 AMapNetwork
0 libsystem_kernel.dylib 0x0000000200207ea4 mach_msg_trap
1 libsystem_kernel.dylib 0x000000020020737c mach_msg
2 CoreFoundation 0x000000020060dad8 ___CFRunLoopServiceMachPort
3 CoreFoundation 0x0000000200608974 ___CFRunLoopRun
4 CoreFoundation 0x00000002006080e0 CFRunLoopRunSpecific
5 Foundation 0x0000000200ffe494 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
6 Foundation 0x0000000201039e84 -[NSRunLoop(NSRunLoop) run]
7 MyApp 0x000000010077c6fc +[AMapNetworkOperation networkRequestThreadEntryPoint:]
8 Foundation 0x000000020113123c _NSThread__start
9 libsystem_pthread.dylib 0x000000020029825c __pthread_body
10 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#25 com.autonavi.AMapLocationThread
0 libsystem_kernel.dylib 0x0000000200207ea4 mach_msg_trap
1 libsystem_kernel.dylib 0x000000020020737c mach_msg
2 CoreFoundation 0x000000020060dad8 ___CFRunLoopServiceMachPort
3 CoreFoundation 0x0000000200608974 ___CFRunLoopRun
4 CoreFoundation 0x00000002006080e0 CFRunLoopRunSpecific
5 Foundation 0x0000000200ffe494 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
6 Foundation 0x0000000201039e84 -[NSRunLoop(NSRunLoop) run]
7 MyApp 0x000000010078fa9c +[AMapLocationCLMDelegate threadEntryPoint:]
8 Foundation 0x000000020113123c _NSThread__start
9 libsystem_pthread.dylib 0x000000020029825c __pthread_body
10 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#26 Thread
0 libsystem_kernel.dylib 0x0000000200213428 __semwait_signal
1 libsystem_c.dylib 0x00000002001885d0 nanosleep
2 Foundation 0x0000000201061ba8 +[NSThread sleepForTimeInterval:]
3 MyApp 0x00000001001180e4 -[UCarTimerThread process] (UCarTimerThread.m:80)
4 MyApp 0x000000010045d5a8 __29-[UCarThread initWithParent:]_block_invoke (UCarThread.m:39)
5 libdispatch.dylib 0x00000002000b56c8 __dispatch_call_block_and_release
6 libdispatch.dylib 0x00000002000b6484 __dispatch_client_callout
7 libdispatch.dylib 0x000000020005dbd0 __dispatch_lane_serial_drain$VARIANT$mp
8 libdispatch.dylib 0x000000020005e718 __dispatch_lane_invoke$VARIANT$mp
9 libdispatch.dylib 0x0000000200066eb8 __dispatch_workloop_worker_thread
10 libsystem_pthread.dylib 0x00000002002990dc _pthread_wqthread
#27 Thread
0 libsystem_kernel.dylib 0x0000000200212f0c __psynch_cvwait
1 libsystem_pthread.dylib 0x0000000200290c88 __pthread_cond_wait$VARIANT$mp
2 Foundation 0x000000020106c838 -[__NSOperationInternal _waitUntilFinished:]
3 Foundation 0x000000020103aa00 -[NSOperationQueue waitUntilAllOperationsAreFinished]
4 MyApp 0x00000001007fc12c -[BLYDataManager fetchObjFromFileWithFileName:persistenceType:]
5 MyApp 0x00000001007fbf6c -[BLYDataManager fetchObjWithKey:persistenceType:]
6 MyApp 0x00000001007e80a0 -[BLYAnalyticsLogic userInfoPackage]
7 MyApp 0x00000001007e7904 -[BLYAnalyticsLogic jceModel]
8 MyApp 0x00000001007ef6d4 -[BLYCommonUploadLogic main]
9 Foundation 0x0000000201014f8c -[__NSOperationInternal _start:]
10 Foundation 0x000000020110f790 ___NSOQSchedule_f
11 libdispatch.dylib 0x00000002000b56c8 __dispatch_call_block_and_release
12 libdispatch.dylib 0x00000002000b6484 __dispatch_client_callout
13 libdispatch.dylib 0x000000020005982c __dispatch_continuation_pop$VARIANT$mp
14 libdispatch.dylib 0x0000000200058ef4 __dispatch_async_redirect_invoke
15 libdispatch.dylib 0x0000000200065a18 __dispatch_root_queue_drain
16 libdispatch.dylib 0x00000002000662c0 __dispatch_worker_thread2
17 libsystem_pthread.dylib 0x000000020029917c _pthread_wqthread
#28 Thread
0 libsystem_kernel.dylib 0x0000000200213b9c __workq_kernreturn
1 libsystem_pthread.dylib 0x0000000200299100 _pthread_wqthread
#29 Thread
0 libsystem_kernel.dylib 0x0000000200213428 __semwait_signal
1 libsystem_c.dylib 0x00000002001885d0 nanosleep
2 Foundation 0x0000000201061ba8 +[NSThread sleepForTimeInterval:]
3 MyApp 0x0000000100410574 __37-[UCarBufferThread initBufferThread:]_block_invoke (UCarBufferThread.m:48)
4 libdispatch.dylib 0x00000002000b56c8 __dispatch_call_block_and_release
5 libdispatch.dylib 0x00000002000b6484 __dispatch_client_callout
6 libdispatch.dylib 0x000000020005dbd0 __dispatch_lane_serial_drain$VARIANT$mp
7 libdispatch.dylib 0x000000020005e718 __dispatch_lane_invoke$VARIANT$mp
8 libdispatch.dylib 0x0000000200066eb8 __dispatch_workloop_worker_thread
9 libsystem_pthread.dylib 0x00000002002990dc _pthread_wqthread
#30 Thread
0 libsystem_kernel.dylib 0x0000000200213b9c __workq_kernreturn
1 libsystem_pthread.dylib 0x0000000200299100 _pthread_wqthread
#31 Thread
0 libsystem_kernel.dylib 0x0000000200213428 __semwait_signal
1 libsystem_c.dylib 0x00000002001885d0 nanosleep
2 Foundation 0x0000000201061ba8 +[NSThread sleepForTimeInterval:]
3 MyApp 0x00000001002b759c -[UCarRecverGeneratorThread process] (UCarRecverGeneratorThread.m:46)
4 MyApp 0x000000010045d5a8 __29-[UCarThread initWithParent:]_block_invoke (UCarThread.m:39)
5 libdispatch.dylib 0x00000002000b56c8 __dispatch_call_block_and_release
6 libdispatch.dylib 0x00000002000b6484 __dispatch_client_callout
7 libdispatch.dylib 0x000000020005dbd0 __dispatch_lane_serial_drain$VARIANT$mp
8 libdispatch.dylib 0x000000020005e718 __dispatch_lane_invoke$VARIANT$mp
9 libdispatch.dylib 0x0000000200066eb8 __dispatch_workloop_worker_thread
10 libsystem_pthread.dylib 0x00000002002990dc _pthread_wqthread
#32 JavaScriptCore bmalloc scavenger
0 libsystem_kernel.dylib 0x0000000200212f0c __psynch_cvwait
1 libsystem_pthread.dylib 0x0000000200290c88 __pthread_cond_wait$VARIANT$mp
2 libc++.1.dylib 0x00000001ff7e04d0 std::__1::condition_variable::wait(std::__1::unique_lockstd::__1::mutex&)
3 JavaScriptCore 0x00000002079c1648 void std::__1::condition_variable_any::wait<std::__1::unique_lockbmalloc::Mutex >(std::__1::unique_lockbmalloc::Mutex&)
4 JavaScriptCore 0x00000002079c573c bmalloc::Scavenger::threadRunLoop()
5 JavaScriptCore 0x00000002079c4e70 bmalloc::Scavenger::Scavenger(std::__1::lock_guardbmalloc::Mutex&)
6 JavaScriptCore 0x00000002079c691c std::__1::__thread_specific_ptrstd::__1::__thread_struct::set_pointer(std::__1::__thread_struct*)
7 libsystem_pthread.dylib 0x000000020029825c __pthread_body
8 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#33 WebThread
0 libsystem_kernel.dylib 0x0000000200212f0c __psynch_cvwait
1 libsystem_pthread.dylib 0x0000000200290c88 __pthread_cond_wait$VARIANT$mp
2 JavaScriptCore 0x00000002079af7d8 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime)
3 JavaScriptCore 0x00000002079969a0 WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&)
4 WebCore 0x0000000209478d54 bool WTF::Condition::waitUntilWTF::Lock(WTF::Lock&, WTF::TimeWithDynamicClockType const&)
5 WebCore 0x0000000209477a38 SendDelegateMessage(NSInvocation*)
6 CoreFoundation 0x00000002006834b8 _forwarding
7 CoreFoundation 0x000000020068546c _CF_forwarding_prep_0
8 WebKitLegacy 0x000000020a91fe6c ___48-[WebFrame(WebPrivate) deviceOrientationChanged]_block_invoke
9 WebCore 0x000000020a224034 HandleRunSource(void*)
10 CoreFoundation 0x000000020060e0e0 _CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION
11 CoreFoundation 0x000000020060e060 ___CFRunLoopDoSource0
12 CoreFoundation 0x000000020060d998 ___CFRunLoopDoSources0
13 CoreFoundation 0x0000000200608810 ___CFRunLoopRun
14 CoreFoundation 0x00000002006080e0 CFRunLoopRunSpecific
15 WebCore 0x00000002094793e8 RunWebThread(void*)
16 libsystem_pthread.dylib 0x000000020029825c __pthread_body
17 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#35 Thread
0 libsystem_kernel.dylib 0x0000000200213428 __semwait_signal
1 libsystem_c.dylib 0x00000002001885d0 nanosleep
2 libsystem_c.dylib 0x00000002001883cc sleep
3 MyApp 0x000000010056b440 monitorCachedData (KSCrashCachedData.c:0)
4 libsystem_pthread.dylib 0x000000020029825c __pthread_body
5 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#36 Thread
0 libsystem_kernel.dylib 0x0000000200213b9c __workq_kernreturn
1 libsystem_pthread.dylib 0x0000000200299100 _pthread_wqthread
#37 GCDAsyncSocket-CFStream
0 libsystem_kernel.dylib 0x0000000200207ea4 mach_msg_trap
1 libsystem_kernel.dylib 0x000000020020737c mach_msg
2 CoreFoundation 0x000000020060dad8 ___CFRunLoopServiceMachPort
3 CoreFoundation 0x0000000200608974 ___CFRunLoopRun
4 CoreFoundation 0x00000002006080e0 CFRunLoopRunSpecific
5 Foundation 0x0000000200ffe494 -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
6 MyApp 0x0000000100523c3c +[GCDAsyncSocket cfstreamThread] (GCDAsyncSocket.m:7601)
7 Foundation 0x000000020113123c _NSThread__start
8 libsystem_pthread.dylib 0x000000020029825c __pthread_body
9 libsystem_pthread.dylib 0x00000002002981bc _pthread_start
#38 Thread
0 libsystem_kernel.dylib 0x0000000200213b9c __workq_kernreturn
1 libsystem_pthread.dylib 0x00000002002991c0 _pthread_wqthread
#39 Thread
0 libsystem_kernel.dylib 0x0000000200212014 __chmod
1 libsystem_kernel.dylib 0x000000020020a184 chmod
2 Foundation 0x000000020111506c __NSWriteDataToFileWithExtendedAttributes
3 MyApp 0x00000001007fc930 ___77-[BLYDataManager persistData:ofType:enableNotifications:withCompletionBlock:]_block_invoke
4 Foundation 0x000000020110d8bc _NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK
5 Foundation 0x0000000201015ab8 -[NSBlockOperation main]
6 Foundation 0x0000000201014f8c -[__NSOperationInternal _start:]
7 Foundation 0x000000020110f790 ___NSOQSchedule_f
8 libdispatch.dylib 0x00000002000b56c8 __dispatch_call_block_and_release
9 libdispatch.dylib 0x00000002000b6484 __dispatch_client_callout
10 libdispatch.dylib 0x000000020005982c __dispatch_continuation_pop$VARIANT$mp
11 libdispatch.dylib 0x0000000200058ef4 __dispatch_async_redirect_invoke
12 libdispatch.dylib 0x0000000200065a18 __dispatch_root_queue_drain
13 libdispatch.dylib 0x00000002000662c0 __dispatch_worker_thread2
14 libsystem_pthread.dylib 0x000000020029917c _pthread_wqthread
#40 Thread
0 libsystem_kernel.dylib 0x0000000200213b9c __workq_kernreturn
1 libsystem_pthread.dylib 0x0000000200299100 _pthread_wqthread
#41 Thread
0 libsystem_kernel.dylib 0x0000000200213b9c __workq_kernreturn
1 libsystem_pthread.dylib 0x0000000200299100 _pthread_wqthread

@RingoD
Copy link
Collaborator

RingoD commented Mar 26, 2019

Why don't you put the formatted crash stack file? The whole ugly texts are terrible.

@nkbaer
Copy link
Author

nkbaer commented Mar 26, 2019

sorry , i got this info from qq bugly... i can't get stack file .

@nkbaer
Copy link
Author

nkbaer commented Mar 27, 2019

any advise?

@RingoD
Copy link
Collaborator

RingoD commented Mar 27, 2019

I have no idea to process this incomplete crash stack. Searching the crash code BUS_ADRALN may help you.

@RingoD RingoD added the stale label May 6, 2019
@RingoD RingoD closed this as completed May 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants