Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content

cannot use SMS app

  • /e/ version: 1.9.1
  • Device model(s): FP3
  • Developer mode enabled: yes/no
  • Device rooted: yes/no
  • Trackers blocker enabled: yes/no

Summary

The Message app only shows the list of SMS messages, but immediately shuts down when trying to read an SMS from the list. No error message.

The problem

Steps to reproduce

Unknown, just open the SMS app, and it does not work correctly

What is the current behavior?

Cannot use Messages app, it shuts down

What is the expected correct behavior?

The app should not shut down.

Technical informations

Relevant logs (adb logcat)

2023-04-20 13:18:54 system_app_crash (text, 2394 bytes)
Process: foundation.e.message
PID: 16184
UID: 10116
Flags: 0x30c8be45
Package: foundation.e.message v2218 (3.9.4)
Foreground: Yes
Process-Runtime: 247529561
Build: Fairphone/FP3/FP3:10/8901.3.A.0135.20211222/gms-3e31ddee:user/release-keys
Loading-Progress: 1.0

io.reactivex.exceptions.OnErrorNotImplementedException: /storage/emulated/0/QKSMS/Media/gif_1662401833000.gif -> /storage/emulated/0/Message/Media/gif_1662401833000.gif: The destination file already exists.
Caused by: kotlin.io.FileAlreadyExistsException: /storage/emulated/0/QKSMS/Media/gif_1662401833000.gif -> /storage/emulated/0/Message/Media/gif_1662401833000.gif: The destination file already exists.
at com.moez.QKSMS.feature.compose.ComposeViewModel.<init>(ComposeViewModel.kt:186)
at [[ ↑↑ Inferred subscribe point ↑↑ ]].(:0)
at [[ ↓↓ Original trace ↓↓ ]].(:0)
at kotlin.io.FilesKt__UtilsKt.copyRecursively(Utils.kt:316)
at kotlin.io.FilesKt__UtilsKt.copyRecursively$default(Utils.kt:291)
at kotlin.io.FilesKt.copyRecursively$default(Unknown Source:0)
at com.moez.QKSMS.util.FileUtils.moveDir(FileUtils.kt:25)
at com.moez.QKSMS.repository.MessageRepositoryImpl.getMessages(MessageRepositoryImpl.kt:93)
at com.moez.QKSMS.repository.MessageRepository$DefaultImpls.getMessages$default(MessageRepository.kt:29)
at com.moez.QKSMS.feature.compose.ComposeViewModel$12.apply(ComposeViewModel.kt:181)
at com.moez.QKSMS.feature.compose.ComposeViewModel$12.apply(ComposeViewModel.kt:76)
at io.reactivex.internal.operators.observable.ObservableMap$MapObserver.onNext(ObservableMap.java:57)
at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.drainNormal(ObservableObserveOn.java:201)
at io.reactivex.internal.operators.observable.ObservableObserveOn$ObserveOnObserver.run(ObservableObserveOn.java:255)
at io.reactivex.android.schedulers.HandlerScheduler$ScheduledRunnable.run(HandlerScheduler.java:124)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7870)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)

Relevant screenshots

image

Solutions

Workaround

Clearing the cache of Messages app DOES NOT help.

Possible fixes

If I have detected it correctly, the log shows that a destination file already exists? Full log is available