Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on mounting device #1706

Open
Clementine-Issue-Importer opened this issue Dec 9, 2013 · 0 comments
Open

Crash on mounting device #1706

Clementine-Issue-Importer opened this issue Dec 9, 2013 · 0 comments

Comments

@Clementine-Issue-Importer

From rindertvonk on April 06, 2011 22:50:36

What steps will reproduce the problem? 1. Plug-in a device
2. Clementine will show it in the device section telling me to doubble click it to use it
3. Doubble clicking it and it crashes What is the expected output? What do you see instead? Mount the device and show its contents. Instead: it crashes What version of the product are you using? On what operating system? Using 0.7.1 on Arch Linux, from packages. Please provide any additional information below. When the device is already mounted to the system there are no problems using the device.

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

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on April 06, 2011 14:54:14

Can you try to get a stack trace? Run:

gdb clementine
run
(plug in the device to make it crash)
backtrace

Then paste the output here

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on April 09, 2011 10:34:28

Labels: Component-Devices

@Clementine-Issue-Importer
Copy link
Author

From rindertvonk on April 13, 2011 11:37:16

This is debug using QT 4.7.2

Program received signal SIGSEGV, Segmentation fault.
0x00000000006bd5bf in DeviceManager::data (this=0x127c440, index=, role=)
at /var/abs/local/clementine/src/clementine-0.7.1/src/devices/devicemanager.cpp:249
249 if (!info.BestBackend()->lister_) {
(gdb) backtrace
#0 0x00000000006bd5bf in DeviceManager::data (this=0x127c440, index=, role=)
at /var/abs/local/clementine/src/clementine-0.7.1/src/devices/devicemanager.cpp:249
#1 0x00007ffff72afdcb in QSortFilterProxyModel::data (this=, index=..., role=1) at itemviews/qsortfilterproxymodel.cpp:1715
#2 0x000000000069ddb6 in MergedProxyModel::data (this=, proxyIndex=, role=1)
at /var/abs/local/clementine/src/clementine-0.7.1/src/core/mergedproxymodel.cpp:343
#3 0x00007ffff72d571c in data (this=0x1100270, option=0x7fffffffbd40, index=...) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:398
#4 QStyledItemDelegate::initStyleOption (this=0x1100270, option=0x7fffffffbd40, index=...) at itemviews/qstyleditemdelegate.cpp:340
#5 0x00007ffff72d6950 in QStyledItemDelegate::sizeHint (this=0x1100270, option=..., index=...) at itemviews/qstyleditemdelegate.cpp:445
#6 0x00007ffff7266d6f in QTreeView::indexRowSizeHint (this=, index=...) at itemviews/qtreeview.cpp:2801
#7 0x00007ffff7267268 in QTreeViewPrivate::itemHeight (this=0x1252bc0, item=0) at itemviews/qtreeview.cpp:3229
#8 0x00007ffff7267565 in QTreeViewPrivate::updateScrollBars (this=0x1252bc0) at itemviews/qtreeview.cpp:3452
#9 0x00007ffff726792d in QTreeView::updateGeometries (this=0x10dc420) at itemviews/qtreeview.cpp:2686
#10 0x00007ffff721cba5 in QAbstractItemView::doItemsLayout (this=) at itemviews/qabstractitemview.cpp:1148
#11 0x00007ffff726c5cc in QTreeView::doItemsLayout (this=0x10dc420) at itemviews/qtreeview.cpp:2027
#12 0x00007ffff72675f4 in QTreeViewPrivate::updateScrollBars (this=0x1252bc0) at itemviews/qtreeview.cpp:3439
#13 0x00007ffff726f276 in QTreeView::scrollTo (this=0x10dc420, index=..., hint=QAbstractItemView::EnsureVisible) at itemviews/qtreeview.cpp:1088
#14 0x00007ffff722a8f2 in QAbstractItemView::currentChanged (this=0x10dc420, current=..., previous=)
at itemviews/qabstractitemview.cpp:3413
#15 0x00007ffff7262ca1 in QTreeView::currentChanged (this=0x10dc420, current=..., previous=...) at itemviews/qtreeview.cpp:3706
#16 0x00007ffff7225d43 in QAbstractItemView::qt_metacall (this=0x10dc420, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0x7fffffffc6e0)
at .moc/debug-shared/moc_qabstractitemview.cpp:238
#17 0x00007ffff726f765 in QTreeView::qt_metacall (this=0x10dc420, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0x7fffffffc6e0)
at .moc/debug-shared/moc_qtreeview.cpp:119
#18 0x00000000007a3380 in AutoExpandingTreeView::qt_metacall (this=0x10dc420, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0x7fffffffc6e0)
at /var/abs/local/clementine/src/clementine-0.7.1/src/widgets/moc_autoexpandingtreeview.cxx:83
#19 0x000000000079bb55 in DeviceView::qt_metacall (this=0x10dc420, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0x7fffffffc6e0)
at /var/abs/local/clementine/src/clementine-0.7.1/src/devices/moc_deviceview.cxx:85
#20 0x00007ffff5d8fd6f in QMetaObject::activate (sender=0x14f3e50, m=, local_signal_index=, argv=0x7fffffffc6e0)
at kernel/qobject.cpp:3278
#21 0x00007ffff727b96a in QItemSelectionModel::currentChanged (this=, _t1=, _t2=)
at .moc/debug-shared/moc_qitemselectionmodel.cpp:159
---Type to continue, or q to quit---
#22 0x00007ffff7282b57 in QItemSelectionModelPrivate::_q_rowsAboutToBeRemoved (this=0x14f3e70, parent=..., start=0, end=0)
at itemviews/qitemselectionmodel.cpp:630
#23 0x00007ffff728478e in QItemSelectionModel::qt_metacall (this=0x14f3e50, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0x7fffffffccd0)
at .moc/debug-shared/moc_qitemselectionmodel.cpp:136
#24 0x00007ffff5d8fd6f in QMetaObject::activate (sender=0x14f2990, m=, local_signal_index=, argv=0x7fffffffccd0)
at kernel/qobject.cpp:3278
#25 0x00007ffff5ddac34 in QAbstractItemModel::rowsAboutToBeRemoved (this=, _t1=, _t2=0, _t3=0)
at .moc/debug-shared/moc_qabstractitemmodel.cpp:188
#26 0x00007ffff5d6f56a in QAbstractItemModel::beginRemoveRows (this=0x14f2990, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2449
#27 0x000000000069d25e in MergedProxyModel::RowsAboutToBeRemoved (this=0x14f2990, source_parent=..., start=0, end=0)
at /var/abs/local/clementine/src/clementine-0.7.1/src/core/mergedproxymodel.cpp:216
#28 0x000000000079a93c in MergedProxyModel::qt_metacall (this=0x14f2990, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0x7fffffffcf00)
at /var/abs/local/clementine/src/clementine-0.7.1/src/core/moc_mergedproxymodel.cxx:98
#29 0x00007ffff5d8fd6f in QMetaObject::activate (sender=0x1418fe0, m=, local_signal_index=, argv=0x7fffffffcf00)
at kernel/qobject.cpp:3278
#30 0x00007ffff5ddac34 in QAbstractItemModel::rowsAboutToBeRemoved (this=, _t1=, _t2=0, _t3=0)
at .moc/debug-shared/moc_qabstractitemmodel.cpp:188
#31 0x00007ffff5d6f56a in QAbstractItemModel::beginRemoveRows (this=0x1418fe0, parent=..., first=0, last=0) at kernel/qabstractitemmodel.cpp:2449
#32 0x00007ffff72b24e9 in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0x14f2350, source_to_proxy=..., proxy_to_source=..., proxy_start=0,
proxy_end=0, proxy_parent=, orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:555
#33 0x00007ffff72b733b in QSortFilterProxyModelPrivate::remove_source_items (this=0x14f2350, source_to_proxy=..., proxy_to_source=...,
source_items=, source_parent=, orient=Qt::Vertical, emit_signal=true)
at itemviews/qsortfilterproxymodel.cpp:537
#34 0x00007ffff72b8e99 in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0x14f2350, source_parent=..., start=1, end=1,
orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:838
#35 0x00007ffff72b91b4 in QSortFilterProxyModel::qt_metacall (this=0x1418fe0, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fffffffd220)
at .moc/debug-shared/moc_qsortfilterproxymodel.cpp:136
#36 0x00007ffff5d8fd6f in QMetaObject::activate (sender=0x127c440, m=, local_signal_index=, argv=0x7fffffffd220)
at kernel/qo...

