openbmap / radiocells-nlp-android

radiocells.org Unified Network Location Provider
https://radiocells.org
Other
41 stars 13 forks source link

Crashing on my phone #1

Closed DocSniper closed 9 years ago

DocSniper commented 9 years ago

Logcat:

02-28 15:41:09.980 D/NlpLocationBackendHelper(3892): Binding to: Intent { act=org.microg.nlp.LOCATION_BACKEND pkg=org.openbmap.unifiedNlp cmp=org.openbmap.unifiedNlp/.services.OpenbmapNlpService } 02-28 15:41:10.010 I/ActivityManager(3434): Start proc org.openbmap.unifiedNlp for service org.openbmap.unifiedNlp/.services.OpenbmapNlpService: pid=20158 uid=10342 gids={50342, 9997, 3003, 1028, 1015} abi=armeabi-v7a 02-28 15:41:10.180 D/ACRA (20158): ACRA is enabled for org.openbmap.unifiedNlp, intializing... 02-28 15:41:10.190 D/ACRA (20158): Looking for error files in /data/data/org.openbmap.unifiedNlp/files 02-28 15:41:10.200 D/NlpLocationBackendHelper(3892): Bound to: ComponentInfo{org.openbmap.unifiedNlp/org.openbmap.unifiedNlp.services.OpenbmapNlpService} 02-28 15:41:10.200 I/org.openbmap.unifiedNlp.services.OpenbmapNlpService(20158): Opening org.openbmap.unifiedNlp.services.OpenbmapNlpService 02-28 15:41:10.210 D/org.openbmap.unifiedNlp.services.OpenbmapNlpService(20158): Pref online 02-28 15:41:10.210 I/org.openbmap.unifiedNlp.services.OpenbmapNlpService(20158): Using online geocoder 02-28 15:41:14.360 I/org.openbmap.unifiedNlp.services.OpenbmapNlpService(20158): Using 2 wifis for geolocation 02-28 15:41:14.380 D/org.openbmap.unifiedNlp.services.OpenbmapNlpService(20158): No cell available (getAllCellInfo returned null) 02-28 15:41:14.380 E/ACRA (20158): ACRA is disabled for org.openbmap.unifiedNlp - forwarding uncaught Exception on to default ExceptionHandler 02-28 15:41:14.380 E/AndroidRuntime(20158): Process: org.openbmap.unifiedNlp, PID: 20158 02-28 15:41:14.380 E/AndroidRuntime(20158): java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.wifi.SCAN_RESULTS flg=0x4000010 } in org.openbmap.unifiedNlp.services.OpenbmapNlpService$1@5c5bd0f 02-28 15:41:14.380 E/AndroidRuntime(20158): at org.openbmap.unifiedNlp.services.OpenbmapNlpService$2.onWifiResultsAvailable(OpenbmapNlpService.java:207) 02-28 15:41:14.380 E/AndroidRuntime(20158): at org.openbmap.unifiedNlp.services.OpenbmapNlpService$1.onReceive(OpenbmapNlpService.java:101) 02-28 15:41:16.910 D/NlpLocationBackendHelper(3892): Unbound from: ComponentInfo{org.openbmap.unifiedNlp/org.openbmap.unifiedNlp.services.OpenbmapNlpService} 02-28 15:41:16.930 I/ActivityManager(3434): Process org.openbmap.unifiedNlp (pid 20158) has died 02-28 15:41:16.930 W/ActivityManager(3434): Scheduling restart of crashed service org.openbmap.unifiedNlp/.services.OpenbmapNlpService in 1000ms 02-28 15:41:18.020 I/ActivityManager(3434): Start proc org.openbmap.unifiedNlp for service org.openbmap.unifiedNlp/.services.OpenbmapNlpService: pid=20288 uid=10342 gids={50342, 9997, 3003, 1028, 1015} abi=armeabi-v7a 02-28 15:41:18.130 D/ACRA (20288): ACRA is enabled for org.openbmap.unifiedNlp, intializing... 02-28 15:41:18.140 D/ACRA (20288): Looking for error files in /data/data/org.openbmap.unifiedNlp/files 02-28 15:41:18.150 D/NlpLocationBackendHelper(3892): Bound to: ComponentInfo{org.openbmap.unifiedNlp/org.openbmap.unifiedNlp.services.OpenbmapNlpService} 02-28 15:41:18.150 I/org.openbmap.unifiedNlp.services.OpenbmapNlpService(20288): Opening org.openbmap.unifiedNlp.services.OpenbmapNlpService 02-28 15:41:18.150 D/org.openbmap.unifiedNlp.services.OpenbmapNlpService(20288): Pref online

w0rinal commented 9 years ago

Also happens on my phone after download has finished. Might be a different problem but I didn't want to open another issue Yeah, I use XPrivacy but there's nothing restricted for the app.

