jumaris / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
1 stars 0 forks source link

Failed bitmap allocation crashes ConnectBot #108

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Was normally using ConnectBot when it crashed. This is the logcat excerpt:

I/ActivityManager(   51): Starting activity: Intent {
action=android.intent.action.VIEW
data=ssh://kenny@example.com:22/#kenny@example.com flags=0x4000000
comp={org.connectbot/org.connectbot.ConsoleActivity} }
D/class org.connectbot.ConsoleActivity( 1640): Connected to TerminalManager
and found bridges.size=0
D/class org.connectbot.ConsoleActivity( 1640): We couldnt find an existing
bridge with URI=ssh://kenny@example.com:22/#kenny@example.com, so creating
one now
D/class org.connectbot.service.TerminalManager( 1640): Acquiring WifiLock
E/dalvikvm-heap( 1640): 566400-byte external allocation too large for this
process.
E/        ( 1640): VM won't let us allocate 566400 bytes
D/AndroidRuntime( 1640): Shutting down VM
W/dalvikvm( 1640): threadid=3: thread exiting with uncaught exception
(group=0x40013e28)
E/AndroidRuntime( 1640): Uncaught handler: thread main exiting due to
uncaught exception
E/AndroidRuntime( 1640): java.lang.OutOfMemoryError: bitmap size exceeds VM
budget
E/AndroidRuntime( 1640):    at android.graphics.Bitmap.nativeCreate(Native
Method)
E/AndroidRuntime( 1640):    at
android.graphics.Bitmap.createBitmap(Bitmap.java:343)
E/AndroidRuntime( 1640):    at
org.connectbot.service.TerminalBridge.parentChanged(TerminalBridge.java:1048)
E/AndroidRuntime( 1640):    at
org.connectbot.TerminalView.onSizeChanged(TerminalView.java:87)
E/AndroidRuntime( 1640):    at android.view.View.setFrame(View.java:5678)
E/AndroidRuntime( 1640):    at android.view.View.layout(View.java:5605)
E/AndroidRuntime( 1640):    at
android.widget.RelativeLayout.onLayout(RelativeLayout.java:748)
E/AndroidRuntime( 1640):    at android.view.View.layout(View.java:5611)
E/AndroidRuntime( 1640):    at
android.widget.FrameLayout.onLayout(FrameLayout.java:294)
E/AndroidRuntime( 1640):    at android.view.View.layout(View.java:5611)
E/AndroidRuntime( 1640):    at
android.widget.RelativeLayout.onLayout(RelativeLayout.java:748)
E/AndroidRuntime( 1640):    at android.view.View.layout(View.java:5611)
E/AndroidRuntime( 1640):    at
android.widget.FrameLayout.onLayout(FrameLayout.java:294)
E/AndroidRuntime( 1640):    at android.view.View.layout(View.java:5611)
E/AndroidRuntime( 1640):    at
android.widget.FrameLayout.onLayout(FrameLayout.java:294)
E/AndroidRuntime( 1640):    at android.view.View.layout(View.java:5611)
E/AndroidRuntime( 1640):    at
android.view.ViewRoot.performTraversals(ViewRoot.java:771)
E/AndroidRuntime( 1640):    at
android.view.ViewRoot.handleMessage(ViewRoot.java:1103)
E/AndroidRuntime( 1640):    at
android.os.Handler.dispatchMessage(Handler.java:88)
E/AndroidRuntime( 1640):    at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1640):    at
android.app.ActivityThread.main(ActivityThread.java:3742)
E/AndroidRuntime( 1640):    at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 1640):    at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 1640):    at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:739)
E/AndroidRuntime( 1640):    at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:497)
E/AndroidRuntime( 1640):    at dalvik.system.NativeStart.main(Native Method)
I/Process (   51): Sending signal. PID: 1640 SIG: 3
I/dalvikvm( 1640): threadid=7: reacting to signal 3
I/dalvikvm( 1640): Wrote stack trace to '/data/anr/traces.txt'

Original issue reported on code.google.com by kenny@the-b.org on 20 Jan 2009 at 4:50