Skip to content

Instantly share code, notes, and snippets.

@hideki
Created February 9, 2016 06:15
Show Gist options
  • Save hideki/e6d62f0033c87d0e3b48 to your computer and use it in GitHub Desktop.
Save hideki/e6d62f0033c87d0e3b48 to your computer and use it in GitHub Desktop.
couchbase-lite-android/issues/782
02-08 15:52:05.299: I/ActivityManager(1300): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.biotronik.couchbaseproto/.MainActivity (has extras)} from uid 10014 on display 0
02-08 15:52:05.390: I/art(4984): Not late-enabling -Xcheck:jni (already on)
02-08 15:52:05.404: I/ActivityManager(1300): Start proc 4984:com.biotronik.couchbaseproto/u0a57 for activity com.biotronik.couchbaseproto/.MainActivity
02-08 15:52:05.468: D/couchbaseprofiling(4984): Begin Couchbase Events App
02-08 15:52:05.746: E/Surface(1647): getSlotFromBufferLocked: unknown buffer: 0xa0a28850
02-08 15:52:05.975: W/System.err(4984): java.lang.IllegalStateException: No valid leaving transitions are permitted from state 'INITIAL' for trigger 'STOP_GRACEFUL'. Consider ignoring the trigger.
02-08 15:52:05.975: W/System.err(4984): at com.github.oxo42.stateless4j.StateMachine$1.doIt(StateMachine.java:37)
02-08 15:52:05.975: W/System.err(4984): at com.github.oxo42.stateless4j.StateMachine.publicFire(StateMachine.java:188)
02-08 15:52:05.975: W/System.err(4984): at com.github.oxo42.stateless4j.StateMachine.fire(StateMachine.java:126)
02-08 15:52:05.975: W/System.err(4984): at com.couchbase.lite.replicator.ReplicationInternal$1.run(ReplicationInternal.java:206)
02-08 15:52:05.975: W/System.err(4984): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
02-08 15:52:05.975: W/System.err(4984): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
02-08 15:52:05.975: W/System.err(4984): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)
02-08 15:52:05.975: W/System.err(4984): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
02-08 15:52:05.975: W/System.err(4984): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
02-08 15:52:05.975: W/System.err(4984): at java.lang.Thread.run(Thread.java:818)
02-08 15:52:05.975: W/System.err(4984): java.lang.IllegalStateException: No valid leaving transitions are permitted from state 'INITIAL' for trigger 'STOP_GRACEFUL'. Consider ignoring the trigger.
02-08 15:52:05.975: W/System.err(4984): at com.github.oxo42.stateless4j.StateMachine$1.doIt(StateMachine.java:37)
02-08 15:52:05.975: W/System.err(4984): at com.github.oxo42.stateless4j.StateMachine.publicFire(StateMachine.java:188)
02-08 15:52:05.976: W/System.err(4984): at com.github.oxo42.stateless4j.StateMachine.fire(StateMachine.java:126)
02-08 15:52:05.976: W/System.err(4984): at com.couchbase.lite.replicator.ReplicationInternal$1.run(ReplicationInternal.java:206)
02-08 15:52:05.976: W/System.err(4984): at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
02-08 15:52:05.976: W/System.err(4984): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
02-08 15:52:05.976: W/System.err(4984): at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:269)
02-08 15:52:05.976: W/System.err(4984): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
02-08 15:52:05.976: W/System.err(4984): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
02-08 15:52:05.976: W/System.err(4984): at java.lang.Thread.run(Thread.java:818)
02-08 15:52:06.039: E/SurfaceFlinger(952): ro.sf.lcd_density must be defined as a build property
02-08 15:52:06.040: D/OpenGLRenderer(4984): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
02-08 15:52:06.051: D/(4984): HostConnection::get() New Host Connection established 0xabe7d990, tid 4984
02-08 15:52:06.101: D/(4984): HostConnection::get() New Host Connection established 0xabf6d150, tid 5002
02-08 15:52:06.113: I/OpenGLRenderer(4984): Initialized EGL, version 1.4
02-08 15:52:06.171: W/EGL_emulation(4984): eglSurfaceAttrib not implemented
02-08 15:52:06.171: W/OpenGLRenderer(4984): Failed to set EGL_SWAP_BEHAVIOR on surface 0xa293e320, error=EGL_SUCCESS
02-08 15:52:06.507: I/ActivityManager(1300): Displayed com.biotronik.couchbaseproto/.MainActivity: +1s120ms
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] JNI ERROR (app bug): local reference table overflow (max=512)
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] local reference table dump:
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] Last 10 entries (of 512):
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] 511: 0x12f1eca0 java.lang.String "80310-9fcdabebff... (38 chars)
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] 510: 0x12f1ebe0 java.lang.String "79801-bca92c6049... (38 chars)
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] 509: 0x12f1eb20 java.lang.String "79802-11f8afd33a... (38 chars)
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] 508: 0x12f1ea60 java.lang.String "79803-18139b9081... (38 chars)
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] 507: 0x12f1e9a0 java.lang.String "79804-d9fac4acac... (38 chars)
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] 506: 0x12f1e8e0 java.lang.String "79805-d1daafcdd4... (38 chars)
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] 505: 0x12f1e820 java.lang.String "79806-92209c1239... (38 chars)
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] 504: 0x12f1e760 java.lang.String "79807-d0bf3ad75e... (38 chars)
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] 503: 0x12f1e6a0 java.lang.String "79808-849c899b09... (38 chars)
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] 502: 0x12f1e5e0 java.lang.String "79809-edd89a1b9f... (38 chars)
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] Summary:
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] 511 of java.lang.String (511 unique instances)
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115] 1 of java.lang.Thread
02-08 15:52:13.985: A/art(4984): art/runtime/indirect_reference_table.cc:115]
02-08 15:52:14.056: A/art(4984): art/runtime/barrier.cc:90] Check failed: count_ == 0 (count_=-1, 0=0) Attempted to destroy barrier with non zero count
02-08 15:52:14.056: A/art(4984): art/runtime/runtime.cc:366] Runtime aborting --- recursively, so no thread-specific detail!
02-08 15:52:14.057: A/art(4984): art/runtime/runtime.cc:366]
02-08 15:52:14.057: A/libc(4984): Fatal signal 6 (SIGABRT), code -6 in tid 4999 (CBLManagerWorkE)
02-08 15:52:14.174: A/DEBUG(962): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-08 15:52:14.174: A/DEBUG(962): Build fingerprint: 'Android/sdk_google_phone_x86/generic_x86:6.0/MASTER/2524533:userdebug/test-keys'
02-08 15:52:14.174: A/DEBUG(962): Revision: '0'
02-08 15:52:14.174: A/DEBUG(962): ABI: 'x86'
02-08 15:52:14.174: A/DEBUG(962): pid: 4984, tid: 4999, name: CBLManagerWorkE >>> com.biotronik.couchbaseproto <<<
02-08 15:52:14.174: A/DEBUG(962): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
02-08 15:52:14.177: A/DEBUG(962): Abort message: 'art/runtime/indirect_reference_table.cc:115] JNI ERROR (app bug): local reference table overflow (max=512)'
02-08 15:52:14.177: A/DEBUG(962): eax 00000000 ebx 00001378 ecx 00001387 edx 00000006
02-08 15:52:14.177: A/DEBUG(962): esi a2dc1980 edi 0000000c
02-08 15:52:14.177: A/DEBUG(962): xcs 00000073 xds 0000007b xes 0000007b xfs 0000004f xss 0000007b
02-08 15:52:14.177: A/DEBUG(962): eip b734a606 ebp 00001387 esp a2dc09d0 flags 00000206
02-08 15:52:14.180: A/DEBUG(962): backtrace:
02-08 15:52:14.180: A/DEBUG(962): #00 pc 00083606 /system/lib/libc.so (tgkill+22)
02-08 15:52:14.180: A/DEBUG(962): #01 pc 000815e8 /system/lib/libc.so (pthread_kill+70)
02-08 15:52:14.180: A/DEBUG(962): #02 pc 00027205 /system/lib/libc.so (raise+36)
02-08 15:52:14.180: A/DEBUG(962): #03 pc 000209e4 /system/lib/libc.so (abort+80)
02-08 15:52:14.180: A/DEBUG(962): #04 pc 005173cb /system/lib/libart.so (art::Runtime::Abort()+377)
02-08 15:52:14.180: A/DEBUG(962): #05 pc 0014d9f3 /system/lib/libart.so (art::LogMessage::~LogMessage()+1343)
02-08 15:52:14.180: A/DEBUG(962): #06 pc 00147f36 /system/lib/libart.so (art::Barrier::~Barrier()+966)
02-08 15:52:14.180: A/DEBUG(962): #07 pc 0056010f /system/lib/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)+271)
02-08 15:52:14.180: A/DEBUG(962): #08 pc 00517548 /system/lib/libart.so (art::Runtime::Abort()+758)
02-08 15:52:14.180: A/DEBUG(962): #09 pc 0014d9f3 /system/lib/libart.so (art::LogMessage::~LogMessage()+1343)
02-08 15:52:14.180: A/DEBUG(962): #10 pc 002e6f3c /system/lib/libart.so (art::IndirectReferenceTable::Add(unsigned int, art::mirror::Object*)+860)
02-08 15:52:14.180: A/DEBUG(962): #11 pc 00408a9a /system/lib/libart.so (art::JNI::NewStringUTF(_JNIEnv*, char const*)+570)
02-08 15:52:14.181: A/DEBUG(962): #12 pc 0017c545 /system/lib/libart.so (art::CheckJNI::NewStringUTF(_JNIEnv*, char const*)+632)
02-08 15:52:14.181: A/DEBUG(962): #13 pc 0018788f /data/app/com.biotronik.couchbaseproto-2/lib/x86/libCouchbaseLiteJavaForestDB.so (_JNIEnv::NewStringUTF(char const*)+63)
02-08 15:52:14.181: A/DEBUG(962): #14 pc 0018779d /data/app/com.biotronik.couchbaseproto-2/lib/x86/libCouchbaseLiteJavaForestDB.so (cbforest::jni::toJString(_JNIEnv*, C4Slice)+221)
02-08 15:52:14.181: A/DEBUG(962): #15 pc 00181fa8 /data/app/com.biotronik.couchbaseproto-2/lib/x86/libCouchbaseLiteJavaForestDB.so
02-08 15:52:14.181: A/DEBUG(962): #16 pc 00183780 /data/app/com.biotronik.couchbaseproto-2/lib/x86/libCouchbaseLiteJavaForestDB.so (Java_com_couchbase_cbforest_Document_insertRevisionWithHistory+1296)
02-08 15:52:14.181: A/DEBUG(962): #17 pc 00a9cf44 /data/app/com.biotronik.couchbaseproto-2/oat/x86/base.odex (offset 0x590000) (int com.couchbase.cbforest.Document.insertRevisionWithHistory(long, byte[], boolean, boolean, java.lang.String[])+200)
02-08 15:52:14.181: A/DEBUG(962): #18 pc 00a9e444 /data/app/com.biotronik.couchbaseproto-2/oat/x86/base.odex (offset 0x590000) (int com.couchbase.cbforest.Document.insertRevisionWithHistory(byte[], boolean, boolean, java.lang.String[])+168)
02-08 15:52:14.181: A/DEBUG(962): #19 pc 00b19e89 /data/app/com.biotronik.couchbaseproto-2/oat/x86/base.odex (offset 0x590000) (com.couchbase.lite.Status com.couchbase.lite.store.ForestDBStore$3.run()+525)
02-08 15:52:14.181: A/DEBUG(962): #20 pc 00b1df22 /data/app/com.biotronik.couchbaseproto-2/oat/x86/base.odex (offset 0x590000) (com.couchbase.lite.Status com.couchbase.lite.store.ForestDBStore.inTransaction(com.couchbase.lite.store.ForestDBStore$Task)+166)
02-08 15:52:14.181: A/DEBUG(962): #21 pc 00b21f8c /data/app/com.biotronik.couchbaseproto-2/oat/x86/base.odex (offset 0x590000) (void com.couchbase.lite.store.ForestDBStore.forceInsert(com.couchbase.lite.internal.RevisionInternal, java.util.List, com.couchbase.lite.store.StorageValidation, java.net.URL)+480)
02-08 15:52:14.181: A/DEBUG(962): #22 pc 00aabe7d /data/app/com.biotronik.couchbaseproto-2/oat/x86/base.odex (offset 0x590000) (void com.couchbase.lite.Database.forceInsert(com.couchbase.lite.internal.RevisionInternal, java.util.List, java.net.URL)+1361)
02-08 15:52:14.181: A/DEBUG(962): #23 pc 00addd77 /data/app/com.biotronik.couchbaseproto-2/oat/x86/base.odex (offset 0x590000) (boolean com.couchbase.lite.replicator.PullerInternal$8.run()+3387)
02-08 15:52:14.181: A/DEBUG(962): #24 pc 00b27656 /data/app/com.biotronik.couchbaseproto-2/oat/x86/base.odex (offset 0x590000) (boolean com.couchbase.lite.store.ForestDBStore.runInTransaction(com.couchbase.lite.TransactionalTask)+106)
02-08 15:52:14.181: A/DEBUG(962): #25 pc 00c3e41d /data/app/com.biotronik.couchbaseproto-2/oat/x86/base.odex (offset 0x590000) (void com.couchbase.lite.replicator.PullerInternal.insertDownloads(java.util.List)+737)
02-08 15:52:14.181: A/DEBUG(962): #26 pc 00adb0c9 /data/app/com.biotronik.couchbaseproto-2/oat/x86/base.odex (offset 0x590000) (void com.couchbase.lite.replicator.PullerInternal$1.process(java.util.List)+77)
02-08 15:52:14.181: A/DEBUG(962): #27 pc 00834848 /data/app/com.biotronik.couchbaseproto-2/oat/x86/base.odex (offset 0x590000) (void com.couchbase.lite.support.Batcher.processNow()+1292)
02-08 15:52:14.181: A/DEBUG(962): #28 pc 00834098 /data/app/com.biotronik.couchbaseproto-2/oat/x86/base.odex (offset 0x590000) (void com.couchbase.lite.support.Batcher.access$200(com.couchbase.lite.support.Batcher)+60)
02-08 15:52:14.181: A/DEBUG(962): #29 pc 00833adf /data/app/com.biotronik.couchbaseproto-2/oat/x86/base.odex (offset 0x590000) (void com.couchbase.lite.support.Batcher$2.run()+307)
02-08 15:52:14.181: A/DEBUG(962): #30 pc 71e197bb /data/dalvik-cache/x86/system@framework@boot.oat (offset 0x1eb2000)
02-08 15:52:14.248: A/DEBUG(962): Tombstone written to: /data/tombstones/tombstone_00
02-08 15:52:14.248: E/DEBUG(962): AM write failed: Broken pipe
02-08 15:52:14.249: I/BootReceiver(1300): Copying /data/tombstones/tombstone_00 to DropBox (SYSTEM_TOMBSTONE)
02-08 15:52:14.262: W/InputDispatcher(1300): channel '9ed51aa com.biotronik.couchbaseproto/com.biotronik.couchbaseproto.MainActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
02-08 15:52:14.262: E/InputDispatcher(1300): channel '9ed51aa com.biotronik.couchbaseproto/com.biotronik.couchbaseproto.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
02-08 15:52:14.263: D/GraphicsStats(1300): Buffer count: 3
02-08 15:52:14.284: I/ActivityManager(1300): Process com.biotronik.couchbaseproto (pid 4984) has died
02-08 15:52:14.284: I/Zygote(968): Process 4984 exited due to signal (6)
02-08 15:52:14.285: W/ActivityManager(1300): Force removing ActivityRecord{5cb1c1c u0 com.biotronik.couchbaseproto/.MainActivity t29}: app died, no saved state
02-08 15:52:14.286: I/WindowState(1300): WIN DEATH: Window{9ed51aa u0 com.biotronik.couchbaseproto/com.biotronik.couchbaseproto.MainActivity}
02-08 15:52:14.286: W/InputDispatcher(1300): Attempted to unregister already unregistered input channel '9ed51aa com.biotronik.couchbaseproto/com.biotronik.couchbaseproto.MainActivity (server)'
02-08 15:52:14.371: I/OpenGLRenderer(1300): Initialized EGL, version 1.4
02-08 15:52:14.389: W/EGL_emulation(1647): eglSurfaceAttrib not implemented
02-08 15:52:14.389: W/OpenGLRenderer(1647): Failed to set EGL_SWAP_BEHAVIOR on surface 0xa19cfcc0, error=EGL_SUCCESS
02-08 15:52:14.425: W/EGL_emulation(1300): eglSurfaceAttrib not implemented
02-08 15:52:14.425: W/OpenGLRenderer(1300): Failed to set EGL_SWAP_BEHAVIOR on surface 0x9e907fe0, error=EGL_SUCCESS
02-08 15:52:19.589: E/Surface(1300): getSlotFromBufferLocked: unknown buffer: 0xa215fe40
02-08 15:52:19.594: D/OpenGLRenderer(1300): endAllStagingAnimators on 0xa033a100 (RippleDrawable) with handle 0x9e93db20
02-08 15:52:19.598: W/InputMethodManagerService(1300): Got RemoteException sending setActive(false) notification to pid 4984 uid 10057
02-08 15:52:19.818: W/AppOps(1300): Finishing op nesting under-run: uid 1000 pkg android code 24 time=0 duration=0 nesting=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment