kontalk / androidclient

Kontalk official Android client
https://www.kontalk.org
GNU General Public License v3.0
572 stars 195 forks source link

Crash on u8160 with 3.04a #1

Closed dalb8 closed 10 years ago

dalb8 commented 10 years ago

I was in email contact about various things which have been ironed out, but this is still a problem. Kontalk 2.9 works OK but 3.04a crashes several seconds after start up. It's an old device, running a CM7.2 kang, and it has very low RAM available. It appears that the lack of Gapps isn't being detected

03-08 13:47:10.272 D/dalvikvm(207): GC_CONCURRENT freed 658K, 43% free 7231K/12679K, external 314K/812K, paused 19ms+26ms
03-08 13:47:10.982 D/dalvikvm(2483): GC_CONCURRENT freed 407K, 77% free 3389K/14407K, external 0K/0K, paused 7ms+22ms
03-08 13:47:11.702 D/dalvikvm(207): GC_CONCURRENT freed 516K, 38% free 7894K/12679K, external 314K/812K, paused 20ms+24ms
03-08 13:47:13.292 D/dalvikvm(207): GC_CONCURRENT freed 1175K, 37% free 8051K/12679K, external 442K/812K, paused 20ms+23ms
03-08 13:47:13.912 I/global  (2483): Loaded time zone names for en_US in 5354ms.
03-08 13:47:14.112 D/dalvikvm(2568): GC_CONCURRENT freed 503K, 56% free 2995K/6663K, external 8K/513K, paused 6ms+8ms
03-08 13:47:15.742 D/dalvikvm(207): GC_CONCURRENT freed 1404K, 37% free 8073K/12679K, external 422K/812K, paused 16ms+23ms
03-08 13:47:16.482 I/ActivityManager(207): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10100000 cmp=org.fdroid.fdroid/.FDroid } from pid 207
03-08 13:47:16.492 D/PhoneWindow(2568): couldn't save which view has focus because the focused view android.widget.LinearLayout@40528b88 has no id.
03-08 13:47:17.822 D/dalvikvm(207): GC_CONCURRENT freed 1411K, 37% free 8062K/12679K, external 422K/812K, paused 10ms+38ms
03-08 13:47:18.132 I/global  (2483): Loaded time zone names for en_US in 4154ms.
03-08 13:47:18.282 W/ResponseProcessCookies(2483): Invalid cookie header: "set-cookie: guest_id=v1%3A139428641874239839; Domain=.twitter.com; Path=/; Expires=Mon, 07-Mar-2016 13:46:58 UTC". Unable to parse expires attribute: Mon, 07-Mar-2016 13:46:58 UTC
03-08 13:47:19.412 D/dalvikvm(207): GC_CONCURRENT freed 1395K, 37% free 8086K/12679K, external 314K/812K, paused 11ms+17ms
03-08 13:47:19.662 D/dalvikvm(2568): GC_CONCURRENT freed 349K, 55% free 3051K/6663K, external 8K/513K, paused 6ms+7ms
03-08 13:47:20.302 D/dalvikvm(2483): GC_CONCURRENT freed 437K, 77% free 3338K/14407K, external 0K/0K, paused 8ms+12ms
03-08 13:47:21.292 D/dalvikvm(207): GC_CONCURRENT freed 1393K, 37% free 8078K/12679K, external 314K/812K, paused 10ms+20ms
03-08 13:47:22.302 D/dalvikvm(207): GC_CONCURRENT freed 1378K, 37% free 8088K/12679K, external 314K/812K, paused 9ms+13ms
03-08 13:47:23.132 D/dalvikvm(207): GC_CONCURRENT freed 1390K, 37% free 8085K/12679K, external 314K/812K, paused 10ms+24ms
03-08 13:47:23.422 D/dalvikvm(2568): GC_CONCURRENT freed 376K, 54% free 3093K/6663K, external 8K/513K, paused 6ms+7ms
03-08 13:47:24.202 D/dalvikvm(207): GC_CONCURRENT freed 1378K, 37% free 8092K/12679K, external 314K/812K, paused 10ms+14ms
03-08 13:47:25.012 D/dalvikvm(207): GC_CONCURRENT freed 1379K, 37% free 8108K/12679K, external 314K/812K, paused 9ms+14ms
03-08 13:47:25.832 D/dalvikvm(207): GC_CONCURRENT freed 1387K, 36% free 8116K/12679K, external 314K/812K, paused 10ms+14ms
03-08 13:47:26.302 D/dalvikvm(2472): GC_EXPLICIT freed 126K, 51% free 2860K/5767K, external 0K/0K, paused 79ms
03-08 13:47:26.582 D/dalvikvm(2568): GC_CONCURRENT freed 414K, 54% free 3102K/6663K, external 8K/513K, paused 6ms+16ms
03-08 13:47:27.202 D/dalvikvm(207): GC_CONCURRENT freed 1359K, 36% free 8124K/12679K, external 314K/812K, paused 10ms+14ms
03-08 13:47:28.872 D/dalvikvm(207): GC_CONCURRENT freed 1415K, 36% free 8136K/12679K, external 314K/812K, paused 12ms+14ms
03-08 13:47:29.732 D/dalvikvm(207): GC_CONCURRENT freed 1419K, 36% free 8163K/12679K, external 314K/812K, paused 9ms+13ms
03-08 13:47:30.682 D/dalvikvm(207): GC_CONCURRENT freed 1410K, 36% free 8151K/12679K, external 314K/812K, paused 9ms+14ms
03-08 13:47:30.962 D/dalvikvm(2568): GC_CONCURRENT freed 421K, 54% free 3103K/6663K, external 8K/513K, paused 6ms+7ms
03-08 13:47:31.302 D/dalvikvm(2181): GC_EXPLICIT freed 135K, 49% free 3133K/6087K, external 973K/1453K, paused 87ms
03-08 13:47:31.642 D/PackageManager(207): Scanning package org.kontalk
03-08 13:47:31.682 D/installd(160): DexInv: --- BEGIN '/data/app/org.kontalk-1.apk' ---
03-08 13:47:35.602 E/Sensors (207): light: 640 lux
03-08 13:47:35.882 E/Sensors (207): light: 320 lux
03-08 13:47:36.092 D/dalvikvm(2568): GC_CONCURRENT freed 419K, 54% free 3105K/6663K, external 8K/513K, paused 6ms+11ms
03-08 13:47:36.162 E/Sensors (207): light: 640 lux
03-08 13:47:36.612 D/dalvikvm(2401): GC_EXPLICIT freed 159K, 46% free 3531K/6471K, external 328K/840K, paused 394ms
03-08 13:47:36.702 E/Sensors (207): light: 1280 lux
03-08 13:47:39.732 D/dalvikvm(2623): DexOpt: couldn't find field Landroid/graphics/BitmapFactory$Options;.inMutable
03-08 13:47:40.232 D/dalvikvm(2623): DexOpt: couldn't find static field
03-08 13:47:40.652 D/dalvikvm(2568): GC_CONCURRENT freed 424K, 54% free 3108K/6663K, external 8K/513K, paused 7ms+7ms
03-08 13:47:41.042 E/Sensors (207): light: 640 lux
03-08 13:47:43.312 I/ActivityManager(207): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10100000 cmp=com.nolanlawson.logcat/.LogcatActivity } from pid 207
03-08 13:47:48.792 I/ActivityManager(207): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10100000 cmp=org.fdroid.fdroid/.FDroid } from pid 207
03-08 13:47:48.812 D/PhoneWindow(2568): couldn't save which view has focus because the focused view android.widget.LinearLayout@40528b88 has no id.
03-08 13:47:51.262 D/dalvikvm(2623): DexOpt: load 1371ms, verify+opt 11809ms
03-08 13:47:51.972 D/installd(160): DexInv: --- END '/data/app/org.kontalk-1.apk' (success) ---
03-08 13:47:51.982 I/PackageManager(207): Unpacking native libraries for /data/app/org.kontalk-1.apk
03-08 13:47:52.242 D/dalvikvm(2568): GC_CONCURRENT freed 414K, 54% free 3109K/6663K, external 8K/513K, paused 6ms+7ms
03-08 13:47:52.822 D/dalvikvm(207): GC_CONCURRENT freed 1021K, 33% free 8552K/12679K, external 550K/812K, paused 9ms+81ms
03-08 13:47:52.932 I/dalvikvm(2568): Jit: resizing JitTable from 2048 to 4096
03-08 13:47:53.242 D/installd(160): DexInv: --- BEGIN '/data/app/org.kontalk-1.apk' ---
03-08 13:47:58.842 D/dalvikvm(2628): DexOpt: couldn't find field Landroid/graphics/BitmapFactory$Options;.inMutable
03-08 13:47:59.392 D/dalvikvm(2628): DexOpt: couldn't find static field
03-08 13:47:59.712 D/dalvikvm(2568): GC_CONCURRENT freed 419K, 54% free 3118K/6663K, external 8K/513K, paused 6ms+7ms
03-08 13:48:08.192 D/dalvikvm(2628): DexOpt: load 1136ms, verify+opt 9546ms
03-08 13:48:09.182 D/installd(160): DexInv: --- END '/data/app/org.kontalk-1.apk' (success) ---
03-08 13:48:09.202 I/ActivityManager(207): Force stopping package org.kontalk uid=10052
03-08 13:48:09.232 D/PackageManager(207): Registered content provider: org.kontalk.messages, className = org.kontalk.provider.MessagesProvider, isSyncable = false
03-08 13:48:09.232 D/PackageManager(207): Registered content provider: org.kontalk.users, className = org.kontalk.provider.UsersProvider, isSyncable = false
03-08 13:48:09.232 D/PackageManager(207):   Providers: org.kontalk.provider.MessagesProvider org.kontalk.provider.UsersProvider
03-08 13:48:09.262 D/PackageManager(207):   Services: org.kontalk.service.MessageCenterService org.kontalk.authenticator.AccountAuthenticatorService org.kontalk.sync.ContactsSyncAdapterService org.kontalk.service.DownloadService org.kontalk.service.UploadService org.kontalk.GCMIntentService org.kontalk.service.KeyPairGeneratorService
03-08 13:48:09.262 D/PackageManager(207):   Receivers: org.kontalk.service.SystemBootStartup org.kontalk.service.NetworkStateReceiver com.google.android.gcm.GCMBroadcastReceiver
03-08 13:48:09.262 D/PackageManager(207):   Activities: org.kontalk.ui.ConversationList org.kontalk.ui.SearchActivity org.kontalk.ui.ComposeMessage org.kontalk.ui.MessagingPreferences org.kontalk.ui.BootstrapPreferences org.kontalk.ui.NumberValidation org.kontalk.ui.CodeValidation org.kontalk.ui.ContactsListActivity org.kontalk.ui.StatusActivity org.kontalk.ui.AboutActivity
03-08 13:48:09.262 D/PackageManager(207):   Permissions: org.kontalk.permission.C2D_MESSAGE
03-08 13:48:09.812 I/installd(160): move /data/dalvik-cache/data@app@org.kontalk-1.apk@classes.dex -> /data/dalvik-cache/data@app@org.kontalk-1.apk@classes.dex
03-08 13:48:09.812 D/PackageManager(207): New package installed in /data/app/org.kontalk-1.apk
03-08 13:48:09.812 W/PackageManager(207): Unknown permission com.android.vending.BILLING in package net.sourceforge.servestream
03-08 13:48:09.872 W/PackageManager(207): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.contacts
03-08 13:48:09.922 W/PackageManager(207): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.providers.calendar
03-08 13:48:09.922 W/PackageManager(207): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.cl in package com.android.providers.calendar
03-08 13:48:09.922 W/PackageManager(207): Unknown permission com.android.email.permission.ACCESS_PROVIDER in package com.android.bluetooth
03-08 13:48:09.922 W/PackageManager(207): Unknown permission com.android.email.permission.READ_ATTACHMENT in package com.android.bluetooth
03-08 13:48:09.922 W/PackageManager(207): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.calendar
03-08 13:48:10.032 W/PackageManager(207): Not granting permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS to package com.android.browser (protectionLevel=2 flags=0x9be45)
03-08 13:48:10.032 W/PackageManager(207): Unknown permission android.permission.INSTALL_DRM in package com.android.mms
03-08 13:48:10.052 D/dalvikvm(2568): GC_CONCURRENT freed 416K, 54% free 3124K/6663K, external 8K/513K, paused 6ms+8ms
03-08 13:48:10.152 W/PackageManager(207): Not granting permission android.permission.BIND_INPUT_METHOD to package org.dyndns.fules.ck (protectionLevel=2 flags=0xbe44)
03-08 13:48:10.152 W/PackageManager(207): Unknown permission com.google.android.gm.permission.WRITE_GMAIL in package com.android.settings
03-08 13:48:10.152 W/PackageManager(207): Unknown permission com.google.android.gm.permission.READ_GMAIL in package com.android.settings
03-08 13:48:10.232 W/PackageManager(207): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.settings
03-08 13:48:10.232 W/PackageManager(207): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.providers.contacts
03-08 13:48:10.232 W/PackageManager(207): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package com.android.providers.contacts
03-08 13:48:10.232 W/PackageManager(207): Unknown permission android.permission.READ_EXTERNAL_STORAGE in package jp.gr.java_conf.hatalab.mnv
03-08 13:48:10.352 W/PackageManager(207): Unknown permission com.google.android.c2dm.permission.RECEIVE in package com.cyanogenmod.updatenotify
03-08 13:48:10.422 W/PackageManager(207): Unknown permission com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in package com.android.development
03-08 13:48:10.422 W/PackageManager(207): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.development
03-08 13:48:10.422 W/PackageManager(207): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in package com.android.development
03-08 13:48:10.422 W/PackageManager(207): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in package com.android.development
03-08 13:48:10.532 W/PackageManager(207): Unknown permission android.permission.READ_EXTERNAL_STORAGE in package acr.browser.barebones
03-08 13:48:10.532 W/PackageManager(207): Not granting permission android.permission.DEVICE_POWER to package com.android.deskclock (protectionLevel=2 flags=0x8be45)
03-08 13:48:10.642 W/PackageManager(207): Unknown permission android.permission.READ_EXTERNAL_STORAGE in package com.hughes.android.dictionary
03-08 13:48:10.642 W/PackageManager(207): Unknown permission android.permission.ACCESS_DRM in package com.android.providers.downloads
03-08 13:48:10.642 W/PackageManager(207): Unknown permission android.permission.INSTALL_DRM in package com.android.providers.downloads
03-08 13:48:10.642 W/PackageManager(207): Unknown permission com.google.android.c2dm.permission.RECEIVE in package org.kontalk
03-08 13:48:10.642 W/PackageManager(207): Unknown permission com.android.vending.BILLING in package org.kontalk
03-08 13:48:10.972 D/dalvikvm(2568): GC_CONCURRENT freed 397K, 53% free 3132K/6663K, external 8K/513K, paused 7ms+12ms
03-08 13:48:11.612 D/dalvikvm(207): GC_EXPLICIT freed 3363K, 54% free 5882K/12679K, external 314K/812K, paused 207ms
03-08 13:48:11.642 D/HomeLoaders(2181): application intent received: android.intent.action.PACKAGE_ADDED, replacing=false
03-08 13:48:11.642 D/HomeLoaders(2181):   --> package:org.kontalk
03-08 13:48:11.642 D/HomeLoaders(2181):   --> add package
03-08 13:48:11.712 I/ThemeManager(2361): Handling new theme package: org.kontalk
03-08 13:48:12.002 D/szipinf (207): Initializing inflate state
03-08 13:48:12.002 D/dalvikvm(2595): GC_EXTERNAL_ALLOC freed 139K, 48% free 2898K/5511K, external 0K/0K, paused 325ms
03-08 13:48:12.862 W/RecognitionManagerService(207): no available voice recognition services found
03-08 13:48:13.032 D/szipinf (207): Initializing inflate state
03-08 13:48:13.312 W/Searchables(207): No global search activity found
03-08 13:48:13.412 D/VoiceDialerReceiver(2369): onReceive Intent { act=android.intent.action.PACKAGE_ADDED dat=package:org.kontalk flg=0x10000000 cmp=com.android.voicedialer/.VoiceDialerReceiver (has extras) }
03-08 13:48:13.412 V/RecognizerEngine(2369): deleteCachedGrammarFiles /data/data/com.android.voicedialer/files/openentries.txt
03-08 13:48:13.442 D/FDroid  (2313): PackageReceiver received org.kontalk
03-08 13:48:13.442 D/FDroid  (2313): Invalidating org.kontalk
03-08 13:48:13.602 D/szipinf (2401): Initializing inflate state
03-08 13:48:13.622 D/dalvikvm(2568): GC_CONCURRENT freed 423K, 53% free 3138K/6663K, external 8K/513K, paused 6ms+8ms
03-08 13:48:13.942 I/ActivityManager(207): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=org.kontalk cmp=org.kontalk/.ui.ConversationList } from pid 2595
03-08 13:48:14.092 I/ActivityManager(207): Start proc org.kontalk for activity org.kontalk/.ui.ConversationList: pid=2631 uid=10052 gids={3003, 1015}
03-08 13:48:14.742 D/szipinf (2401): Initializing inflate state
03-08 13:48:14.962 D/dalvikvm(2631): GC_CONCURRENT freed 131K, 47% free 3044K/5639K, external 0K/0K, paused 5ms+18ms
03-08 13:48:15.532 D/dalvikvm(2568): GC_CONCURRENT freed 395K, 54% free 3131K/6663K, external 8K/513K, paused 6ms+16ms
03-08 13:48:15.742 D/szipinf (2401): Initializing inflate state
03-08 13:48:15.792 D/dalvikvm(2631): GC_CONCURRENT freed 230K, 45% free 3376K/6087K, external 0K/0K, paused 6ms+23ms
03-08 13:48:16.362 D/szipinf (2401): Initializing inflate state
03-08 13:48:16.422 D/dalvikvm(2631): GC_CONCURRENT freed 283K, 44% free 3641K/6407K, external 0K/0K, paused 7ms+32ms
03-08 13:48:16.572 I/ActivityThread(2631): Pub org.kontalk.messages: org.kontalk.provider.MessagesProvider
03-08 13:48:16.692 I/dalvikvm(2631): Could not find method android.database.sqlite.SQLiteDatabase.beginTransactionNonExclusive, referenced from method org.kontalk.provider.MessagesProvider.beginTransaction
03-08 13:48:16.692 W/dalvikvm(2631): VFY: unable to resolve virtual method 552: Landroid/database/sqlite/SQLiteDatabase;.beginTransactionNonExclusive ()V
03-08 13:48:16.692 D/dalvikvm(2631): VFY: replacing opcode 0x6e at 0x0006
03-08 13:48:16.842 I/ActivityThread(2631): Pub org.kontalk.users: org.kontalk.provider.UsersProvider
03-08 13:48:16.842 I/dalvikvm(2631): Could not find method android.database.sqlite.SQLiteDatabase.beginTransactionNonExclusive, referenced from method org.kontalk.provider.UsersProvider.beginTransaction
03-08 13:48:16.842 W/dalvikvm(2631): VFY: unable to resolve virtual method 552: Landroid/database/sqlite/SQLiteDatabase;.beginTransactionNonExclusive ()V
03-08 13:48:16.842 D/dalvikvm(2631): VFY: replacing opcode 0x6e at 0x0006
03-08 13:48:16.992 D/szipinf (2401): Initializing inflate state
03-08 13:48:17.002 I/dalvikvm(2631): Could not find method org.kontalk.ui.MessagingPreferences.getActionBar, referenced from method org.kontalk.ui.MessagingPreferences.setupActivity
03-08 13:48:17.002 W/dalvikvm(2631): VFY: unable to resolve virtual method 18845: Lorg/kontalk/ui/MessagingPreferences;.getActionBar ()Landroid/app/ActionBar;
03-08 13:48:17.002 D/dalvikvm(2631): VFY: replacing opcode 0x6e at 0x0007
03-08 13:48:17.002 D/dalvikvm(2631): VFY: dead code 0x000a-0010 in Lorg/kontalk/ui/MessagingPreferences;.setupActivity ()V
03-08 13:48:17.572 D/szipinf (2401): Initializing inflate state
03-08 13:48:17.622 D/dalvikvm(2568): GC_CONCURRENT freed 407K, 53% free 3148K/6663K, external 8K/513K, paused 6ms+8ms
03-08 13:48:18.162 D/szipinf (2401): Initializing inflate state
03-08 13:48:18.532 D/szipinf (2401): Initializing inflate state
03-08 13:48:19.092 D/dalvikvm(207): GC_CONCURRENT freed 1266K, 57% free 5459K/12679K, external 314K/812K, paused 20ms+15ms
03-08 13:48:20.742 D/dalvikvm(2631): GC_EXTERNAL_ALLOC freed 117K, 42% free 3778K/6471K, external 0K/0K, paused 113ms
03-08 13:48:21.162 D/szipinf (2401): Initializing inflate state
03-08 13:48:21.182 D/dalvikvm(2568): GC_CONCURRENT freed 409K, 53% free 3142K/6663K, external 8K/513K, paused 6ms+7ms
03-08 13:48:21.252 D/ViewConsistency(2631): AbsListView android.widget.ListView@40618128 enabled= false
03-08 13:48:21.302 D/ViewConsistency(2631): AbsListView android.widget.ListView@40618128 enabled= false
03-08 13:48:21.822 D/szipinf (2401): Initializing inflate state
03-08 13:48:21.952 W/ActivityManager(207): Unable to start service Intent { act=org.kontalk.action.HOLD cmp=org.kontalk/.service.MessageCenterService (has extras) }: not found
03-08 13:48:22.062 I/ActivityManager(207): Starting: Intent { cmp=org.kontalk/.ui.NumberValidation (has extras) } from pid 2631
03-08 13:48:22.662 D/dalvikvm(2631): GC_CONCURRENT freed 150K, 41% free 3936K/6599K, external 7K/513K, paused 7ms+13ms
03-08 13:48:22.972 D/szipinf (2401): Initializing inflate state
03-08 13:48:23.422 D/dalvikvm(2568): GC_CONCURRENT freed 412K, 53% free 3150K/6663K, external 8K/513K, paused 6ms+23ms
03-08 13:48:23.532 I/dalvikvm(2631): Total arena pages for JIT: 11
03-08 13:48:23.972 W/ActivityManager(207): Launch timeout has expired, giving up wake lock!
03-08 13:48:24.002 D/dalvikvm(2631): GC_CONCURRENT freed 142K, 38% free 4357K/6983K, external 7K/513K, paused 7ms+23ms
03-08 13:48:24.422 W/ActivityManager(207): Activity idle timeout for HistoryRecord{4053bd40 org.kontalk/.ui.ConversationList}
03-08 13:48:24.632 D/dalvikvm(2631): GC_CONCURRENT freed 292K, 39% free 4557K/7431K, external 7K/513K, paused 21ms+18ms
03-08 13:48:24.812 D/dalvikvm(2631): GC_FOR_MALLOC freed 140K, 39% free 4701K/7623K, external 7K/513K, paused 143ms
03-08 13:48:24.812 I/dalvikvm-heap(2631): Grow heap (frag case) to 7.385MB for 391186-byte allocation
03-08 13:48:24.972 D/dalvikvm(2631): GC_FOR_MALLOC freed 0K, 37% free 5083K/8007K, external 7K/513K, paused 144ms
03-08 13:48:25.152 D/dalvikvm(2631): GC_FOR_MALLOC freed 661K, 42% free 4800K/8263K, external 7K/513K, paused 142ms
03-08 13:48:25.382 D/dalvikvm(2631): GC_FOR_MALLOC freed 284K, 39% free 5088K/8263K, external 7K/513K, paused 184ms
03-08 13:48:25.482 D/dalvikvm(2568): GC_CONCURRENT freed 411K, 53% free 3156K/6663K, external 8K/513K, paused 6ms+7ms
03-08 13:48:25.562 D/dalvikvm(2631): GC_FOR_MALLOC freed 447K, 40% free 4991K/8263K, external 7K/513K, paused 139ms
03-08 13:48:25.752 D/dalvikvm(2631): GC_FOR_MALLOC freed 88K, 39% free 5087K/8263K, external 7K/513K, paused 166ms
03-08 13:48:25.942 D/dalvikvm(2631): GC_FOR_MALLOC freed 184K, 37% free 5279K/8263K, external 7K/513K, paused 179ms
03-08 13:48:26.912 D/dalvikvm(2631): GC_CONCURRENT freed 446K, 34% free 5727K/8647K, external 7K/513K, paused 7ms+10ms
03-08 13:48:27.742 I/dalvikvm(2631): Jit: resizing JitTable from 512 to 1024
03-08 13:48:28.192 D/HomeLoaders(2181): application intent received: android.intent.action.PACKAGE_CHANGED, replacing=false
03-08 13:48:28.192 D/HomeLoaders(2181):   --> package:org.kontalk
03-08 13:48:28.222 D/VoiceDialerReceiver(2369): onReceive Intent { act=android.intent.action.PACKAGE_CHANGED dat=package:org.kontalk flg=0x10000000 cmp=com.android.voicedialer/.VoiceDialerReceiver (has extras) }
03-08 13:48:28.222 V/RecognizerEngine(2369): deleteCachedGrammarFiles /data/data/com.android.voicedialer/files/openentries.txt
03-08 13:48:28.232 D/HomeLoaders(2181):   --> sync package org.kontalk
03-08 13:48:28.282 D/Sources (2401): Creating external source for type=org.kontalk.account, packageName=org.kontalk
03-08 13:48:28.512 D/dalvikvm(2631): GC_CONCURRENT freed 496K, 33% free 6313K/9287K, external 7K/513K, paused 7ms+40ms
03-08 13:48:28.842 D/dalvikvm(2568): GC_CONCURRENT freed 416K, 53% free 3164K/6663K, external 8K/513K, paused 21ms+18ms
03-08 13:48:29.732 I/ActivityManager(207): Process android.process.acore (pid 2401) has died.
03-08 13:48:29.732 I/WindowManager(207): WIN DEATH: Window{40762ec0 com.android.contacts/com.android.contacts.ViewContactActivity paused=false}
03-08 13:48:29.772 E/InputDispatcher(207): channel '4075ad08 com.android.contacts/com.android.contacts.DialtactsContactsEntryActivity (server)' ~ Consumer closed input channel or an error occurred.  events=0x8
03-08 13:48:29.772 E/InputDispatcher(207): channel '4075ad08 com.android.contacts/com.android.contacts.DialtactsContactsEntryActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
03-08 13:48:29.792 I/WindowManager(207): WIN DEATH: Window{4075ad08 com.android.contacts/com.android.contacts.DialtactsContactsEntryActivity paused=false}
03-08 13:48:30.562 D/dalvikvm(2631): GC_CONCURRENT freed 654K, 32% free 6938K/10119K, external 7K/513K, paused 7ms+11ms
03-08 13:48:32.142 W/ActivityManager(207): Activity idle timeout for HistoryRecord{406ab228 org.kontalk/.ui.NumberValidation}
03-08 13:48:32.302 D/dalvikvm(2631): GC_CONCURRENT freed 1078K, 33% free 7342K/10951K, external 7K/513K, paused 7ms+25ms
03-08 13:48:32.542 D/dalvikvm(2568): GC_CONCURRENT freed 415K, 53% free 3168K/6663K, external 8K/513K, paused 6ms+7ms
03-08 13:48:34.082 E/Sensors (207): light: 1280 lux
03-08 13:48:34.432 W/ActivityManager(207): Activity destroy timeout for HistoryRecord{4053bd40 org.kontalk/.ui.ConversationList}
03-08 13:48:34.532 D/dalvikvm(2631): GC_CONCURRENT freed 1032K, 32% free 7877K/11463K, external 7K/513K, paused 7ms+29ms
03-08 13:48:34.802 I/dalvikvm(2631): Jit: resizing JitTable from 1024 to 2048
03-08 13:48:35.522 D/dalvikvm(2568): GC_CONCURRENT freed 408K, 53% free 3162K/6663K, external 8K/513K, paused 6ms+6ms
03-08 13:48:36.342 D/NumberValidation(2631): selecting country IE
03-08 13:48:36.342 D/CC      (2631): looking for region IE
03-08 13:48:36.602 W/ActivityManager(207): Unable to start service Intent { act=org.kontalk.action.RELEASE cmp=org.kontalk/.service.MessageCenterService }: not found
03-08 13:48:37.102 D/AndroidRuntime(2631): Shutting down VM
03-08 13:48:37.102 W/dalvikvm(2631): threadid=1: thread exiting with uncaught exception (group=0x40018560)
03-08 13:48:37.152 E/AndroidRuntime(2631): FATAL EXCEPTION: main
03-08 13:48:37.152 E/AndroidRuntime(2631): java.lang.NullPointerException
03-08 13:48:37.152 E/AndroidRuntime(2631):  at android.preference.PreferenceManager.getDefaultSharedPreferencesName(PreferenceManager.java:353)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at android.preference.PreferenceManager.getDefaultSharedPreferences(PreferenceManager.java:348)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at org.kontalk.ui.MessagingPreferences.getBoolean(MessagingPreferences.java:340)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at org.kontalk.ui.MessagingPreferences.getOfflineMode(MessagingPreferences.java:522)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at org.kontalk.ui.ConversationListFragment.updateOffline(ConversationListFragment.java:489)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at org.kontalk.ui.ConversationListFragment.onCreateOptionsMenu(ConversationListFragment.java:171)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at android.support.v4.app.Fragment.performCreateOptionsMenu(Fragment.java:1582)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at android.support.v4.app.FragmentManagerImpl.dispatchCreateOptionsMenu(FragmentManager.java:1956)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at android.support.v4.app.FragmentActivity.onCreatePanelMenu(FragmentActivity.java:225)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at android.support.v7.app.ActionBarActivity.superOnCreatePanelMenu(ActionBarActivity.java:232)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at android.support.v7.app.ActionBarActivityDelegateBase$1.run(ActionBarActivityDelegateBase.java:70)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at android.os.Handler.handleCallback(Handler.java:587)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at android.os.Handler.dispatchMessage(Handler.java:92)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at android.os.Looper.loop(Looper.java:130)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at android.app.ActivityThread.main(ActivityThread.java:3835)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at java.lang.reflect.Method.invokeNative(Native Method)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at java.lang.reflect.Method.invoke(Method.java:507)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:864)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:622)
03-08 13:48:37.152 E/AndroidRuntime(2631):  at dalvik.system.NativeStart.main(Native Method)
03-08 13:48:37.202 W/ActivityManager(207):   Force finishing activity org.kontalk/.ui.NumberValidation
03-08 13:48:37.352 D/dalvikvm(2352): GC_EXPLICIT freed 46K, 51% free 2676K/5379K, external 0K/0K, paused 207ms
03-08 13:48:37.722 W/ActivityManager(207): Activity pause timeout for HistoryRecord{406ab228 org.kontalk/.ui.NumberValidation}
03-08 13:48:37.772 D/FDroid  (2313): Getting application details for org.kontalk
03-08 13:48:38.242 D/dalvikvm(207): GC_CONCURRENT freed 725K, 58% free 5416K/12679K, external 314K/812K, paused 12ms+24ms
03-08 13:48:38.712 D/dalvikvm(2568): GC_CONCURRENT freed 405K, 53% free 3192K/6663K, external 8K/513K, paused 6ms+25ms
03-08 13:48:38.912 D/FDroid  (2313): Refreshing 1 apps took 1 ms
03-08 13:48:39.222 I/Process (2631): Sending signal. PID: 2631 SIG: 9
03-08 13:48:39.632 E/InputDispatcher(207): channel '40787df0 Toast (server)' ~ Consumer closed input channel or an error occurred.  events=0x8
03-08 13:48:39.632 E/InputDispatcher(207): channel '40787df0 Toast (server)' ~ Channel is unrecoverably broken and will be disposed!
03-08 13:48:39.632 I/ActivityManager(207): Process org.kontalk (pid 2631) has died.
03-08 13:48:39.632 W/ActivityManager(207): Scheduling restart of crashed service org.kontalk/.service.KeyPairGeneratorService in 6226ms
03-08 13:48:39.632 I/WindowManager(207): WIN DEATH: Window{408dc9f0 org.kontalk/org.kontalk.ui.NumberValidation paused=false}
03-08 13:48:39.662 I/WindowManager(207): WINDOW DIED Window{40787df0 Toast paused=false}
03-08 13:48:39.742 W/WindowManager(207): Failed looking up window
03-08 13:48:39.742 W/WindowManager(207): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@40706570 does not exist
03-08 13:48:39.742 W/WindowManager(207):    at com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java:8301)
03-08 13:48:39.742 W/WindowManager(207):    at com.android.server.WindowManagerService.windowForClientLocked(WindowManagerService.java:8292)
03-08 13:48:39.742 W/WindowManager(207):    at com.android.server.WindowManagerService$WindowState$DeathRecipient.binderDied(WindowManagerService.java:7150)
03-08 13:48:39.742 W/WindowManager(207):    at android.os.BinderProxy.sendDeathNotice(Binder.java:385)
03-08 13:48:39.742 W/WindowManager(207):    at dalvik.system.NativeStart.run(Native Method)
03-08 13:48:39.742 I/WindowManager(207): WIN DEATH: null
03-08 13:48:40.002 W/NotificationService(207): Object died trying to hide notification android.app.ITransientNotification$Stub$Proxy@4072b740 in package org.kontalk
03-08 13:48:40.002 W/ActivityManager(207): setProcessForeground called on unknown pid: 2631
03-08 13:48:40.252 D/dalvikvm(2568): GC_CONCURRENT freed 424K, 53% free 3193K/6663K, external 8K/513K, paused 6ms+8ms
03-08 13:48:42.472 E/Sensors (207): light: 640 lux
03-08 13:48:42.742 E/Sensors (207): light: 1280 lux
03-08 13:48:43.012 E/Sensors (207): light: 640 lux
03-08 13:48:43.792 I/ActivityManager(207): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10100000 cmp=com.nolanlawson.logcat/.LogcatActivity } from pid 207
03-08 13:48:44.092 E/Sensors (207): light: 1280 lux
03-08 13:48:44.312 D/dalvikvm(2568): GC_CONCURRENT freed 421K, 53% free 3187K/6663K, external 8K/513K, paused 6ms+8ms
03-08 13:48:45.542 W/KeyCharacterMap(2568): Can't open keycharmap file
03-08 13:48:45.542 W/KeyCharacterMap(2568): Error loading keycharmap file '/system/usr/keychars/synaptics.kcm.bin'. hw.keyboards.131074.devname='synaptics'
03-08 13:48:45.542 W/KeyCharacterMap(2568): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
03-08 13:48:45.892 I/ActivityManager(207): Start proc org.kontalk for service org.kontalk/.service.KeyPairGeneratorService: pid=2646 uid=10052 gids={3003, 1015}
03-08 13:48:46.722 D/dalvikvm(2646): GC_CONCURRENT freed 132K, 47% free 3043K/5639K, external 0K/0K, paused 6ms+26ms
03-08 13:48:46.922 D/dalvikvm(2568): GC_CONCURRENT freed 392K, 53% free 3183K/6663K, external 33K/513K, paused 6ms+29ms
03-08 13:48:47.622 D/dalvikvm(2646): GC_CONCURRENT freed 233K, 45% free 3370K/6087K, external 0K/0K, paused 6ms+12ms
03-08 13:48:48.152 E/Sensors (207): light: 640 lux
03-08 13:48:48.402 D/dalvikvm(2646): GC_CONCURRENT freed 282K, 44% free 3643K/6407K, external 0K/0K, paused 16ms+19ms
03-08 13:48:48.532 I/ActivityThread(2646): Pub org.kontalk.messages: org.kontalk.provider.MessagesProvider
03-08 13:48:48.552 I/dalvikvm(2646): Could not find method android.database.sqlite.SQLiteDatabase.beginTransactionNonExclusive, referenced from method org.kontalk.provider.MessagesProvider.beginTransaction
03-08 13:48:48.552 W/dalvikvm(2646): VFY: unable to resolve virtual method 552: Landroid/database/sqlite/SQLiteDatabase;.beginTransactionNonExclusive ()V
03-08 13:48:48.552 D/dalvikvm(2646): VFY: replacing opcode 0x6e at 0x0006
03-08 13:48:48.662 I/ActivityThread(2646): Pub org.kontalk.users: org.kontalk.provider.UsersProvider
03-08 13:48:48.662 I/dalvikvm(2646): Could not find method android.database.sqlite.SQLiteDatabase.beginTransactionNonExclusive, referenced from method org.kontalk.provider.UsersProvider.beginTransaction
03-08 13:48:48.662 W/dalvikvm(2646): VFY: unable to resolve virtual method 552: Landroid/database/sqlite/SQLiteDatabase;.beginTransactionNonExclusive ()V
03-08 13:48:48.662 D/dalvikvm(2646): VFY: replacing opcode 0x6e at 0x0006
03-08 13:48:48.692 E/Sensors (207): light: 1280 lux
03-08 13:48:48.842 I/dalvikvm(2646): Could not find method org.kontalk.ui.MessagingPreferences.getActionBar, referenced from method org.kontalk.ui.MessagingPreferences.setupActivity
03-08 13:48:48.842 W/dalvikvm(2646): VFY: unable to resolve virtual method 18845: Lorg/kontalk/ui/MessagingPreferences;.getActionBar ()Landroid/app/ActionBar;
03-08 13:48:48.842 D/dalvikvm(2646): VFY: replacing opcode 0x6e at 0x0007
03-08 13:48:48.842 D/dalvikvm(2646): VFY: dead code 0x000a-0010 in Lorg/kontalk/ui/MessagingPreferences;.setupActivity ()V
03-08 13:48:49.192 D/dalvikvm(2568): GC_CONCURRENT freed 394K, 53% free 3187K/6663K, external 33K/513K, paused 14ms+22ms
03-08 13:48:49.232 W/KeyCharacterMap(2568): No keyboard for id 0
03-08 13:48:49.232 W/KeyCharacterMap(2568): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
03-08 13:48:49.272 D/ViewConsistency(2568): AbsListView com.android.internal.view.menu.ExpandedMenuView@405c9408 enabled= false
03-08 13:48:49.272 D/ViewConsistency(2568): AbsListView com.android.internal.view.menu.ExpandedMenuView@405c9408 enabled= false
03-08 13:48:49.332 W/ActivityManager(207): Activity destroy timeout for HistoryRecord{406ab228 org.kontalk/.ui.NumberValidation}
03-08 13:48:49.502 E/Sensors (207): light: 640 lux
03-08 13:48:50.042 E/Sensors (207): light: 1280 lux
03-08 13:48:50.482 D/dalvikvm(2646): GC_CONCURRENT freed 242K, 42% free 3842K/6599K, external 0K/0K, paused 6ms+6ms
03-08 13:48:50.832 D/dalvikvm(2568): GC_CONCURRENT freed 388K, 52% free 3199K/6663K, external 33K/513K, paused 7ms+8ms
03-08 13:48:51.132 W/KeyCharacterMap(2568): Can't open keycharmap file
03-08 13:48:51.132 W/KeyCharacterMap(2568): Error loading keycharmap file '/system/usr/keychars/synaptics.kcm.bin'. hw.keyboards.131074.devname='synaptics'
03-08 13:48:51.132 W/KeyCharacterMap(2568): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
03-08 13:48:51.152 W/KeyCharacterMap(2568): No keyboard for id 0
03-08 13:48:51.152 W/KeyCharacterMap(2568): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
03-08 13:48:51.992 W/InputManagerService(207): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@4074c5e8
03-08 13:48:52.552 D/dalvikvm(2646): GC_CONCURRENT freed 277K, 42% free 4048K/6919K, external 0K/0K, paused 7ms+6ms
03-08 13:48:53.312 E/Sensors (207): light: 640 lux
03-08 13:48:53.542 D/dalvikvm(2568): GC_CONCURRENT freed 415K, 52% free 3205K/6663K, external 33K/513K, paused 16ms+18ms
03-08 13:48:54.672 E/Sensors (207): light: 1280 lux
03-08 13:48:55.482 E/Sensors (207): light: 640 lux
daniele-athome commented 10 years ago

Seems like getActivity() is called before the fragment is attached to the parent Activity. However this is Android support library behaviour. I'll investigate and come back soon.

daniele-athome commented 10 years ago

Documentation is quite sparse on this issue and there is a bug in the emulator preventing me from testing this fix. I'm closing it for now and publishing alpha5. Please reopen if you still can reproduce the bug.