Page 1 of 2

RaceCapture dies during startup on Huawei P10 Lite

Posted: Wed Oct 11, 2017 12:09 am
by lightningrod
I've installed the version from the Android Play Store. I get the initial splash screen but the app dies after a few seconds.

I have it running OK on my (very) old Samsung Galaxy for now.

Please let me know if there is anything I can do to help debug this.

Rod.

Posted: Thu Oct 12, 2017 4:37 am
by brentp
Hi,

Sorry for the inconvenience - We'll check the crash reports on this. Do any error messages show up after it crashes?

Posted: Thu Oct 12, 2017 4:44 am
by lightningrod
It just disappears ... where would I look for error messages?

Posted: Thu Oct 12, 2017 4:57 am
by brentp
If you don't see any popup errors, you may be able to fetch a crash log using a utility.

See:

https://stackoverflow.com/questions/244 ... roid-phone

and, linked from the above article:

https://play.google.com/store/apps/deta ... tb.alogcat
https://play.google.com/store/apps/deta ... byTW&hl=sk

If you get anything useful in the crash log, please post it here. Thanks!

Posted: Thu Oct 12, 2017 4:34 pm
by lightningrod
I captured about 9000 lines of logs in 5 seconds, so there's more data available than just this, but here are the logs from immediately before and after the crash. Let me know if there is something more specific I can look for.

Code: Select all

