Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 581068 - kde-plasma/kactivitymanagerd: segfaults with <dev-qt/qtcore-5.7.0
Summary: kde-plasma/kactivitymanagerd: segfaults with <dev-qt/qtcore-5.7.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugreports.qt.io/browse/QTBUG...
Whiteboard: fixed in dev-qt/qtcore-5.7.0
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-04-24 15:22 UTC by Matthias Nagel
Modified: 2017-01-18 09:36 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Backtrace of core dump of kactivitymanagerd (backtrace-kactivitymanagerd.txt,10.51 KB, text/plain)
2016-04-24 15:23 UTC, Matthias Nagel
Details
emerge --info (emerge-info.txt,6.81 KB, text/plain)
2016-05-21 17:46 UTC, Matthias Nagel
Details
emerge --verbose --oneshot =kde-plasma/kactivitymanagerd-5.6.4 (kde-plasma:kactivitymanagerd-5.6.4:20160521-174210.log,217.31 KB, text/plain)
2016-05-21 17:47 UTC, Matthias Nagel
Details
qtcore-5.6.1-kactivitymanagerd-segfaults.patch (qtcore-5.6.1-kactivitymanagerd-segfaults.patch,1.93 KB, patch)
2016-10-31 16:49 UTC, Marco Genasci
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Nagel 2016-04-24 15:22:56 UTC
kde-plasma/kactivitymanagerd-5.6.3 crashes with segmentation fault usually after login.
Comment 1 Matthias Nagel 2016-04-24 15:23:32 UTC
Created attachment 431824 [details]
Backtrace of core dump of kactivitymanagerd
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2016-05-04 13:17:53 UTC
Please provide the upstream bug report.
Comment 3 Matthias Nagel 2016-05-06 16:14:34 UTC
Upstream: https://bugs.kde.org/show_bug.cgi?id=362757
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2016-05-06 16:50:08 UTC
(In reply to Matthias Nagel from comment #3)
> Upstream: https://bugs.kde.org/show_bug.cgi?id=362757

Thanks.
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2016-05-20 19:51:30 UTC
5.6.4 was bumped in the meantime. Does it solve your problem?
Comment 6 Matthias Nagel 2016-05-21 10:49:31 UTC
No, it did not solve the problem. kde-plasma/kactivitymanagerd-5.6.4 keeps crashing with segmentation fault, too.
Comment 7 Johannes Huber (RETIRED) gentoo-dev 2016-05-21 15:50:02 UTC
(In reply to Matthias Nagel from comment #6)
> No, it did not solve the problem. kde-plasma/kactivitymanagerd-5.6.4 keeps
> crashing with segmentation fault, too.

In this case please provide a full build log and paste the emerge --info. No cc's on the bug since about a month, it is likely a local problem.
Comment 8 Matthias Nagel 2016-05-21 17:46:01 UTC
Created attachment 434898 [details]
emerge --info
Comment 9 Matthias Nagel 2016-05-21 17:47:01 UTC
Created attachment 434900 [details]
emerge --verbose --oneshot =kde-plasma/kactivitymanagerd-5.6.4
Comment 10 Johannes Huber (RETIRED) gentoo-dev 2016-05-24 17:49:40 UTC
I have found something interesting in kde forums:
https://forum.kde.org/viewtopic.php?f=289&t=127421#p339711

Maybe you can investigate if something helps from this options: 
- downgrade/upgrade xproto
- upgrade xorg-server
- nvidia-drivers
Comment 11 Matthias Nagel 2016-05-26 12:36:59 UTC
According to the aforementioned discussion and the further links inside it seems to be combination of problems with xproto 7.0.28 and the intel driver. Although I do not have an intel graphics I also have had xproto version 7.0.28. I just have downgraded to 7.0.27 and will come back to report if it helped.
Comment 12 Matthias Nagel 2016-05-28 12:15:17 UTC
I tried xproto 7.0.27, but kactivitymanagerd is still crashing. Next step is to upgrade xorg-server.
Comment 13 Matthias Nagel 2016-05-29 15:42:12 UTC
I upgraded to

x11-base/xorg-server-1.18.3 (from 1.17.4)
x11-proto/xproto-7.0.29 (from 7.0.27)
x11-base/xorg-drivers-1.18-r1 (from 1.17)
x11-drivers/xf86-input-evdev-2.10.2 (from 2.9.2)
x11-drivers/xf86-video-nouveau-1.0.12 (from 1.0.11)

But kde-plasma/kactivitymanagerd-5.6.4 is still crashing.
Comment 14 Jan-Erik Skata 2016-05-30 16:45:40 UTC
Confirm same problem after updating on sunday 29.5 (update every sunday).
Comment 15 Jean-Francois Ostiguy 2016-05-30 18:10:08 UTC
I am experiencing the same issue after an update this weekend.
Comment 16 Michael Palimaka (kensington) gentoo-dev 2016-07-20 18:40:51 UTC
I've run into this issue in the past, but haven't noticed any crashes with 5.7.x (yet).
Comment 17 Marco Genasci 2016-10-31 16:49:31 UTC
I recently encountered this error and I solved with applying a patch to qtcore (my current version is 5.6.1).

Reference:
https://bugs.kde.org/show_bug.cgi?id=348194
https://codereview.qt-project.org/#/c/140750/
Comment 18 Marco Genasci 2016-10-31 16:49:57 UTC
Created attachment 452029 [details, diff]
qtcore-5.6.1-kactivitymanagerd-segfaults.patch
Comment 19 Johannes Huber (RETIRED) gentoo-dev 2016-11-02 09:43:45 UTC
Confirmed by Qt upstream.

@Qt Feel free to provide a revision bump for dev-qt/qtcore-5.6 with attached patch as it seems that Qt 5.7 unmasking takes longer.
Comment 20 Andreas Sturmlechner gentoo-dev 2016-11-16 22:07:31 UTC
Is this in Qt-5.6.2 upstream?
Comment 21 Michael Palimaka (kensington) gentoo-dev 2016-11-17 07:33:28 UTC
(In reply to Andreas Sturmlechner from comment #20)
> Is this in Qt-5.6.2 upstream?

It's not part of 5.6.2, but after discussion it did get backported to 5.6 branch (https://code.qt.io/cgit/qt/qtbase.git/commit/?id=ca4d93d85ee446c5e30ec8e7814651e45cbf1218).

We should decide ASAP whether we want to backport that to 5.6.2 for stabilisation.
Comment 22 Davide Pesavento gentoo-dev 2016-11-17 13:24:27 UTC
I think we should backport the patch to 5.6.2 and then stabilize it, yes.
Comment 23 Michael Palimaka (kensington) gentoo-dev 2016-11-17 14:37:14 UTC
Thanks Davide.

Fixed in git.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ebe88c3c2988c62baaffb71e0249e97fc30ba51