android - Randomly getting D/OpenGLRenderer﹕ Flushing caches (mode 0) in lollipop -


i facing issue our app crashes randomly through checkout process, crash occurs on lollipop, other version works fine. there no information in log cat except fatal signal. issue cannot reproduced on emulator, occurs on device running lollipop.

i refactored network calls , getting opengl renderer: flushing caches issue. happens after making volley requests.

    06-22 18:48:29.876  24145-24216/com.pangea.android.debug d/openglrenderer﹕ flushing caches (mode 0)     06-22 18:48:29.877  24145-24157/com.pangea.android.debug a/libc﹕ fatal signal 11 (sigsegv), code 2, fault addr 0x12c7c000 in tid 24157 (finalizerdaemon) 

for network stack using volley , okhttp

volley request simple request.

are there suggestions on how more information on crash?

here sample codes create connection:

    protected httpurlconnection createconnection(url url) throws ioexception {         httpurlconnection connection = new okurlfactory(mclient).open(url);         return connection;     }      private httpurlconnection openconnection(url url, request<?> request)    throws ioexception {     httpurlconnection connection = createconnection(url);      int timeoutms = request.gettimeoutms();     connection.setconnecttimeout(timeoutms);     connection.setreadtimeout(timeoutms);     connection.setusecaches(false);     connection.setdoinput(true);      // use caller-provided custom sslsocketfactory, if any, https     if ("https".equals(url.getprotocol()) && msslsocketfactory != null) {         ((httpsurlconnection) connection).setsslsocketfactory(msslsocketfactory);     }      return connection; } 

here logcat:

    06-18 18:08:39.427      915-915/? d/wifi_icon﹕ wifiactivity: 3     06-18 18:08:39.427      915-915/? d/statusbar.networkcontroller﹕ dumpicon[(gone) stat_sys_5signal_5|null stat_sys_wifi_signal_inandout_4 (gone) f]     06-18 18:08:39.627    1006-1016/com.pangea.android.debug w/art﹕ suspending threads took: 33.602ms     06-18 18:08:39.657    1006-1021/com.pangea.android.debug i/art﹕ background partial concurrent mark sweep gc freed 67796(3mb) allocspace objects, 3(150kb) los objects, 40% free, 12mb/21mb, paused 5.066ms total 149.122ms     06-18 18:08:39.667    1006-1018/com.pangea.android.debug a/libc﹕ fatal signal 11 (sigsegv), code 1, fault addr 0x656d616c in tid 1018 (finalizerdaemon)     06-18 18:08:39.667    1006-1018/com.pangea.android.debug w/libc﹕ security level: (1), debug inforamtion controlled dumpable flag.     06-18 18:08:39.667  11804-11804/? i/debug﹕ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***     06-18 18:08:39.667  11804-11804/? i/debug﹕ build fingerprint: 'htc/htc_asia_tw/dlxpul:5.0.2/lrx22g/507296.103:user/release-keys'     06-18 18:08:39.667  11804-11804/? i/debug﹕ revision: '2'     06-18 18:08:39.667  11804-11804/? i/debug﹕ abi: 'arm'     06-18 18:08:39.667  11804-11804/? i/debug﹕ pid: 1006, tid: 1018, name: finalizerdaemon  >>> com.pangea.android.debug <<<     06-18 18:08:39.667  11804-11804/? i/debug﹕ signal 11 (sigsegv), code 1 (segv_maperr), fault addr 0x656d616c     06-18 18:08:39.687  11804-11804/? i/debug﹕ r0 b7982668  r1 00000000  r2 00000000  r3 00000000     06-18 18:08:39.687  11804-11804/? i/debug﹕ r4 b7982668  r5 656d616e  r6 12c638a0  r7 ffffffff     06-18 18:08:39.687  11804-11804/? i/debug﹕ r8 70c07e38  r9 b738d940  sl 12c9a1f0  fp 12c638a0     06-18 18:08:39.687  11804-11804/? i/debug﹕ ip b6ea10ec  sp b455aa78  lr b6bcf17f  pc 656d616c  cpsr 60070010     06-18 18:08:39.687  11804-11804/? i/debug﹕ backtrace:     06-18 18:08:39.687  11804-11804/? i/debug﹕ #00 pc 656d616c  <unknown>     06-18 18:08:39.687  11804-11804/? i/debug﹕ #01 pc 0002017d  /system/lib/libbinder.so (android::parcel::freedatanoinit()+22)     06-18 18:08:39.687  11804-11804/? i/debug﹕ #02 pc 000201a3  /system/lib/libbinder.so (android::parcel::~parcel()+4)     06-18 18:08:39.687  11804-11804/? i/debug﹕ #03 pc 00080683  /system/lib/libandroid_runtime.so     06-18 18:08:39.687  11804-11804/? i/debug﹕ #04 pc 000173c9  /data/dalvik-cache/arm/system@framework@boot.oat     06-18 18:08:40.158      915-915/? i/remoteviews﹕ reapply : com.tmobile.pr.mytmobile 1 15     06-18 18:08:40.428      653-653/? e/wifitrafficpoller﹕ traffic_stats_poll true token 244 num clients 13     06-18 18:08:40.428      653-653/? e/wifitrafficpoller﹕ packet count tx=111024 rx=151852     06-18 18:08:40.468    3087-3187/? w/sqlitecursor﹕ close cursor android.database.sqlite.sqlitecursor@19398b3 on null twice or more     06-18 18:08:40.468    3087-3187/? w/sqlitecursor﹕ close cursor android.database.sqlite.sqlitecursor@31d0be70 on null twice or more     06-18 18:08:40.758      271-828/? e/qc-netmgr-lib﹕ received nl msg, recvmsg returned 64     06-18 18:08:40.758      271-828/? e/qc-netmgr-lib﹕ received command: id=netmgr_kif_msg_cmd, link=8     06-18 18:08:40.758      271-828/? e/qc-netmgr-lib﹕ received nl msg, recvmsg returned 64     06-18 18:08:40.758      271-828/? e/qc-netmgr-lib﹕ received command: id=netmgr_kif_msg_cmd, link=8     06-18 18:08:40.758      271-679/? e/qc-netmgr-lib﹕ process command: id=netmgr_kif_msg_cmd, link=8, state=1     06-18 18:08:40.758      271-679/? e/qc-netmgr-lib﹕ processing rtm_newaddr     06-18 18:08:40.758      271-679/? e/qc-netmgr-lib﹕ metainfo:  family=10 prefixlen=64 scope=0x0 index=13 flags=[0x0]     06-18 18:08:40.758      271-679/? i/qc-netmgr-lib﹕ attribute: prefixipv6 addr [2601:0240:d100:9900:867a:88ff:fe77:631c]     06-18 18:08:40.758      271-679/? e/qc-netmgr-lib﹕ attribute: address cache info - prefered=7200 valid=7200 cstamp=0x3924d8 tstamp=0x50cfc1     06-18 18:08:40.758      271-679/? e/qc-netmgr-lib﹕ rcvd netlink msg type [20]     06-18 18:08:40.758      271-679/? e/qc-netmgr-lib﹕ unrecognized ifindex 13     06-18 18:08:40.758      271-679/? e/qc-netmgr-lib﹕ process command: id=netmgr_kif_msg_cmd, link=8, state=1     06-18 18:08:40.758      271-679/? e/qc-netmgr-lib﹕ processing rtm_newaddr     06-18 18:08:40.758      271-679/? e/qc-netmgr-lib﹕ metainfo:  family=10 prefixlen=64 scope=0x0 index=13 flags=[0x1]temporary     06-18 18:08:40.758      271-679/? i/qc-netmgr-lib﹕ attribute: prefixipv6 addr [2601:0240:d100:9900:fdad:b042:7f6c:e7cc]     06-18 18:08:40.758      271-679/? e/qc-netmgr-lib﹕ attribute: address cache info - prefered=7200 valid=7200 cstamp=0x3924d8 tstamp=0x50cfc1     06-18 18:08:40.758      271-679/? e/qc-netmgr-lib﹕ rcvd netlink msg type [20]     06-18 18:08:40.758      271-679/? e/qc-netmgr-lib﹕ unrecognized ifindex 13     06-18 18:08:40.758      653-723/? d/libc﹕ [net] android_getaddrinfofornet+,hn 38(0x323630313a3234),sn(),hints(known),family 0,flags 4     06-18 18:08:40.758      653-723/? d/libc﹕ [net] android_getaddrinfofornet-, success     06-18 18:08:40.758      653-723/? d/libc﹕ [net] android_getaddrinfofornet+,hn 38(0x323630313a3234),sn(),hints(known),family 0,flags 4     06-18 18:08:40.758      653-723/? d/libc﹕ [net] android_getaddrinfofornet-, success     06-18 18:08:40.758      653-723/? d/libc﹕ [net] android_getaddrinfofornet+,hn 16(0x323030313a3535),sn(),hints(known),family 0,flags 4     06-18 18:08:40.758      653-723/? d/libc﹕ [net] android_getaddrinfofornet-, success     06-18 18:08:40.758      653-723/? d/libc﹕ [net] android_getaddrinfofornet+,hn 16(0x323030313a3535),sn(),hints(known),family 0,flags 4     06-18 18:08:40.758      653-723/? d/libc﹕ [net] android_getaddrinfofornet-, success     06-18 18:08:40.828     653-3231/? e/activitymanager﹕ app crashed! process: com.pangea.android.debug     06-18 18:08:40.828      653-722/? i/bootreceiver﹕ copying /data/tombstones/tombstone_03 dropbox (system_tombstone)     06-18 18:08:40.828     653-2659/? e/sharedpreferencesimpl﹕ couldn't create directory sharedpreferences file shared_prefs/log_files.xml     06-18 18:08:40.828     653-3231/? w/activitymanager﹕ force finishing activity com.pangea.android.debug/com.pangea.android.ui.activities.mainactivity     06-18 18:08:40.878     653-3231/? d/pms﹕ acquirewl(382218fc): partial_wake_lock  activitymanager-launch 0x1 653 1000 null     06-18 18:08:40.898     653-1400/? i/activitymanager﹕ recipient 1006     06-18 18:08:40.898     653-1098/? i/windowstate﹕ win death: window{1b796396 u0 com.pangea.android.debug/com.pangea.android.ui.activities.mainactivity}     06-18 18:08:40.908      653-724/? d/statusbarmanagerservice﹕ setsystemuivisibility(0x0) 

seems system fails instantiate parcel reference when comes from/in background or in case fragment states.

trace says fails release memory before creates new instance.

  06-18 18:08:39.687  11804-11804/? i/debug﹕ #00 pc 656d616c  <unknown>     06-18 18:08:39.687  11804-11804/? i/debug﹕ #01 pc 0002017d  /system/lib/libbinder.so (android::parcel::freedatanoinit()+22)     06-18 18:08:39.687  11804-11804/? i/debug﹕ #02 pc 000201a3  /system/lib/libbinder.so (android::parcel::~parcel()+4)     06-18 18:08:39.687  11804-11804/? i/debug﹕ #03 pc 00080683  /system/lib/libandroid_runtime.so     06-18 18:08:39.687  11804-11804/? i/debug﹕ #04 pc 000173c9  /data/dalvik-cache/arm/system@framework@boot.oat 

check line 293 , function freedatanoinit()


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -