Comments (3)
Comment by mitchellsundt
Wednesday Jul 08, 2015 at 22:55 GMT
adding stack trace to bug because dpaste isn't permanent. what device are you using?
E/AndroidRuntime( 615): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 615): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime( 615): at android.graphics.BitmapFactory.nativeDecodeStream(Native
Method)
E/AndroidRuntime( 615): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:459)
E/AndroidRuntime( 615): at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:271)
E/AndroidRuntime( 615): at org.odk.collect.android.widgets.ImageWidget.buildView(ImageWidget.java:197)
E/AndroidRuntime( 615): at org.odk.collect.android.widgets.WidgetFactory.createWidgetFromPrompt(WidgetFactory.java:86)
E/AndroidRuntime( 615): at org.odk.collect.android.views.QuestionView.buildView(QuestionView.java:85)
E/AndroidRuntime( 615): at org.odk.collect.android.activities.FormEntryActivity.createView(FormEntryActivity.java:494)
E/AndroidRuntime( 615): at org.odk.collect.android.activities.FormEntryActivity.refreshCurrentView(FormEntryActivity.java:290)
E/AndroidRuntime( 615): at org.odk.collect.android.activities.FormEntryActivity.onResume(FormEntryActivity.java:1049)
E/AndroidRuntime( 615): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
E/AndroidRuntime( 615): at android.app.Activity.performResume(Activity.java:3763)
E/AndroidRuntime( 615): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2937)
E/AndroidRuntime( 615): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2965)
E/AndroidRuntime( 615): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1889)
E/AndroidRuntime( 615): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 615): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 615): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 615): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 615): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 615): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 615): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 615): at dalvik.system.NativeStart.main(Native Method)
Reported by yanokwa
on 2010-08-01 04:54:53
- Labels added: Collect
from collect.
Comment by mitchellsundt
Wednesday Jul 08, 2015 at 22:55 GMT
Thanks for adding the stack trace. I was using an HTC Magic (32B).
Reported by andrewazman
on 2010-08-01 09:45:52
from collect.
Comment by mitchellsundt
Thursday Jul 09, 2015 at 17:19 GMT
I think this has to do with this bug in cyanogenmod:
http://code.google.com/p/cyanogenmod/issues/detail?id=1319
since after you use the camera this shows up in the log about every .5 seconds and
audio stops working:
W/AudioTrack( 103): obtainBuffer timed out (is the CPU pegged?) 0xba220 user=000012c0,
server=00000000
It's fairly random when the out_of_memory error occurs. Sometimes it's the 2nd picture,
sometimes the 5th. When it works, the allocation is the right amount ~500k, when it
fails, it's 10x as big.
E/dalvikvm-heap( 745): Try and trim Heap Source
E/dalvikvm-heap( 745): Heap Massage was unsuccessful for 6291456-bytes!
E/dalvikvm-heap( 745): Heap Massage has failed...
E/ ( 745): VM won't let us allocate 6291456 bytes
D/skia ( 745): --- decoder->decode returned false
I haven't been able to reproduce this on other phones, or a magic with a standard android
build. Try following up on the cyanogenmod forums and see if they've got a fix in
the works.
Reported by carlhartung
on 2010-08-02 21:09:49
- Status changed:
WontFix
from collect.
Related Issues (20)
- "Form does not specify an instanceID" after second submission in an encrypted project HOT 3
- Minimizing the app with no background processes setting moves the user to the first question HOT 5
- Add padding to checkboxes in Ready to send to increase touch target size
- Default image disappears in the Signature widget if the user clicks "Reset" while marking up the image HOT 7
- Filter is cleared after minimizing or blocking the app in select one/multiple widgets HOT 4
- Select date and select time in a fieldlist adds or removes answers after swiping HOT 2
- Make it possible to request form validation without finalizing HOT 1
- Adding a snackbar for successful or failed submissions
- Doubled event in the audit log after saving a draft in Audit Test Location Background Audio form
- `FillBlankFormTest#app_ShouldNotCrash` is flakey HOT 6
- Can't edit a form finalized in a previous version of Collect HOT 1
- The app crashes if a form contains a repeatable group that has the number specified dynamically and that number is not an integer
- "No errors found.." snackbar reappears after rotation
- Show warning when editing finalized form HOT 9
- Snackbar "Your form tracks your location..β reappears after going to the hierarchy view if donβt keep activities is enabled
- Bad text alignment for RTL selects
- Possible to edit a form while it is being sent
- Editing attachments in image widget result in saving both old and new attachment in the directory
- Answers from select one questions are not read properly if they start/end with whitespaces and come from an external file
- Select choice filters should be as fast as other XPath predicates
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from collect.