clementine-player / Clementine

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

iPod problems (iPod not recognized and crashes) with svn Clementine #1267

Open Clementine-Issue-Importer opened 10 years ago

Clementine-Issue-Importer commented 10 years ago

From sivakailaasa on January 09, 2011 19:24:46

What steps will reproduce the problem? 1. Plug in a new iPod (or one you forced Clementine to "forget");

  1. Launch Clementine and go to the "Devices" tab;
  2. Double click the iPod icon to mount it, once more to open it;
  3. Clementine needs to scan the device, which it does correctly;
  4. Try to copy some tracks to the device: the iPod is now treated like it was a mass storage device (see issues 1025, 1206 and 1217);
  5. Eject the device;
  6. Plug in the iPod (now Clementine knows it) and double click on its icon to mount it: Clementine crashes with this message: virtual FilesystemDevice::~FilesystemDevice() Error getting filesystem info: No such file or directory Device removed: "Gio//msdos/7955066880" GLOG g_object_run_dispose: assertion G_IS_OBJECT (object)' failed GLOG g_object_unref: assertionG_IS_OBJECT (object)' failed Device added: "Gio/unmounted/152703456" Device removed: "Gio/unmounted/152703456" Segmentation fault
  7. Launch Clementine again: the iPod is mounted and Clementine has access to its music (but it still treats it like a mass storage device if one wants to copy music on it);
  8. Eject the iPod: Clementine crashes with this message (got it by launching Clementine over a terminal): Device added: "Gio//msdos/7955066880" Connecting QUrl( "file:///media/IPODSILVER" )
    ConnectedDevice::ConnectedDevice(const QUrl&, DeviceLister
    , const QString&, DeviceManager_, int, bool) virtual FilesystemDevice::~FilesystemDevice() Error getting filesystem info: No such file or directory Device removed: "Gio//msdos/7955066880" GLOG g_object_run_dispose: assertion G_IS_OBJECT (object)' failed GLOG g_object_unref: assertionG_IS_OBJECT (object)' failed Device added: "Gio/unmounted/158404064" Device removed: "Gio/unmounted/158404064" Device added: "Gio//msdos/7955066880" Connecting QUrl( "file:///media/IPODSILVER" )
    ConnectedDevice::ConnectedDevice(const QUrl&, DeviceLister
    , const QString&, DeviceManager_, int, bool) virtual FilesystemDevice::~FilesystemDevice() Device removed: "Gio//msdos/7955066880" GLOG g_object_ref: assertion G_IS_OBJECT (object)' failed GLOG g_object_unref: assertionG_IS_OBJECT (object)' failed GLOG invalid uninstantiatable type (null)' in cast toGObject' GLOG g_object_ref: assertion G_IS_OBJECT (object)' failed GLOG invalid uninstantiatable type(null)' in cast to GObject' GLOG g_object_ref: assertionG_IS_OBJECT (object)' failed GLOG g_object_ref: assertion G_IS_OBJECT (object)' failed GLOG g_object_unref: assertionG_IS_OBJECT (object)' failed GLOG invalid (NULL) pointer instance GLOG g_signal_emit_by_name: assertion G_TYPE_CHECK_INSTANCE (instance)' failed GLOG g_object_unref: assertionG_IS_OBJECT (object)' failed Segmentation fault

This only happens with the latest versions of Clementine. The stable 0.6 version for Ubuntu works perfectly. For instance, when I connect my iPod to Clementine 0.6, I get the expected Connecting QUrl( "ipod:/media/IPOD_SILVER" ) instead of QUrl( "file:///media/IPOD_SILVER" ) which I get with svn clementine.

As stated, it's an svn Clementine; I compiled it from sources. It's the same issue with the Ubuntu PPA package for clementine-dev.

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

Clementine-Issue-Importer commented 10 years ago

From davidsansome on January 09, 2011 10:31:07

Can you try getting a backtrace? gdb clementine run (wait for it to crash) bt

Clementine-Issue-Importer commented 10 years ago

From sivakailaasa on January 09, 2011 11:23:44

Here you are:

  1. Mounting the iPod

Starting program: /usr/bin/clementine_svn [Thread debugging using libthread_db enabled] Clementine(23116)/ KSharedDataCache::Private::mapSharedMemory: Opening cache "/var/tmp/kdecache-siva/icon-cache.kcache" page size is 4096 Clementine(23116)/ KSharedDataCache::Private::mapSharedMemory: Attached to cache, determining if it must be initialized Clementine(23116)/ KSharedDataCache::Private::mapSharedMemory: Cache fully initialized -- attached to memory mapping Clementine(23116)/ KSharedDataCache::Private::mapSharedMemory: 5836800 bytes available out of 10485760 Couldn't load icon "clementine-panel" Couldn't load icon "clementine-panel-grey" [New Thread 0xb5ee0b70 (LWP 23119)] virtual bool QxtGlobalShortcutBackend::DoRegister() [New Thread 0xb55a9b70 (LWP 23121)] [New Thread 0xb4bffb70 (LWP 23122)] [New Thread 0xb43feb70 (LWP 23123)] [Thread 0xb43feb70 (LWP 23123) exited] [New Thread 0xb43feb70 (LWP 23124)] [New Thread 0xb3bfdb70 (LWP 23125)] [New Thread 0xb33fcb70 (LWP 23126)] [New Thread 0xb2bfbb70 (LWP 23127)] [New Thread 0xb23fab70 (LWP 23128)] [New Thread 0xb1bf9b70 (LWP 23129)] [New Thread 0xafbeab70 (LWP 23130)] [New Thread 0xaf3e9b70 (LWP 23131)] Device added: "Gio/unmounted/149340192" Device removed: "Gio/unmounted/149340192"

Program received signal SIGSEGV, Segmentation fault. 0x082ef8a4 in DeviceManager::data(QModelIndex const&, int) const ()

  1. Unmounting and ejecting the iPod: Starting program: /usr/bin/clementine_svn [Thread debugging using libthread_db enabled] Clementine(23146)/ KSharedDataCache::Private::mapSharedMemory: Opening cache "/var/tmp/kdecache-siva/icon-cache.kcache" page size is 4096 Clementine(23146)/ KSharedDataCache::Private::mapSharedMemory: Attached to cache, determining if it must be initialized Clementine(23146)/ KSharedDataCache::Private::mapSharedMemory: Cache fully initialized -- attached to memory mapping Clementine(23146)/ KSharedDataCache::Private::mapSharedMemory: 5836800 bytes available out of 10485760 Couldn't load icon "clementine-panel" Couldn't load icon "clementine-panel-grey" [New Thread 0xb5ee0b70 (LWP 23149)] virtual bool QxtGlobalShortcutBackend::DoRegister() [New Thread 0xb55a9b70 (LWP 23150)] [New Thread 0xb4bffb70 (LWP 23151)] [New Thread 0xb43feb70 (LWP 23152)] [Thread 0xb43feb70 (LWP 23152) exited] [New Thread 0xb43feb70 (LWP 23153)] [New Thread 0xb3bfdb70 (LWP 23154)] [New Thread 0xb33fcb70 (LWP 23155)] [New Thread 0xb2bfbb70 (LWP 23156)] [New Thread 0xb23fab70 (LWP 23157)] [New Thread 0xb1bf9b70 (LWP 23158)] [New Thread 0xaf9ffb70 (LWP 23159)] [New Thread 0xaf1feb70 (LWP 23160)] Device added: "Gio//msdos/7955066880" Connecting QUrl( "file:///media/IPODSILVER" )
    ConnectedDevice::ConnectedDevice(const QUrl&, DeviceLister
    , const QString&, DeviceManager_, int, bool) [New Thread 0xad1b9b70 (LWP 23162)] virtual FilesystemDevice::~FilesystemDevice() [Thread 0xad1b9b70 (LWP 23162) exited] Impossible d'obtenir les informations du système de fichiers : Aucun fichier ou dossier de ce type Device removed: "Gio//msdos/7955066880" GLOG g_object_ref: assertion G_IS_OBJECT (object)' failed GLOG g_object_unref: assertionG_IS_OBJECT (object)' failed GLOG invalid uninstantiatable type (null)' in cast toGObject' GLOG g_object_ref: assertion G_IS_OBJECT (object)' failed GLOG invalid uninstantiatable type(null)' in cast to GObject' GLOG g_object_ref: assertionG_IS_OBJECT (object)' failed GLOG g_object_ref: assertion G_IS_OBJECT (object)' failed GLOG g_object_unref: assertionG_IS_OBJECT (object)' failed GLOG invalid (NULL) pointer instance GLOG g_signal_emit_by_name: assertion G_TYPE_CHECK_INSTANCE (instance)' failed GLOG g_object_unref: assertionG_IS_OBJECT (object)' failed