@Clementine-Issue-Importer
Copy link
Author

From rindertvonk on April 13, 2011 11:37:16

...bject.cpp:3278
#37 0x00007ffff5ddac34 in QAbstractItemModel::rowsAboutToBeRemoved (this=, _t1=, _t2=1, _t3=1)
at .moc/debug-shared/moc_qabstractitemmodel.cpp:188
---Type to continue, or q to quit---
#38 0x00007ffff5d6f56a in QAbstractItemModel::beginRemoveRows (this=0x127c440, parent=..., first=1, last=1) at kernel/qabstractitemmodel.cpp:2449
#39 0x00000000006bea0a in DeviceManager::PhysicalDeviceRemoved (this=0x127c440, id=)
at /var/abs/local/clementine/src/clementine-0.7.1/src/devices/devicemanager.cpp:477
#40 0x000000000079b891 in DeviceManager::qt_metacall (this=0x127c440, _c=QMetaObject::InvokeMetaMethod, _id=, _a=0x160b640)
at /var/abs/local/clementine/src/clementine-0.7.1/src/devices/moc_devicemanager.cxx:95
#41 0x00007ffff5d8f80a in QObject::event (this=0x127c440, e=) at kernel/qobject.cpp:1217
#42 0x00007ffff6cb2324 in QApplicationPrivate::notify_helper (this=0xfa8050, receiver=0x127c440, e=0x12f8660) at kernel/qapplication.cpp:4462
#43 0x00007ffff6cb7621 in QApplication::notify (this=, receiver=0x127c440, e=0x12f8660) at kernel/qapplication.cpp:4341
#44 0x00007ffff5d793db in QCoreApplication::notifyInternal (this=0x7fffffffe2e0, receiver=0x127c440, event=0x12f8660) at kernel/qcoreapplication.cpp:731
#45 0x00007ffff5d7d31e in sendEvent (receiver=0x0, event_type=0, data=0xf6e3b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xf6e3b0) at kernel/qcoreapplication.cpp:1372
#47 0x00007ffff5da7333 in sendPostedEvents (s=0xf6f920) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#48 postEventSourceDispatch (s=0xf6f920) at kernel/qeventdispatcher_glib.cpp:277
#49 0x00007ffff45a2bf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#50 0x00007ffff45a33d0 in ?? () from /usr/lib/libglib-2.0.so.0
#51 0x00007ffff45a366d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#52 0x00007ffff5da74cf in QEventDispatcherGlib::processEvents (this=0xf6f690, flags=) at kernel/qeventdispatcher_glib.cpp:422
#53 0x00007ffff6d6324e in QGuiEventDispatcherGlib::processEvents (this=, flags=)
at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007ffff5d77e82 in QEventLoop::processEvents (this=, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007ffff5d780c5 in QEventLoop::exec (this=0x7fffffffddb0, flags=...) at kernel/qeventloop.cpp:201
#56 0x00007ffff5d7d619 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#57 0x0000000000517396 in main (argc=1, argv=) at /var/abs/local/clementine/src/clementine-0.7.1/src/main.cpp:346

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on April 13, 2011 12:04:09

That's perfect, thanks!

Labels: Milestone-1.0

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on November 29, 2011 09:20:17

Labels: -Milestone-1.0

@Clementine-Issue-Importer
Copy link
Author

From trovich on May 19, 2012 23:25:41

I have the same problem in Ubuntu 12.04 32bit, here's the console output (maybe it'd help a bit):