10-12 09:05:42.475 17676 17696 I ServiceManager: Waiting for service SurfaceFlinger...
10-12 09:05:42.483  1384  1407 I art     : Explicit concurrent mark sweep GC freed 33781(2MB) AllocSpace objects, 13(996KB) LOS objects, 6% free, 57MB/61MB, paused 3.341ms total 244.250ms
10-12 09:05:42.877 10388 10428 W linker  : /data/data/com.autosportlabs.racecapture/files/app/lib/python2.7/lib-dynload/_sqlite3.so: is missing DT_SONAME will use basename as a replacement: "_sqlite3.so"
10-12 09:05:42.955 10388 10428 W linker  : /data/data/com.autosportlabs.racecapture/files/app/lib/python2.7/site-packages/sqlalchemy/cprocessors.so: is missing DT_SONAME will use basename as a replacement: "cprocessors.so"
10-12 09:05:43.078 10388 10428 W linker  : /data/data/com.autosportlabs.racecapture/files/app/lib/python2.7/site-packages/sqlalchemy/cutils.so: is missing DT_SONAME will use basename as a replacement: "cutils.so"
10-12 09:05:43.083 10388 10428 W linker  : /data/data/com.autosportlabs.racecapture/files/app/lib/python2.7/site-packages/sqlalchemy/cresultproxy.so: is missing DT_SONAME will use basename as a replacement: "cresultproxy.so"
10-12 09:05:43.377  1384  1384 I TrafficMonitor: update:rxPkts:2,txPkts:1,rxBytes:136,txBytes:64
10-12 09:05:43.377  1384  1384 I TrafficMonitor: start expired. level:-1
10-12 09:05:43.377  1384  1384 I TrafficMonitor: gettimer:interval=2000
10-12 09:05:43.456   471   471 E ServiceManager: try to find service failed, not allowed access from isolated processes.
10-12 09:05:43.456 26287 26308 I ServiceManager: Waiting for service SurfaceFlinger...
10-12 09:05:43.476   471   471 E ServiceManager: try to find service failed, not allowed access from isolated processes.
10-12 09:05:43.476 17676 17696 I ServiceManager: Waiting for service SurfaceFlinger...
10-12 09:05:43.500 10388 10428 I python  : [ERROR  ] [Main        ] crash caught: Reference is 5eb9700e378b4164b7800bbe846f6be8
10-12 09:05:43.501 10388 10428 I python  : [CRITICAL] [Traceback (most recent call last)]
10-12 09&#58;05&#58;43.501 10388 10428 I python  &#58;   File "/home/brent/git-projects/RaceCapture_App/.buildozer/android/app/main.py", line 608, in <module>
10-12 09&#58;05&#58;43.501 10388 10428 I python  &#58;   File "/home/brent/git-projects/RaceCapture_App/.buildozer/android/app/main.py", line 168, in __init__
10-12 09&#58;05&#58;43.501 10388 10428 I python  &#58;   File "/home/brent/git-projects/RaceCapture_App/.buildozer/android/platform/build/dists/racecapture/private/lib/python2.7/site-packages/kivy/app.py", line 780, in user_data_dir
10-12 09&#58;05&#58;43.501 10388 10428 I python  &#58; OSError&#58; &#91;Errno 2&#93; No such file or directory&#58; '/sdcard/racecapture'
10-12 09&#58;05&#58;43.501 10388 10428 I python  &#58;
10-12 09&#58;05&#58;43.538  1384  1523 E WifiConfigManager&#58; updateConfiguration freq=2452 BSSID=f4&#58;f2&#58;6d&#58;b4&#58;35&#58;80 RSSI=-38 "RADNet"WPA_PSK
10-12 09&#58;05&#58;43.601 10388 10428 I python  &#58; Sentry is attempting to send 1 pending error messages
10-12 09&#58;05&#58;43.601 10388 10428 I python  &#58; Waiting up to 10 seconds
10-12 09&#58;05&#58;43.601 10388 10428 I python  &#58; Press Ctrl-C to quit
10-12 09&#58;05&#58;44.236 10388 10428 I python  &#58; Python for android ended.
--------- beginning of crash
10-12 09&#58;05&#58;44.246 10388 10388 F libc    &#58; Fatal signal 11 &#40;SIGSEGV&#41;, code 1, fault addr 0x4 in tid 10388 &#40;abs.racecapture&#41;
10-12 09&#58;05&#58;44.247   383   383 W         &#58; debuggerd&#58; handling request&#58; pid=10388 uid=10141 gid=10141 tid=10388
10-12 09&#58;05&#58;44.360   489   489 E Thermal-daemon&#58; &#91;pa_0&#93; temp_new &#58;31  temp_old &#58;30
10-12 09&#58;05&#58;44.362  1844  2246 I ThermalService&#58; Receive temperature change, type&#58; 1, temp&#58; 31 from thermald
10-12 09&#58;05&#58;44.362  1844  2408 W HwThermalStateManager&#58; warning&#58; no config thermal type&#58;1 temperature&#58;31
10-12 09&#58;05&#58;44.362  1844  2408 I LowBatteryManager&#58; Only handle msg event!
10-12 09&#58;05&#58;44.362   489   489 E Thermal-daemon&#58; Report temperature&#58; &#91;pa_0&#93; temp &#58;31  report_threshold&#58;1
10-12 09&#58;05&#58;44.364   489   489 E Thermal-daemon&#58; &#91;ap&#93; temp_new &#58;34  temp_old &#58;35
10-12 09&#58;05&#58;44.364  1844  2481 I ThermalService&#58; Receive temperature change, type&#58; 0, temp&#58; 34 from thermald
10-12 09&#58;05&#58;44.365   489   489 E Thermal-daemon&#58; Report temperature&#58; &#91;ap&#93; temp &#58;34  report_threshold&#58;1
10-12 09&#58;05&#58;44.365  1844  2408 I LowBatteryManager&#58; Only handle msg event!
10-12 09&#58;05&#58;44.441 10439 10439 F DEBUG   &#58; *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
10-12 09&#58;05&#58;44.442 10439 10439 F DEBUG   &#58; Build fingerprint&#58; 'HUAWEI/WAS-LX3/HWWAS-H&#58;7.0/HUAWEIWAS-LX3/C605B120&#58;user/release-keys'
10-12 09&#58;05&#58;44.442 10439 10439 F DEBUG   &#58; Revision&#58; '0'
10-12 09&#58;05&#58;44.442 10439 10439 F DEBUG   &#58; ABI&#58; 'arm'
10-12 09&#58;05&#58;44.442 10439 10439 F DEBUG   &#58; pid&#58; 10388, tid&#58; 10388, name&#58; abs.racecapture  >>> com.autosportlabs.racecapture <<<
10-12 09&#58;05&#58;44.442 10439 10439 F DEBUG   &#58; signal 11 &#40;SIGSEGV&#41;, code 1 &#40;SEGV_MAPERR&#41;, fault addr 0x4
10-12 09&#58;05&#58;44.442 10439 10439 F DEBUG   &#58;     r0 00000001  r1 00000001  r2 00000000  r3 00000001
10-12 09&#58;05&#58;44.442 10439 10439 F DEBUG   &#58;     r4 e54f7780  r5 00000000  r6 00000000  r7 d60c17d0
10-12 09&#58;05&#58;44.442 10439 10439 F DEBUG   &#58;     r8 f365b008  r9 f2484f00  sl f2484f8c  fp ffb48dc4
10-12 09&#58;05&#58;44.442 10439 10439 F DEBUG   &#58;     ip d607ec24  sp ffb48c00  lr d5fc63e9  pc d5fbc0aa  cpsr 800f0030
10-12 09&#58;05&#58;44.444 10439 10439 F DEBUG   &#58;
10-12 09&#58;05&#58;44.444 10439 10439 F DEBUG   &#58; backtrace&#58;
10-12 09&#58;05&#58;44.452 10439 10439 F DEBUG   &#58;     #00 pc 000c00aa  /data/app/com.autosportlabs.racecapture-1/lib/arm/libpython2.7.so &#40;PyThreadState_New+93&#41;
10-12 09&#58;05&#58;44.452 10439 10439 F DEBUG   &#58;     #01 pc 000ca3e5  /data/app/com.autosportlabs.racecapture-1/lib/arm/libpython2.7.so &#40;PyThread_acquire_lock+76&#41;


