Closed Tomaqa closed 4 years ago
Hey, if I see correctly you tried clementine-qt5-git which is not latest on master.
I am quite sure that the issue persist on latest master version, but because a lot of changes on master and issues are out there, I am asking you gently to re-check on bleeding edge from builder instance (build from master on CircleCI) or rebuild with makepkg changing your AUR package git source in PKGBUILD.
If it still crashing please say it, or best - try to fix it, bc I see you are the Power User. : - )
Best regards J
P.S. nice Thesis :)
Unfortunately, I was able to reproduce the error on master too (1.3.1.r945.g440ac6dda-1), although with different backtrace:
#0 0x0000555556c036c0 in ()
#1 0x00007ffff77e3a2a in QMetaObject::cast(QObject const*) const () at /usr/lib/libQt5Core.so.5
#2 0x00007ffff596ee7a in () at /usr/lib/libQt5Widgets.so.5
#3 0x00007ffff597f369 in () at /usr/lib/libQt5Widgets.so.5
#4 0x00007ffff5a6ab12 in QMenuBar::eventFilter(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#5 0x00007ffff77daa23 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
at /usr/lib/libQt5Core.so.5
#6 0x00007ffff58d04d4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
at /usr/lib/libQt5Widgets.so.5
#7 0x00007ffff58d9e11 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#8 0x00007ffff77dad12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#9 0x00007ffff58d8a9a in () at /usr/lib/libQt5Widgets.so.5
#10 0x00007ffff592eece in () at /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff5933453 in () at /usr/lib/libQt5Widgets.so.5
#12 0x00007ffff58d04e5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
at /usr/lib/libQt5Widgets.so.5
#13 0x00007ffff58d9e11 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#14 0x00007ffff77dad12 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#15 0x00007ffff52a823c in QGuiApplicationPrivate::processEnterEvent(QWindowSystemInterfacePrivate::EnterEvent*) () at /usr/lib/libQt5Gui.so.5
#16 0x00007ffff52ad667 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#17 0x00007ffff5287b0c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#18 0x00007fffec8030ec in () at /usr/lib/libQt5XcbQpa.so.5
#19 0x00007ffff6b6939e in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#20 0x00007ffff6b6b1b1 in () at /usr/lib/libglib-2.0.so.0
#21 0x00007ffff6b6b1f1 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#22 0x00007ffff7832b13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#23 0x00007ffff77d983c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt5Core.so.5
#24 0x00007ffff77e1676 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#25 0x0000555555858772 in main(int, char**) (argc=<optimized out>, argv=<optimized out>)
at /usr/src/debug/Clementine/src/main.cpp:461
I was able to reproduce this.
A backtrace with qt debug symbols:
#0 0x0000000000000000 in ()
#1 0x00007ffff58e2fbe in QMetaObject::cast(QObject const*) const (this=this@entry=0x7ffff679b9c0 <QStyleSheetStyle::staticMetaObject>, obj=0x1e8ea00) at kernel/qmetaobject.cpp:381
#2 0x00007ffff58e2ff9 in QMetaObject::cast(QObject*) const (this=this@entry=0x7ffff679b9c0 <QStyleSheetStyle::staticMetaObject>, obj=<optimized out>) at kernel/qmetaobject.cpp:370
#3 0x00007ffff6332a48 in qobject_cast<QStyleSheetStyle*>(QObject*) (object=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:499
#4 qt_styleSheet(QStyle*) (style=<optimized out>) at styles/qstylesheetstyle_p.h:223
#5 QStyleSheetStyle::baseStyle() const (this=0x2b0f370) at styles/qstylesheetstyle.cpp:2763
#6 0x00007ffff6342ee9 in QStyleSheetStyle::baseStyle() const (this=0x2b0f370) at ../../include/QtCore/../../src/corelib/kernel/qvariant.h:392
#7 QStyleSheetStyle::styleHint(QStyle::StyleHint, QStyleOption const*, QWidget const*, QStyleHintReturn*) const (this=0x2b0f370, sh=QStyle::SH_MenuBar_AltKeyNavigation, opt=0x0, w=0x2785340, shret=<optimized out>)
at styles/qstylesheetstyle.cpp:5408
#8 0x00007ffff642ab81 in QMenuBar::eventFilter(QObject*, QEvent*) (this=0x2785340, object=0x7fffffffce70, event=0x3317ed0) at widgets/qmenubar.cpp:1550
#9 0x00007ffff58d9c3e in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1214
#10 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x7fffffffce70, event=event@entry=0x3317ed0) at kernel/qcoreapplication.cpp:1203
#11 0x00007ffff6296ac5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7fffffffce70, e=0x3317ed0) at kernel/qapplication.cpp:3694
#12 0x00007ffff62a0150 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3446
#13 0x00007ffff58d9df8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7fffffffce70, event=0x3317ed0) at kernel/qcoreapplication.cpp:1088
#14 0x00007ffff58dcd9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x1c692b0) at kernel/qcoreapplication.cpp:1825
#15 0x00007ffff592eff7 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x1df9120) at kernel/qeventdispatcher_glib.cpp:276
#16 0x00007ffff744d4a0 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#17 0x00007ffff744d830 in g_main_context_iterate.isra () at /usr/lib64/libglib-2.0.so.0
#18 0x00007ffff744d8d3 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#19 0x00007ffff592ed85 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1e4dda0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#20 0x00007ffff58d8cfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffcd70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#21 0x00007ffff58e0a26 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#22 0x0000000000a26356 in main ()
A backtrace with qt debug symbols:
#0 0x0000000000000000 in ()
#1 0x00007ffff58e2fbe in QMetaObject::cast(QObject const*) const (this=this@entry=0x7ffff679b9c0 <QStyleSheetStyle::staticMetaObject>, obj=0x1e8ea00) at kernel/qmetaobject.cpp:381
#2 0x00007ffff58e2ff9 in QMetaObject::cast(QObject*) const (this=this@entry=0x7ffff679b9c0 <QStyleSheetStyle::staticMetaObject>, obj=<optimized out>) at kernel/qmetaobject.cpp:370
#3 0x00007ffff6332a48 in qobject_cast<QStyleSheetStyle*>(QObject*) (object=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:499
#4 qt_styleSheet(QStyle*) (style=<optimized out>) at styles/qstylesheetstyle_p.h:223
#5 QStyleSheetStyle::baseStyle() const (this=0x2b0f370) at styles/qstylesheetstyle.cpp:2763
#6 0x00007ffff6342ee9 in QStyleSheetStyle::baseStyle() const (this=0x2b0f370) at ../../include/QtCore/../../src/corelib/kernel/qvariant.h:392
#7 QStyleSheetStyle::styleHint(QStyle::StyleHint, QStyleOption const*, QWidget const*, QStyleHintReturn*) const (this=0x2b0f370, sh=QStyle::SH_MenuBar_AltKeyNavigation, opt=0x0, w=0x2785340, shret=<optimized out>)
at styles/qstylesheetstyle.cpp:5408
#8 0x00007ffff642ab81 in QMenuBar::eventFilter(QObject*, QEvent*) (this=0x2785340, object=0x7fffffffce70, event=0x3317ed0) at widgets/qmenubar.cpp:1550
#9 0x00007ffff58d9c3e in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (event=<optimized out>, receiver=<optimized out>) at kernel/qcoreapplication.cpp:1214
#10 QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x7fffffffce70, event=event@entry=0x3317ed0) at kernel/qcoreapplication.cpp:1203
#11 0x00007ffff6296ac5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x7fffffffce70, e=0x3317ed0) at kernel/qapplication.cpp:3694
#12 0x00007ffff62a0150 in QApplication::notify(QObject*, QEvent*) () at kernel/qapplication.cpp:3446
#13 0x00007ffff58d9df8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x7fffffffce70, event=0x3317ed0) at kernel/qcoreapplication.cpp:1088
#14 0x00007ffff58dcd9b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=0x0, event_type=0, data=0x1c692b0) at kernel/qcoreapplication.cpp:1825
#15 0x00007ffff592eff7 in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x1df9120) at kernel/qeventdispatcher_glib.cpp:276
#16 0x00007ffff744d4a0 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#17 0x00007ffff744d830 in g_main_context_iterate.isra () at /usr/lib64/libglib-2.0.so.0
#18 0x00007ffff744d8d3 in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#19 0x00007ffff592ed85 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1e4dda0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#20 0x00007ffff58d8cfb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fffffffcd70, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#21 0x00007ffff58e0a26 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#22 0x0000000000a26356 in main ()
This is due to the misuse of QProxyStyle. When passed a base style, it takes ownership of the pointer. In our case, we're passing it a global resource in the PlaylistView constructor.
Please verify that this fix works for you. It appears that the same pattern is followed in MoodbarProxyStyle, but that object probably doesn't get destroyed.
Works for me now. Thank you very much!
Hi @jbroadus could you make codeblock or spoiler on your comment because it referencing to other issues false-positively. Thanks.
@JulianVolodia Done
Thank you @jbroadus . I try to review all 2k issues, starting from oldest one. From pain start to be fun...
System information
Please provide information about your system and the version of Clementine used.
Steps to reproduce the problem (only for bugs)
Edit any smart playlist and click on 'Cancel' rightaway. Then do it once again - crash.
Debug info
stderr:
backtrace: