machineloop / nookdevs

Automatically exported from code.google.com/p/nookdevs
0 stars 1 forks source link

nookLibrary crash when showing covers #75

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Showing book covers
2. Scrolling through the covers
3. Crash

What is the expected output? What do you see instead?
Crash dump:

E/dalvikvm-heap(15203): 324000-byte external allocation too large for 
this process.
E/        (15203): VM won't let us allocate 324000 bytes
W/dalvikvm(15203): threadid=3: thread exiting with uncaught exception 
(group=0x4000fe68)
E/AndroidRuntime(15203): Uncaught handler: thread main exiting due to 
uncaught exception
E/AndroidRuntime(15203): java.lang.OutOfMemoryError: bitmap size exceeds 
VM budget
E/AndroidRuntime(15203):        at 
android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
E/AndroidRuntime(15203):        at 
android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:375)
E/AndroidRuntime(15203):        at 
android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:171)
E/AndroidRuntime(15203):        at 
android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:196)
E/AndroidRuntime(15203):        at 
android.graphics.drawable.Drawable.createFromPath(Drawable.java:762)
E/AndroidRuntime(15203):        at 
android.widget.ImageView.resolveUri(ImageView.java:498)
E/AndroidRuntime(15203):        at 
android.widget.ImageView.setImageURI(ImageView.java:287)
E/AndroidRuntime(15203):        at 
com.nookdevs.common.ImageAdapter.getView(ImageAdapter.java:111)
E/AndroidRuntime(15203):        at 
android.widget.Gallery.makeAndAddView(Gallery.java:754)
E/AndroidRuntime(15203):        at 
android.widget.Gallery.fillToGalleryRight(Gallery.java:703)
E/AndroidRuntime(15203):        at 
android.widget.Gallery.trackMotionScroll(Gallery.java:375)
E/AndroidRuntime(15203):        at 
android.widget.Gallery$FlingRunnable.run(Gallery.java:1377)
E/AndroidRuntime(15203):        at 
android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime(15203):        at 
android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(15203):        at 
android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(15203):        at 
android.app.ActivityThread.main(ActivityThread.java:3952)
E/AndroidRuntime(15203):        at 
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(15203):        at 
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(15203):        at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
E/AndroidRuntime(15203):        at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:545)
E/AndroidRuntime(15203):        at dalvik.system.NativeStart.main(Native 
Method)
E/ActivityManager( 1792): SUPPRESSING CRASH DIALOG.....

What version of the product are you using? On what operating system?
nookLibrary 0.0.9, softrooted 1.3

Please provide any additional information below.
The largest jpg is 160KB, the largest png image is 527KB.

Original issue reported on code.google.com by jfe...@gmail.com on 29 Apr 2010 at 3:06

GoogleCodeExporter commented 8 years ago
I fixed this problem in filemanager app, but forgot include it in nookLibrary. 
will do in the next build.

Original comment by hari.swa...@gmail.com on 30 Apr 2010 at 8:26

GoogleCodeExporter commented 8 years ago
checked in the changes. Will be in the build to be completed later tonight.

Original comment by hari.swa...@gmail.com on 2 May 2010 at 12:26