View previous topic :: View next topic |
Author |
Message |
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1510
|
Posted: Sun Oct 14, 2018 9:29 am Post subject: clementine crashes after update |
|
|
I'm using clementine to play some files which were working fine before an update to the world.
clementine has been updated from:
clementine-1.2.3
to
clementine-1.3.1_p20180416
now clementine crashes with a segfault whenever I try to play a file
I ran gdb and got the following backtrace:
Code: | (gdb) backtrace
#0 0x00007ffff379b083 in QPixmap::detach() () from /usr/lib64/libQt5Gui.so.5
#1 0x00007ffff39196e8 in QPainter::begin(QPaintDevice*) () from /usr/lib64/libQt5Gui.so.5
#2 0x00005555559ae169 in SystemTrayIcon::CreateIcon(QPixmap const&, QPixmap const&) ()
#3 0x0000555555b7fe4f in QtSystemTrayIcon::UpdateIcon() ()
#4 0x000055555598620b in MainWindow::SongChanged(Song const&) ()
#5 0x0000555555a1f7dc in ?? ()
#6 0x00007ffff6bb5799 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#7 0x0000555555a0d815 in PlaylistManagerInterface::CurrentSongChanged(Song const&) ()
#8 0x0000555555a0e179 in ?? ()
#9 0x00007ffff6bb5799 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#10 0x0000555555a0b465 in Playlist::CurrentSongChanged(Song const&) ()
#11 0x00005555558de40e in Playlist::InformOfCurrentSongChange() ()
#12 0x00005555558e6998 in Playlist::set_current_row(int, bool) ()
#13 0x00005555557d87e4 in Player::PlayAt(int, QFlags<Engine::TrackChangeType>, bool) ()
#14 0x000055555598a989 in MainWindow::PlaylistDoubleClick(QModelIndex const&) ()
#15 0x0000555555a1f7c4 in ?? ()
#16 0x00007ffff6bb5799 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#17 0x00007ffff4076495 in QAbstractItemView::doubleClicked(QModelIndex const&) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007ffff40ea3f8 in QTreeView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007ffff3e758d7 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007ffff3f13ece in QFrame::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007ffff4083063 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007ffff40ec48c in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007ffff6b8c9c2 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#24 0x00007ffff3e35c65 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007ffff3e3e357 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#26 0x00007ffff6b8cbda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#27 0x00007ffff3e3ca7d in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQt5Widgets.so.5
#28 0x00007ffff3e8f006 in ?? () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007ffff3e91963 in ?? () from /usr/lib64/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#30 0x00007ffff3e35c8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#31 0x00007ffff3e3d519 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#32 0x00007ffff6b8cbda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#33 0x00007ffff3739faf in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
from /usr/lib64/libQt5Gui.so.5
#34 0x00007ffff373be25 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
from /usr/lib64/libQt5Gui.so.5
#35 0x00007ffff37182ab in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Gui.so.5
#36 0x00007fffe9180790 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#37 0x00007ffff6216517 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#38 0x00007ffff6216780 in ?? () from /usr/lib64/libglib-2.0.so.0
#39 0x00007ffff621682c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#40 0x00007ffff6bdd3af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#41 0x00007ffff6b8b8fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#42 0x00007ffff6b93ec4 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#43 0x00005555557af5f3 in main () |
I have no idea how to move forward in this issue. |
|
Back to top |
|
|
mir3x Guru
Joined: 02 Jun 2012 Posts: 455
|
Posted: Mon Oct 15, 2018 12:36 pm Post subject: |
|
|
Im not using Clementine but:
- it looks like it crashed while painting tray icon - do u have tray at all ? - mb it crashes when it tries to paint in tray but it doesnt exist. Maybe try changing tray setting in clementine options ?
- u can switch threads in gdb, AFAIR typing 'thread 2' or 'thread X', so it actually could fail in another tread, not this one shown
- updating/downgrading qt libs sometimes could help. _________________ Sent from Windows |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1510
|
Posted: Mon Oct 15, 2018 3:40 pm Post subject: |
|
|
I have disabled the tray icon completely and it still crashes
The tread info is very useful, segfault is in thread 1, bt:
Code: | #0 0x00007ffff379b083 in QPixmap::detach() () from /usr/lib64/libQt5Gui.so.5
#1 0x00007ffff39196e8 in QPainter::begin(QPaintDevice*) () from /usr/lib64/libQt5Gui.so.5
#2 0x00005555559ae169 in SystemTrayIcon::CreateIcon(QPixmap const&, QPixmap const&) ()
#3 0x0000555555b7fe4f in QtSystemTrayIcon::UpdateIcon() ()
#4 0x000055555598620b in MainWindow::SongChanged(Song const&) ()
#5 0x0000555555a1f7dc in ?? ()
#6 0x00007ffff6bb5799 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#7 0x0000555555a0d815 in PlaylistManagerInterface::CurrentSongChanged(Song const&) ()
#8 0x0000555555a0e179 in ?? ()
#9 0x00007ffff6bb5799 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#10 0x0000555555a0b465 in Playlist::CurrentSongChanged(Song const&) ()
#11 0x00005555558de40e in Playlist::InformOfCurrentSongChange() ()
#12 0x00005555558e6998 in Playlist::set_current_row(int, bool) ()
#13 0x00005555557d87e4 in Player::PlayAt(int, QFlags<Engine::TrackChangeType>, bool) ()
#14 0x00005555557d3e94 in Player::PlayPause() ()
#15 0x000055555598a4ba in MainWindow::CommandlineOptionsReceived(CommandlineOptions const&) ()
#16 0x000055555598a7db in MainWindow::CommandlineOptionsReceived(QString const&) ()
#17 0x0000555555a1f953 in ?? ()
#18 0x00007ffff6bb5799 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#19 0x0000555555c77962 in QtSingleApplication::messageReceived(QString const&) ()
#20 0x00007ffff6bb5799 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#21 0x0000555555c797b2 in QtLocalPeer::messageReceived(QString const&) ()
#22 0x0000555555c786a3 in QtLocalPeer::receiveConnection() ()
#23 0x00007ffff6bb5799 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#24 0x00007ffff715804f in ?? () from /usr/lib64/libQt5Network.so.5
#25 0x00007ffff6bb5799 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#26 0x00007ffff6bc1898 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#27 0x00007ffff6bc1c62 in QSocketNotifier::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#28 0x00007ffff3e35c8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007ffff3e3d519 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#30 0x00007ffff6b8cbda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#31 0x00007ffff6bddd2f in ?? () from /usr/lib64/libQt5Core.so.5
#32 0x00007ffff6216517 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007ffff6216780 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007ffff621682c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007ffff6bdd3af in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#36 0x00007ffff6b8b8fa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#37 0x00007ffff6b93ec4 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#38 0x00005555557af5f3 in main () |
I'm still unable to determine the cause of this segfault. |
|
Back to top |
|
|
mir3x Guru
Joined: 02 Jun 2012 Posts: 455
|
Posted: Mon Oct 15, 2018 4:42 pm Post subject: |
|
|
I tried 1.3.1_p20180523 then I noticed that u have 1.3.1_p20180416 and tried it too, both worked.
It crashes exaclty here in src/ui/systemtrayicon.cpp :
Code: | QPixmap SystemTrayIcon::CreateIcon(const QPixmap& icon,
const QPixmap& grey_icon) {
....
QPixmap ret(icon);
QPainter p(&ret);
....
p.end();
return ret;
}
|
They are returning QPixmap - but it was allocated on stack so maybe qt tries to make copy first, then 'detach'("deletes" one of copies) when function ends, somethign goes wrong
In fact I think you should recompile qtcore, qtlibs, qtgui and then clementine and it might work
EIDT: afair detach doesnt delete one of copies but detaches from shared memory.. _________________ Sent from Windows |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1510
|
Posted: Tue Oct 16, 2018 2:55 pm Post subject: |
|
|
I've recompiled the libraries and clementine, still crashes |
|
Back to top |
|
|
mir3x Guru
Joined: 02 Jun 2012 Posts: 455
|
Posted: Wed Oct 17, 2018 10:15 am Post subject: |
|
|
OK, I prepared u small patch - it disables tray updates - but tray will be visible
( Clementine code looks correct, but qt optimizes pixmaps hard and tries not copy them, in your case some cpu optimizations make it crash ? ) - if it doesnt work after patching then whole backtrace is incorrect.)
make dir /etc/portage/patches/media-sound/clementine-1.3.1_p20180416/
copy that code to that dir and name xxx.patch:
Code: | diff --git a/src/ui/qtsystemtrayicon.cpp b/src/ui/qtsystemtrayicon.cpp
index 2fb1e57..f6a0ccf 100644
--- a/src/ui/qtsystemtrayicon.cpp
+++ b/src/ui/qtsystemtrayicon.cpp
@@ -164,7 +164,7 @@ void QtSystemTrayIcon::ShowPopup(const QString& summary, const QString& message,
}
void QtSystemTrayIcon::UpdateIcon() {
- tray_->setIcon(CreateIcon(orange_icon_, grey_icon_));
+ //tray_->setIcon(CreateIcon(orange_icon_, grey_icon_));
}
void QtSystemTrayIcon::SetPaused() {
|
then emerge clementine and check if u see :
* Applying xxx.patch ... [ ok ]
* User patches applied.
If u see nothing except emerging - disable quiet-build ( not sure how to make from emerge - u can just comment it/delete in make.conf)
If patch works I can prepare some smarter one which doesnt disable tray icon changes. _________________ Sent from Windows |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8933
|
Posted: Wed Oct 17, 2018 3:11 pm Post subject: |
|
|
You should really check out upstream git master (or rather qt5) first, if they have a similar fix already (you won't be overwhelmed by the commit count since last snapshot). If not, this could make a valuable contribution. Even if upstream is rather silent, they still merge PRs. |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1510
|
Posted: Sat Oct 20, 2018 7:09 pm Post subject: |
|
|
I tried emerging with the patch and the emerge failed while applying the patch:
https://pastebin.com/KKDaBVPv |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30837 Location: here
|
Posted: Sat Oct 20, 2018 7:36 pm Post subject: |
|
|
Forums isn't patch frendly, try with this _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1510
|
Posted: Sun Oct 21, 2018 9:23 am Post subject: |
|
|
is this right?
I see unclosed parentheses |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30837 Location: here
|
Posted: Sun Oct 21, 2018 11:03 am Post subject: |
|
|
Adel Ahmed wrote: | is this right?
I see unclosed parentheses |
It's a patch you see only a chunk of code, the important lines begin with '-' or '+' _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1510
|
Posted: Sun Oct 21, 2018 12:02 pm Post subject: |
|
|
AH OK
I downloaded the patch into the same directory, emerged, the patch was applied and the application still crashes with the same backtrace |
|
Back to top |
|
|
asturm Developer
Joined: 05 Apr 2007 Posts: 8933
|
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1510
|
Posted: Mon Oct 22, 2018 10:59 am Post subject: |
|
|
I emerged media-sound/clementine-1.3.1_p20180523 and no dice
How do I use that commit? I'm not familiar with git. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30837 Location: here
|
Posted: Mon Oct 22, 2018 11:39 am Post subject: |
|
|
Adel Ahmed wrote: | I emerged media-sound/clementine-1.3.1_p20180523 and no dice
How do I use that commit? I'm not familiar with git. |
Add .patch to end of url and use as patch _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1510
|
Posted: Mon Oct 22, 2018 12:07 pm Post subject: |
|
|
I removed the first few lines:
Code: | From 25ef0ff2117bd694f3ef19bf70a4e70421ce34f6 Mon Sep 17 00:00:00 2001
From: Jonas Kvinge <jonas@jkvinge.net>
Date: Mon, 1 Oct 2018 10:40:31 +0200
Subject: [PATCH] Only use system tray if it's available on the system (#6154)
---
src/ui/mainwindow.cpp | 91 ++++++++++++++++++++++-----------------
src/ui/systemtrayicon.cpp | 8 +++-
src/widgets/osd.cpp | 6 +--
3 files changed, 61 insertions(+), 44 deletions(-)
|
It fails when I remove them and when I don't |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30837 Location: here
|
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1510
|
Posted: Mon Oct 22, 2018 1:01 pm Post subject: |
|
|
I appreciate your help.
I downloaded the patch, emerged and double checked the patch was applied.
Clementine l with the same error |
|
Back to top |
|
|
mir3x Guru
Joined: 02 Jun 2012 Posts: 455
|
Posted: Mon Oct 22, 2018 6:20 pm Post subject: |
|
|
The patch I shown you - you cannot have the backtrace you showed. UpdateIcon never calls CreateIcon after patch. Either you didnt applied the patch or you generate backtrace from old core. _________________ Sent from Windows |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1510
|
Posted: Tue Oct 23, 2018 9:08 am Post subject: |
|
|
from the emerge log:
Code: | * Applying clementine-1.3.1_p20180416-systray.patch ...
[ ok ]
g50-80 clementine-1.3.1_p20180416 # ls /etc/portage/patches/media-sound/clementine-1.3.1_p20180416/
clementine-1.3.1_p20180416-systray.patch
adel@g50-80 ~/Desktop $ gdb clementine
GNU gdb (Gentoo 8.1 p1) 8.1
Copyright (C) 2018 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 "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from clementine...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/clementine
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe6dc1700 (LWP 21209)]
[New Thread 0x7fffe5d8f700 (LWP 21210)]
[New Thread 0x7fffe558e700 (LWP 21211)]
[New Thread 0x7fffe4b7d700 (LWP 21212)]
[New Thread 0x7fffd7fff700 (LWP 21213)]
[New Thread 0x7fffd75e5700 (LWP 21214)]
__logging_message__11:06:22.353 WARN unknown QPixmap::scaled: Pixmap is a null pixmap
[New Thread 0x7fffd6de4700 (LWP 21215)]
[New Thread 0x7fffd65e3700 (LWP 21216)]
[New Thread 0x7fffd5de2700 (LWP 21221)]
11:06:22.410 WARN OSD:89 Error connecting to notifications service.
__logging_message__11:06:22.411 WARN unknown QPixmap::scaled: Pixmap is a null pixmap
__logging_message__11:06:22.412 WARN unknown QPixmap::scaled: Pixmap is a null pixmap
__logging_message__11:06:22.503 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.503 WARN unknown QPainter::setRenderHint: Painter must be active to set rendering hints
__logging_message__11:06:22.503 WARN unknown QPainter::setRenderHint: Painter must be active to set rendering hints
__logging_message__11:06:22.503 WARN unknown QPainter::setCompositionMode: Painter not active
__logging_message__11:06:22.503 WARN unknown QPainter::setCompositionMode: Painter not active
__logging_message__11:06:22.503 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.503 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.503 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.504 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.504 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.504 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.504 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.504 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.504 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.504 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.504 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.504 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.504 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.504 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.504 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.504 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.504 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.504 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.504 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.504 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.504 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.504 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.504 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.505 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.505 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.505 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.505 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.505 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.505 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.505 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.505 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.505 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.505 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.505 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.505 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.505 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.505 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.505 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.505 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.505 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.505 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.505 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.505 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.505 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.506 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.506 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.506 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.506 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.506 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.506 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.506 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.506 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.506 WARN unknown QPainter::setOpacity: Painter not active
__logging_message__11:06:22.506 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.506 WARN unknown QPainter::begin: Paint device returned engine == 0, type: 3
__logging_message__11:06:22.506 WARN unknown QPainter::setCompositionMode: Painter not active
__logging_message__11:06:22.506 WARN unknown QPainter::end: Painter not active, aborted
__logging_message__11:06:22.577 WARN unknown QPixmap::scaled: Pixmap is a null pixmap
__logging_message__11:06:22.581 WARN unknown QPixmap::scaled: Pixmap is a null pixmap
__logging_message__11:06:22.596 WARN unknown QPixmap::scaled: Pixmap is a null pixmap
[New Thread 0x7fffd5534700 (LWP 21226)]
[New Thread 0x7fffd4d33700 (LWP 21227)]
[New Thread 0x7fffa3fff700 (LWP 21228)]
[New Thread 0x7fffa37fe700 (LWP 21229)]
__logging_message__11:06:22.678 WARN unknown QObject::connect: No such signal Core::Internal::FancyTabWidget::CurrentChanged(int)
__logging_message__11:06:22.678 WARN unknown QObject::connect: (sender name: 'tabs')
__logging_message__11:06:22.678 WARN unknown QObject::connect: (receiver name: 'MainWindow')
[New Thread 0x7fffa1d1e700 (LWP 21230)]
11:06:22.914 WARN IconLoader:48 Icon name is null
[New Thread 0x7fffa1311700 (LWP 21231)]
[New Thread 0x7fffa0b10700 (LWP 21232)]
[Thread 0x7fffa1311700 (LWP 21231) exited]
Thread 1 "clementine" received signal SIGSEGV, Segmentation fault.
0x00007ffff37a1de6 in QPixmap::detach() () from /usr/lib64/libQt5Gui.so.5
(gdb) bt
#0 0x00007ffff37a1de6 in QPixmap::detach() () from /usr/lib64/libQt5Gui.so.5
#1 0x00007ffff39241f0 in QPainter::begin(QPaintDevice*) () from /usr/lib64/libQt5Gui.so.5
#2 0x00005555559ae019 in SystemTrayIcon::CreateIcon(QPixmap const&, QPixmap const&) ()
#3 0x0000555555b7fcff in QtSystemTrayIcon::UpdateIcon() ()
#4 0x0000555555986290 in MainWindow::SongChanged(Song const&) ()
#5 0x0000555555a1f68c in ?? ()
#6 0x00007ffff6bc1f93 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#7 0x0000555555a0d6c5 in PlaylistManagerInterface::CurrentSongChanged(Song const&) ()
#8 0x0000555555a0e029 in ?? ()
#9 0x00007ffff6bc1f93 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#10 0x0000555555a0b315 in Playlist::CurrentSongChanged(Song const&) ()
#11 0x00005555558de47e in Playlist::InformOfCurrentSongChange() ()
#12 0x00005555558e6a08 in Playlist::set_current_row(int, bool) ()
#13 0x00005555557d8854 in Player::PlayAt(int, QFlags<Engine::TrackChangeType>, bool) ()
#14 0x00005555557d3f04 in Player::PlayPause() ()
#15 0x000055555598a51a in MainWindow::CommandlineOptionsReceived(CommandlineOptions const&) ()
#16 0x000055555598a83b in MainWindow::CommandlineOptionsReceived(QString const&) ()
#17 0x0000555555a1f803 in ?? ()
#18 0x00007ffff6bc1f93 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#19 0x0000555555c77812 in QtSingleApplication::messageReceived(QString const&) ()
#20 0x00007ffff6bc1f93 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#21 0x0000555555c79662 in QtLocalPeer::messageReceived(QString const&) ()
#22 0x0000555555c78553 in QtLocalPeer::receiveConnection() ()
#23 0x00007ffff6bc1f93 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#24 0x00007ffff7159c86 in ?? () from /usr/lib64/libQt5Network.so.5
#25 0x00007ffff6bc1f93 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#26 0x00007ffff6bcde88 in QSocketNotifier::activated(int, QSocketNotifier::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#27 0x00007ffff6bce262 in QSocketNotifier::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#28 0x00007ffff3e446bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007ffff3e4bf74 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#30 0x00007ffff6b99347 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#31 0x00007ffff6beb3df in ?? () from /usr/lib64/libQt5Core.so.5
#32 0x00007ffff6220517 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#33 0x00007ffff6220780 in ?? () from /usr/lib64/libglib-2.0.so.0
#34 0x00007ffff622082c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#35 0x00007ffff6beaa5f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib64/libQt5Core.so.5
#36 0x00007ffff6b980ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#37 0x00007ffff6ba0844 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#38 0x00005555557af663 in main ()
(gdb)
|
|
|
Back to top |
|
|
mir3x Guru
Joined: 02 Jun 2012 Posts: 455
|
Posted: Tue Oct 23, 2018 9:29 am Post subject: |
|
|
That patch only works if tray is not available on your system or maybe tray is disabled in settings.
its like: - if there is no tray - then dont try drawing those icons.
EDIT: anyway you didnt mentioned that u get all those warnings about null pixmaps, maybe you just have some filter on emerge install ?
or maybe you installed qtgui without png or jpeg - if yes - then it crashes bc of this. _________________ Sent from Windows |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1510
|
Posted: Tue Oct 23, 2018 11:33 am Post subject: |
|
|
I emerged qtgui with jpeg use flag, same result
when I tried to emerge qtgui with the png use flag I got:
Code: | # required by clementine (argument)
=dev-qt/qtgui-5.9.6 -png |
|
|
Back to top |
|
|
mir3x Guru
Joined: 02 Jun 2012 Posts: 455
|
Posted: Tue Oct 23, 2018 1:00 pm Post subject: |
|
|
Then fix it - local flags or global flags or whatever.
U compiled qt without support for graphics files and then complain that creepy programs like clementine crash. _________________ Sent from Windows |
|
Back to top |
|
|
Adel Ahmed Veteran
Joined: 21 Sep 2012 Posts: 1510
|
Posted: Sat Oct 27, 2018 9:43 am Post subject: |
|
|
I cannot fix it, clementine is requiring qtgui be emerged without the png use flag |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|