Skip to content

Crash on continuously opening .apk files. #31

@uprocker

Description

@uprocker

Open a folder of multiple .apk files like /system/app/
Select files one by one quickly.

The error log is:

01-05 09:52:40.300 14591-14591/? V/Zygote: Switching descriptor 33 to /dev/null
01-05 09:52:40.300 14591-14591/? V/Zygote: Switching descriptor 10 to /dev/null
01-05 09:52:40.300 14591-14591/? D/dalvikvm: Late-enabling CheckJNI
01-05 09:52:40.350 14591-14591/com.example.blah.mobilestudio D/ActivityThread: handleBindApplication:com.example.blah.mobilestudio
01-05 09:52:40.350 14591-14591/com.example.blah.mobilestudio D/ActivityThread: setTargetHeapUtilization:0.75
01-05 09:52:40.350 14591-14591/com.example.blah.mobilestudio D/ActivityThread: setTargetHeapMinFree:524288
01-05 09:52:40.420 14591-14591/com.example.blah.mobilestudio W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)
01-05 09:52:40.420 14591-14591/com.example.blah.mobilestudio I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.view.WindowCallbackWrapper.onSearchRequested
01-05 09:52:40.420 14591-14591/com.example.blah.mobilestudio W/dalvikvm: VFY: unable to resolve interface method 14571: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
01-05 09:52:40.420 14591-14591/com.example.blah.mobilestudio D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
01-05 09:52:40.420 14591-14591/com.example.blah.mobilestudio I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
01-05 09:52:40.420 14591-14591/com.example.blah.mobilestudio W/dalvikvm: VFY: unable to resolve interface method 14575: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
01-05 09:52:40.420 14591-14591/com.example.blah.mobilestudio D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
01-05 09:52:40.480 14591-14591/com.example.blah.mobilestudio I/dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.widget.TintTypedArray.getChangingConfigurations
01-05 09:52:40.480 14591-14591/com.example.blah.mobilestudio W/dalvikvm: VFY: unable to resolve virtual method 434: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
01-05 09:52:40.480 14591-14591/com.example.blah.mobilestudio D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
01-05 09:52:40.480 14591-14591/com.example.blah.mobilestudio I/dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.widget.TintTypedArray.getType
01-05 09:52:40.480 14591-14591/com.example.blah.mobilestudio W/dalvikvm: VFY: unable to resolve virtual method 456: Landroid/content/res/TypedArray;.getType (I)I
01-05 09:52:40.480 14591-14591/com.example.blah.mobilestudio D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
01-05 09:52:40.500 14591-14591/com.example.blah.mobilestudio I/dalvikvm: Could not find method android.app.Fragment.onAttach, referenced from method com.example.blah.mobilestudio.breadcrumbview.BreadcrumbFragmentVertical.onAttach
01-05 09:52:40.500 14591-14591/com.example.blah.mobilestudio W/dalvikvm: VFY: unable to resolve virtual method 110: Landroid/app/Fragment;.onAttach (Landroid/content/Context;)V
01-05 09:52:40.500 14591-14591/com.example.blah.mobilestudio D/dalvikvm: VFY: replacing opcode 0x6f at 0x0000
01-05 09:52:40.700 14591-14591/com.example.blah.mobilestudio V/WebViewChromiumFactoryProvider: Binding Chromium to main looper Looper (main, tid 1) {42388c38}
01-05 09:52:40.700 14591-14591/com.example.blah.mobilestudio I/LibraryLoader: Expected native library version number "",actual native library version number ""
01-05 09:52:40.700 14591-14591/com.example.blah.mobilestudio I/chromium: [INFO:library_loader_hooks.cc(116)] Chromium logging enabled: level = 0, default verbosity = 0
01-05 09:52:40.700 14591-14591/com.example.blah.mobilestudio I/BrowserStartupController: Initializing chromium process, renderers=0
01-05 09:52:40.730 14591-14591/com.example.blah.mobilestudio E/AudioManagerAndroid: BLUETOOTH permission is missing!
01-05 09:52:40.740 14591-14591/com.example.blah.mobilestudio D/libEGL: loaded /system/lib/egl/libEGL_tegra.so
01-05 09:52:40.750 14591-14591/com.example.blah.mobilestudio D/libEGL: loaded /system/lib/egl/libGLESv1_CM_tegra.so
01-05 09:52:40.750 14591-14591/com.example.blah.mobilestudio D/libEGL: loaded /system/lib/egl/libGLESv2_tegra.so
01-05 09:52:40.810 14591-14624/com.example.blah.mobilestudio W/chromium: [WARNING:proxy_service.cc(890)] PAC support disabled because there is no system implementation
01-05 09:52:40.960 14591-14591/com.example.blah.mobilestudio D/OpenGLRenderer: Enabling debug mode 0
01-05 09:52:41.010 14591-14591/com.example.blah.mobilestudio W/AwContents: nativeOnDraw failed; clearing to background color.
01-05 09:52:41.120 14591-14591/com.example.blah.mobilestudio W/AwContents: nativeOnDraw failed; clearing to background color.
01-05 09:52:41.220 14591-14591/com.example.blah.mobilestudio I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@4238a4d8 time:22251721
01-05 09:52:55.810 14591-14591/com.example.blah.mobilestudio I/Timeline: Timeline: Activity_launch_request id:com.example.blah.mobilestudio time:22266313
01-05 09:52:55.860 14591-14591/com.example.blah.mobilestudio D/DirectoryChooserFragment: Changed directory to /
01-05 09:52:56.140 14591-14591/com.example.blah.mobilestudio I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@4256de48 time:22266644
01-05 09:52:58.210 14591-14591/com.example.blah.mobilestudio D/DirectoryChooserFragment: Selected index: 10
01-05 09:52:58.210 14591-14591/com.example.blah.mobilestudio D/DirectoryChooserFragment: Could not change folder: contents of dir were null
01-05 09:53:01.210 14591-14591/com.example.blah.mobilestudio D/DirectoryChooserFragment: Selected index: 14
01-05 09:53:01.220 14591-14591/com.example.blah.mobilestudio D/DirectoryChooserFragment: Changed directory to /system
01-05 09:53:03.180 14591-14591/com.example.blah.mobilestudio D/DirectoryChooserFragment: Returning /system as result
01-05 09:53:03.180 14591-14886/com.example.blah.mobilestudio D/DirectoryChooserFragment: FileObserver received event 32768
01-05 09:53:03.200 14591-14591/com.example.blah.mobilestudio D/DirectoryChooserFragment: Changed directory to /system
01-05 09:53:03.200 14591-14591/com.example.blah.mobilestudio D/root: /system
01-05 09:53:03.420 14591-14591/com.example.blah.mobilestudio I/Timeline: Timeline: Activity_idle id: android.os.BinderProxy@4238a4d8 time:22273921
01-05 09:53:05.570 14591-14591/com.example.blah.mobilestudio D/file-selected: /system
01-05 09:53:11.110 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/addon.d
01-05 09:53:11.540 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/addon.d
01-05 09:53:12.500 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/addon.d
01-05 09:53:13.170 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/addon.d
01-05 09:53:13.970 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/addon.d
01-05 09:53:14.610 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/addon.d
01-05 09:53:15.400 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/addon.d
01-05 09:53:19.840 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/addon.d/70-gapps.sh
01-05 09:53:19.950 14591-14591/com.example.blah.mobilestudio D/time taken: 107
01-05 09:53:25.660 14591-14591/com.example.blah.mobilestudio D/brdcrumb item selected: /system/addon.d/
01-05 09:53:26.940 14591-14591/com.example.blah.mobilestudio D/brdcrumb item selected: /system/addon.d/70-gapps.sh/
01-05 09:53:29.850 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/app
01-05 09:53:33.390 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/app/Bluetooth.apk
01-05 09:53:35.190 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/app
01-05 09:53:39.460 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/media
01-05 09:53:42.990 14591-14591/com.example.blah.mobilestudio D/time taken: 9599
01-05 09:53:43.020 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/media/audio
01-05 09:53:43.070 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/media/bootanimation.zip
01-05 09:53:43.100 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/media/audio
01-05 09:53:43.130 14591-14591/com.example.blah.mobilestudio D/file-selected: /system/media/audio
01-05 09:53:45.580 14591-15603/com.example.blah.mobilestudio I/dalvikvm-heap: Forcing collection of SoftReferences for 22039240-byte allocation
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio E/dalvikvm-heap: Out of memory on a 22039240-byte allocation.
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm: "AsyncTask #3" prio=5 tid=21 RUNNABLE
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm:   | group="main" sCount=0 dsCount=0 obj=0x424ac278 self=0x6c9ff008
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm:   | sysTid=15603 nice=10 sched=0/0 cgrp=apps/bg_non_interactive handle=1763399176
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm:   | state=R schedstat=( 2063680000 614188000 17323 ) utm=183 stm=23 core=0
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm:     at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:~82)
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm:     at java.lang.StringBuffer.<init>(StringBuffer.java:69)
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm:     at java.io.StringWriter.<init>(StringWriter.java:58)
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm:     at org.apache.commons.lang3.text.translate.CharSequenceTranslator.translate(CharSequenceTranslator.java:60)
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm:     at org.apache.commons.lang3.StringEscapeUtils.escapeHtml4(StringEscapeUtils.java:592)
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm:     at com.example.blah.mobilestudio.FileViewer.FileFragment$FileOpenerTask.doInBackground(FileFragment.java:130)
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm:     at com.example.blah.mobilestudio.FileViewer.FileFragment$FileOpenerTask.doInBackground(FileFragment.java:101)
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm:     at android.os.AsyncTask$2.call(AsyncTask.java:288)
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm:     at java.util.concurrent.FutureTask.run(FutureTask.java:237)
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm:     at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm:     at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio I/dalvikvm:     at java.lang.Thread.run(Thread.java:841)
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio W/dalvikvm: threadid=21: thread exiting with uncaught exception (group=0x41e82ce0)
01-05 09:53:45.610 14591-15603/com.example.blah.mobilestudio E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #3
                                                                               Process: com.example.blah.mobilestudio, PID: 14591
                                                                               java.lang.RuntimeException: An error occured while executing doInBackground()
                                                                                   at android.os.AsyncTask$3.done(AsyncTask.java:300)
                                                                                   at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355)
                                                                                   at java.util.concurrent.FutureTask.setException(FutureTask.java:222)
                                                                                   at java.util.concurrent.FutureTask.run(FutureTask.java:242)
                                                                                   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
                                                                                   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
                                                                                   at java.lang.Thread.run(Thread.java:841)
                                                                                Caused by: java.lang.OutOfMemoryError
                                                                                   at java.lang.AbstractStringBuilder.<init>(AbstractStringBuilder.java:82)
                                                                                   at java.lang.StringBuffer.<init>(StringBuffer.java:69)
                                                                                   at java.io.StringWriter.<init>(StringWriter.java:58)
                                                                                   at org.apache.commons.lang3.text.translate.CharSequenceTranslator.translate(CharSequenceTranslator.java:60)
                                                                                   at org.apache.commons.lang3.StringEscapeUtils.escapeHtml4(StringEscapeUtils.java:592)
                                                                                   at com.example.blah.mobilestudio.FileViewer.FileFragment$FileOpenerTask.doInBackground(FileFragment.java:130)
                                                                                   at com.example.blah.mobilestudio.FileViewer.FileFragment$FileOpenerTask.doInBackground(FileFragment.java:101)
                                                                                   at android.os.AsyncTask$2.call(AsyncTask.java:288)
                                                                                   at java.util.concurrent.FutureTask.run(FutureTask.java:237)
                                                                                   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 
                                                                                   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 
                                                                                   at java.lang.Thread.run(Thread.java:841) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions