[kdeconnect] [Bug 393274] Android app crashes when multimedia player plugin is enabled

2018-05-11 Thread Matthijs Tijink
https://bugs.kde.org/show_bug.cgi?id=393274

Matthijs Tijink  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Matthijs Tijink  ---
Fixed on master, needs a release.

@Albert: could you create a release including this fix?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 393274] Android app crashes when multimedia player plugin is enabled

2018-04-30 Thread Kishore Gopalakrishnan
https://bugs.kde.org/show_bug.cgi?id=393274

--- Comment #7 from Kishore Gopalakrishnan  ---
Created attachment 112335
  --> https://bugs.kde.org/attachment.cgi?id=112335=edit
Output of 'abd logcat' during such a crash

(In reply to Matthijs Tijink from comment #6)
> I looked into it and couldn't find a definite answer. Maybe you could test
> my suggested change?
> 
> You can download an Android apk at https://phabricator.kde.org/D12618
> Can you try to install this and see if the app still crashes? You might get
> prompted to first remove the currently installed KDE Connect app.
> 
> In case it doesn't work, it would be great if you could upload a log
> (connect your phone by usb and run "adb logcat" on the command line, then
> wait for the app to crash).

The new apk you linked at that Phabricator page works. 

I have also attached the output of 'adb logcat' during a crash, while using the
version in the Play Store. I paired the devices with kdeconnect, enabled USB
debugging, opened kdeconnect, and then started the command. I immediately went
to my music player on my computer and played a music file with album art. After
that, I got a message that kdeconnect crashed (on my phone), and I ended the
'adb logcat' command.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 393274] Android app crashes when multimedia player plugin is enabled

2018-04-30 Thread Matthijs Tijink
https://bugs.kde.org/show_bug.cgi?id=393274

Matthijs Tijink  changed:

   What|Removed |Added

 CC||matthijstij...@gmail.com

--- Comment #6 from Matthijs Tijink  ---
I looked into it and couldn't find a definite answer. Maybe you could test my
suggested change?

You can download an Android apk at https://phabricator.kde.org/D12618
Can you try to install this and see if the app still crashes? You might get
prompted to first remove the currently installed KDE Connect app.

In case it doesn't work, it would be great if you could upload a log (connect
your phone by usb and run "adb logcat" on the command line, then wait for the
app to crash).

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 393274] Android app crashes when multimedia player plugin is enabled

2018-04-30 Thread Kishore Gopalakrishnan
https://bugs.kde.org/show_bug.cgi?id=393274

--- Comment #5 from Kishore Gopalakrishnan  ---
I've been able to reproduce it again. It seems to crash only if the song I'm
playing has album art associated with it. This is with Clementine.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 393274] Android app crashes when multimedia player plugin is enabled

2018-04-29 Thread Kishore Gopalakrishnan
https://bugs.kde.org/show_bug.cgi?id=393274

--- Comment #4 from Kishore Gopalakrishnan  ---
Okay, this is really weird. I can't reproduce it any more. Tested with
Clementine and Rhythmbox. I haven't changed the versions of kdeconnect (on my
phone and laptop) or Clementine.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 393274] Android app crashes when multimedia player plugin is enabled

2018-04-29 Thread Kishore Gopalakrishnan
https://bugs.kde.org/show_bug.cgi?id=393274

--- Comment #3 from Kishore Gopalakrishnan  ---
(In reply to Albert Vaca from comment #2)
> What media player are you using?

I'm using the qt5 branch of Clementine
(https://aur.archlinux.org/packages/clementine-qt5-git/). I'll try to reproduce
it with some other player, soon.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 393274] Android app crashes when multimedia player plugin is enabled

2018-04-29 Thread Albert Vaca
https://bugs.kde.org/show_bug.cgi?id=393274

Albert Vaca  changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

--- Comment #2 from Albert Vaca  ---
Checking the crash reports on the Play Store, I found a ClassCastException on
the following cast in AlbumArtCache.java:

connection = (HttpURLConnection) currentUrl.openConnection();

This crash is actually quite common, with 300 crashes in the past 7 days.

I'm not sure what's the cause though. The only other subclass of URLConnection
that can come from openConnection() is JarUrlConnection:

https://developer.android.com/reference/java/net/URLConnection

But I don't think we can get a JarUrlConnection there. I was trying to
reproduce the crash to see what kind of URLConnection we are getting there, but
it doesn't seem to crash on me.

What media player are you using?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdeconnect] [Bug 393274] Android app crashes when multimedia player plugin is enabled

2018-04-18 Thread Kishore Gopalakrishnan
https://bugs.kde.org/show_bug.cgi?id=393274

--- Comment #1 from Kishore Gopalakrishnan  ---
I forgot to mention in my previous comment that, as far as I can tell, there
are no issues when I disable the 'multimedia control' plugin.

-- 
You are receiving this mail because:
You are watching all bug changes.