02-28 10:34:34.880 I/qtaguid (10774): Failed write_ctrl(u 257) res=-1 errno=22 02-28 10:34:34.880 I/qtaguid (10774): Untagging socket 257 failed errno=-22 02-28 10:34:34.880 W/NetworkManagementSocketTagger(10774): untagSocket(257) failed with errno -22 02-28 10:34:34.940 W/FileUtils(10774): Failed to chmod(/storage/emulated/0/org.openbmap.unifiednlp/openbmap.sqlite): libcore.io.ErrnoException: chmod failed: EPERM (Operation not permitted) 02-28 10:34:34.960 I/DownloadManager(10774): Download 205 finished with status SUCCESS 02-28 10:34:34.970 W/XPrivacy(2597): On demand 10201/Downloads(content://downloads/my_downloads;null) browser=!restricted? 02-28 10:34:34.975 W/XPrivacy(2597): On demanding 10201/Downloads(content://downloads/my_downloads;null) browser=!restricted? 02-28 10:34:34.975 W/XPrivacy(2597): Already asked once method 10201/Downloads(content://downloads/my_downloads;null) browser=!restricted? 02-28 10:34:34.995 D/DownloadManager(10774): Download 205 already finished; skipping 02-28 10:34:35.010 E/cutils (1977): Failed to mkdirat(/storage/usbdisk0/Android): Read-only file system 02-28 10:34:35.010 W/Vold (1977): Returning OperationFailed - no handler for errno 30 02-28 10:34:35.015 W/ContextImpl(8944): Failed to ensure directory: /storage/usbdisk0/Android/data/org.openbmap.unifiedNlp/cache 02-28 10:34:35.015 D/AndroidRuntime(8944): Shutting down VM 02-28 10:34:35.015 W/dalvikvm(8944): threadid=1: thread exiting with uncaught exception (group=0x4189dc08) 02-28 10:34:35.025 E/ACRA (8944): ACRA is disabled for org.openbmap.unifiedNlp - forwarding uncaught Exception on to default ExceptionHandler 02-28 10:34:35.030 E/AndroidRuntime(8944): FATAL EXCEPTION: main 02-28 10:34:35.030 E/AndroidRuntime(8944): Process: org.openbmap.unifiedNlp, PID: 8944 02-28 10:34:35.030 E/AndroidRuntime(8944): java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=org.openbmap.unifiedNlp (has extras) } in org.openbmap.unifiedNlp.SettingsActivity$2@42ccd3d0 02-28 10:34:35.030 E/AndroidRuntime(8944): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:769) 02-28 10:34:35.030 E/AndroidRuntime(8944): at android.os.Handler.handleCallback(Handler.java:733) 02-28 10:34:35.030 E/AndroidRuntime(8944): at android.os.Handler.dispatchMessage(Handler.java:95) 02-28 10:34:35.030 E/AndroidRuntime(8944): at android.os.Looper.loop(Looper.java:136) 02-28 10:34:35.030 E/AndroidRuntime(8944): at android.app.ActivityThread.main(ActivityThread.java:5034) 02-28 10:34:35.030 E/AndroidRuntime(8944): at java.lang.reflect.Method.invokeNative(Native Method) 02-28 10:34:35.030 E/AndroidRuntime(8944): at java.lang.reflect.Method.invoke(Method.java:515) 02-28 10:34:35.030 E/AndroidRuntime(8944): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795) 02-28 10:34:35.030 E/AndroidRuntime(8944): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:611) 02-28 10:34:35.030 E/AndroidRuntime(8944): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132) 02-28 10:34:35.030 E/AndroidRuntime(8944): at dalvik.system.NativeStart.main(Native Method) 02-28 10:34:35.030 E/AndroidRuntime(8944): Caused by: java.lang.NullPointerException 02-28 10:34:35.030 E/AndroidRuntime(8944): at org.openbmap.unifiedNlp.SettingsActivity.activateWifiCatalog(SettingsActivity.java:325) 02-28 10:34:35.030 E/AndroidRuntime(8944): at org.openbmap.unifiedNlp.SettingsActivity.handleDownloads(SettingsActivity.java:204) 02-28 10:34:35.030 E/AndroidRuntime(8944): at org.openbmap.unifiedNlp.SettingsActivity$2.onReceive(SettingsActivity.java:172) 02-28 10:34:35.030 E/AndroidRuntime(8944): at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:759) 02-28 10:34:35.030 E/AndroidRuntime(8944): ... 10 more

wish7code commented 9 years ago

Thanks to both of you for reporting ...

https://github.com/wish7code/org.openbmap.unifiedNlpProvider/commit/7dbaaf1f40aa518793376f11932dcb9a8557d15e should heal the first issue (I assume you used the F-Droid release. Unfortunately the F-Droid release didn't include the aforementioned bugfix, next release coming soon...)

DocSniper commented 9 years ago

Yes, I'm using the F-Droid build :-)

wish7code commented 9 years ago

Just posted the merge request for the F-Droid repositories. New F-Droid version will appear in the next couple of days..

@w0rinal Let me know whether this works for you too

wish7code commented 9 years ago

F-Droid v.0.1.1 released. Could you verify whether everythings runs properly now?

mvglasow commented 9 years ago

Works for me now (had the same issue on earlier builds).

DocSniper commented 9 years ago

Yes working. Thanks :-)