https://bugs.freedesktop.org/show_bug.cgi?id=60485

          Priority: medium
            Bug ID: 60485
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: sdremote: crash when selecting while still
                    thumbnailing in tile view ...
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: michael.me...@novell.com
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.0.0.3 release
         Component: Presentation
           Product: LibreOffice

I load that 60+ slide presentation in the remote; switch to thumbnail view
while it is still thumbnailing, select a few slides that are black still, and
eventually bang:

Looks like it's out of memory for some reason - are we leaking / keeping
references to something and/or not disposing things we need to ?

Interestingly I can load all the slides just fine into the coverflow ...
as/when they are all loaded - I can render them as thumbnails just fine too [
though this is on an Nexus 7 - so I have a 6x8 tile display ] - but - somehow
it decided it was out of memory & wedged:

V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
1:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
D/dalvikvm(30170): GC_CONCURRENT freed 1132K, 74% free 12563K/46644K, paused
2ms+5ms, total 27ms
D/dalvikvm(30170): WAIT_FOR_CONCURRENT_GC blocked 16ms
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
1:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
2:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
D/dalvikvm(30170): GC_CONCURRENT freed 1369K, 73% free 12917K/46644K, paused
3ms+10ms, total 33ms
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
1:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
1:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
2:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
D/dalvikvm(30170): GC_FOR_ALLOC freed 1570K, 73% free 12918K/46644K, paused
18ms, total 18ms
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
0:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
1:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
D/dalvikvm(30170): GC_FOR_ALLOC freed 1689K, 73% free 12945K/46644K, paused
18ms, total 18ms
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
1:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
2:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
D/dalvikvm(30170): GC_FOR_ALLOC freed 973K, 71% free 13602K/46644K, paused
20ms, total 20ms
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
0:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
1:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
D/dalvikvm(30170): GC_FOR_ALLOC freed 2047K, 72% free 13305K/46644K, paused
19ms, total 19ms
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
1:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
2:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
0:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
D/dalvikvm(30170): GC_FOR_ALLOC freed 1315K, 71% free 13715K/46644K, paused
20ms, total 20ms
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
1:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
1:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
D/dalvikvm(30170): GC_FOR_ALLOC freed 2294K, 72% free 13336K/46644K, paused
20ms, total 20ms
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
2:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
V/AbstractCoverFlowImageAdapter(30170): Creating Image view at position:
0:org.libreoffice.impressremote.PresentationFragment$ThumbnailAdapter@43872ed8
D/dalvikvm(30170): GC_CONCURRENT freed 2056K, 72% free 13263K/46644K, paused
3ms+4ms, total 28ms
D/dalvikvm(30170): WAIT_FOR_CONCURRENT_GC blocked 24ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 425K, 69% free 14656K/46644K, paused
19ms, total 19ms
D/dalvikvm(30170): GC_CONCURRENT freed 306K, 65% free 16762K/46644K, paused
1ms+4ms, total 22ms
D/dalvikvm(30170): WAIT_FOR_CONCURRENT_GC blocked 14ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 416K, 59% free 19201K/46644K, paused
20ms, total 20ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 1747K, 55% free 21190K/46644K, paused
20ms, total 21ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 46K, 48% free 24609K/46644K, paused 21ms,
total 22ms
W/PicturePileLayerContent(30170): Warning: painting PicturePile without
content!
D/dalvikvm(30170): GC_FOR_ALLOC freed 193K, 36% free 29959K/46644K, paused
21ms, total 21ms
D/dalvikvm(30170): GC_CONCURRENT freed 973K, 22% free 36494K/46644K, paused
3ms+3ms, total 31ms
D/dalvikvm(30170): WAIT_FOR_CONCURRENT_GC blocked 13ms
D/dalvikvm(30170): GC_CONCURRENT freed 9648K, 26% free 34935K/46644K, paused
3ms+3ms, total 28ms
D/dalvikvm(30170): WAIT_FOR_CONCURRENT_GC blocked 16ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 18242K, 48% free 24661K/46644K, paused
22ms, total 22ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 505K, 37% free 29793K/46644K, paused
21ms, total 22ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 11528K, 46% free 25518K/46644K, paused
22ms, total 22ms
D/dalvikvm(30170): GC_CONCURRENT freed 844K, 35% free 30662K/46644K, paused
2ms+4ms, total 27ms
D/dalvikvm(30170): WAIT_FOR_CONCURRENT_GC blocked 7ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 12324K, 45% free 25960K/46644K, paused
21ms, total 21ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 461K, 33% free 31459K/46644K, paused
22ms, total 22ms
D/dalvikvm(30170): GC_CONCURRENT freed 12727K, 43% free 26769K/46644K, paused
2ms+5ms, total 30ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 781K, 32% free 32170K/46644K, paused
22ms, total 22ms
D/dalvikvm(30170): GC_CONCURRENT freed 797K, 16% free 39459K/46644K, paused
2ms+13ms, total 44ms
D/dalvikvm(30170): WAIT_FOR_CONCURRENT_GC blocked 2ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 942K, 7% free 44319K/47556K, paused 23ms,
total 23ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 685K, 7% free 49162K/52420K, paused 23ms,
total 23ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 4K, 6% free 54018K/57284K, paused 23ms,
total 23ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 13576K, 25% free 46613K/62148K, paused
24ms, total 24ms
D/dalvikvm(30170): GC_CONCURRENT freed 602K, 13% free 54202K/62148K, paused
2ms+5ms, total 32ms
D/dalvikvm(30170): WAIT_FOR_CONCURRENT_GC blocked 13ms
D/dalvikvm(30170): WAIT_FOR_CONCURRENT_GC blocked 14ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 14692K, 28% free 45272K/62452K, paused
24ms, total 27ms
D/dalvikvm(30170): GC_FOR_ALLOC freed 640K, 16% free 52569K/62452K, paused
25ms, total 25ms
I/dalvikvm-heap(30170): Clamp target GC heap from 65.492MB to 64.000MB
D/dalvikvm(30170): GC_FOR_ALLOC freed 723K, 6% free 58726K/62452K, paused 24ms,
total 25ms
I/dalvikvm-heap(30170): Clamp target GC heap from 68.536MB to 64.000MB
D/dalvikvm(30170): GC_FOR_ALLOC freed 169K, 6% free 61842K/65492K, paused 25ms,
total 25ms
I/dalvikvm-heap(30170): Forcing collection of SoftReferences for 307216-byte
allocation
I/dalvikvm-heap(30170): Clamp target GC heap from 68.528MB to 64.000MB
D/dalvikvm(30170): GC_BEFORE_OOM freed 9K, 6% free 61832K/65492K, paused 32ms,
total 32ms
E/dalvikvm-heap(30170): Out of memory on a 307216-byte allocation.
I/dalvikvm(30170): "main" prio=5 tid=1 RUNNABLE
I/dalvikvm(30170):   | group="main" sCount=0 dsCount=0 obj=0x4178d9a0
self=0x410bf010
I/dalvikvm(30170):   | sysTid=30170 nice=0 sched=0/0 cgrp=apps
handle=1075110876
I/dalvikvm(30170):   | state=R schedstat=( 232129568000 9239371000 69568 )
utm=21297 stm=1915 core=2
I/dalvikvm(30170):   at
android.graphics.BitmapFactory.nativeDecodeByteArray(Native Method)
I/dalvikvm(30170):   at
android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:428)
I/dalvikvm(30170):   at
android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:446)
I/dalvikvm(30170):   at
org.libreoffice.impressremote.communication.SlideShow.getImage(SlideShow.java:57)
I/dalvikvm(30170):   at
org.libreoffice.impressremote.ThumbnailFragment$ThumbnailAdapter.getView(ThumbnailFragment.java:223)
I/dalvikvm(30170):   at
android.widget.AbsListView.obtainView(AbsListView.java:2143)
I/dalvikvm(30170):   at
android.widget.GridView.makeAndAddView(GridView.java:1341)
I/dalvikvm(30170):   at android.widget.GridView.makeRow(GridView.java:341)
I/dalvikvm(30170):   at android.widget.GridView.fillDown(GridView.java:283)
I/dalvikvm(30170):   at android.widget.GridView.fillSpecific(GridView.java:562)
I/dalvikvm(30170):   at
android.widget.GridView.layoutChildren(GridView.java:1240)
I/dalvikvm(30170):   at
android.widget.AbsListView.onLayout(AbsListView.java:1994)
I/dalvikvm(30170):   at android.view.View.layout(View.java:14003)
I/dalvikvm(30170):   at android.view.ViewGroup.layout(ViewGroup.java:4375)
I/dalvikvm(30170):   at
android.widget.FrameLayout.onLayout(FrameLayout.java:448)
I/dalvikvm(30170):   at android.view.View.layout(View.java:14003)
I/dalvikvm(30170):   at android.view.ViewGroup.layout(ViewGroup.java:4375)
I/dalvikvm(30170):   at
android.widget.FrameLayout.onLayout(FrameLayout.java:448)
I/dalvikvm(30170):   at android.view.View.layout(View.java:14003)
I/dalvikvm(30170):   at android.view.ViewGroup.layout(ViewGroup.java:4375)
I/dalvikvm(30170):   at
android.widget.FrameLayout.onLayout(FrameLayout.java:448)
I/dalvikvm(30170):   at android.view.View.layout(View.java:14003)
I/dalvikvm(30170):   at android.view.ViewGroup.layout(ViewGroup.java:4375)
I/dalvikvm(30170):   at
android.widget.FrameLayout.onLayout(FrameLayout.java:448)
I/dalvikvm(30170):   at android.view.View.layout(View.java:14003)
I/dalvikvm(30170):   at android.view.ViewGroup.layout(ViewGroup.java:4375)
I/dalvikvm(30170):   at
android.widget.LinearLayout.setChildFrame(LinearLayout.java:1663)
I/dalvikvm(30170):   at
android.widget.LinearLayout.layoutVertical(LinearLayout.java:1521)
I/dalvikvm(30170):   at
android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
I/dalvikvm(30170):   at android.view.View.layout(View.java:14003)
I/dalvikvm(30170):   at android.view.ViewGroup.layout(ViewGroup.java:4375)
I/dalvikvm(30170):   at
android.widget.FrameLayout.onLayout(FrameLayout.java:448)
I/dalvikvm(30170):   at android.view.View.layout(View.java:14003)
I/dalvikvm(30170):   at android.view.ViewGroup.layout(ViewGroup.java:4375)
I/dalvikvm(30170):   at
android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1892)
I/dalvikvm(30170):   at
android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1711)
I/dalvikvm(30170):   at
android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:989)
I/dalvikvm(30170):   at
android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4351)
I/dalvikvm(30170):   at
android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
I/dalvikvm(30170):   at
android.view.Choreographer.doCallbacks(Choreographer.java:562)
I/dalvikvm(30170):   at
android.view.Choreographer.doFrame(Choreographer.java:532)
I/dalvikvm(30170):   at
android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
I/dalvikvm(30170):   at android.os.Handler.handleCallback(Handler.java:725)
I/dalvikvm(30170):   at android.os.Handler.dispatchMessage(Handler.java:92)
I/dalvikvm(30170):   at android.os.Looper.loop(Looper.java:137)
I/dalvikvm(30170):   at
android.app.ActivityThread.main(ActivityThread.java:5039)
I/dalvikvm(30170):   at java.lang.reflect.Method.invokeNative(Native Method)
I/dalvikvm(30170):   at java.lang.reflect.Method.invoke(Method.java:511)
I/dalvikvm(30170):   at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
I/dalvikvm(30170):   at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
I/dalvikvm(30170):   at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm(30170): 
D/skia    (30170): --- decoder->decode returned false
D/AndroidRuntime(30170): Shutting down VM
W/dalvikvm(30170): threadid=1: thread exiting with uncaught exception
(group=0x4178c930)
E/AndroidRuntime(30170): FATAL EXCEPTION: main
E/AndroidRuntime(30170): java.lang.OutOfMemoryError
E/AndroidRuntime(30170):     at
android.graphics.BitmapFactory.nativeDecodeByteArray(Native Method)
E/AndroidRuntime(30170):     at
android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:428)
E/AndroidRuntime(30170):     at
android.graphics.BitmapFactory.decodeByteArray(BitmapFactory.java:446)
E/AndroidRuntime(30170):     at
org.libreoffice.impressremote.communication.SlideShow.getImage(SlideShow.java:57)
E/AndroidRuntime(30170):     at
org.libreoffice.impressremote.ThumbnailFragment$ThumbnailAdapter.getView(ThumbnailFragment.java:223)
E/AndroidRuntime(30170):     at
android.widget.AbsListView.obtainView(AbsListView.java:2143)
E/AndroidRuntime(30170):     at
android.widget.GridView.makeAndAddView(GridView.java:1341)
E/AndroidRuntime(30170):     at
android.widget.GridView.makeRow(GridView.java:341)
E/AndroidRuntime(30170):     at
android.widget.GridView.fillDown(GridView.java:283)
E/AndroidRuntime(30170):     at
android.widget.GridView.fillSpecific(GridView.java:562)
E/AndroidRuntime(30170):     at
android.widget.GridView.layoutChildren(GridView.java:1240)
E/AndroidRuntime(30170):     at
android.widget.AbsListView.onLayout(AbsListView.java:1994)
E/AndroidRuntime(30170):     at android.view.View.layout(View.java:14003)
E/AndroidRuntime(30170):     at
android.view.ViewGroup.layout(ViewGroup.java:4375)
E/AndroidRuntime(30170):     at
android.widget.FrameLayout.onLayout(FrameLayout.java:448)
E/AndroidRuntime(30170):     at android.view.View.layout(View.java:14003)
E/AndroidRuntime(30170):     at
android.view.ViewGroup.layout(ViewGroup.java:4375)
E/AndroidRuntime(30170):     at
android.widget.FrameLayout.onLayout(FrameLayout.java:448)
E/AndroidRuntime(30170):     at android.view.View.layout(View.java:14003)
E/AndroidRuntime(30170):     at
android.view.ViewGroup.layout(ViewGroup.java:4375)
E/AndroidRuntime(30170):     at
android.widget.FrameLayout.onLayout(FrameLayout.java:448)
E/AndroidRuntime(30170):     at android.view.View.layout(View.java:14003)
E/AndroidRuntime(30170):     at
android.view.ViewGroup.layout(ViewGroup.java:4375)
E/AndroidRuntime(30170):     at
android.widget.FrameLayout.onLayout(FrameLayout.java:448)
E/AndroidRuntime(30170):     at android.view.View.layout(View.java:14003)
E/AndroidRuntime(30170):     at
android.view.ViewGroup.layout(ViewGroup.java:4375)
E/AndroidRuntime(30170):     at
android.widget.LinearLayout.setChildFrame(LinearLayout.java:1663)
E/AndroidRuntime(30170):     at
android.widget.LinearLayout.layoutVertical(LinearLayout.java:1521)
E/AndroidRuntime(30170):     at
android.widget.LinearLayout.onLayout(LinearLayout.java:1434)
E/AndroidRuntime(30170):     at android.view.View.layout(View.java:14003)
E/AndroidRuntime(30170):     at
android.view.ViewGroup.layout(ViewGroup.java:4375)
E/AndroidRuntime(30170):     at
android.widget.FrameLayout.onLayout(FrameLayout.java:448)
E/AndroidRuntime(30170):     at android.view.View.layout(View.java:14003)
E/AndroidRuntime(30170):     at
android.view.ViewGroup.layout(ViewGroup.java:4375)
E/AndroidRuntime(30170):     at
android.view.ViewRootImpl.performLayout(ViewRootImpl.java:1892)
E/AndroidRuntime(30170):     at
android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1711)
E/AndroidRuntime(30170):     at
android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:989)
E/AndroidRuntime(30170):     at
android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4351)
E/AndroidRuntime(30170):     at
android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
E/AndroidRuntime(30170):     at
android.view.Choreographer.doCallbacks(Choreographer.java:562)
E/AndroidRuntime(30170):     at
android.view.Choreographer.doFrame(Choreographer.java:532)
E/AndroidRuntime(30170):     at
android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
E/AndroidRuntime(30170):     at
android.os.Handler.handleCallback(Handler.java:725)
E/AndroidRuntime(30170):     at
android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime(30170):     at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(30170):     at
android.app.ActivityThread.main(ActivityThread.java:5039)
E/AndroidRuntime(30170):     at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime(30170):     at
java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(30170):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime(30170):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime(30170):     at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager(  487):   Force finishing activity
org.libreoffice.impressremote/.PresentationActivity
D/dalvikvm(  487): GC_FOR_ALLOC freed 506K, 23% free 16710K/21448K, paused
59ms, total 59ms
W/ActivityManager(  487): Activity pause timeout for ActivityRecord{422b09c0 u0
org.libreoffice.impressremote/.PresentationActivity}
I/dalvikvm-heap(30170): Clamp target GC heap from 68.648MB to 64.000MB
D/dalvikvm(30170): GC_FOR_ALLOC freed 3182K, 6% free 61955K/65492K, paused
39ms, total 40ms
W/ActivityManager(  487): Launch timeout has expired, giving up wake lock!
W/ActivityManager(  487): Activity idle timeout for ActivityRecord{42161988 u0
org.libreoffice.impressremote/.StartPresentationActivity}

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to