Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes OS #31

Closed
ghost opened this issue Feb 12, 2015 · 28 comments
Closed

App crashes OS #31

ghost opened this issue Feb 12, 2015 · 28 comments

Comments

@ghost
Copy link

ghost commented Feb 12, 2015

Installing this app got my phone stuck in a boot logo loop - it would show the boot logo, then the lock screen for a few seconds, then repeat. Rebooting did not solve the issue.

I wish I could give more info but I had to restore my phone! The issue only started after setting up the app. I installed it from F-Droid.

I'm on Fairphone OS 1.8, based on Android 4.2.2. The Owncloud version is 8.0.0.

@nerzhul
Copy link
Owner

nerzhul commented Feb 12, 2015

F-Droid is not the classic installation mode for this application, it's unofficial and unsupported by ownCloud-SMS-App team.
I also use ownCloud-SMS-App on Android 4.2.2 without issue on my production phone since the start of the development. I think you have a problem with your phone, not my app. App code is very basic and uses all the Android standard APIs

@ghost
Copy link
Author

ghost commented Feb 12, 2015

It seems likely that it has something to do with F-Droid. I factory reset my phone once, and re-installed ownCloud SMS (not realizing that it had caused the issue in the first place). The issue happened again, even on a "fresh" factory-reset phone.

Like I said, I wish I could give more info. I thought I'd submit a ticket anyway, just in case!

@nerzhul
Copy link
Owner

nerzhul commented Feb 13, 2015

The only thing we must do is to branch your phone in debugging mode in an Eclipse with Android-SDK and look at the logcat logs to see what crash the phone.

@nerzhul
Copy link
Owner

nerzhul commented Feb 16, 2015

how many messages would you sync ?

@ghost
Copy link
Author

ghost commented Feb 19, 2015

Over 1000 in total, I would say.

@nerzhul
Copy link
Owner

nerzhul commented Feb 19, 2015

not many then.... without logs i could not find the issue :(

@ghost
Copy link
Author

ghost commented Feb 19, 2015

Unfortunately it's my everyday phone and I don't have time to risk resetting it again! If I do try to install the app again, I will update here.

@nerzhul
Copy link
Owner

nerzhul commented Feb 19, 2015

Don't forget you use F-Droid, which is unofficial build, maybe this can add bugs

@CountMurphy
Copy link

If its any help, I've been running the client from fdroid as well. Zero issues.

@pejakm
Copy link
Contributor

pejakm commented Mar 18, 2015

I'm having this issue, too. It started to happen when I changed sync interval to never. I solved the issue by manually removing this app via adb. I'm not sure how to debug this...

@nerzhul
Copy link
Owner

nerzhul commented Mar 18, 2015

by changing to never ? this is very very strange, i'll look at this

@pejakm
Copy link
Contributor

pejakm commented Mar 18, 2015

Yes, but it doesn't have to mean that exactly that triggered the bug. When restoring from boot loop, I deleted app's profile from /data/data first, but it didn't help until I removed app from /system/app (I had it installed as system app).

@nerzhul
Copy link
Owner

nerzhul commented Mar 21, 2015

How many messages have you got @pejakm

@nerzhul
Copy link
Owner

nerzhul commented Mar 21, 2015

@pejakm @brortao can you use logcat on your PC with you phone plugged in debug mode ?

@pejakm
Copy link
Contributor

pejakm commented Mar 23, 2015

Sorry, I had to remove this app from my phone, because I can't afford another lockup. I'll try again some time, once I have a free weekend.

@nerzhul
Copy link
Owner

nerzhul commented Mar 23, 2015

okay @pejakm , thanks

@pejakm
Copy link
Contributor

pejakm commented Mar 28, 2015

I've tried just now, and same thing happens. Trigger appears to be setting sync interval to never. Will try to get some useful log from adb.

@pejakm
Copy link
Contributor

pejakm commented Mar 28, 2015

Sorry, I have no usable output. I did notice that Mounts2SD couldn't mount dalvik-cache partition:

E/Mounts2SD( 2749): It was not possible to attach '/sd-ext/dalvik-cache' to '/data/dalvik-cache'

due to "low space on ext-sd partition" (although that partition has plenty of space left). Once uninstalled ownCloud-SMS, everything went back to normal. I installed ownCloud-SMS again, set Sync frequency to "Never", and nothing happened (no crash). But the crash will probably happen again if I set up syncing account.

@nerzhul
Copy link
Owner

nerzhul commented Mar 28, 2015

This week i diffuse accidentaly an instable fix on play store. 0.18.2 is correct

@pejakm
Copy link
Contributor

pejakm commented Mar 28, 2015

I use version from F-Droid.

@nerzhul
Copy link
Owner

nerzhul commented Mar 28, 2015

I don't know what version is on f-droid, if you could provide me

@pejakm
Copy link
Contributor

pejakm commented Mar 28, 2015

@nerzhul
Copy link
Owner

nerzhul commented Mar 29, 2015

The current version is 0.18.2

@pejakm
Copy link
Contributor

pejakm commented Mar 31, 2015

I have solved this by changing "pref_sync_frequency_values" value for Never from -1 to 5256000 (ten years). Selecting this option doesn't cause OS crash anymore. So this ("Never" option) could be a problem. @brortao can you confirm?

@nerzhul Perhaps this option (Never) is not necessary: to my knowledge other sync services (DAVdroid, for example) don't provide it because one can easily turn off synchronization for a specific app via Android settings.

@nerzhul
Copy link
Owner

nerzhul commented Mar 31, 2015

Okay, thanks for the tip. I doesn't have the issue on my phone and my emulators

@pejakm
Copy link
Contributor

pejakm commented Mar 31, 2015

FWIW, I'm on Jelly Bean (4.2.2), rooted, stock rom. Only apps I run that I think could affect other apps on my phone to act strange are Xposed with GravityBox module and Mounts2SD. But never so far had I any problems with them.

@nerzhul
Copy link
Owner

nerzhul commented Apr 1, 2015

@pejakm me too. I look at this issue since 1 week

@nerzhul
Copy link
Owner

nerzhul commented Nov 4, 2015

Crash will be fixed with next release which be coming soon, this week if i get time to finish to solve some issues with translations :) I reproduce it, it was due to a bug in android API permitting to set negative sync times...

@nerzhul nerzhul closed this as completed Nov 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants