android application failing upon user scrolling - no 'obvious' error
I'm having a strange problem with Android 1.6
I have an application that has a ListView (found in Activity #1).
The user can click on one of the rows in the ListView and is taken to a 2nd Activity (Activity # 2).
User can then use the back button to go back to the ListView.
The problem is that if the user scrolls down the list after returning from Activity # 2 the application crashes, but doesn't leave a traditional stack trace.
If I look at LogCat, I see the following show up right before the crash (see below).
The additional strangeness is that when I attach the debugger to try and pinpoint the error, I can't reproduce the error!
Any thoughts on what LogCat is telling me here? There's a small section near the end of the log shown below that indicates "debuggerd committing suicide to free the zombie!", which sounds like a memory leak, but google isn't giving me much luck with this error.
Thoughts on what to try next?
01-07 13:49:36.234: WARN/UsageStats(1018): Failed to persist new stats
01-07 13:49:37.570: INFO/DEBUG(10977): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-07 13:49:37.570: INFO/DEBUG(10977): Build fingerprint: 'verizon/voles/sholes/sholes:2.0.1/ESD56/20996:user/release-keys'
01-07 13:49:37.570: INFO/DEBUG(10977): pid: 12291, tid: 12292 >>> com.ggggg.dot <<<
01-07 13:49:37.570: INFO/DEBUG(10977): signal 11 (SIGSEGV), fault addr 00000004
01-07 13:49:37.570: INFO/DEBUG(10977): r0 00000004 r1 40024108 r2 00000004 r3 4185dfd4
01-07 13:49:37.570: INFO/DEBUG(10977): r4 00000000 r5 00000000 r6 40024108 r7 4185dfa8
01-07 13:49:37.570: INFO/DEBUG(10977): r8 100ffcf8 r9 4185dfa0 10 4185df8c fp 0013e8f8
01-07 13:49:37.570: INFO/DEBUG(10977): ip ad36c2ec sp 100ffce0 lr ad32995f pc afb04524 cpsr 00000010
01-07 13:49:37.586: DEBUG/dalvikvm(12291): GC freed 2278 objects / 266992 bytes in 99ms
01-07 13:49:37.664: INFO/DEBUG(10977): #00 pc 00004524 /system/lib/libcutils.so
01-07 13:49:37.688: INFO/DEBUG(10977): #01 pc 0002995c /system/lib/libandroid_runtime.so
01-07 13:49:37.688: INFO/DEBUG(10977): #02 pc 00048cf4 /system/lib/libandroid_runtime.so
01-07 13:49:37.688: INFO/DEBUG(10977): #03 pc 0000ecb4 /system/lib/libdvm.so
01-07 13:49:37.688: INFO/DEBUG(10977): #04 pc 000387c4 /system/lib/libdvm.so
01-07 13:49:37.695: INFO/DEBUG(10977): #05 pc 000139b8 /system/lib/libdvm.so
01-07 13:49:37.695: INFO/DEBUG(10977): #06 pc 00019338 /system/lib/libdvm.so
01-07 13:49:37.695: INFO/DEBUG(10977): #07 pc 00018804 /system/lib/libdvm.so
01-07 13:49:37.703: INFO/DEBUG(10977): #08 pc 0004eea0 /system/lib/libdvm.so
01-07 13:49:37.703: INFO/DEBUG(10977): #09 pc 0004eec8 /system/lib/libdvm.so
01-07 13:49:37.703: INFO/DEBUG(10977): #10 pc 00044aaa /system/lib/libdvm.so
01-07 13:49:37.703: INFO/DEBUG(10977): #11 pc 00044b36 /system/lib/libdvm.so
01-07 13:49:37.711: INFO/DEBUG(10977): #12 pc 00044fc0 /system/lib/libdvm.so
01-07 13:49:37.719: INFO/DEBUG(10977): #13 pc 000425c4 /system/lib/libdvm.so
01-07 13:49:37.719: INFO/DEBUG(10977): #14 pc 0000fd74 /system/lib/libc.so
01-07 13:49:37.719: INFO/DEBUG(10977): #15 pc 0000f840 /system/lib/libc.so
01-07 13:49:37.719: INFO/DEBUG(10977): code around pc:
01-07 13:49:37.719: INFO/DEBUG(10977): afb04514 e8bd4010 e12fff1e e92d4010 e1a02000
01-07 13:49:37.719: INFO/DEBUG(10977): afb04524 e5920000 e3e03a0f e28fe004 e2401001
01-07 13:49:37.719: INFO/DEBUG(10977): afb04534 e243f03f 3afffff9 e2810001 e8bd4010
01-07 13:49:37.719: INFO/DEBUG(10977): code around lr:
01-07 13:49:37.719: INFO/DEBUG(10977): ad32994c fffeb07c 00005e20 4604b510 f7f03004
01-07 13:49:37.719: INFO/DEBUG(10977): ad32995c 2801ea4e 6060d104 68436820 47984620
01-07 13:49:37.719: INFO/DEBUG(10977): ad32996c bf00bd10 461eb5f7 f1d24c1a bf380301
01-07 13:49:37.719: INFO/DEBUG(10977): stack:
01-07 13:49:37.719: INFO/DEBUG(10977): 100ffca0 00000000
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffca4 afe0f028 /system/lib/libc.so
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffca8 00000001
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffcac 300040ac
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffcb0 00000001
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffcb4 100ffd28
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffcb8 418cd52c /dev/ashmem/dalvik-LinearAlloc (deleted)
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffcbc 418cd52c /dev/ashmem/dalvik-LinearAlloc (deleted)
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffcc0 000002a4
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffcc4 ad061e8d /system/lib/libdvm.so
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffcc8 100ffd28
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffccc ad058201 /system/lib/libdvm.so
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffcd0 40024108 /dev/ashmem/mspace/dalvik-heap/zygote/0 (deleted)
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffcd4 0000000d
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffcd8 df002777
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffcdc e3a070ad
01-07 13:49:37.727: INFO/DEBUG(10977): #00 100ffce0 00000000
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffce4 ad32995f /system/lib/libandroid_runtime.so
01-07 13:49:37.727: INFO/DEBUG(10977): #01 100ffce8 100ffd18
01-07 13:49:37.727: INFO/DEBUG(10977): 100ffcec ad348cf9 /system/lib/libandroid_runtime.so
01-07 13:49:38.344: INFO/DEBUG(10977): debuggerd committing suicide to free the zombie!
01-07 13:49:38.352: INFO/ActivityManager(1018): Process com.ggggg.dot (pid 12291) has died.
01-07 13:49:38.359: INFO/WindowManager(1018): WIN DEATH: Window{44a51e60 com.ggggg.dot/com.ggggg.dot.Dot paused=false}
01-07 13:49:38.375: WARN/UsageStats(1018): Unexpected resume of com.android.launcher while already resumed in com.ggggg.dot
01-07 13:49:38.383: DEBUG/Zygote(986): Process 12291 terminated by signal (11)
01-07 13:49:38.391: INFO/DEBUG(12309): debuggerd: Nov 25 2009 17:44:54
01-07 13:49:38.406: WARN/InputManagerService(1018): Got RemoteException sending setActive(false) notification to pid 12291 uid 10078
01-07 13:50:06.844: DEBUG/dalvikvm(4885): GC freed 15 objects / 600 bytes in 113ms
Asked by: Ryan901 | Posted: 24-01-2022
Answer 1
you should report native crashes like this at http://code.google.com/p/android/issues/entry (choose the "developer bug report" template). include exactly what you included here, and if you can, please include your app (or the active ingredient thereof) so we can reproduce the crash to find the problem and verify the fix.
as for the strange stack trace, it's because this is a crash in native code. google developers have the map from those "pc" (program counter) addresses to symbols, so we can work out where in the native code this happened. (Typeface_unref, as it happens, so this seems unlikely to be Droid-specific.)
[the "zombie" referred to is the crashed process. debuggerd is just telling you that it's not leaving it around for debugging --- it's clearing it away on the assumption you're a user and just want to get on with your life.]
this particular bug has already been fixed; the fix should be in the first release after 2.1.
Answered by: Edgar903 | Posted: 25-02-2022Answer 2
Dude, try to clear cache of any sort.. specially images. As you are using list view, try not to create a new view every time with respect to convertview
I was having similar problem. here is my post SIGNAL 11 SIGSEGV crash Android
Answered by: Lyndon347 | Posted: 25-02-2022Answer 3
This is a very low-level exception that indicates a bug in Android itself. Based on the LogCat dump, the bug may be unique to the DROID/Milestone, though I am not certain of that. If you are indeed encountering this bug on a Motorola device, I recommend posting your stack trace on the appropriate MOTODEV message board, as that will be the quickest way to get the issue investigated.
Answered by: Patrick518 | Posted: 25-02-2022Similar questions
android - How to remove onclick delay and keep the fast scrolling in mobile web application
I am developing a Web application on OS Android using PhoneGap.
For a quick response from the user interface buttons, I use the following solution:
http://code.google.com/intl/ro-RO/mobile/articles/fast_buttons.html
The problem is that when I use this solution, scrolling slows down because the event handlers are attached to...
Changing iframe src breaks scrolling in Android Phonegap application
I've an interesting bug here for a Phonegap application in android. I first noticed that the scrolling wasn't working in the emulator, or on some specific devices (It does work on my phone, wich is platform 2.3) and tried every recommendation to fix that including multiple here in SO suggesting; 1, native side fixes and 2, adding the iScroll library. However, none of the solutions worked. Also the unavailable scrolling onl...
android - Spinner scrolling crashing application
I have a spinner which gets loaded through web-service call and it is working fine, but when I scroll it or select item second time it crashes the application. On first click it is working fine. I know it might be a problem with array length but could not make it works out.
Here is my code:
Log.d("ArrayAdapter",""+ SpinnerData.length);
ArrayAdapter<String> spinnerArrayAdapter = new ArrayAdap...
android - Set scrolling for application name
My application name has 15 characters. But in apps list of android device does not shows the full name. So I want to set marquee for my lable in android manifest. But I dont know how even I didn't know wheather it is possible or not.
I was googling it near 4 hours but the solution is only for title of each activity and not for application name.
sample image for refere...
android - List view crashes when scrolling "The application may be doing too much work on its main thread."
I am trying to create a list view that smoothly scrolls with the following code:
<ListView
android:id="@+id/list2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:listSelector="@android:color/transparent" />
// tt is and array of x (Object)that have 100 objects.
x[] tt= response.getX();
ItemsAdapter my...
html - android browser scrolling issue in phonegp application
In my phonegap application scrolling working fine in some of the devices (android ), but in some of the devices scrolling content does not work.
Simple structure of my page as below :
------------Header-----------
------------content-----------
------------footer-------------
Sample Code :
<div id="header"> </div>
<div id=&qu...
android - scrolling issue in hybrid application - which contains iframe inside it
Hi have one hybrid app.
its working fine in all device except samsung s3 and s4.
scrolling is not smooth in both two device.
My hybrid application contains a iframe inside it...
I tried to goolge it but no solution so far.
anyone every face this issue to please help me out for the same
Thanks in advance.
android - Parallax scrolling in application not for wallpaper
Could add parallax effect to android app background and not for Live Wallpaper, I Google it but i found for wallpapers. Please any one can help...
android - Application crashes while scrolling my custom gridView
I want my grid view to be like the grid view in the picture, so that the cells in the most right column are only buttons and the rest cells contain Imageview and textview
This is my custom adapter
public class AllCategoriesAdapter extends ArrayAdapter<Recipe>{
private ArrayList<Recipe> RecipesInfo...
android - how to scroll in a mobile application when there is no scrolling bar using selenium in java
Can you please help me with the code to scroll down in a mobile application which does not have a scrolling bar.
We are using angularJS with cordova application to create hybrid app.
We are using appium to do mobile testing.
android application memory leaks
I am using kind of results search engine, problem is to remember the searching criteria i made singleton static class which keeps only one instance.
In my application there are lots of class level private variables, lots of public static variables, a big util class which contains only static final methods.
problem is my application get crash any time any where any spot and interesting thing is crash code a...
Android Application data should not be released by android OS
public class MYApplication extends Application {
String property;
setter getter
}
does above code make sure property will not be collectied by android OS if not used for a long period of time.
Android Email application - Is it possible to get all the details which are configured in Email application
Is there any way to get in the code:
Email id
Password
SMTP host
SMTP port
which the user used to setup his Email account with the Android built in Email application
Required because, I am written a MailSender class using JavaMail API there I need to send the mail using the details what user configured in Built in Android Email application.
Android Intent for Twitter application
Is it possible to show a list of applications (with intent.createChooser) that only show me my twitter apps on my phone (so htc peep (htc hero) or twitdroid). I have tried it with intent.settype("application/twitter") but it doesnt find any apps for twitter and only shows my mail apps.
Thank you,
Wouter
webserver - Retrieve data from a web server for android application
I am developing an application that needs to retrieve some data from a web server. But I have no idea how can this be possible?
Should a legacy Android application be rebuilt using SDK 2.1?
I have an Android application that uses the well known Strategies for Legacy Applications. It is build with the Android SDK 2.0 with manifest settings minSdkVersion="3" (API 1.5) and targetSdkVersion="5" (2.0). Question1: Since maxSdkVersion is not specified, the application should be...
android - Intent to pick an installed application slow in my activity, why?
If you long press on your homescreen and pick to add an application shortcut, you will be greeted with a listview showing all of your instal applications. I needed this same functionality in my application so I copied the intent from the launcher source:
Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
mainIntent.addCategory(Intent.CATEGORY_LAUNCHER);
Intent pic...
web services - How to store data accessible to both a web site and android application?
I’m developing an Android and web application that will function as a service (use the same data).
My question is how should the data be stored to allow for both the web and the android application to have access to the same set of data?
Should the android application connect to the sites MySQL server to store/access data?
If so how do I allow someone to access the data when they are not in ...
Android 1.6 SMS (older application code)
I have HTC Tattoo with Android 1.6. I have maed a Java program for SMS sending. I got the source on the Internet, I think, versions before 1.6. The problem is: SMSs are sent twice.
What is a possible cause for this problem?
If possible, please simply post sample code what works OK.
How to close Android application?
I want to close my application, so that it no longer runs in the background.
How to do that? Is this good practice on Android platform?
If I rely on the "back" button, it closes the app, but it stays in background. There is even application called "TaskKiller" just to kill those apps in the background.
Still can't find your answer? Check out these communities...
Android Google Support | Android Community | Android Community (Facebook) | Dev.io Android