clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.77k stars 677 forks source link

crashes when fast-forwarding in the absence of playing songs #3041

Closed Clementine-Issue-Importer closed 10 years ago

Clementine-Issue-Importer commented 10 years ago

From perepeli...@gmail.com on July 06, 2012 14:15:57

What steps will reproduce the problem? 1. press stop

  1. press the hotkey fast rewind What is the expected output? What do you see instead? 16:18:23.903 INFO Player:350 Track seeked to 0 ns - not scrobbling clementine: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr::operator->() const [with T = PlaylistItem]: Assertion `px != 0' failed. What version of the product are you using? On what operating system? Clementine 1.0.1 at Ubuntu 12.04 Please provide any additional information below.

Original issue: http://code.google.com/p/clementine-player/issues/detail?id=3041

Clementine-Issue-Importer commented 10 years ago

From davidsansome on July 06, 2012 06:56:28

I can't reproduce this here on 1.0.1.

Your title says fast-forward but your steps say fast-rewind. Do both cause the crash or only one? How many songs (and of what kind) need to be in the playlist to trigger the crash? Does it crash if you use one of the buttons at the bottom of the window to skip forward/back instead of a hotkey?

Can you try getting a backtrace? Type: gdb clementine run (make it crash) backtrace

Then paste the output here.

Clementine-Issue-Importer commented 10 years ago

From perepeli...@gmail.com on July 10, 2012 00:54:26

LANG=C gdb clementine GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html > This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". For bug reporting instructions, please see: < http://bugs.launchpad.net/gdb-linaro/>.. . Reading symbols from /usr/bin/clementine...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/clementine [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1". [New Thread 0xb0b2eb40 (LWP 3519)] [New Thread 0xb01ffb40 (LWP 3520)] [New Thread 0xaf7ffb40 (LWP 3521)] 11:59:54.910 DEBUG NetworkProxyFactory:30 Detected system proxy URLs: ("", "", "", "") 11:59:54.910 DEBUG CoverProviders:34 Registered cover provider "Amazon" [New Thread 0xaec54b40 (LWP 3522)] [New Thread 0xae2aab40 (LWP 3523)] 11:59:55.005 INFO Player:533 Registered URL handler for "di" 11:59:55.006 DEBUG InternetModel:94 Adding internet service: "DigitallyImported" 11:59:55.038 DEBUG InternetModel:94 Adding internet service: "Icecast" [New Thread 0xad8ffb40 (LWP 3524)] 11:59:55.306 DEBUG InternetModel:94 Adding internet service: "Jamendo" 11:59:55.326 INFO Player:533 Registered URL handler for "lastfm" 11:59:55.327 DEBUG CoverProviders:34 Registered cover provider "last.fm" 11:59:55.327 DEBUG InternetModel:94 Adding internet service: "Last.fm" 11:59:55.327 INFO Player:533 Registered URL handler for "grooveshark" 11:59:55.327 INFO PlaylistManager:417 Registered special playlist type "grooveshark-search" [New Thread 0xaca15b40 (LWP 3525)] 11:59:55.332 DEBUG InternetModel:94 Adding internet service: "Grooveshark" [New Thread 0xac0ffb40 (LWP 3526)] 11:59:55.343 INFO Player:533 Registered URL handler for "magnatune" 11:59:55.343 DEBUG InternetModel:94 Adding internet service: "Magnatune" 11:59:55.348 DEBUG InternetModel:94 Adding internet service: "SavedRadio" 11:59:55.349 INFO Player:533 Registered URL handler for "sky" 11:59:55.349 DEBUG InternetModel:94 Adding internet service: "SKY.fm" 11:59:55.349 INFO Player:533 Registered URL handler for "somafm" 11:59:55.349 DEBUG InternetModel:94 Adding internet service: "SomaFM" [New Thread 0xab8feb40 (LWP 3527)] [New Thread 0xab0fdb40 (LWP 3530)] [New Thread 0xaa7a7b40 (LWP 3531)] 11:59:55.371 DEBUG QxtGlobalShortcutBackend:32 registering [New Thread 0xa9fa6b40 (LWP 3532)] 11:59:55.403 DEBUG MainWindow:208 Starting [New Thread 0xa97a5b40 (LWP 3533)] [New Thread 0xa8fa4b40 (LWP 3534)] [New Thread 0xa87a3b40 (LWP 3535)] 11:59:55.415 DEBUG CddaLister:103 No CD devices found [New Thread 0xa7fa2b40 (LWP 3536)] [New Thread 0xa77a1b40 (LWP 3537)] [New Thread 0xa6fa0b40 (LWP 3538)] [New Thread 0xa63f5b40 (LWP 3539)] [New Thread 0xa5bf4b40 (LWP 3540)] 11:59:55.533 DEBUG MainWindow:266 Initialising player 11:59:55.533 DEBUG MainWindow:272 Creating models 11:59:55.536 DEBUG MainWindow:295 Creating UI 11:59:55.560 DEBUG MainWindow:662 Creating equalizer 11:59:55.561 DEBUG MainWindow:677 Creating now playing widget [New Thread 0xa51ffb40 (LWP 3541)] [New Thread 0xa49feb40 (LWP 3542)] [New Thread 0xa41fdb40 (LWP 3543)] 11:59:55.609 DEBUG MainWindow:714 Loading settings 11:59:55.624 WARN unknown "sni-qt/3516" WARN 11:59:55.624 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
[New Thread 0xa39fcb40 (LWP 3544)] [New Thread 0x9bc7bb40 (LWP 3545)] 11:59:55.747 DEBUG MainWindow:760 Initialising library [New Thread 0x9b47ab40 (LWP 3546)] 11:59:55.751 DEBUG MainWindow:773 Started 11:59:55.795 DEBUG UbuntuUnityHack:74 Unity whitelist is "['JavaEmbeddedFrame', 'Wine', 'Update-notifier', 'clementine'] " 11:59:58.999 INFO Player:350 Track seeked to 0 ns - not scrobbling clementine: /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr::operator->() const [with T = PlaylistItem]: Assertion `px != 0' failed.