09:03:05.486 DEBUG unknown Interface is not valid
09:03:05.486 ERROR unknown ASSERT failure in : "Got an update for an invalid inteface. Investigate this.", file atspiadaptor.cpp, line 899
Aborted (збережено знімок оперативної пам’яті)

@Clementine-Issue-Importer
Copy link
Author

From didier.corbiere on June 13, 2012 21:22:39

I have also the same problem in Ubuntu 12.04 64 bits:06:18:59.373 DEBUG unknown Interface is not valid
06:18:59.373 ERROR unknown ASSERT failure in : "Got an update for an invalid inteface. Investigate this.", file atspiadaptor.cpp, line 899
Abandon

@Clementine-Issue-Importer
Copy link
Author

From davidsansome on June 14, 2012 04:09:51

trovich, didier.corbiere: You're encountering a different bug in the qt-at-spi package
(see https://bugs.launchpad.net/ubuntu/+source/qtcreator/+bug/959722 ). You can work around it by removing qt-at-spi.

@Clementine-Issue-Importer
Copy link
Author

From didier.corbiere on June 14, 2012 05:18:51

Thank you very much David. That work around is fine for now:
sudo apt-get remove qt-at-spi

@Clementine-Issue-Importer
Copy link
Author

From trovich on June 14, 2012 05:22:07

Worked for me as well. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant