View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012765 | MMA | General | public | 2015-06-17 19:28 | 2015-07-22 04:06 |
Reporter | rusty | Assigned To | |||
Priority | immediate | Severity | block | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.1.3 | ||||
Target Version | 1.1.3 | Fixed in Version | 1.1.3 | ||
Summary | 0012765: Lollipop device crashes on run or on clicking 'Options' | ||||
Description | On upgrading to MMA 453 from MMA 419, it generates debug logs and crashes as soon as it is run or when 'Options' is clicked. (on an alcatel device running lollipop) On a clean install, the crash occurs only when 'Options' is clicked. log: U5S9SZ1HS2 - crash on start after upgrade from 419 to 453 | ||||
Tags | No tags attached. | ||||
Fixed in build | 457 | ||||
|
The cause is that MMA is not able to write to external storage:com.ventismedia.android.mediamonkey.storage.am(1): java.io.FileNotFoundException: /storage/sdcard1/Android/data/com.ventismedia.android.mediamonkeybeta/files/files/storageInfo.xml: open failed: EACCES (Permission denied) libcore.io.IoBridge(1): at [open:456] java.io.FileOutputStream(1): at [<init>:87] java.io.FileOutputStream(1): at [<init>:72] com.ventismedia.android.mediamonkey.storage.DirectMediaFile(1): at [getOutputStream:51] com.ventismedia.android.mediamonkey.storage.Storage(1): at [writeStorageInfo:584] com.ventismedia.android.mediamonkey.storage.Storage(1): at [getStorages:309] com.ventismedia.android.mediamonkey.MediaMonkey$1(1): at [run:167] java.lang.Thread(1): at [run:818] It is probably caused by this Android issue: https://code.google.com/p/android/issues/detail?id=81357 I have created new build 455 and added some logs to find out more. Could you please try to install this build and send log - we will gain process UID of MMA. Than please get UID of /Android/data/com.ventismedia.android.mediamonkey/files. (How to do it: http://android.stackexchange.com/questions/28522/how-to-find-out-the-uid-of-a-given-file-folder) |
|
Tested build 455. Problem occurs as before. Log: NYSOOD7CJG UID of both the /cache and /files directory (in /mnt/sdcard/Android/data/com.ventismedia.android.mediamonkeybeta/): u0_a190 |
|
UID has to be a number. Application's UID is 10196. |
|
New log: 0IKFH37QQU , TTV5DVW5Z8 ls -n for /storage/sdcard1/Android/data/com.ventismedia.android.mediamonkeybeta/files UUID: 10190 1028 |
|
Fixed in build 456 The issue was that application specific folder was created with one PID and application had another PID. Uninstallation or deletion of folder didn't help. It looks like Lollipop issue. The only solution was to reboot device. Uninstallation of MediaMonkey is probably needed too. After reboot both application and folder had PID 10190. I have fixed the application crash on startup and added a dialog that informs user that he has to reboot the device. |
|
The crash now occurs with build 456 on Nexus devices that don't even contain an SD card :-( Repro steps: -Upgrade from build 419 to 456 (Optional--the bug occurs on a clean install as well) -Run MMA build 456 -Click options -->Crash Log: 5MI1U2A9UG |
|
Fixed in build 457 |
|
Verified 460. |