After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 733095 - Seeking in track above 36 minutes leads to crash
Seeking in track above 36 minutes leads to crash
Status: RESOLVED FIXED
Product: gnome-music
Classification: Applications
Component: general
unspecified
Other Linux
: Normal normal
: 3.14
Assigned To: gnome-music-maint
gnome-music-maint
Depends on:
Blocks:
 
 
Reported: 2014-07-12 13:42 UTC by Michael Herold
Modified: 2014-07-12 16:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Herold 2014-07-12 13:42:01 UTC
Seeking in a long track above ~36 minutes leads to a crash.

The problem is <https://git.gnome.org/browse/gnome-music/tree/gnomemusic/player.py#n667> since /seconds * 1000000/ is no longer an integer. But seeked is defined as an integer in <https://git.gnome.org/browse/gnome-music/tree/gnomemusic/player.py#n74>.
Comment 1 Vadim Rutkovsky 2014-07-12 14:17:16 UTC
Could you attach the stacktrace for this crash?
Comment 2 Michael Herold 2014-07-12 15:28:39 UTC
Not sure what you mean with stacktrace. The python traceback is

Traceback (most recent call last):
  • File "/usr/lib/python3/dist-packages/gnomemusic/__init__.py", line 44 in wrapped
    retval = fn(*v, **k)
  • File "/usr/lib/python3/dist-packages/gnomemusic/player.py", line 556 in _on_progress_scale_button_released
    self.on_progress_scale_change_value(self.progressScale)
  • File "/usr/lib/python3/dist-packages/gnomemusic/__init__.py", line 44 in wrapped
    retval = fn(*v, **k)
  • File "/usr/lib/python3/dist-packages/gnomemusic/player.py", line 644 in on_progress_scale_change_value
    self.emit('seeked', seconds * 1000000)
TypeError: could not convert type float to (null) required for parameter 0

Commenting out self.emit('seeked', seconds * 1000000) fixes the bug for me.
Comment 3 Vadim Rutkovsky 2014-07-12 16:48:03 UTC
Aha, thanks!

Pushed a fix for this in https://git.gnome.org/browse/gnome-music/commit/?id=2c11dfc