Program received signal SIGABRT, Aborted. 0xb7fdd424 in __kernel_vsyscall ()

Clementine-Issue-Importer commented 10 years ago

From davidsansome on July 10, 2012 02:27:10

You forgot the important part which was typing "backtrace" at the end :)

Clementine-Issue-Importer commented 10 years ago

From perepeli...@gmail.com on July 10, 2012 03:26:21

(gdb) backtrace

0 0xb7fdd424 in __kernel_vsyscall ()

1 0xb631c1ef in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64

2 0xb631f835 in __GI_abort () at abort.c:91

3 0xb6315095 in __assert_fail_base (fmt=0xb644e8b8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x84a2e62 "px != 0", file=0x84a1074 "/usr/include/boost/smart_ptr/shared_ptr.hpp", line=418,

function=0x84af960 "T\* boost::shared_ptr<T>::operator->() const [with T = PlaylistItem]") at assert.c:94

4 0xb6315147 in __GI___assert_fail (assertion=0x84a2e62 "px != 0", file=0x84a1074 "/usr/include/boost/smart_ptr/shared_ptr.hpp", line=418, function=0x84af960 "T* boost::shared_ptr::operator->() const [with T = PlaylistItem]")

at assert.c:103

5 0x0814e43f in ?? ()

6 0x0823ea0c in MainWindow::Seeked(long long) ()

7 0x082c53fd in ?? ()

8 0xb7cbd6b1 in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4

9 0x082bae57 in PlayerInterface::Seeked(long long) ()

10 0x08172e16 in Player::SeekTo(int) ()

11 0x0817305a in Player::SeekForward() ()

12 0x082bab38 in ?? ()

13 0xb7cbd6b1 in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4

14 0x08417047 in GlobalShortcuts::SeekForward() ()

15 0xb7cbd6b1 in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4

16 0xb708d9bd in QAction::triggered(bool) () from /usr/lib/i386-linux-gnu/libQtGui.so.4

17 0xb708dc5b in QAction::activate(QAction::ActionEvent) () from /usr/lib/i386-linux-gnu/libQtGui.so.4

18 0xb708dfb8 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4

19 0xb7cbd6b1 in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /usr/lib/i386-linux-gnu/libQtCore.so.4

20 0xb6620fa5 in QxtGlobalShortcut::activated() () from /usr/lib/libQxtGui.so.0

21 0xb6614df1 in QxtGlobalShortcutPrivate::activateShortcut(unsigned int, unsigned int) () from /usr/lib/libQxtGui.so.0

22 0xb6617195 in QxtGlobalShortcutPrivate::eventFilter(void_) () from /usr/lib/libQxtGui.so.0

23 0xb7c98a94 in QAbstractEventDispatcher::filterEvent(void_) () from /usr/lib/i386-linux-gnu/libQtCore.so.4

24 0xb714dde1 in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4

25 0xb685ed86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0

26 0xb685f125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0

27 0xb685f201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0

28 0xb7cd9887 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/i386-linux-gnu/libQtCore.so.4

29 0xb714daaa in ?? () from /usr/lib/i386-linux-gnu/libQtGui.so.4

30 0xb7ca550d in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/i386-linux-gnu/libQtCore.so.4

31 0xb7ca57a9 in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/i386-linux-gnu/libQtCore.so.4

32 0xb7caaeba in QCoreApplication::exec() () from /usr/lib/i386-linux-gnu/libQtCore.so.4

33 0xb7092a74 in QApplication::exec() () from /usr/lib/i386-linux-gnu/libQtGui.so.4

34 0x0814f813 in main ()

Clementine-Issue-Importer commented 10 years ago

From davidsansome on July 10, 2012 07:01:04

This issue was closed by revision 497928d6938d .

Status: Fixed