Posted: Thu Oct 12, 2017 4:38 pm
by brentp
This could be the culprit:

10-12 09:05:43.501 10388 10428 I python : OSError: [Errno 2] No such file or directory: '/sdcard/racecapture'

Did you do a conventional install, or did you change the install location?

Posted: Thu Oct 12, 2017 4:39 pm
by lightningrod
I just installed the build that's in the playstore. Nothing more.

Posted: Thu Oct 12, 2017 4:47 pm
by lightningrod
I have the sdcard set as the default storage location on this phone.

Posted: Thu Oct 12, 2017 11:45 pm
by brentp
Is that different than the factory default location?

Posted: Fri Oct 13, 2017 12:37 am
by lightningrod
Yes. The factory setting is "Internal Storage".

Posted: Fri Oct 13, 2017 12:40 am
by brentp
Is it feasible for you to temporarily set it to 'internal storage', then re-install and try running again?

Thanks,

Posted: Fri Oct 13, 2017 12:53 am
by lightningrod
It's a big pain to change. I think it's almost a factory reset. I'll double check this, I may be able to clone my SD card and try it on the clone, but don't count on me getting this to work. Either was I won't be able to change this till next week if at all.

Posted: Fri Oct 13, 2017 12:58 am
by brentp
Got it. Does your phone allow apps to be individually moved to internal storage?

I typically see the opposite, where the phone offers the option of moving an app to external storage, so maybe it's possible to configure it this way on your phone.

Thanks,

Posted: Fri Oct 13, 2017 6:46 pm
by lightningrod
So far, I've not been able to find such an option. I have another phone I can experiment with a bit more, but its not with me right now. (I'm away racing for the weekend now, so I won't be much help till next week).

If you figure anything out in the meantime let me know.

Posted: Fri Oct 13, 2017 6:47 pm
by brentp
We'll post here if we have a chance to take a look at it. Thanks for working with us through it!