Monday 15 March 2010

Android Application crashing on Lg G2 but not on other phones -



Android Application crashing on Lg G2 but not on other phones -

so, have aplication executes asynk task , on post execute generates listview.

after json recieved app crashes on lg g2 not on other phones.

my log cat giving report:

10-09 13:45:47.066: e/entity response :(16241): [{"id":"440","name":"amici's east coast pizzeria","address":"226 redwood shores pkwy, redwood city, ca","lat":"37.5205","lng":"-122.252","promotype":"0.10","tipo":"cabeleireiros","foto":"http:\/\/s1.postimg.org\/526tyzobj\/image.jpg","distance":"62.03","ranking":"6.202501588797353"},{"id":"446","name":"applewood pizza 2 go","address":"1001 el camino real, menlo park, ca","lat":"37.453","lng":"-122.182","promotype":"0.50","tipo":"cabeleireiros","foto":"http:\/\/s27.postimg.org\/yth8q6mb7\/image.jpg","distance":"52.89","ranking":"26.442939242734457"},{"id":"453","name":"giorgio's","address":"1445 foxworthy ave, san jose, ca","lat":"37.2746","lng":"-121.893","promotype":"1.00","tipo":"cabeleireiros","foto":"http:\/\/s10.postimg.org\/lk0r9tbsp\/a_a.jpg","distance":"31.97","ranking":"31.973513511004338"},{"id":"447","name":"pizza antica","address":"334 santana row # 1065, san jose, ca","lat":"37.3218","lng":"-121.948","promotype":"1.00","tipo":"cabeleireiros","foto":"http:\/\/s11.postimg.org\/gt2rkwr8j\/image.jpg","distance":"36.08","ranking":"36.07806101584471"},{"id":"452","name":"tony & alba's pizza & pasta","address":"3137 stevens creek blvd, san jose, ca","lat":"37.3233","lng":"-121.952","promotype":"1.00","tipo":"cabeleireiros","foto":"http:\/\/s11.postimg.org\/gt2rkwr8j\/image.jpg","distance":"36.20","ranking":"36.199980176527895"},{"id":"449","name":"house of pizza","address":"527 s almaden ave, san jose, ca","lat":"37.3264","lng":"-121.888","promotype":"1.00","tipo":"cabeleireiros","foto":"http:\/\/s29.postimg.org\/9yarz4nmv\/image.jpg","distance":"37.63","ranking":"37.62658687732519"},{"id":"450","name":"amici's east coast pizzeria","address":"225 w santa clara st, san jose, ca","lat":"37.3347","lng":"-121.894","promotype":"1.00","tipo":"cabeleireiros","foto":"http:\/\/s1.postimg.org\/526tyzobj\/image.jpg","distance":"38.38","ranking":"38.38406330985574"},{"id":"309","name":"round table pizza: sunnyvale-mary-central expy","address":"415 n mary ave, sunnyvale, ca","lat":"37.39","lng":"-122.042","promotype":"1.00","tipo":"cabeleireiros","foto":"http:\/\/s1.postimg.org\/526tyzobj\/image.jpg","distance":"43.53","ranking":"43.52522799537428"},{"id":"303","name":"frankie johnnie & luigo too","address":"939 w el camino real, mount view, ca","lat":"37.3863","lng":"-122.086","promotype":"1.00","tipo":"cabeleireiros","foto":"http:\/\/s29.postimg.org\/9yarz4nmv\/image.jpg","distance":"43.62","ranking":"43.62472294523851"},{"id":"305","name":"kapp's pizza bar & grill","address":"191 castro st, mount view, ca","lat":"37.3939","lng":"-122.079","promotype":"1.00","tipo":"cabeleireiros","foto":"http:\/\/s27.postimg.org\/yth8q6mb7\/image.jpg","distance":"44.36","ranking":"44.3553242060947"},{"id":"306","name":"round table pizza: mount view","address":"570 n shoreline blvd, mount view, ca","lat":"37.4027","lng":"-122.079","promotype":"1.00","tipo":"cabeleireiros","foto":"http:\/\/s11.postimg.org\/gt2rkwr8j\/image.jpg","distance":"45.32","ranking":"45.32142235623846"},{"id":"308","name":"oregano's wood-fired pizza","address":"4546 el camino real, los altos, ca","lat":"37.4017","lng":"-122.115","promotype":"1.00","tipo":"cabeleireiros","foto":"http:\/\/s29.postimg.org\/9yarz4nmv\/image.jpg","distance":"45.81","ranking":"45.8134266627868"},{"id":"443","name":"pizz'a chicago","address":"4115 el camino real, palo alto, ca","lat":"37.4141","lng":"-122.126","promotype":"1.00","tipo":"cabeleireiros","foto":"http:\/\/s10.postimg.org\/lk0r9tbsp\/a_a.jpg","distance":"47.38","ranking":"47.37868781103179"},{"id":"444","name":"california pizza kitchen","address":"531 cowper st, palo alto, ca","lat":"37.4481","lng":"-122.159","promotype":"1.00","tipo":"cabeleireiros","foto":"http:\/\/s29.postimg.org\/9yarz4nmv\/image.jpg","distance":"51.78","ranking":"51.77711350584475"},{"id":"441","name":"north beach pizza","address":"240 e 3rd ave, san mateo, ca","lat":"37.5653","lng":"-122.323","promotype":"1.00","tipo":"cabeleireiros","foto":"http:\/\/s27.postimg.org\/yth8q6mb7\/image.jpg","distance":"69.05 10-09 13:46:54.676: d/dalvikvm(16241): gc_for_alloc freed 455k, 32% free 17111k/25000k, paused 15ms, total 15ms 10-09 13:46:54.696: i/dalvikvm-heap(16241): grow heap (frag case) 28.377mb 9849616-byte allocation 10-09 13:46:54.816: v/renderscript(16241): application requested cpu execution 10-09 13:46:54.826: v/renderscript(16241): 0x61248f10 launching thread(s), cpus 4 10-09 13:46:54.836: e/rsc++(16241): rs cpp error: blur radius out of 0-25 pixel bound 10-09 13:46:54.836: e/rsc++(16241): rs cpp error (masked previous error): allocation creation failed 10-09 13:46:54.836: e/rsc++(16241): rs cpp error (masked previous error): allocation creation failed 10-09 13:46:54.836: a/libc(16241): fatal signal 11 (sigsegv) @ 0x00000028 (code=1), thread 16241 (le.dbjsonstring) 10-09 13:51:59.936: d/hylog(20453): : /data/font/config/dfactpre.dat, no such file or directory (2) 10-09 13:52:00.046: d/dalvikvm(20453): gc_for_alloc freed 85k, 16% free 21227k/25000k, paused 12ms, total 12ms 10-09 13:52:00.046: i/dalvikvm-heap(20453): grow heap (frag case) 30.101mb 7441936-byte allocation 10-09 13:52:00.186: d/dalvikvm(20453): gc_for_alloc freed 1k, 12% free 28494k/32268k, paused 14ms, total 14ms 10-09 13:52:00.206: i/dalvikvm-heap(20453): grow heap (frag case) 49.578mb 20422912-byte allocation 10-09 13:52:00.406: i/adreno-egl(20453): <qegldrvapi_eglinitialize:385>: egl 1.4 qualcomm build: () 10-09 13:52:00.406: i/adreno-egl(20453): opengl es shader compiler version: e031.24.00.02 10-09 13:52:00.406: i/adreno-egl(20453): build date: 01/20/14 mon 10-09 13:52:00.406: i/adreno-egl(20453): local branch: pmh2-kk_3.5-rb1-au61-554722-586267-set2 10-09 13:52:00.406: i/adreno-egl(20453): remote branch: 10-09 13:52:00.406: i/adreno-egl(20453): local patches: 10-09 13:52:00.406: i/adreno-egl(20453): reconstruct branch: 10-09 13:52:00.426: d/openglrenderer(20453): enabling debug mode 0 10-09 13:52:00.666: i/activitymanager(20453): timeline: activity_idle id: android.os.binderproxy@428d7ac8 time:183390382

what can be?

encountered issue , found post. after experimenting sometime, found out exact solution of problem. though late, posting here future help of others.

the problem self-explanatory..

e/rsc++(16241): rs cpp error: blur radius out of 0-25 pixel bound

setting shadowradius larger 25px on view crash app segmentation fault. due renderscript, more scriptintrinsicblur.

more here: http://developer.android.com/intl/zh-cn/reference/android/renderscript/scriptintrinsicblur.html#setradius(float)

so utilize shadowradius value less 25px , problem resolved.

android lg

No comments:

Post a Comment