Program received signal SIGSEGV, Segmentation fault. 0x006db6dc in ?? () from /usr/lib/libgobject-2.0.so.0

Clementine-Issue-Importer commented 10 years ago

From sivakailaasa on January 09, 2011 11:25:27

Sorry, I forgot to set an English locale. "Impossible d'obtenir les informations du système de fichiers : Aucun fichier ou dossier de ce type" is a poorly coded translation for "Error getting filesystem info: No such file or directory".

Clementine-Issue-Importer commented 10 years ago

From davidsansome on January 09, 2011 12:16:59

There's no backtrace there, make sure you type "bt" after it crashes.

Clementine-Issue-Importer commented 10 years ago

From sivakailaasa on January 09, 2011 13:17:53

OK. I had not seen the "bt" part...

0 0x082ef8a4 in DeviceManager::data(QModelIndex const&, int) const ()

1 0x0274fb08 in QSortFilterProxyModel::data(QModelIndex const&, int) const () from /usr/lib/libQtGui.so.4

2 0x0842a000 in MergedProxyModel::data(QModelIndex const&, int) const ()

3 0x02778682 in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem_, QModelIndex const&) const () from /usr/lib/libQtGui.so.4

4 0x02779c3b in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/libQtGui.so.4

5 0x02705d33 in QTreeView::indexRowSizeHint(QModelIndex const&) const () from /usr/lib/libQtGui.so.4

6 0x0270616b in ?? () from /usr/lib/libQtGui.so.4

7 0x02706450 in ?? () from /usr/lib/libQtGui.so.4

8 0x02706775 in QTreeView::updateGeometries() () from /usr/lib/libQtGui.so.4

9 0x026b6583 in QAbstractItemView::doItemsLayout() () from /usr/lib/libQtGui.so.4

10 0x02709f14 in QTreeView::doItemsLayout() () from /usr/lib/libQtGui.so.4

11 0x02706520 in ?? () from /usr/lib/libQtGui.so.4

12 0x0270dc30 in QTreeView::scrollTo(QModelIndex const&, QAbstractItemView::ScrollHint) () from /usr/lib/libQtGui.so.4

13 0x026be647 in QAbstractItemView::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4

14 0x026ff460 in QTreeView::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4

15 0x026c0b94 in QAbstractItemView::qt_metacall(QMetaObject::Call, int, void__) () from /usr/lib/libQtGui.so.4

16 0x0270e5ea in QTreeView::qt_metacall(QMetaObject::Call, int, void__) () from /usr/lib/libQtGui.so.4

17 0x084232fc in AutoExpandingTreeView::qt_metacall(QMetaObject::Call, int, void__) ()

18 0x08418644 in DeviceView::qt_metacall(QMetaObject::Call, int, void__) ()

