Coder Social home page Coder Social logo

App crashes OS about ncsms-android HOT 28 CLOSED

nerzhul avatar nerzhul commented on August 18, 2024
App crashes OS

from ncsms-android.

Comments (28)

nerzhul avatar nerzhul commented on August 18, 2024

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

from ncsms-android.

 avatar commented on August 18, 2024

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!

from ncsms-android.

nerzhul avatar nerzhul commented on August 18, 2024

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.

from ncsms-android.

nerzhul avatar nerzhul commented on August 18, 2024

how many messages would you sync ?

from ncsms-android.

 avatar commented on August 18, 2024

Over 1000 in total, I would say.

from ncsms-android.

nerzhul avatar nerzhul commented on August 18, 2024

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

from ncsms-android.

 avatar commented on August 18, 2024

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.

from ncsms-android.

nerzhul avatar nerzhul commented on August 18, 2024

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

from ncsms-android.

CountMurphy avatar CountMurphy commented on August 18, 2024

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

from ncsms-android.

pejakm avatar pejakm commented on August 18, 2024

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...

from ncsms-android.

nerzhul avatar nerzhul commented on August 18, 2024

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

from ncsms-android.

pejakm avatar pejakm commented on August 18, 2024

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).

from ncsms-android.

nerzhul avatar nerzhul commented on August 18, 2024

How many messages have you got @pejakm

from ncsms-android.

nerzhul avatar nerzhul commented on August 18, 2024

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

from ncsms-android.

pejakm avatar pejakm commented on August 18, 2024

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.

from ncsms-android.

nerzhul avatar nerzhul commented on August 18, 2024

okay @pejakm , thanks

from ncsms-android.

pejakm avatar pejakm commented on August 18, 2024

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.

from ncsms-android.

pejakm avatar pejakm commented on August 18, 2024

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.

from ncsms-android.

nerzhul avatar nerzhul commented on August 18, 2024

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

from ncsms-android.

pejakm avatar pejakm commented on August 18, 2024

I use version from F-Droid.

from ncsms-android.

nerzhul avatar nerzhul commented on August 18, 2024

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

from ncsms-android.

pejakm avatar pejakm commented on August 18, 2024

https://f-droid.org/repository/browse/?fdfilter=ownCloud-SMS&fdid=fr.unix_experience.owncloud_sms
https://f-droid.org/wiki/page/fr.unix_experience.owncloud_sms

It's still at 0.17.3. That might be it, I need to wait for update.

from ncsms-android.

nerzhul avatar nerzhul commented on August 18, 2024

The current version is 0.18.2

from ncsms-android.

pejakm avatar pejakm commented on August 18, 2024

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.

from ncsms-android.

nerzhul avatar nerzhul commented on August 18, 2024

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

from ncsms-android.

pejakm avatar pejakm commented on August 18, 2024

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.

from ncsms-android.

nerzhul avatar nerzhul commented on August 18, 2024

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

from ncsms-android.

nerzhul avatar nerzhul commented on August 18, 2024

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...

from ncsms-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.