Bug 436599 - kdeconnect app crashes after pair with computer when I'm listening music with Shortwave in computer
Summary: kdeconnect app crashes after pair with computer when I'm listening music with...
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: android-application (other bugs)
Version First Reported In: 1.6
Platform: Android Android 8.x
: NOR grave
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-04 18:31 UTC by Brais Arias Rio
Modified: 2021-05-12 07:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brais Arias Rio 2021-05-04 18:31:53 UTC
SUMMARY

I've reinstalled it and it and kdeconnect app crashes after pair with computer.
If I relaunch the app always crashes.

I've found that it only happens to me when i'm listening music (radio) with shortwave in my computer.


STEPS TO REPRODUCE
1. Launch app
2. Pair with computer via network
3. The app crashes
4. Re-launch the app
5. The app crashes again, and always when you try to launch it

OBSERVED RESULT

You can see more information from adb logcat:

05-04 19:59:04.683  6525  6600 E AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-3
05-04 19:59:04.683  6525  6600 E AndroidRuntime: Process: org.kde.kdeconnect_tp, PID: 6525
05-04 19:59:04.683  6525  6600 E AndroidRuntime: java.lang.AssertionError: Invalid url: not http(s) in background album art fetch
05-04 19:59:04.683  6525  6600 E AndroidRuntime:        at org.kde.kdeconnect.Plugins.MprisPlugin.AlbumArtCache.openHttp(AlbumArtCache.kt:409)
05-04 19:59:04.683  6525  6600 E AndroidRuntime:        at org.kde.kdeconnect.Plugins.MprisPlugin.AlbumArtCache.access$openHttp(AlbumArtCache.kt:36)
05-04 19:59:04.683  6525  6600 E AndroidRuntime:        at org.kde.kdeconnect.Plugins.MprisPlugin.AlbumArtCache$fetchURL$success$1.invokeSuspend(AlbumArtCache.kt:350)
05-04 19:59:04.683  6525  6600 E AndroidRuntime:        at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
05-04 19:59:04.683  6525  6600 E AndroidRuntime:        at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:56)
05-04 19:59:04.683  6525  6600 E AndroidRuntime:        at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
05-04 19:59:04.683  6525  6600 E AndroidRuntime:        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:738)
05-04 19:59:04.683  6525  6600 E AndroidRuntime:        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
05-04 19:59:04.683  6525  6600 E AndroidRuntime:        at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
05-04 19:59:04.686  2000  2400 W ActivityManager:   Force finishing activity org.kde.kdeconnect_tp/org.kde.kdeconnect.UserInterface.MainActivity

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Distribution Linux: Manjaro Linux up to date
Linux Kernel: 4.19.188-1-MANJARO

ADDITIONAL INFORMATION


I'm listening music at this time in the computer with Shortwave radio application.
It seems that only crashes when Shortware radio station dont have any image to show for the radio station.

I'm available if you like to test anything both by mail and by telegram at @braisarias

Thanks
Comment 1 Brais Arias Rio 2021-05-12 07:38:00 UTC
It seems that is solved in version 1.17.0 of Android app.