19 0x032498ca in QMetaObject::metacall(QObject_, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4

20 0x0325c6ad in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /usr/lib/libQtCore.so.4

21 0x02717319 in QItemSelectionModel::currentChanged(QModelIndex const&, QModelIndex const&) () from /usr/lib/libQtGui.so.4

22 0x02720c79 in ?? () from /usr/lib/libQtGui.so.4

23 0x0272139a in QItemSelectionModel::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtGui.so.4

24 0x032498ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4

25 0x0325c6ad in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /usr/lib/libQtCore.so.4

26 0x032ad35f in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4

27 0x0323b605 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4

28 0x08429276 in MergedProxyModel::RowsAboutToBeRemoved(QModelIndex const&, int, int) ()

29 0x08480a64 in MergedProxyModel::qt_metacall(QMetaObject::Call, int, void**) ()

30 0x032498ca in QMetaObject::metacall(QObject_, QMetaObject::Call, int, void__) () from /usr/lib/libQtCore.so.4

31 0x0325c6ad in QMetaObject::activate(QObject, QMetaObject const, int, void__) () from /usr/lib/libQtCore.so.4

32 0x032ad35f in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4

33 0x0323b605 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4

34 0x02752c1d in ?? () from /usr/lib/libQtGui.so.4

35 0x027571f8 in ?? () from /usr/lib/libQtGui.so.4

36 0x02759148 in ?? () from /usr/lib/libQtGui.so.4

37 0x02759233 in ?? () from /usr/lib/libQtGui.so.4

38 0x027594df in QSortFilterProxyModel::qt_metacall(QMetaObject::Call, int, void__) () from /usr/lib/libQtGui.so.4

39 0x032498ca in QMetaObject::metacall(QObject_, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4

40 0x0325c6ad in QMetaObject::activate(QObject, QMetaObject const, int, void**) () from /usr/lib/libQtCore.so.4

41 0x032ad35f in QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4

42 0x0323b605 in QAbstractItemModel::beginRemoveRows(QModelIndex const&, int, int) () from /usr/lib/libQtCore.so.4

43 0x082f10e2 in DeviceManager::PhysicalDeviceRemoved(QString const&) ()

44 0x08418231 in DeviceManager::qt_metacall(QMetaObject::Call, int, void**) ()

45 0x032498ca in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4

46 0x03254df6 in QMetaCallEvent::placeMetaCall(QObject_) () from /usr/lib/libQtCore.so.4

47 0x032566a2 in QObject::event(QEvent_) () from /usr/lib/libQtCore.so.4

48 0x020ecfdc in QApplicationPrivate::notifyhelper(QObject, QEvent_) () from /usr/lib/libQtGui.so.4

49 0x020f304e in QApplication::notify(QObject, QEvent) () from /usr/lib/libQtGui.so.4

50 0x03243b3b in QCoreApplication::notifyInternal(QObject, QEvent) () from /usr/lib/libQtCore.so.4

51 0x03246d8b in QCoreApplicationPrivate::sendPostedEvents(QObject, int, QThreadData) () from /usr/lib/libQtCore.so.4

52 0x03246f4d in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4

53 0x03272a74 in ?? () from /usr/lib/libQtCore.so.4

54 0x00742855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0

55 0x00746668 in ?? () from /lib/libglib-2.0.so.0

56 0x00746848 in g_main_context_iteration () from /lib/libglib-2.0.so.0

57 0x03272565 in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4

58 0x021aebe5 in ?? () from /usr/lib/libQtGui.so.4

59 0x03242609 in QEventLoop::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4

60 0x03242a8a in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () from /usr/lib/libQtCore.so.4

61 0x0324700f in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4

62 0x020ebe07 in QApplication::exec() () from /usr/lib/libQtGui.so.4

63 0x081fbd68 in main ()

Clementine-Issue-Importer commented 10 years ago

From davidsansome on April 09, 2011 10:33:58

Labels: Component-Devices

Clementine-Issue-Importer commented 10 years ago

From davidsansome on April 09, 2011 11:05:31

Labels: Milestone-1.0

Clementine-Issue-Importer commented 10 years ago

From davidsansome on November 12, 2011 18:01:53

Labels: -Milestone-1.0

Clementine-Issue-Importer commented 10 years ago

From elAndroid123 on February 24, 2012 13:43:57

can you still reproduce that with 1.0.x builds?