Closed LeTarpoon closed 9 years ago
Looks like a problem with your ROM. It's not finding the native code, which isn't possible with a stock install.
As I stated above, this is the stock HTC 4.0.3 ROM on the HTC One V and it was working fine until the last update.
If you won't try to fix the issue, could you at please direct me somewhere where I can find an older apk, so I can export my girlfriends messages before trying out a custom rom, hoping that textsecure will work with it?
You'll not be allowed to downgrade an app by the android system... Perhaps its the custom kernel causing this problem?
That'd be strange, as it hasn't been touched for the past ~1.5 years. However she did complain about the device acting strangely before, so it might be an issue neither caused by the kernel, the rom or the app (I'm thinking about data corruption or something similar).
I'm currently installing Cyanogen on the device (after backing up app data so the messages and keys won't be lost) and hope that it will work again after doing that.
I have now moved the appdata to a different phone (ZTE Blade, running a cyanogen android 4.0 rom) using these instructions ( https://www.cypherpunk.at/2014/02/how-to-move-app-data-of-textsecure-to-new-android-device/ ) to see if it works there.
I am getting a very similar looking log output (attached below)
Could it be, that somehow the data of of my girlfriends textsecure installation got corrupted? And if that was the case, could I somehow try to remove the last couple of messages manually, to get it working again?
10-28 19:43:52.100 I/AudioHardwareMSM72XX(115): set device to SND_DEVICE_SPEAKER device_id=0
10-28 19:43:52.100 I/AudioHardwareMSM72XX(115): Enabling post proc features with mask 0x0000
10-28 19:43:52.250 I/dalvikvm(2496): Jit: resizing JitTable from 512 to 1024
10-28 19:43:53.730 I/ActivityManager(305): START {act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.cyanogenmod.trebuchet/.Launcher u=0} from pid 305
10-28 19:43:54.210 I/ActivityManager(305): Start proc com.android.deskclock for broadcast com.android.deskclock/com.android.alarmclock.AnalogAppWidgetProvider: pid=3216 uid=10034 gids={1028}
10-28 19:43:54.390 E/Trace (3216): error opening trace file: No such file or directory (2)
10-28 19:43:54.550 I/ActivityThread(3216): Pub com.android.deskclock: com.android.deskclock.AlarmProvider
10-28 19:43:54.560 I/ActivityThread(3216): Pub com.android.deskclock.timers: com.android.deskclock.TimersProvider
10-28 19:43:54.570 W/ActivityManager(305): Permission denied: checkComponentPermission() owningUid=1000
10-28 19:43:54.570 W/BroadcastQueue(305): Permission Denial: broadcasting Intent { act=android.appwidget.action.APPWIDGET_UPDATE_OPTIONS flg=0x10 cmp=com.android.settings/.widget.SettingsAppWidgetProvider (has extras) } from android (pid=557, uid=10011) is not exported from uid 1000 due to receiver com.android.settings/com.android.settings.widget.SettingsAppWidgetProvider
10-28 19:43:54.570 I/ActivityManager(305): No longer want com.google.android.googlequicksearchbox (pid 2496): hidden #5
10-28 19:43:54.830 I/LocationManagerService(305): remove network (pid 305), next minTime = 86400000
10-28 19:43:54.840 I/WindowState(305): WIN DEATH: Window{40de2d88 com.google.android.googlequicksearchbox/com.google.android.googlequicksearchbox.SearchActivity paused=false}
10-28 19:43:54.840 I/LocationManagerService(305): remove passive (pid 305), next minTime = 0
10-28 19:43:55.140 I/AudioHardwareMSM72XX(115): set device to SND_DEVICE_SPEAKER device_id=0
10-28 19:43:55.140 I/AudioHardwareMSM72XX(115): disabling post proc features with mask 0x0000
10-28 19:43:55.580 I/AudioHardwareMSM72XX(115): set device to SND_DEVICE_SPEAKER device_id=0
10-28 19:43:55.580 I/AudioHardwareMSM72XX(115): Enabling post proc features with mask 0x0000
10-28 19:43:55.730 D/dalvikvm(557): GC_EXPLICIT freed 2892K, 75% free 3908K/15559K, paused 17ms+29ms, total 152ms
10-28 19:43:58.250 D/dalvikvm(557): GC_CONCURRENT freed 669K, 68% free 4995K/15559K, paused 10ms+7ms, total 135ms
10-28 19:43:58.250 D/dalvikvm(557): WAIT_FOR_CONCURRENT_GC blocked 118ms
10-28 19:43:58.250 D/dalvikvm(557): WAIT_FOR_CONCURRENT_GC blocked 69ms
10-28 19:43:58.310 I/dalvikvm-heap(557): Grow heap (frag case) to 16.718MB for 3632848-byte allocation
10-28 19:43:58.520 D/dalvikvm(557): GC_CONCURRENT freed 38K, 45% free 8639K/15559K, paused 32ms+6ms, total 208ms
10-28 19:43:58.620 I/AudioHardwareMSM72XX(115): set device to SND_DEVICE_SPEAKER device_id=0
10-28 19:43:58.620 I/AudioHardwareMSM72XX(115): disabling post proc features with mask 0x0000
10-28 19:43:59.100 D/dalvikvm(557): GC_FOR_ALLOC freed 4497K, 67% free 5200K/15559K, paused 66ms, total 66ms
10-28 19:43:59.170 D/dalvikvm(557): GC_CONCURRENT freed 2K, 56% free 6986K/15559K, paused 5ms+5ms, total 57ms
10-28 19:44:00.990 I/ActivityManager(305): START {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.thoughtcrime.securesms/.RoutingActivity u=0} from pid 557
10-28 19:44:01.010 I/AudioHardwareMSM72XX(115): set device to SND_DEVICE_SPEAKER device_id=0
10-28 19:44:01.010 I/AudioHardwareMSM72XX(115): Enabling post proc features with mask 0x0000
10-28 19:44:01.210 I/ActivityManager(305): START {cmp=org.thoughtcrime.securesms/.PassphrasePromptActivity u=0} from pid 2773
10-28 19:44:01.230 W/KeyCachingService(2773): Incrementing activity count...
10-28 19:44:01.260 D/libEGL (2773): loaded /system/lib/egl/libEGL_adreno200.so
10-28 19:44:01.270 D/libEGL (2773): loaded /system/lib/egl/libGLESv1_CM_adreno200.so
10-28 19:44:01.280 D/libEGL (2773): loaded /system/lib/egl/libGLESv2_adreno200.so
10-28 19:44:01.360 D/OpenGLRenderer(2773): Enabling debug mode 0
10-28 19:44:01.390 W/InputMethodManagerService(305): Focus gain on non-focused client com.android.internal.view.IInputMethodClient$Stub$Proxy@410226a8 (uid=10048 pid=2773)
10-28 19:44:01.480 W/KeyCachingService(2773): Decrementing activity count...
10-28 19:44:02.050 I/ActivityManager(305): Displayed org.thoughtcrime.securesms/.PassphrasePromptActivity: +684ms (total +992ms)
10-28 19:44:02.270 D/dalvikvm(305): GC_EXPLICIT freed 1183K, 40% free 7706K/12807K, paused 19ms+28ms, total 231ms
10-28 19:44:02.400 D/PhoneStatusBar(392): addNotification score=0
10-28 19:44:02.570 D/SizeAdaptiveLayout(392): com.android.internal.widget.SizeAdaptiveLayout@40ef51c8child view android.widget.FrameLayout@410fcd90 measured out of bounds at 95px clamped to 96px
10-28 19:44:02.800 D/SizeAdaptiveLayout(392): com.android.internal.widget.SizeAdaptiveLayout@40ef51c8child view android.widget.FrameLayout@410fcd90 measured out of bounds at 95px clamped to 96px
10-28 19:44:03.330 D/SizeAdaptiveLayout(392): com.android.internal.widget.SizeAdaptiveLayout@40ef51c8child view android.widget.FrameLayout@410fcd90 measured out of bounds at 95px clamped to 96px
10-28 19:44:04.050 I/AudioHardwareMSM72XX(115): set device to SND_DEVICE_SPEAKER device_id=0
10-28 19:44:04.050 I/AudioHardwareMSM72XX(115): disabling post proc features with mask 0x0000
10-28 19:44:10.250 D/PhoneStatusBar(392): addNotification score=-20
10-28 19:44:10.260 W/service (2773): Broadcasting new secret...
10-28 19:44:10.260 W/KeyCachingService(2773): Starting timeout: 900000
10-28 19:44:10.500 D/dalvikvm(2773): GC_EXPLICIT freed 834K, 66% free 2920K/8387K, paused 29ms+18ms, total 204ms
10-28 19:44:10.520 D/SizeAdaptiveLayout(392): com.android.internal.widget.SizeAdaptiveLayout@40ddc4a0child view android.widget.FrameLayout@40eead80 measured out of bounds at 95px clamped to 96px
10-28 19:44:10.560 W/SendReceiveService(2773): Got a MasterSecret broadcast...
10-28 19:44:10.560 W/PartProvider(2773): Got master secret: org.whispersystems.textsecure.crypto.MasterSecret@40f5c2f0
10-28 19:44:10.560 W/SendReceiveService(2773): Got a MasterSecret broadcast...
10-28 19:44:10.560 W/SendReceiveService(2773): SendReceive service got master secret.
10-28 19:44:10.590 W/DecryptingQueue(2773): Processing pending decrypts...
10-28 19:44:10.670 D/SizeAdaptiveLayout(392): com.android.internal.widget.SizeAdaptiveLayout@40ef51c8child view android.widget.FrameLayout@410fcd90 measured out of bounds at 95px clamped to 96px
10-28 19:44:10.750 I/ActivityManager(305): START {cmp=org.thoughtcrime.securesms/.ConversationListActivity (has extras) u=0} from pid 2773
10-28 19:44:10.790 W/KeyCachingService(2773): Incrementing activity count...
10-28 19:44:10.860 W/KeyCachingService(2773): Decrementing activity count...
10-28 19:44:10.860 W/KeyCachingService(2773): Starting timeout: 900000
10-28 19:44:11.240 W/DirectoryRefreshListener(2773): Scheduling for: 1414564870351
10-28 19:44:11.410 W/SmsSender(2773): Sending message: -1
10-28 19:44:11.410 W/KeyCachingService(2773): Incrementing activity count...
10-28 19:44:11.480 I/ActivityManager(305): Displayed org.thoughtcrime.securesms/.ConversationListActivity: +650ms
10-28 19:44:11.480 I/ActivityManager(305): Displayed org.thoughtcrime.securesms/.RoutingActivity: +10s423ms
10-28 19:44:11.650 W/RecipientProvider(2773): Cache miss [SYNC]!
10-28 19:44:11.690 I/ActivityManager(305): Start proc android.process.acore for content provider com.android.providers.contacts/.ContactsProvider2: pid=3243 uid=10010 gids={3003, 1015, 1028}
10-28 19:44:11.770 W/RecipientProvider(2773): Cache miss [ASYNC]!
10-28 19:44:11.780 W/MmsSender(2773): Got intent action: org.thoughtcrime.securesms.SendReceiveService.SEND_MMS_ACTION
10-28 19:44:11.870 E/Trace (3243): error opening trace file: No such file or directory (2)
10-28 19:44:11.970 I/ActivityThread(3243): Pub com.android.voicemail: com.android.providers.contacts.VoicemailContentProvider
10-28 19:44:11.990 I/ActivityThread(3243): Pub user_dictionary: com.android.providers.userdictionary.UserDictionaryProvider
10-28 19:44:12.010 I/ActivityThread(3243): Pub applications: com.android.providers.applications.ApplicationsProvider
10-28 19:44:12.020 W/RecipientProvider(2773): Cache miss [ASYNC]!
10-28 19:44:12.080 W/RecipientProvider(2773): Cache miss [ASYNC]!
10-28 19:44:12.130 I/ActivityThread(3243): Pub contacts;com.android.contacts: com.android.providers.contacts.ContactsProvider2
10-28 19:44:12.160 W/RecipientProvider(2773): Cache miss [ASYNC]!
10-28 19:44:12.200 W/RecipientProvider(2773): Cache miss [ASYNC]!
10-28 19:44:12.270 I/ActivityThread(3243): Pub call_log: com.android.providers.contacts.CallLogProvider
10-28 19:44:12.280 W/RecipientProvider(2773): Cache miss [ASYNC]!
10-28 19:44:12.330 W/RecipientProvider(2773): Cache miss [ASYNC]!
10-28 19:44:12.410 W/Emoji (2773): bitmap for this page was null
10-28 19:44:12.700 W/BitmapUtil(2773): creating scaled bitmap with scale 0.421875 => 864x540
10-28 19:44:12.770 D/dalvikvm(2773): GC_FOR_ALLOC freed 345K, 59% free 3448K/8387K, paused 51ms, total 61ms
10-28 19:44:12.850 I/dalvikvm-heap(2773): Grow heap (frag case) to 14.166MB for 2621456-byte allocation
10-28 19:44:12.900 D/dalvikvm(2773): GC_CONCURRENT freed 28K, 29% free 5979K/8387K, paused 5ms+6ms, total 56ms
10-28 19:44:13.880 D/CountryDetector(305): The first listener is added
10-28 19:44:13.890 I/LocationManagerService(305): request passive (pid 305) 0 0
10-28 19:44:15.300 W/MmsSmsDatabase(2773): Executing query: SELECT _id, body, read, type, address, address_device_id, subject, thread_id, status, date_sent, date_received, m_type, msg_box, part_count, ct_l, tr_id, m_size, exp, st, delivery_receipt_count, transport_type FROM (SELECT DISTINCT date_sent * 1 AS date_sent, date * 1 AS date_received, _id, body, read, thread_id, type, address, address_device_id, subject, NULL AS m_type, NULL AS msg_box, status, NULL AS part_count, NULL AS ct_l, NULL AS tr_id, NULL AS m_size, NULL AS exp, NULL AS st, delivery_receipt_count, 'sms' AS transport_type FROM sms WHERE (read = 0) UNION ALL SELECT DISTINCT date * 1000 AS date_sent, date_received * 1000 AS date_received, _id, body, read, thread_id, NULL AS type, address, address_device_id, NULL AS subject, m_type, msg_box, NULL AS status, part_count, ct_l, tr_id, m_size, exp, st, delivery_receipt_count, 'mms' AS transport_type FROM mms WHERE (read = 0) ORDER BY date_received ASC)
10-28 19:44:15.350 D/dalvikvm(2773): Trying to load lib /data/data/org.thoughtcrime.securesms/lib/libcurve25519.so 0x40deb578
10-28 19:44:15.350 D/dalvikvm(2773): Added shared lib /data/data/org.thoughtcrime.securesms/lib/libcurve25519.so 0x40deb578
10-28 19:44:15.350 D/dalvikvm(2773): No JNI_OnLoad found in /data/data/org.thoughtcrime.securesms/lib/libcurve25519.so 0x40deb578, skipping init
10-28 19:44:15.380 W/dalvikvm(2773): No implementation found for native Lorg/whispersystems/libaxolotl/ecc/Curve25519;.calculateAgreement:([B[B)[B
10-28 19:44:15.390 W/dalvikvm(2773): threadid=24: thread exiting with uncaught exception (group=0x40ab6300)
10-28 19:44:15.390 E/AndroidRuntime(2773): FATAL EXCEPTION: pool-2-thread-1
10-28 19:44:15.390 E/AndroidRuntime(2773): java.lang.UnsatisfiedLinkError: Native method not found: org.whispersystems.libaxolotl.ecc.Curve25519.calculateAgreement:([B[B)[B
10-28 19:44:15.390 E/AndroidRuntime(2773): at org.whispersystems.libaxolotl.ecc.Curve25519.calculateAgreement(Native Method)
10-28 19:44:15.390 E/AndroidRuntime(2773): at org.whispersystems.libaxolotl.ecc.Curve25519.calculateAgreement(Curve25519.java:53)
10-28 19:44:15.390 E/AndroidRuntime(2773): at org.whispersystems.libaxolotl.ecc.Curve.calculateAgreement(Curve.java:53)
10-28 19:44:15.390 E/AndroidRuntime(2773): at org.whispersystems.libaxolotl.ratchet.RootKey.createChain(RootKey.java:45)
10-28 19:44:15.390 E/AndroidRuntime(2773): at org.whispersystems.libaxolotl.SessionCipher.getOrCreateChainKey(SessionCipher.java:286)
10-28 19:44:15.390 E/AndroidRuntime(2773): at org.whispersystems.libaxolotl.SessionCipher.decrypt(SessionCipher.java:254)
10-28 19:44:15.390 E/AndroidRuntime(2773): at org.whispersystems.libaxolotl.SessionCipher.decrypt(SessionCipher.java:212)
10-28 19:44:15.390 E/AndroidRuntime(2773): at org.whispersystems.libaxolotl.SessionCipher.decrypt(SessionCipher.java:195)
10-28 19:44:15.390 E/AndroidRuntime(2773): at org.thoughtcrime.securesms.crypto.TextSecureCipher.decrypt(TextSecureCipher.java:51)
10-28 19:44:15.390 E/AndroidRuntime(2773): at org.thoughtcrime.securesms.crypto.DecryptingQueue$DecryptionWorkItem.handleRemoteAsymmetricEncrypt(DecryptingQueue.java:391)
10-28 19:44:15.390 E/AndroidRuntime(2773): at org.thoughtcrime.securesms.crypto.DecryptingQueue$DecryptionWorkItem.run(DecryptingQueue.java:475)
10-28 19:44:15.390 E/AndroidRuntime(2773): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
10-28 19:44:15.390 E/AndroidRuntime(2773): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
10-28 19:44:15.390 E/AndroidRuntime(2773): at java.lang.Thread.run(Thread.java:856)
10-28 19:44:15.400 W/ActivityManager(305): Force finishing activity org.thoughtcrime.securesms/.ConversationListActivity
10-28 19:44:15.400 W/WindowManager(305): Failure taking screenshot for (246x410) to layer 21020
10-28 19:44:15.520 W/KeyCachingService(2773): Decrementing activity count...
10-28 19:44:15.520 W/KeyCachingService(2773): Starting timeout: 900000
10-28 19:44:15.730 W/dalvikvm(2773): No implementation found for native Lorg/whispersystems/libaxolotl/ecc/Curve25519;.calculateAgreement:([B[B)[B
10-28 19:44:15.730 W/dalvikvm(2773): threadid=25: thread exiting with uncaught exception (group=0x40ab6300)
10-28 19:44:15.730 I/Process (2773): Sending signal. PID: 2773 SIG: 9
10-28 19:44:15.830 I/ActivityManager(305): Process org.thoughtcrime.securesms (pid 2773) has died.
10-28 19:44:15.830 I/WindowState(305): WIN DEATH: Window{41590af8 org.thoughtcrime.securesms/org.thoughtcrime.securesms.ConversationListActivity paused=false}
10-28 19:44:15.840 W/ActivityManager(305): Service crashed 2 times, stopping: ServiceRecord{4128ffe8 org.thoughtcrime.securesms/.service.KeyCachingService}
10-28 19:44:15.840 W/ActivityManager(305): Service crashed 2 times, stopping: ServiceRecord{411500e8 org.thoughtcrime.securesms/.service.SendReceiveService}
10-28 19:44:15.890 W/InputMethodManagerService(305): Got RemoteException sending setActive(false) notification to pid 2773 uid 10048
10-28 19:44:21.240 D/dalvikvm(392): GC_CONCURRENT freed 1034K, 53% free 4245K/9031K, paused 5ms+10ms, total 69ms
10-28 19:44:23.280 D/dalvikvm(305): GC_FOR_ALLOC freed 1438K, 42% free 7471K/12807K, paused 121ms, total 124ms
10-28 19:44:23.350 I/ActivityManager(305): No longer want com.google.android.gsf.login (pid 3075): hidden #5
10-28 19:44:23.430 I/AudioHardwareMSM72XX(115): set device to SND_DEVICE_SPEAKER device_id=0
10-28 19:44:23.430 I/AudioHardwareMSM72XX(115): Enabling post proc features with mask 0x0000
10-28 19:44:24.170 V/PhoneStatusBar(392): setLightsOn(true)
10-28 19:44:26.470 I/AudioHardwareMSM72XX(115): set device to SND_DEVICE_SPEAKER device_id=0
10-28 19:44:26.470 I/AudioHardwareMSM72XX(115): disabling post proc features with mask 0x0000
This crash has nothing to do with the database or any other structure we control. The OS literally can't find part of the code, in the form of a shared library that is bundled inside the APK. Your first crash wasn't finding the library at all, and this crash appears to load a library but with missing symbols. There is zero chance that this can occur due to a programming mistake on our end or a bug in the application, it's a problem with your ROM that might have corrupted the entire APK.
The only thing I can recommend is installing the latest release on top of what you have (adb install -r).
I had a similar issue on a CM11 Nightly build.
For me the problem was fixed by uninstalling TextSecure, while keeping its data with the following command:
adb shell pm uninstall -k org.thoughtcrime.securesms
and then installing TextSecure again via the Play Store.
Hello,
since today the textsecure app on my girlfriends mobile (HTC One V, rooted with overclockable kernel, otherwise stock android 4.0.3) refuses to open. It always crashes immideatly after entering the password, though sometimes you get to see the contact view for about half a second.
She updated the app via the play store yesterday, but according to her everything was working fine until she send me a push message today (first message send after update). I'll attach a log, I got from the phone using catlog.
Thanks in advance for looking into this. If you need any additional infos to fix this, I'll be happy to provide it.
~ Tarpoon