[Android Q&A, Help & Troubleshooting] btemtd:
I have created a rom, I have created a few versions which were all fine now I am not sure when this problem started but it wasn't there at the beggining of the development but as the rom started to become bigger as in more options and mods a few of the users started notifying a FC. I am not a professional programmer but i am learning my hardest part is debugging when problems occur I am clueless about reading most types of code Logs. Now everything went alright and I am getting better as time is going by. But for some strange reason I am getting a SystemUI FC which makes my status bar disappear for 15 seconds before reappearing again. I decided to download logcat and try attempt to see what the problem is. But it has only confused me more.

All I have done to the systemUI has got to do with theming Colors,Dimension,size etc.

Now everything compiles fine after i have modified. I also have modified the framework-res for theming again and once again there is no problem compiling. I have a few build.prop tweaks which i have decided to remove to see if this was casuing the problem but the problem still persists.

The problem occurs like this --- I load about 10-12 apps and leave them in the background I then use the task-switcher and then start switching between them all and the faster I switch after about 10-15 switches I get the FC and once it happens it then happens alot quicker from the next time and after and from then onward, Until I reset and clear the cache and Dalvik cache.

I have here 2 saved TXT logs one which shows some of the log previous to the actual FC and one that shows only the FC text, but they both occur whilst doing the same thing as explained above. Actually I think the FC part is the same anyways I just copied it all incase.

If you need to know what phone it is well its the Samsung Galaxy S3 4G GT-I9305 Quad 1.4Ghz with 2GB Ram... Its a great phone it should not be running out of memory if thats what someone is thinking and if it is why is it doing that when the the phone is showing available memory

1ST txt FC Log Code showing log of previous actions before the Fatal Exception

------------------------------------------------------------------------------------------------------------------------

01-19 21:07:35.395 I/dalvikvm(19069): at android.graphics.Bitmap.nativeCreateFromParcel(Native Method)
01-19 21:07:35.395 I/dalvikvm(19069): at android.graphics.Bitmap.access$000(Bitmap.java:29)
01-19 21:07:35.395 I/dalvikvm(19069): at android.graphics.Bitmap$1.createFromParcel(Bitmap.java:1095)
01-19 21:07:35.395 I/dalvikvm(19069): at android.graphics.Bitmap$1.createFromParcel(Bitmap.java:1087)
01-19 21:07:35.400 I/dalvikvm(19069): at android.app.ActivityManager$TaskThumbnails.readFromParcel(ActivityManager.java:863)
01-19 21:07:35.400 I/dalvikvm(19069): at android.app.ActivityManager$TaskThumbnails.<init>(ActivityManager.java:881)
01-19 21:07:35.400 I/dalvikvm(19069): at android.app.ActivityManager$TaskThumbnails.<init>(ActivityManager.java:827)
01-19 21:07:35.400 I/dalvikvm(19069): at android.app.ActivityManager$TaskThumbnails$1.createFromParcel(ActivityManager.java:873)
01-19 21:07:35.400 I/dalvikvm(19069): at android.app.ActivityManager$TaskThumbnails$1.createFromParcel(ActivityManager.java:871)
01-19 21:07:35.400 I/dalvikvm(19069): at android.app.ActivityManagerProxy.getTaskThumbnails(ActivityManagerNative.java:2358)
01-19 21:07:35.400 I/dalvikvm(19069): at android.app.ActivityManager.getTaskThumbnails(ActivityManager.java:888)
01-19 21:07:35.400 I/dalvikvm(19069): at com.android.systemui.recent.RecentTasksLoader.loadThumbnailAndIcon(RecentTasksLoader.java:189)
01-19 21:07:35.400 I/dalvikvm(19069): at com.android.systemui.recent.RecentTasksLoader$2.doInBackground(RecentTasksLoader.java:381)
01-19 21:07:35.400 I/dalvikvm(19069): at com.android.systemui.recent.RecentTasksLoader$2.doInBackground(RecentTasksLoader.java:354)
01-19 21:07:35.400 I/dalvikvm(19069): at android.os.AsyncTask$2.call(AsyncTask.java:287)
01-19 21:07:35.400 I/dalvikvm(19069): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
01-19 21:07:35.400 I/dalvikvm(19069): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
01-19 21:07:35.400 I/dalvikvm(19069): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
01-19 21:07:35.400 I/dalvikvm(19069): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
01-19 21:07:35.400 I/dalvikvm(19069): at java.lang.Thread.run(Thread.java:856)
01-19 21:07:35.400 I/dalvikvm(19069):
01-19 21:07:35.400 W/dalvikvm(19069): threadid=15: thread exiting with uncaught exception (group=0x410f92a0)
01-19 21:07:35.405 E/AndroidRuntime(19069): FATAL EXCEPTION: AsyncTask #3
01-19 21:07:35.405 E/AndroidRuntime(19069): java.lang.RuntimeException: An error occured while executing doInBackground()
01-19 21:07:35.405 E/AndroidRuntime(19069): at android.os.AsyncTask$3.done(AsyncTask.java:299)
01-19 21:07:35.405 E/AndroidRuntime(19069): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
01-19 21:07:35.405 E/AndroidRuntime(19069): at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
01-19 21:07:35.405 E/AndroidRuntime(19069): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
01-19 21:07:35.405 E/AndroidRuntime(19069): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
01-19 21:07:35.405 E/AndroidRuntime(19069): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
01-19 21:07:35.405 E/AndroidRuntime(19069): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
01-19 21:07:35.405 E/AndroidRuntime(19069): at java.lang.Thread.run(Thread.java:856)
01-19 21:07:35.405 E/AndroidRuntime(19069): Caused by: java.lang.OutOfMemoryError
01-19 21:07:35.405 E/AndroidRuntime(19069): at android.graphics.Bitmap.nativeCreateFromParcel(Native Method)
01-19 21:07:35.405 E/AndroidRuntime(19069): at android.graphics.Bitmap.access$000(Bitmap.java:29)
01-19 21:07:35.405 E/AndroidRuntime(19069): at android.graphics.Bitmap$1.createFromParcel(Bitmap.java:1095)
01-19 21:07:35.405 E/AndroidRuntime(19069): at android.graphics.Bitmap$1.createFromParcel(Bitmap.java:1087)
01-19 21:07:35.405 E/AndroidRuntime(19069): at android.app.ActivityManager$TaskThumbnails.readFromParcel(ActivityManager.java:863)
01-19 21:07:35.405 E/AndroidRuntime(19069): at android.app.ActivityManager$TaskThumbnails.<init>(ActivityManager.java:881)
01-19 21:07:35.405 E/AndroidRuntime(19069): at android.app.ActivityManager$TaskThumbnails.<init>(ActivityManager.java:827)
01-19 21:07:35.405 E/AndroidRuntime(19069): at android.app.ActivityManager$TaskThumbnails$1.createFromParcel(ActivityManager.java:873)
01-19 21:07:35.405 E/AndroidRuntime(19069): at android.app.ActivityManager$TaskThumbnails$1.createFromParcel(ActivityManager.java:871)
01-19 21:07:35.405 E/AndroidRuntime(19069): at android.app.ActivityManagerProxy.getTaskThumbnails(ActivityManagerNative.java:2358)
01-19 21:07:35.405 E/AndroidRuntime(19069): at android.app.ActivityManager.getTaskThumbnails(ActivityManager.java:888)
01-19 21:07:35.405 E/AndroidRuntime(19069): at com.android.systemui.recent.RecentTasksLoader.loadThumbnailAndIcon(RecentTasksLoader.java:189)
01-19 21:07:35.405 E/AndroidRuntime(19069): at com.android.systemui.recent.RecentTasksLoader$2.doInBackground(RecentTasksLoader.java:381)
01-19 21:07:35.405 E/AndroidRuntime(19069): at com.android.systemui.recent.RecentTasksLoader$2.doInBackground(RecentTasksLoader.java:354)
01-19 21:07:35.405 E/AndroidRuntime(19069): at android.os.AsyncTask$2.call(AsyncTask.java:287)
01-19 21:07:35.405 E/AndroidRuntime(19069): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
01-19 21:07:35.405 E/AndroidRuntime(19069): ... 4 more

2nd TXT FC Log Code ONLY THE FC Txt

01-19 22:00:56.125 E/AndroidRuntime(18626): FATAL EXCEPTION: AsyncTask #2
01-19 22:00:56.125 E/AndroidRuntime(18626): java.lang.RuntimeException: An error occured while executing doInBackground()
01-19 22:00:56.125 E/AndroidRuntime(18626): at android.os.AsyncTask$3.done(AsyncTask.java:299)
01-19 22:00:56.125 E/AndroidRuntime(18626): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
01-19 22:00:56.125 E/AndroidRuntime(18626): at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
01-19 22:00:56.125 E/AndroidRuntime(18626): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
01-19 22:00:56.125 E/AndroidRuntime(18626): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
01-19 22:00:56.125 E/AndroidRuntime(18626): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
01-19 22:00:56.125 E/AndroidRuntime(18626): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
01-19 22:00:56.125 E/AndroidRuntime(18626): at java.lang.Thread.run(Thread.java:856)
01-19 22:00:56.125 E/AndroidRuntime(18626): Caused by: java.lang.OutOfMemoryError
01-19 22:00:56.125 E/AndroidRuntime(18626): at android.graphics.Bitmap.nativeCreateFromParcel(Native Method)
01-19 22:00:56.125 E/AndroidRuntime(18626): at android.graphics.Bitmap.access$000(Bitmap.java:29)
01-19 22:00:56.125 E/AndroidRuntime(18626): at android.graphics.Bitmap$1.createFromParcel(Bitmap.java:1095)
01-19 22:00:56.125 E/AndroidRuntime(18626): at android.graphics.Bitmap$1.createFromParcel(Bitmap.java:1087)
01-19 22:00:56.125 E/AndroidRuntime(18626): at android.app.ActivityManager$TaskThumbnails.readFromParcel(ActivityManager.java:863)
01-19 22:00:56.125 E/AndroidRuntime(18626): at android.app.ActivityManager$TaskThumbnails.<init>(ActivityManager.java:881)
01-19 22:00:56.125 E/AndroidRuntime(18626): at android.app.ActivityManager$TaskThumbnails.<init>(ActivityManager.java:827)
01-19 22:00:56.125 E/AndroidRuntime(18626): at android.app.ActivityManager$TaskThumbnails$1.createFromParcel(ActivityManager.java:873)
01-19 22:00:56.125 E/AndroidRuntime(18626): at android.app.ActivityManager$TaskThumbnails$1.createFromParcel(ActivityManager.java:871)
01-19 22:00:56.125 E/AndroidRuntime(18626): at android.app.ActivityManagerProxy.getTaskThumbnails(ActivityManagerNative.java:2358)
01-19 22:00:56.125 E/AndroidRuntime(18626): at android.app.ActivityManager.getTaskThumbnails(ActivityManager.java:888)
01-19 22:00:56.125 E/AndroidRuntime(18626): at com.android.systemui.recent.RecentTasksLoader.loadThumbnailAndIcon(RecentTasksLoader.java:189)
01-19 22:00:56.125 E/AndroidRuntime(18626): at com.android.systemui.recent.RecentTasksLoader$2.doInBackground(RecentTasksLoader.java:381)
01-19 22:00:56.125 E/AndroidRuntime(18626): at com.android.systemui.recent.RecentTasksLoader$2.doInBackground(RecentTasksLoader.java:354)
01-19 22:00:56.125 E/AndroidRuntime(18626): at android.os.AsyncTask$2.call(AsyncTask.java:287)
01-19 22:00:56.125 E/AndroidRuntime(18626): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
01-19 22:00:56.125 E/AndroidRuntime(18626): ... 4 more

Please if anyone is able to help with this problem or even tell me where the problem code is if any it is just really tripping me out and VERY frustrating alot of people will be appreciative and happy if this is solved

Regards