Comment 3 for bug 796730

Revision history for this message
pjv (pjv) wrote :

Slightly more different. Seen on monkey once on N1 (2.2). Can't load the layout because memory is already full because of bitmaps from decodeResource:

    // Allowing start of Intent { act=android.intent.action.VIEW dat=content://net.lp.collectionista.products/collections/2 cmp=net.lp.collectionista/.ui.activities.collections.cd.CDCollectionViewWindow } in package net.lp.collectionista
// CRASH: net.lp.collectionista (pid 7722)
// Short Msg: java.lang.OutOfMemoryError
// Long Msg: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
// Build Label: unknown
// Build Changelist: eng.pjv.20100711.192135
// Build Time: 1278868973000
// java.lang.RuntimeException: Unable to start activity ComponentInfo{net.lp.collectionista/net.lp.collectionista.ui.activities.collections.cd.CDCollectionViewWindow}: android.view.InflateException: Binary XML file line #43: Error inflating class <unknown>
// at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
// at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
// at android.app.ActivityThread.access$2300(ActivityThread.java:125)
// at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
// at android.os.Handler.dispatchMessage(Handler.java:99)
// at android.os.Looper.loop(Looper.java:123)
// at android.app.ActivityThread.main(ActivityThread.java:4627)
// at java.lang.reflect.Method.invokeNative(Native Method)
// at java.lang.reflect.Method.invoke(Method.java:521)
// at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
// at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
// at dalvik.system.NativeStart.main(Native Method)
// Caused by: android.view.InflateException: Binary XML file line #43: Error inflating class <unknown>
// at android.view.LayoutInflater.createView(LayoutInflater.java:513)
// at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:565)
// at android.view.LayoutInflater.rInflate(LayoutInflater.java:618)
// at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
// at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
// at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
// at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
// at android.app.Activity.setContentView(Activity.java:1647)
// at net.lp.collectionista.ui.activities.collections.cd.CDCollectionViewWindow.onCreate(Collectionista:389)
// at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
// at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
// ... 11 more
// Caused by: java.lang.reflect.InvocationTargetException
// at net.lp.collectionista.ui.views.ContinuousShelvesView.<init>(Collectionista:41)
// at java.lang.reflect.Constructor.constructNative(Native Method)
// at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
// at android.view.LayoutInflater.createView(LayoutInflater.java:500)
// ... 21 more
// Caused by: java.lang.OutOfMemoryError: bitmap size exceeds VM budget
// at android.graphics.Bitmap.nativeCreate(Native Method)
// at android.graphics.Bitmap.createBitmap(Bitmap.java:468)
// at android.graphics.Bitmap.createBitmap(Bitmap.java:435)
// at android.graphics.Bitmap.createScaledBitmap(Bitmap.java:340)
// at android.graphics.BitmapFactory.finishDecode(BitmapFactory.java:488)
// at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:462)
// at android.graphics.BitmapFactory.decodeResourceStream(BitmapFactory.java:323)
// at android.graphics.BitmapFactory.decodeResource(BitmapFactory.java:346)
// at net.lp.collectionista.ui.views.ShelvesView.load(Collectionista:114)
// at net.lp.collectionista.ui.views.ShelvesView.<init>(Collectionista:70)
// ... 25 more
//
** Monkey aborted due to error.
Events injected: 2368
:Dropped: keys=0 pointers=38 trackballs=0 flips=0
## Network stats: elapsed time=129029ms (0ms mobile, 129029ms wifi, 0ms not connected)
** System appears to have crashed at event 2368 of 10000 using seed 10