Closed TheSnoozer closed 1 year ago
The issue is probably fixed in 4.3 - we need crashlog probably it's native crash
Still an issued in 4.3
Brand : realme
Model : RMX3241
Product : RMX3241EEA
Build : RMX3241_11_C.05
Version : 12
App Version : OsmAnd+
Apk Version : 4.3.2 4302
Log
12-13 14:57:47.863 30086 30086 E DiscountHelper: Error: JSON parsing error:
12-13 14:57:47.863 30086 30086 E DiscountHelper: org.json.JSONException: No value for message
12-13 14:57:47.863 30086 30086 E DiscountHelper: at org.json.JSONObject.get(JSONObject.java:398)
12-13 14:57:47.863 30086 30086 E DiscountHelper: at org.json.JSONObject.getString(JSONObject.java:559)
12-13 14:57:47.863 30086 30086 E DiscountHelper: at net.osmand.plus.helpers.DiscountHelper$ControllerData.parse(DiscountHelper.java:497)
12-13 14:57:47.863 30086 30086 E DiscountHelper: at net.osmand.plus.helpers.DiscountHelper.processDiscountResponse(DiscountHelper.java:145)
12-13 14:57:47.863 30086 30086 E DiscountHelper: at net.osmand.plus.helpers.DiscountHelper.access$100(DiscountHelper.java:59)
12-13 14:57:47.863 30086 30086 E DiscountHelper: at net.osmand.plus.helpers.DiscountHelper$1.onPostExecute(DiscountHelper.java:133)
12-13 14:57:47.863 30086 30086 E DiscountHelper: at net.osmand.plus.helpers.DiscountHelper$1.onPostExecute(DiscountHelper.java:117)
Also attached adb logcat
which results in the following information:
12-13 15:50:21.639 1316 20374 D gps_controlller: send_active_notify: send clean nmea timer cmd!
12-13 15:50:21.640 1316 20374 D gps_controlller: mtk_gps_sys_gps_mnl_callback: MTK_GPS_MSG_FIX_READY, GET_RTC_OK, 0.005, 3686.828
12-13 15:50:21.640 1316 20374 D gps_controlller: mtk_gps_sys_gps_mnl_callback: Age = 2, RTCDiff = 30, Time_interval = 10
12-13 15:50:21.640 1316 1356 D gps_controlller: gps_control_thread: gps_control_thread wait
12-13 15:50:21.640 1316 20374 D pseudo : mtk_gps_sys_nmea_output_to_app: len:46, [vAGPS_Auto_Req]:g_FirstDbtt:0,u2BitMap:0x100
12-13 15:50:21.640 1316 1371 W MNLD : mnld_gps_output_data_handle: mnld send debug msg to app:$PMTK841,001,1.000000,-0.000065,27.167557,20,118,3212,3273,0,0,0,0.000000,0.037235,27.663862,0.129251*1A
12-13 15:50:21.640 1316 1371 E mnld : mtk_socket_connect_local: mtk_socket_connect_local() connect() failed reason=[Connection refused]111 for path=[mtk_mnld2debugService]
12-13 15:50:21.640 1316 1371 E mnld : Mnld2DebugInterface_mnldUpdateMessageInfo: Mnld2DebugInterface_mnldUpdateMessageInfo() mtk_socket_client_connect() failed
12-13 15:50:21.663 1027 1294 I hwcomposer: [HWC] (0)fire a callback of refresh to SF[4]
12-13 15:50:21.673 20284 20319 I net.osmand:native: Search route map Italy_umbria_europe
12-13 15:50:21.682 20284 20388 E libc++abi: terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: (count) <= (buffer_used_): Can't back up over more bytes than were returned by the last call to Next().
12-13 15:50:21.682 20284 20388 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 20388 (pool-5-thread-1), pid 20284 (net.osmand.plus)
12-13 15:50:21.824 19258 20391 E tflite : third_party/tensorflow/lite/core/subgraph.cc:900 tensor.data.raw != nullptr was not true.
12-13 15:50:21.856 20395 20395 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
12-13 15:50:21.858 629 629 I tombstoned: received crash request for pid 20388
12-13 15:50:21.859 20395 20395 I crash_dump64: performing dump of process 20284 (target tid = 20388)
12-13 15:50:21.877 20284 20319 E libc++abi: terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: (count) <= (buffer_used_): Can't back up over more bytes than were returned by the last call to Next().
12-13 15:50:21.878 20395 20395 E DEBUG : failed to read /proc/uptime: Permission denied
12-13 15:50:21.915 1027 1294 I hwcomposer: [HWC] (0)fire a callback of refresh to SF[4]
12-13 15:50:21.930 1511 2469 D BufferPoolAccessor2.0: evictor expired: 2, evicted: 0
12-13 15:50:21.971 20284 20292 I net.osmand.plu: Background concurrent copying GC freed 809653(50MB) AllocSpace objects, 108(2656KB) LOS objects, 26% free, 68MB/92MB, paused 122us,36us total 452.552ms
12-13 15:50:21.977 19258 20391 I ControllerWrapperImpl: Done initializing de-de-x-dee-seanet-embedded
12-13 15:50:21.981 20284 20294 W System : A resource failed to call close.
12-13 15:50:21.981 20284 20294 W System : A resource failed to call close.
.....
.....
12-13 15:50:22.233 20395 20395 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12-13 15:50:22.233 20395 20395 F DEBUG : Build fingerprint: 'realme/RMX3241EEA/RE513CL1:12/SP1A.210812.016/R.GDPR.202210111215:user/release-keys'
12-13 15:50:22.233 20395 20395 F DEBUG : Revision: '0'
12-13 15:50:22.233 20395 20395 F DEBUG : ABI: 'arm64'
12-13 15:50:22.233 20395 20395 F DEBUG : Timestamp: 2022-12-13 15:50:21.877898784+0100
12-13 15:50:22.233 20395 20395 F DEBUG : Process uptime: 0s
12-13 15:50:22.233 20395 20395 F DEBUG : Cmdline: net.osmand.plus
12-13 15:50:22.233 20395 20395 F DEBUG : pid: 20284, tid: 20388, name: pool-5-thread-1 >>> net.osmand.plus <<<
12-13 15:50:22.233 20395 20395 F DEBUG : uid: 10248
12-13 15:50:22.233 20395 20395 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
12-13 15:50:22.233 20395 20395 F DEBUG : Abort message: 'terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: (count) <= (buffer_used_): Can't back up over more bytes than were returned by the last call to Next().'
12-13 15:50:22.233 20395 20395 F DEBUG : x0 0000000000000000 x1 0000000000004fa4 x2 0000000000000006 x3 0000007071e8fc10
12-13 15:50:22.233 20395 20395 F DEBUG : x4 736f646277641f73 x5 736f646277641f73 x6 736f646277641f73 x7 7f7f7f7f7f7f7f7f
12-13 15:50:22.233 20395 20395 F DEBUG : x8 00000000000000f0 x9 00000071b34942c0 x10 ffffff00fffffbdf x11 0000000000000001
12-13 15:50:22.233 20395 20395 F DEBUG : x12 0000000000000018 x13 000000006398912d x14 00287314996012ac x15 0000364abcec5cab
12-13 15:50:22.233 20395 20395 F DEBUG : x16 00000071b3558bb0 x17 00000071b3534450 x18 000000705dc08000 x19 00000000000000ac
12-13 15:50:22.233 20395 20395 F DEBUG : x20 0000000000004f3c x21 00000000000000b2 x22 0000000000004fa4 x23 00000000ffffffff
12-13 15:50:22.233 20395 20395 F DEBUG : x24 0000007071e8fd50 x25 0000007071e8fd90 x26 00000070941e5c9c x27 0000007071e90450
12-13 15:50:22.233 20395 20395 F DEBUG : x28 000000000fa28ac8 x29 0000007071e8fc90
12-13 15:50:22.233 20395 20395 F DEBUG : lr 00000071b34e5b6c sp 0000007071e8fbf0 pc 00000071b34e5b9c pst 0000000000001000
12-13 15:50:22.233 20395 20395 F DEBUG : backtrace:
12-13 15:50:22.234 20395 20395 F DEBUG : #00 pc 0000000000078b9c /apex/com.android.runtime/lib64/bionic/libc.so (abort+180) (BuildId: f24f65acf653c409ca4332aced817a71)
12-13 15:50:22.234 20395 20395 F DEBUG : #01 pc 00000000000cec88 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libc++_shared.so (abort_message+240) (BuildId: f40f6d280957fdd0a998b5fb11c895e9554b8b45)
12-13 15:50:22.234 20395 20395 F DEBUG : #02 pc 00000000000cee3c /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libc++_shared.so (demangling_terminate_handler()+264) (BuildId: f40f6d280957fdd0a998b5fb11c895e9554b8b45)
12-13 15:50:22.234 20395 20395 F DEBUG : #03 pc 00000000000e3bfc /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libc++_shared.so (std::__terminate(void (*)())+16) (BuildId: f40f6d280957fdd0a998b5fb11c895e9554b8b45)
12-13 15:50:22.234 20395 20395 F DEBUG : #04 pc 00000000000e3294 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libc++_shared.so (__cxxabiv1::failed_throw(__cxxabiv1::__cxa_exception*)+32) (BuildId: f40f6d280957fdd0a998b5fb11c895e9554b8b45)
12-13 15:50:22.234 20395 20395 F DEBUG : #05 pc 00000000000e31e8 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libc++_shared.so (__cxa_throw+124) (BuildId: f40f6d280957fdd0a998b5fb11c895e9554b8b45)
12-13 15:50:22.234 20395 20395 F DEBUG : #06 pc 0000000000680f68 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libosmand.so (google::protobuf::internal::LogMessage::Finish()+284) (BuildId: a799e4bde6832e118c09f6699f27bce0befcaa27)
12-13 15:50:22.234 20395 20395 F DEBUG : #07 pc 000000000067e4b8 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libosmand.so (google::protobuf::io::CopyingInputStreamAdaptor::BackUp(int)+204) (BuildId: a799e4bde6832e118c09f6699f27bce0befcaa27)
12-13 15:50:22.234 20395 20395 F DEBUG : #08 pc 000000000067ac80 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libosmand.so (google::protobuf::io::CodedInputStream::Seek(int)+84) (BuildId: a799e4bde6832e118c09f6699f27bce0befcaa27)
12-13 15:50:22.234 20395 20395 F DEBUG : #09 pc 0000000000306220 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libosmand.so (readRouteTree(google::protobuf::io::CodedInputStream*, RouteSubregion*, RouteSubregion*, RoutingIndex*, int, bool)+412) (BuildId: a799e4bde6832e118c09f6699f27bce0befcaa27)
12-13 15:50:22.234 20395 20395 F DEBUG : #10 pc 0000000000306204 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libosmand.so (readRouteTree(google::protobuf::io::CodedInputStream*, RouteSubregion*, RouteSubregion*, RoutingIndex*, int, bool)+384) (BuildId: a799e4bde6832e118c09f6699f27bce0befcaa27)
12-13 15:50:22.234 20395 20395 F DEBUG : #11 pc 0000000000306204 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libosmand.so (readRouteTree(google::protobuf::io::CodedInputStream*, RouteSubregion*, RouteSubregion*, RoutingIndex*, int, bool)+384) (BuildId: a799e4bde6832e118c09f6699f27bce0befcaa27)
12-13 15:50:22.234 20395 20395 F DEBUG : #12 pc 0000000000310530 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libosmand.so (searchRouteRegion(google::protobuf::io::CodedInputStream**, google::protobuf::io::FileInputStream**, BinaryMapFile*, SearchQuery*, RoutingIndex*, std::__ndk1::vector<RouteSubregion, std::__ndk1::allocator<RouteSubregion> >&, std::__ndk1::vector<RouteSubregion, std::__ndk1::allocator<RouteSubregion> >&, bool)+280) (BuildId: a799e4bde6832e118c09f6699f27bce0befcaa27)
12-13 15:50:22.234 20395 20395 F DEBUG : #13 pc 0000000000310290 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libosmand.so (searchRouteSubregions(SearchQuery*, std::__ndk1::vector<RouteSubregion, std::__ndk1::allocator<RouteSubregion> >&, bool, bool)+572) (BuildId: a799e4bde6832e118c09f6699f27bce0befcaa27)
12-13 15:50:22.234 20395 20395 F DEBUG : #14 pc 00000000003380ec /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libosmand.so (RoutingContext::loadHeaders(unsigned int, unsigned int)+356) (BuildId: a799e4bde6832e118c09f6699f27bce0befcaa27)
12-13 15:50:22.234 20395 20395 F DEBUG : #15 pc 0000000000336570 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libosmand.so (RoutingContext::loadTileData(int, int, int, std::__ndk1::vector<std::__ndk1::shared_ptr<RouteDataObject>, std::__ndk1::allocator<std::__ndk1::shared_ptr<RouteDataObject> > >&)+300) (BuildId: a799e4bde6832e118c09f6699f27bce0befcaa27)
12-13 15:50:22.234 20395 20395 F DEBUG : #16 pc 00000000003357b4 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libosmand.so (findRouteSegment(int, int, RoutingContext*, bool, long, int)+120) (BuildId: a799e4bde6832e118c09f6699f27bce0befcaa27)
12-13 15:50:22.234 20395 20395 F DEBUG : #17 pc 000000000036683c /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libosmand.so (RoutePlannerFrontEnd::needRequestPrivateAccessRouting(std::__ndk1::shared_ptr<RoutingContext>, std::__ndk1::vector<int, std::__ndk1::allocator<int> >&, std::__ndk1::vector<int, std::__ndk1::allocator<int> >&)+504) (BuildId: a799e4bde6832e118c09f6699f27bce0befcaa27)
12-13 15:50:22.234 20395 20395 F DEBUG : #18 pc 00000000003a0f18 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/split_config.arm64_v8a.apk!libosmand.so (Java_net_osmand_NativeLibrary_nativeNeedRequestPrivateAccessRouting+488) (BuildId: a799e4bde6832e118c09f6699f27bce0befcaa27)
12-13 15:50:22.234 20395 20395 F DEBUG : #19 pc 000000000043dd54 /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: a49c773ef6221a996ecea990e9753caa)
12-13 15:50:22.234 20395 20395 F DEBUG : #20 pc 0000000000209398 /apex/com.android.art/lib64/libart.so (nterp_helper+152) (BuildId: a49c773ef6221a996ecea990e9753caa)
12-13 15:50:22.234 20395 20395 F DEBUG : #21 pc 0000000000b0b980 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/oat/arm64/base.vdex (net.osmand.NativeLibrary.needRequestPrivateAccessRouting+0)
12-13 15:50:22.234 20395 20395 F DEBUG : #22 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: a49c773ef6221a996ecea990e9753caa)
12-13 15:50:22.234 20395 20395 F DEBUG : #23 pc 0000000001444c30 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/oat/arm64/base.vdex (net.osmand.router.RoutePlannerFrontEnd.needRequestPrivateAccessRouting+104)
12-13 15:50:22.234 20395 20395 F DEBUG : #24 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: a49c773ef6221a996ecea990e9753caa)
12-13 15:50:22.234 20395 20395 F DEBUG : #25 pc 000000000144535a /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/oat/arm64/base.vdex (net.osmand.router.RoutePlannerFrontEnd.searchRoute+102)
12-13 15:50:22.234 20395 20395 F DEBUG : #26 pc 000000000020a958 /apex/com.android.art/lib64/libart.so (nterp_helper+5720) (BuildId: a49c773ef6221a996ecea990e9753caa)
12-13 15:50:22.234 20395 20395 F DEBUG : #27 pc 000000000131f044 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/oat/arm64/base.vdex (net.osmand.plus.routing.RouteProvider.calcOfflineRouteImpl+56)
12-13 15:50:22.234 20395 20395 F DEBUG : #28 pc 000000000020a958 /apex/com.android.art/lib64/libart.so (nterp_helper+5720) (BuildId: a49c773ef6221a996ecea990e9753caa)
12-13 15:50:22.234 20395 20395 F DEBUG : #29 pc 0000000001320722 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/oat/arm64/base.vdex (net.osmand.plus.routing.RouteProvider.findVectorMapsRoute+162)
12-13 15:50:22.234 20395 20395 F DEBUG : #30 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: a49c773ef6221a996ecea990e9753caa)
12-13 15:50:22.234 20395 20395 F DEBUG : #31 pc 000000000131fd70 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/oat/arm64/base.vdex (net.osmand.plus.routing.RouteProvider.calculateRouteImpl+392)
12-13 15:50:22.234 20395 20395 F DEBUG : #32 pc 000000000020a254 /apex/com.android.art/lib64/libart.so (nterp_helper+3924) (BuildId: a49c773ef6221a996ecea990e9753caa)
12-13 15:50:22.234 20395 20395 F DEBUG : #33 pc 0000000001321852 /data/app/~~yZoV8IvgTvisHD_OF3UPTA==/net.osmand.plus-zsJ7eSt3w7IB2Isvifjq9g==/oat/arm64/base.vdex (net.osmand.plus.routing.RouteRecalculationHelper$RouteRecalculationTask.run+46)
12-13 15:50:22.234 20395 20395 F DEBUG : #34 pc 00000000004cd80c /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (java.util.concurrent.Executors$RunnableAdapter.call+76)
12-13 15:50:22.252 1844 20399 I PowerHalWrapper: <NotifyAppCrash> pack:net.osmand.plus ,pid:net.osmand.plus == myPid:1844
12-13 15:50:22.252 629 629 E tombstoned: Tombstone written to: tombstone_08
Edit: A reliable way to reproduce this crash is to select a target destination (in my case 15km away) let the calculation finish. Put OsmAnd in the background and close it (in my case swipe up). Reopen app. Crash happens right after startup of the application so if the application keeps running for more than 10 seconds no crash for you.
Do you need more information here and If so, how do I extract them?
seems fixed in 4.3.3 thanks
Description
When I started the application it crashed multiple times at startup until it randomly worked again.
Based on logcat.log I'd assume the following to be the culprit:
How to reproduce?
Not sure I started the application and it just crashed (three times in a row until it randomly worked)
Your Environment
Device : RE513CL1 Brand : realme Model : RMX3241 Product : RMX3241EEA Build : RMX3241_11_C.05 Version : 12 App Version : OsmAnd+ Apk Version : 4.2.7 4207
Maps used (online or offline):
Offline