Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-292

CBL Android app is crashing during replication after CBL upgrade

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.6.0
    • 2.6.0
    • Java-Android
    • Security Level: Public
    • None
    • CBL 2.6.0-154
      Genymotion Android Emulator - Google Pixel XL

    Description

      Android app is crashing during replication after CBL db is upgraded (migrated to 2.6.0 from 2.5.0). 

       

      Actual Result:

      App Crash (Partial log below; full log in attachment)

      // V/CouchbaseLite/REPLICATOR: {n8litecore4repl6pushere#11} Transmitting 'rev' message with 'airport_7461' #1-704380f23e4ac55a83105b9348255781fa273171
      I/CouchbaseLite/REPLICATOR: {n8litecore4repl6pushere#11} activityLevel=busy: pendingResponseCount=17, caughtUp=0, changeLists=0, revsInFlight=10, blobsInFlight=0, awaitingReply=2230, revsToSend=1092, pushingDocs=1109, pendingSequences=1109
      V/CouchbaseLite/NETWORK: {N8litecore4blip6BLIPIOE#10}     Sending frame: REQ #1935 ---C, bytes 0--118
      W/CouchbaseLite/NETWORK: C4Socket.write() handle -> 3596520232
      W/CouchbaseLite/NETWORK: completedWrite(long) handle -> 3596520232, byteCount -> 122
      A/art: art/runtime/indirect_reference_table.cc:132] JNI ERROR (app bug): weak global reference table overflow (max=51200)
          art/runtime/indirect_reference_table.cc:132] weak global reference table dump:
          art/runtime/indirect_reference_table.cc:132]   Last 10 entries (of 51200):
          art/runtime/indirect_reference_table.cc:132]     51199: 0x12e4c3a0 java.lang.Thread
          art/runtime/indirect_reference_table.cc:132]     51198: 0x12e4c1f0 java.lang.Thread
          art/runtime/indirect_reference_table.cc:132]     51197: 0x12e4c430 java.lang.Thread
          art/runtime/indirect_reference_table.cc:132]     51196: 0x12e4c4c0 java.lang.Thread
          art/runtime/indirect_reference_table.cc:132]     51195: 0x12e4c550 java.lang.Thread
          art/runtime/indirect_reference_table.cc:132]     51194: 0x12e4c5e0 java.lang.Thread
          art/runtime/indirect_reference_table.cc:132]     51193: 0x12e4c670 java.lang.Thread
          art/runtime/indirect_reference_table.cc:132]     51192: 0x12e4c790 java.lang.Thread
          art/runtime/indirect_reference_table.cc:132]     51191: 0x12e4c820 java.lang.Thread
          art/runtime/indirect_reference_table.cc:132]     51190: 0x12e4c8b0 java.lang.Thread
          art/runtime/indirect_reference_table.cc:132]   Summary:
          art/runtime/indirect_reference_table.cc:132]       281 of java.lang.Thread (281 unique instances)
          art/runtime/indirect_reference_table.cc:132]         1 of java.lang.ThreadGroup
          art/runtime/indirect_reference_table.cc:132]         3 of byte[] (2016 elements) (3 unique instances)
          art/runtime/indirect_reference_table.cc:132]         3 of byte[] (6864 elements) (3 unique instances)
          art/runtime/indirect_reference_table.cc:132]         1 of byte[] (9408 elements)
          art/runtime/indirect_reference_table.cc:132]         5 of byte[] (12544 elements) (5 unique instances)
          art/runtime/indirect_reference_table.cc:132]         4 of byte[] (13720 elements) (4 unique instances)
          art/runtime/indirect_reference_table.cc:132]         1 of byte[] (23520 elements)
          art/runtime/indirect_reference_table.cc:132]         9 of byte[] (28224 elements) (9 unique instances)
          art/runtime/indirect_reference_table.cc:132]        27 of byte[] (36100 elements) (27 unique instances)
          art/runtime/indirect_reference_table.cc:132]         2 of byte[] (47432 elements) (2 unique instances)
          art/runtime/indirect_reference_table.cc:132]         2 of byte[] (48400 elements) (2 unique instances)
          art/runtime/indirect_reference_table.cc:132]        14 of byte[] (50176 elements) (14 unique instances)
          art/runtime/indirect_reference_table.cc:132]         3 of byte[] (63504 elements) (3 unique instances)
          art/runtime/indirect_reference_table.cc:132]         2 of byte[] (64512 elements) (2 unique instances)
          art/runtime/indirect_reference_table.cc:132]         3 of byte[] (108192 elements) (3 unique instances)
          art/runtime/indirect_reference_table.cc:132]         3 of byte[] (112896 elements) (3 unique instances)
          art/runtime/indirect_reference_table.cc:132]         4 of byte[] (147000 elements) (4 unique instances)
          art/runtime/indirect_reference_table.cc:132]         5 of byte[] (367236 elements) (5 unique instances)
          art/runtime/indirect_reference_table.cc:132]      5373 of java.lang.Class (5373 unique instances)
          art/runtime/indirect_reference_table.cc:132]         3 of dalvik.system.PathClassLoader (1 unique instances)
          art/runtime/indirect_reference_table.cc:132]        26 of java.lang.DexCache (26 unique instances)
          art/runtime/indirect_reference_table.cc:132]        21 of android.view.RenderNode (21 unique instances)
          art/runtime/indirect_reference_table.cc:132]
      V/CouchbaseLite/NETWORK: WebSocketListener.onMessage() bytes -> 8f0f010043b6751a
      A/art: art/runtime/runtime.cc:422] Runtime aborting...
          art/runtime/runtime.cc:422] Aborting thread:
          art/runtime/runtime.cc:422] "Thread-45677" prio=5 tid=18 Runnable
          art/runtime/runtime.cc:422]   | group="" sCount=0 dsCount=0 obj=0x12eb1f70 self=0xd5febe00
          art/runtime/runtime.cc:422]   | sysTid=2678 nice=0 cgrp=default sched=0/0 handle=0xd3500920
          art/runtime/runtime.cc:422]   | state=R schedstat=( 27958482567 11759981585 15624 ) utm=424 stm=2371 core=0 HZ=100
          art/runtime/runtime.cc:422]   | stack=0xd3404000-0xd3406000 stackSize=1014KB
          art/runtime/runtime.cc:422]   | held mutexes= "abort lock" "JNI weak global reference table lock" "ObjectRegistry lock" "mutator lock"(shared held)
          art/runtime/runtime.cc:422]   native: #00 pc 0057302e  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+238)
          art/runtime/runtime.cc:422]   native: #01 pc 0053f40e  /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+526)
          art/runtime/runtime.cc:422]   native: #02 pc 0053c40b  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+75)
          art/runtime/runtime.cc:422]   native: #03 pc 00528013  /system/lib/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+67)
          art/runtime/runtime.cc:422]   native: #04 pc 00527cca  /system/lib/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+330)
          art/runtime/runtime.cc:422]   native: #05 pc 0051832b  /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+155)
          art/runtime/runtime.cc:422]   native: #06 pc 0011a653  /system/lib/libart.so (_ZN3art10LogMessageD1Ev+1747)
          art/runtime/runtime.cc:422]   native: #07 pc 002cd248  /system/lib/libart.so (_ZN3art22IndirectReferenceTable3AddEjPNS_6mirror6ObjectE+376)
          art/runtime/runtime.cc:422]   native: #08 pc 003932eb  /system/lib/libart.so (_ZN3art9JavaVMExt16AddWeakGlobalRefEPNS_6ThreadEPNS_6mirror6ObjectE+91)
          art/runtime/runtime.cc:422]   native: #09 pc 00403c14  /system/lib/libart.so (_ZN3art3JNI16NewWeakGlobalRefEP7_JNIEnvP8_jobject+788)
          art/runtime/runtime.cc:422]   native: #10 pc 0013f9f2  /system/lib/libart.so (_ZN3art8CheckJNI6NewRefEPKcP7_JNIEnvP8_jobjectNS_15IndirectRefKindE+1106)
          art/runtime/runtime.cc:422]   native: #11 pc 00139769  /system/lib/libart.so (_ZN3art8CheckJNI16NewWeakGlobalRefEP7_JNIEnvP8_jobject+57)
          art/runtime/runtime.cc:422]   native: #12 pc 003b1d9e  /system/lib/libart.so (_ZN3art14ObjectRegistry11InternalAddINS_6mirror6ObjectEEEyNS_6HandleIT_EE+1358)
          art/runtime/runtime.cc:422]   native: #13 pc 003b2776  /system/lib/libart.so (_ZN3art14ObjectRegistry3AddEPNS_6mirror6ObjectE+166)
          art/runtime/runtime.cc:422]   native: #14 pc 001bc593  /system/lib/libart.so (_ZN3art3Dbg11GetThreadIdEPNS_6ThreadE+691)
          art/runtime/runtime.cc:422]   native: #15 pc 0039f864  /system/lib/libart.so (_ZN3art4JDWP9JdwpState16PostThreadChangeEPNS_6ThreadEb+948)
          art/runtime/runtime.cc:422]   native: #16 pc 001ce4ee  /system/lib/libart.so (_ZN3art3Dbg15PostThreadStartEPNS_6ThreadE+62)
          art/runtime/runtime.cc:422]   native: #17 pc 0053d513  /system/lib/libart.so (_ZN3art6Thread6AttachEPKcbP8_jobjectb+2595)
          art/runtime/runtime.cc:422]   native: #18 pc 00517b5f  /system/lib/libart.so (_ZN3art7Runtime19AttachCurrentThreadEPKcbP8_jobjectb+95)
          art/runtime/runtime.cc:422]   native: #19 pc 003980a2  /system/lib/libart.so (_ZN3art3JII27AttachCurrentThreadInternalEP7_JavaVMPP7_JNIEnvPvb+338)
          art/runtime/runtime.cc:422]   native: #20 pc 00397d86  /system/lib/libart.so (_ZN3art3JII19AttachCurrentThreadEP7_JavaVMPP7_JNIEnvPv+54)
          art/runtime/runtime.cc:422]   native: #21 pc 00149113  /system/lib/libart.so (_ZN3art8CheckJII19AttachCurrentThreadEP7_JavaVMPP7_JNIEnvPv+147)
          art/runtime/runtime.cc:422]   native: #22 pc 000e95d2  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (???)
          art/runtime/runtime.cc:422]   native: #23 pc 0028e98c  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZN8litecore9LogDomain4vlogENS_8LogLevelEjbPKcPc+364)
          art/runtime/runtime.cc:422]   native: #24 pc 0028ff57  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZNK8litecore7Logging5_logvENS_8LogLevelEPKcPc+615)
          art/runtime/runtime.cc:422]   native: #25 pc 0028fccb  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZNK8litecore7Logging4_logENS_8LogLevelEPKcz+59)
          art/runtime/runtime.cc:422]   native: #26 pc 002e347d  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZN8litecore4repl6Pusher12sendRevisionEN6fleece8RetainedINS0_9RevToSendEEE+221)
          art/runtime/runtime.cc:422]   native: #27 pc 002e32ee  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZN8litecore4repl6Pusher17maybeSendMoreRevsEv+254)
          art/runtime/runtime.cc:422]   native: #28 pc 002e723d  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (???)
          art/runtime/runtime.cc:422]   native: #29 pc 0028bcf1  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (???)
          art/runtime/runtime.cc:422]   native: #30 pc 0028c769  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZNSt6__ndk110__function6__funcINS_6__bindIRNS_8functionIFvN8litecore4blip15MessageProgressEEEEJRS6_EEENS_9allocatorISB_EEFvvEEclEv+105)
          art/runtime/runtime.cc:422]   native: #31 pc 0031c0fe  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZNK8litecore5actor15ThreadedMailbox10safelyCallERKNSt6__ndk18functionIFvvEEE+46)
          art/runtime/runtime.cc:422]   native: #32 pc 0031e3eb  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (???)
          art/runtime/runtime.cc:422]   native: #33 pc 0031b621  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZN8litecore5actor15ThreadedMailbox18performNextMessageEv+161)
          art/runtime/runtime.cc:422]   native: #34 pc 0031b50c  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZN8litecore5actor9Scheduler4taskEj+204)
          art/runtime/runtime.cc:422]   native: #35 pc 0031c2f7  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (???)
          art/runtime/runtime.cc:422]   native: #36 pc 000752b2  /system/lib/libc.so (_ZL15__pthread_startPv+210)
          art/runtime/runtime.cc:422]   native: #37 pc 000202ae  /system/lib/libc.so (__start_thread+30)
          art/runtime/runtime.cc:422]   native: #38 pc 0001e086  /system/lib/libc.so (__bionic_clone+70)
          art/runtime/runtime.cc:422]   (no managed stack frames)
          art/runtime/runtime.cc:422] Dumping all threads without appropriate locks held: thread list lock
          art/runtime/runtime.cc:422] All threads:
          art/runtime/runtime.cc:422] DALVIK THREADS (23):
          art/runtime/runtime.cc:422] "Thread-45677" prio=5 tid=18 Runnable
          art/runtime/runtime.cc:422]   | group="" sCount=0 dsCount=0 obj=0x12eb1f70 self=0xd5febe00
          art/runtime/runtime.cc:422]   | sysTid=2678 nice=0 cgrp=default sched=0/0 handle=0xd3500920
          art/runtime/runtime.cc:422]   | state=R schedstat=( 27968618840 11761095792 15628 ) utm=425 stm=2371 core=0 HZ=100
          art/runtime/runtime.cc:422]   | stack=0xd3404000-0xd3406000 stackSize=1014KB
          art/runtime/runtime.cc:422]   | held mutexes= "abort lock" "JNI weak global reference table lock" "ObjectRegistry lock" "mutator lock"(shared held)
          art/runtime/runtime.cc:422]   native: #00 pc 0057302e  /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+238)
          art/runtime/runtime.cc:422]   native: #01 pc 0053f40e  /system/lib/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+526)
          art/runtime/runtime.cc:422]   native: #02 pc 0053c40b  /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+75)
          art/runtime/runtime.cc:422]   native: #03 pc 0055c00b  /system/lib/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+1115)
          art/runtime/runtime.cc:422]   native: #04 pc 005522ce  /system/lib/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+590)
          art/runtime/runtime.cc:422]   native: #05 pc 00551e42  /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+962)
          art/runtime/runtime.cc:422]   native: #06 pc 00528268  /system/lib/libart.so (_ZNK3art10AbortState14DumpAllThreadsERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+424)
          art/runtime/runtime.cc:422]   native: #07 pc 00527fb6  /system/lib/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+1078)
          art/runtime/runtime.cc:422]   native: #08 pc 0051832b  /system/lib/libart.so (_ZN3art7Runtime5AbortEPKc+155)
          art/runtime/runtime.cc:422]   native: #09 pc 0011a653  /system/lib/libart.so (_ZN3art10LogMessageD1Ev+1747)
          art/runtime/runtime.cc:422]   native: #10 pc 002cd248  /system/lib/libart.so (_ZN3art22IndirectReferenceTable3AddEjPNS_6mirror6ObjectE+376)
          art/runtime/runtime.cc:422]   native: #11 pc 003932eb  /system/lib/libart.so (_ZN3art9JavaVMExt16AddWeakGlobalRefEPNS_6ThreadEPNS_6mirror6ObjectE+91)
          art/runtime/runtime.cc:422]   native: #12 pc 00403c14  /system/lib/libart.so (_ZN3art3JNI16NewWeakGlobalRefEP7_JNIEnvP8_jobject+788)
          art/runtime/runtime.cc:422]   native: #13 pc 0013f9f2  /system/lib/libart.so (_ZN3art8CheckJNI6NewRefEPKcP7_JNIEnvP8_jobjectNS_15IndirectRefKindE+1106)
          art/runtime/runtime.cc:422]   native: #14 pc 00139769  /system/lib/libart.so (_ZN3art8CheckJNI16NewWeakGlobalRefEP7_JNIEnvP8_jobject+57)
          art/runtime/runtime.cc:422]   native: #15 pc 003b1d9e  /system/lib/libart.so (_ZN3art14ObjectRegistry11InternalAddINS_6mirror6ObjectEEEyNS_6HandleIT_EE+1358)
          art/runtime/runtime.cc:422]   native: #16 pc 003b2776  /system/lib/libart.so (_ZN3art14ObjectRegistry3AddEPNS_6mirror6ObjectE+166)
          art/runtime/runtime.cc:422]   native: #17 pc 001bc593  /system/lib/libart.so (_ZN3art3Dbg11GetThreadIdEPNS_6ThreadE+691)
          art/runtime/runtime.cc:422]   native: #18 pc 0039f864  /system/lib/libart.so (_ZN3art4JDWP9JdwpState16PostThreadChangeEPNS_6ThreadEb+948)
          art/runtime/runtime.cc:422]   native: #19 pc 001ce4ee  /system/lib/libart.so (_ZN3art3Dbg15PostThreadStartEPNS_6ThreadE+62)
          art/runtime/runtime.cc:422]   native: #20 pc 0053d513  /system/lib/libart.so (_ZN3art6Thread6AttachEPKcbP8_jobjectb+2595)
          art/runtime/runtime.cc:422]   native: #21 pc 00517b5f  /system/lib/libart.so (_ZN3art7Runtime19AttachCurrentThreadEPKcbP8_jobjectb+95)
          art/runtime/runtime.cc:422]   native: #22 pc 003980a2  /system/lib/libart.so (_ZN3art3JII27AttachCurrentThreadInternalEP7_JavaVMPP7_JNIEnvPvb+338)
          art/runtime/runtime.cc:422]   native: #23 pc 00397d86  /system/lib/libart.so (_ZN3art3JII19AttachCurrentThreadEP7_JavaVMPP7_JNIEnvPv+54)
          art/runtime/runtime.cc:422]   native: #24 pc 00149113  /system/lib/libart.so (_ZN3art8CheckJII19AttachCurrentThreadEP7_JavaVMPP7_JNIEnvPv+147)
          art/runtime/runtime.cc:422]   native: #25 pc 000e95d2  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (???)
          art/runtime/runtime.cc:422]   native: #26 pc 0028e98c  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZN8litecore9LogDomain4vlogENS_8LogLevelEjbPKcPc+364)
          art/runtime/runtime.cc:422]   native: #27 pc 0028ff57  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZNK8litecore7Logging5_logvENS_8LogLevelEPKcPc+615)
          art/runtime/runtime.cc:422]   native: #28 pc 0028fccb  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZNK8litecore7Logging4_logENS_8LogLevelEPKcz+59)
          art/runtime/runtime.cc:422]   native: #29 pc 002e347d  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZN8litecore4repl6Pusher12sendRevisionEN6fleece8RetainedINS0_9RevToSendEEE+221)
          art/runtime/runtime.cc:422]   native: #30 pc 002e32ee  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZN8litecore4repl6Pusher17maybeSendMoreRevsEv+254)
          art/runtime/runtime.cc:422]   native: #31 pc 002e723d  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (???)
          art/runtime/runtime.cc:422]   native: #32 pc 0028bcf1  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (???)
          art/runtime/runtime.cc:422]   native: #33 pc 0028c769  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZNSt6__ndk110__function6__funcINS_6__bindIRNS_8functionIFvN8litecore4blip15MessageProgressEEEEJRS6_EEENS_9allocatorISB_EEFvvEEclEv+105)
          art/runtime/runtime.cc:422]   native: #34 pc 0031c0fe  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZNK8litecore5actor15ThreadedMailbox10safelyCallERKNSt6__ndk18functionIFvvEEE+46)
          art/runtime/runtime.cc:422]   native: #35 pc 0031e3eb  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (???)
          art/runtime/runtime.cc:422]   native: #36 pc 0031b621  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZN8litecore5actor15ThreadedMailbox18performNextMessageEv+161)
          art/runtime/runtime.cc:422]   native: #37 pc 0031b50c  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (_ZN8litecore5actor9Scheduler4taskEj+204)
          art/runtime/runtime.cc:422]   native: #38 pc 0031c2f7  /data/app/com.couchbase.TestServerApp-1/lib/x86/libLiteCoreJNI.so (???)
          art/runtime/runtime.cc:422]   native: #39 pc 000752b2  /system/lib/libc.so (_ZL15__pthread_startPv+210)
          art/runtime/runtime.cc:422]   native: #40 pc 000202ae  /system/lib/libc.so (__start_thread+30)
          art/runtime/runtime.cc:422]   native: #41 pc 0001e086  /system/lib/libc.so (__bionic_clone+70)
          art/runtime/runtime.cc:422]   (no managed stack frames)
          art/runtime/runtime.cc:422]
          art/runtime/runtime.cc:422] "main" prio=5 tid=1 Native
          art/runtime/runtime.cc:422]   | group="" sCount=1 dsCount=0 obj=0x75b30610 self=0xeef0b400
          art/runtime/runtime.cc:422]   | sysTid=2643 nice=-10 cgrp=default sched=0/0 handle=0xf38a3534
          art/runtime/runtime.cc:422]   | state=S schedstat=( 1108503090 120799404 263 ) utm=50 stm=60 core=1 HZ=100
          art/runtime/runtime.cc:422]   | stack=0xff0ce000-0xff0d0000 stackSize=8MB
          art/runtime/runtime.cc:422]   | held mutexes=
          art/runtime/runtime.cc:422]   kernel: ep_poll+0x307/0x400
          art/runtime/runtime.cc:422]   kernel: SyS_epoll_pwait+0x1c0/0x1f0
          art/runtime/runtime.cc:422]   kernel: do_fast_syscall_32+0xa4/0x250
          art/runtime/runtime.cc:422]   kernel: sysenter_flags_fixed+0x8/0x12
          art/runtime/runtime.cc:422]   native: #00 pc 00000bb9  [vdso] (__kernel_vsyscall+9)
          art/runtime/runtime.cc:422]   native: #01 pc 00077bdb  /system/lib/libc.so (__epoll_pwait+43)
          art/runtime/runtime.cc:422]   native: #02 pc 00020cc0  /system/lib/libc.so (epoll_pwait+112)
          art/runtime/runtime.cc:422]   native: #03 pc 00020d1e  /system/lib/libc.so (epoll_wait+62)
          art/runtime/runtime.cc:422]   native: #04 pc 00018f1b  /system/lib/libutils.so (_ZN7android6Looper9pollInnerEi+203)
          art/runtime/runtime.cc:422]   native: #05 pc 00018d84  /system/lib/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+68)
          art/runtime/runtime.cc:422]   native: #06 pc 000d38c3  /system/lib/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+77)
          art/runtime/runtime.cc:422]   native: #07 pc 000d3934  /system/lib/libandroid_runtime.so (???)
          art/runtime/runtime.cc:422]   native: #08 pc 007b1bac  /system/framework/x86/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+136)
          art/runtime/runtime.cc:422]   at android.os.MessageQueue.nativePollOnce(Native method)
          art/runtime/runtime.cc:422]   at android.os.MessageQueue.next(MessageQueue.java:323)
          art/runtime/runtime.cc:422]   at android.os.Looper.loop(Looper.java:136)
          art/runtime/runtime.cc:422]   at android.app.ActivityThread.main(ActivityThread.java:6119)
          art/runtime/runtime.cc:422]   at java.lang.reflect.Method.invoke!(Native method)
          art/runtime/runtime.cc:422]   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
          art/runtime/runtime.cc:422]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
          art/runtime/runtime.cc:422]
          art/runtime/runtime.cc:422] "Jit thread pool worker thread 0" prio=5 tid=2 Native (still starting up)
          art/runtime/runtime.cc:422]   | group="" sCount=1 dsCount=0 obj=0x0 self=0xf312f000
          art/runtime/runtime.cc:422]   | sysTid=2648 nice=9 cgrp=default sched=0/0 handle=0xee350920
          art/runtime/runtime.cc:422]   | state=S schedstat=( 2240671152 2119479780 2015 ) utm=38 stm=186 core=0 HZ=100
          art/runtime/runtime.cc:422]   | stack=0xee252000-0xee254000 stackSize=1022KB
          art/runtime/runtime.cc:422]   | held mutexes=
          art/runtime/runtime.cc:422]   kernel: futex_wait_queue_me+0xc0/0x110
          art/runtime/runtime.cc:422]   kernel: futex_wait+0x112/0x250
          art/runtime/runtime.cc:422]   kernel: do_futex+0xdc/0xb30
          art/runtime/runtime.cc:422]   kernel: compat_SyS_futex+0x75/0x150
          art/runtime/runtime.cc:422]   kernel: do_fast_syscall_32+0xa4/0x250
          art/runtime/runtime.cc:422]   kernel: sysenter_flags_fixed+0x8/0x12
          art/runtime/runtime.cc:422]   native: #00 pc 00000bb7  [vdso] (__kernel_vsyscall+7)
          art/runtime/runtime.cc:422]   native: #01 pc 0001e268  /system/lib/libc.so (syscall+40)
          art/runtime/runtime.cc:422]   native: #02 pc 0011d27e  /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+142)
          art/runtime/runtime.cc:422]   native: #03 pc 0011d1e7  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+39)
          art/runtime/runtime.cc:422]   native: #04 pc 0055e312  /system/lib/libart.so (_ZN3art10ThreadPool7GetTaskEPNS_6ThreadE+258)
          art/runtime/runtime.cc:422]   native: #05 pc 0055d615  /system/lib/libart.so (_ZN3art16ThreadPoolWorker3RunEv+117)
          art/runtime/runtime.cc:422]   native: #06 pc 0055cdea  /system/lib/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+106)
          art/runtime/runtime.cc:422]   native: #07 pc 000752b2  /system/lib/libc.so (_ZL15__pthread_startPv+210)
          art/runtime/runtime.cc:422]   native: #08 pc 000202ae  /system/lib/libc.so (__start_thread+30)
          art/runtime/runtime.cc:422]   native: #09 pc 0001e086  /system/lib/libc.so (__bionic_clone+70)
          art/runtime/runtime.cc:422]   (no managed stack frames)
          art/runtime/runtime.cc:422]
          art/runtime/runtime.cc:422] "Signal Catcher" prio=5 tid=3 WaitingInMainSignalCatcherLoop
          art/runtime/runtime.cc:422]   | group="" sCount=1 dsCount=0 obj=0x12c4b9d0 self=0xe5b99e00
          art/runtime/runtime.cc:422]   | sysTid=2649 nice=0 cgrp=default sched=0/0 handle=0xee24f920
          art/runtime/runtime.cc:422]   | state=S schedstat=( 587864 608186 5 ) utm=0 stm=0 core=0 HZ=100
          art/runtime/runtime.cc:422]   | stack=0xee153000-0xee155000 stackSize=1014KB
          art/runtime/runtime.cc:422]   | held mutexes=
          art/runtime/runtime.cc:422]   kernel: do_sigtimedwait+0x152/0x1e0
          art/runtime/runtime.cc:422]   kernel: C_SYSC_rt_sigtimedwait+0x8d/0xe0
          art/runtime/runtime.cc:422]   kernel: compat_SyS_rt_sigtimedwait+0xe/0x10
          art/runtime/runtime.cc:422]   kernel: do_fast_syscall_32+0xa4/0x250
          art/runtime/runtime.cc:422]   kernel: sysenter_flags_fixed+0x8/0x12
          art/runtime/runtime.cc:422]   native: #00 pc 00000bb9  [vdso] (__kernel_vsyscall+9)
          art/runtime/runtime.cc:422]   native: #01 pc 00078221  /system/lib/libc.so (__rt_sigtimedwait+33)
          art/runtime/runtime.cc:422]   native: #02 pc 000289ef  /system/lib/libc.so (sigwait+95)
          art/runtime/runtime.cc:422]   native: #03 pc 0052ebeb  /system/lib/libart.so (_ZN3art9SignalSet4WaitEv+59)
          art/runtime/runtime.cc:422]   native: #04 pc 0052e5b7  /system/lib/libart.so (_ZN3art13SignalCatcher13WaitForSignalEPNS_6ThreadERNS_9SignalSetE+215)
          art/runtime/runtime.cc:422]   native: #05 pc 0052c71a  /system/lib/libart.so (_ZN3art13SignalCatcher3RunEPv+314)
          art/runtime/runtime.cc:422]   native: #06 pc 000752b2  /system/lib/libc.so (_ZL15__pthread_startPv+210)
          art/runtime/runtime.cc:422]   native: #07 pc 000202ae  /system/lib/libc.so (__start_thread+30)
          art/runtime/runtime.cc:422]   native: #08 pc 0001e086  /system/lib/libc.so (__bionic_clone+70)
          art/runtime/runtime.cc:422]   (no managed stack frames)
          art/runtime/runtime.cc:422]
          art/runtime/runtime.cc:422] "JDWP" prio=5 tid=4 WaitingInMainDebuggerLoop
          art/runtime/runtime.cc:422]   | group="" sCount=1 dsCount=0 obj=0x12c4ba60 self=0xf3130400
          art/runtime/runtime.cc:422]   | sysTid=2650 nice=0 cgrp=default sched=0/0 handle=0xee150920
          art/runtime/runtime.cc:422]   | state=S schedstat=( 170235504 138774725 50 ) utm=9 stm=7 core=2 HZ=100
          art/runtime/runtime.cc:422]   | stack=0xee054000-0xee056000 stackSize=1014KB
          art/runtime/runtime.cc:422]   | held mutexes=
          art/runtime/runtime.cc:422]   kernel: poll_schedule_timeout+0x49/0x70
          art/runtime/runtime.cc:422]   kernel: do_select+0x57d/0x7c0
          art/runtime/runtime.cc:422]   kernel: compat_core_sys_select+0x1cf/0x290
          art/runtime/runtime.cc:422]   kernel: compat_SyS_pselect6+0x223/0x240
          art/runtime/runtime.cc:422]   kernel: do_fast_syscall_32+0xa4/0x250
          art/runtime/runtime.cc:422]   kernel: sysenter_flags_fixed+0x8/0x12
          art/runtime/runtime.cc:422]   native: #00 pc 00000bb9  [vdso] (__kernel_vsyscall+9)
          art/runtime/runtime.cc:422]   native: #01 pc 0007802b  /system/lib/libc.so (__pselect6+43)
          art/runtime/runtime.cc:422]   native: #02 pc 000268fd  /system/lib/libc.so (select+173)
          art/runtime/runtime.cc:422]   native: #03 pc 00678d7c  /system/lib/libart.so (_ZN3art4JDWP12JdwpAdbState15ProcessIncomingEv+476)
          art/runtime/runtime.cc:422]   native: #04 pc 003aba81  /system/lib/libart.so (_ZN3art4JDWP9JdwpState3RunEv+593)
          art/runtime/runtime.cc:422]   native: #05 pc 003aaf00  /system/lib/libart.so (_ZN3art4JDWPL15StartJdwpThreadEPv+48)
          art/runtime/runtime.cc:422]   native: #06 pc 000752b2  /system/lib/libc.so (_ZL15__pthread_startPv+210)
          art/runtime/runtime.cc:422]   native: #07 pc 000202ae  /system/lib/libc.so (__start_thread+30)
          art/runtime/runtime.cc:422]   native: #08 pc 0001e086  /system/lib/libc.so (__bionic_clone+70)
          art/runtime/runtime.cc:422]   (no managed stack frames)
          art/runtime/runtime.cc:422]
          art/runtime/runtime.cc:422] "ReferenceQueueDaemon" prio=5 tid=5 Waiting
          art/runtime/runtime.cc:422]   | group="" sCount=1 dsCount=0 obj=0x12c4baf0 self=0xe5b9b200
          art/runtime/runtime.cc:422]   | sysTid=2651 nice=0 cgrp=default sched=0/0 handle=0xee051920
          art/runtime/runtime.cc:422]   | state=S schedstat=( 90618677 89033720 457 ) utm=3 stm=5 core=1 HZ=100
          art/runtime/runtime.cc:422]   | stack=0xedf4f000-0xedf51000 stackSize=1038KB
          art/runtime/runtime.cc:422]   | held mutexes=
          art/runtime/runtime.cc:422]   kernel: futex_wait_queue_me+0xc0/0x110
          art/runtime/runtime.cc:422]   kernel: futex_wait+0x112/0x250
          art/runtime/runtime.cc:422]   kernel: do_futex+0xdc/0xb30
          art/runtime/runtime.cc:422]   kernel: compat_SyS_futex+0x75/0x150
          art/runtime/runtime.cc:422]   kernel: do_fast_syscall_32+0xa4/0x250
          art/runtime/runtime.cc:422]   kernel: sysenter_flags_fixed+0x8/0x12
          art/runtime/runtime.cc:422]   native: #00 pc 00000bb7  [vdso] (__kernel_vsyscall+7)
          art/runtime/runtime.cc:422]   native: #01 pc 0001e268  /system/lib/libc.so (syscall+40)
          art/runtime/runtime.cc:422]   native: #02 pc 0011d27e  /system/lib/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+142)
      A/art: art/runtime/runtime.cc:422]   native: #03 pc 0011d1e7  /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+39)
          art/runtime/runtime.cc:422]   native: #04 pc 00437269  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+537)
          art/runtime/runtime.cc:422]   native: #05 pc 00439953  /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+339)
          art/runtime/runtime.cc:422]   native: #06 pc 00451cdf  /system/lib/libart.so (_ZN3artL11Object_waitEP7_JNIEnvP8_jobject+95)
          art/runtime/runtime.cc:422]   native: #07 pc 000006dc  /system/framework/x86/boot.oat (Java_java_lang_Object_wait__+104)
          art/runtime/runtime.cc:422]   at java.lang.Object.wait!(Native method)
          art/runtime/runtime.cc:422]   - waiting on <0x0493d65d> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
          art/runtime/runtime.cc:422]   at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:150)
          art/runtime/runtime.cc:422]   - locked <0x0493d65d> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
          art/runtime/runtime.cc:422]   at java.lang.Thread.run(Thread.java:761)
      

      Expected Result:

      App crash during replication after CBL upgrade.

       

      Steps to Reproduce:

      1. Create a encrypted db for CBL 2.5.0 for travel-sample bucket
      2. Copy the db and open it in CBL 2.6.0 app. App will migrate db to 2.6.0
      3. Start replication to replicate db to CBS/SG

       

      PS: Upgrade test was working fine with CBL 2.6.0-133 build.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            eunice.huang Eunice Huang (Inactive)
            hemant.rajput Hemant Rajput
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty