You are not logged in.
Hi
After updating the system two days ago activities started to crash every time i switch to another activity. I tried with creating new user but without sucess i have also deleted kde cache folder without sucess.
This was my update:
[2013-05-07 09:16] [PACMAN] upgraded akonadi (1.9.1-3 -> 1.9.2-1)
[2013-05-07 09:16] [PACMAN] upgraded avahi (0.6.31-6 -> 0.6.31-7)
[2013-05-07 09:16] [PACMAN] upgraded libpng (1.5.15-1 -> 1.6.2-3)
[2013-05-07 09:16] [PACMAN] upgraded cairo (1.12.14-3 -> 1.12.14-4)
[2013-05-07 09:16] [PACMAN] upgraded cairomm (1.10.0-2 -> 1.10.0-3)
[2013-05-07 09:16] [PACMAN] upgraded poppler (0.22.3-2 -> 0.22.3-3)
[2013-05-07 09:16] [PACMAN] upgraded cups-filters (1.0.34-2 -> 1.0.34-3)
[2013-05-07 09:16] [PACMAN] upgraded dosbox (0.74-3 -> 0.74-5)
[2013-05-07 09:16] [ALPM-SCRIPTLET] gtk-update-icon-cache: error while loading shared libraries: libpng15.so.15: cannot open shared object file: No such file or directory
[2013-05-07 09:16] [PACMAN] upgraded firefox (20.0.1-2 -> 20.0.1-5)
[2013-05-07 09:16] [PACMAN] upgraded gd (2.0.36RC1-5 -> 2.0.36RC1-6)
[2013-05-07 09:16] [ALPM-SCRIPTLET] g_module_open() failed for /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: libpng15.so.15: cannot open shared object file: No such file or directory
[2013-05-07 09:16] [PACMAN] upgraded gdk-pixbuf2 (2.28.1-1 -> 2.28.1-2)
[2013-05-07 09:16] [PACMAN] upgraded gegl (0.2.0-7 -> 0.2.0-8)
[2013-05-07 09:16] [PACMAN] upgraded ghostscript (9.07-1 -> 9.07-2)
[2013-05-07 09:16] [ALPM-SCRIPTLET] g_module_open() failed for /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so: libpng15.so.15: cannot open shared object file: No such file or directory
[2013-05-07 09:16] [PACMAN] upgraded libwmf (0.2.8.4-9 -> 0.2.8.4-10)
[2013-05-07 09:16] [PACMAN] upgraded librsvg (2.37.0-1 -> 2.37.0-2)
[2013-05-07 09:17] [PACMAN] upgraded gimp (2.8.4-1 -> 2.8.4-2)
[2013-05-07 09:17] [PACMAN] upgraded jre7-openjdk-headless (7.u21_2.3.9-1 -> 7.u21_2.3.9-2)
[2013-05-07 09:17] [PACMAN] upgraded jre7-openjdk (7.u21_2.3.9-1 -> 7.u21_2.3.9-2)
[2013-05-07 09:17] [PACMAN] upgraded icedtea-web-java7 (1.3.2-1 -> 1.4-1)
[2013-05-07 09:17] [PACMAN] upgraded icoutils (0.30.0-1 -> 0.30.0-2)
[2013-05-07 09:17] [PACMAN] upgraded imagemagick (6.8.4.10-1 -> 6.8.5.3-1)
[2013-05-07 09:17] [PACMAN] upgraded imlib2 (1.4.5-2 -> 1.4.5-4)
[2013-05-07 09:17] [PACMAN] upgraded poppler-glib (0.22.3-2 -> 0.22.3-3)
[2013-05-07 09:17] [PACMAN] upgraded inkscape (0.48.4-6 -> 0.48.4-7)
[2013-05-07 09:17] [PACMAN] upgraded jbig2dec (0.11-5 -> 0.11-6)
[2013-05-07 09:17] [PACMAN] upgraded qt4 (4.8.4-16 -> 4.8.4-17)
[2013-05-07 09:17] [PACMAN] upgraded qtwebkit (2.3.1-1 -> 2.3.1-2)
[2013-05-07 09:17] [PACMAN] upgraded kdelibs (4.10.2-3 -> 4.10.2-4)
[2013-05-07 09:17] [PACMAN] upgraded kdebase-workspace (4.10.2-1 -> 4.10.2-2)
[2013-05-07 09:17] [PACMAN] upgraded kdegraphics-gwenview (4.10.2-1 -> 4.10.2-2)
[2013-05-07 09:17] [PACMAN] upgraded libkate (0.4.1-3 -> 0.4.1-4)
[2013-05-07 09:18] [PACMAN] upgraded libreoffice-common (4.0.2-3 -> 4.0.2-4)
[2013-05-07 09:18] [PACMAN] upgraded libreoffice-base (4.0.2-3 -> 4.0.2-4)
[2013-05-07 09:18] [PACMAN] upgraded libreoffice-calc (4.0.2-3 -> 4.0.2-4)
[2013-05-07 09:18] [PACMAN] upgraded libreoffice-draw (4.0.2-3 -> 4.0.2-4)
[2013-05-07 09:18] [PACMAN] upgraded libreoffice-gnome (4.0.2-3 -> 4.0.2-4)
[2013-05-07 09:18] [PACMAN] upgraded libreoffice-impress (4.0.2-3 -> 4.0.2-4)
[2013-05-07 09:18] [PACMAN] upgraded libreoffice-writer (4.0.2-3 -> 4.0.2-4)
[2013-05-07 09:18] [PACMAN] upgraded libwbclient (4.0.5-1 -> 4.0.5-2)
[2013-05-07 09:18] [PACMAN] upgraded linux-firmware (20121118-1 -> 20130430-1)
[2013-05-07 09:18] [ALPM-SCRIPTLET] >>> Updating module dependencies. Please wait ...
[2013-05-07 09:18] [ALPM-SCRIPTLET] >>> Generating initial ramdisk, using mkinitcpio. Please wait...
[2013-05-07 09:18] [ALPM-SCRIPTLET] ==> Building image from preset: 'default'
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts.img
[2013-05-07 09:18] [ALPM-SCRIPTLET] ==> Starting build: 3.0.76-1-lts
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> Running build hook: [autodetect]
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> Running build hook: [resume]
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> Running build hook: [consolefont]
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2013-05-07 09:18] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2013-05-07 09:18] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-lts.img
[2013-05-07 09:18] [ALPM-SCRIPTLET] ==> Image generation successful
[2013-05-07 09:18] [ALPM-SCRIPTLET] ==> Building image from preset: 'fallback'
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> -k /boot/vmlinuz-linux-lts -c /etc/mkinitcpio.conf -g /boot/initramfs-linux-lts-fallback.img -S autodetect
[2013-05-07 09:18] [ALPM-SCRIPTLET] ==> Starting build: 3.0.76-1-lts
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> Running build hook: [base]
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> Running build hook: [udev]
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> Running build hook: [modconf]
[2013-05-07 09:18] [ALPM-SCRIPTLET] -> Running build hook: [block]
[2013-05-07 09:19] [ALPM-SCRIPTLET] -> Running build hook: [resume]
[2013-05-07 09:19] [ALPM-SCRIPTLET] -> Running build hook: [filesystems]
[2013-05-07 09:19] [ALPM-SCRIPTLET] -> Running build hook: [keyboard]
[2013-05-07 09:19] [ALPM-SCRIPTLET] -> Running build hook: [fsck]
[2013-05-07 09:19] [ALPM-SCRIPTLET] -> Running build hook: [consolefont]
[2013-05-07 09:19] [ALPM-SCRIPTLET] -> Running build hook: [keymap]
[2013-05-07 09:19] [ALPM-SCRIPTLET] ==> Generating module dependencies
[2013-05-07 09:19] [ALPM-SCRIPTLET] ==> Creating gzip initcpio image: /boot/initramfs-linux-lts-fallback.img
[2013-05-07 09:19] [ALPM-SCRIPTLET] ==> Image generation successful
[2013-05-07 09:19] [PACMAN] upgraded linux-lts (3.0.75-1 -> 3.0.76-1)
[2013-05-07 09:19] [PACMAN] upgraded linux-lts-headers (3.0.75-1 -> 3.0.76-1)
[2013-05-07 09:19] [PACMAN] upgraded opencv (2.4.5-2 -> 2.4.5-3)
[2013-05-07 09:19] [PACMAN] upgraded poppler-qt (0.22.3-2 -> 0.22.3-3)
[2013-05-07 09:19] [PACMAN] upgraded qrencode (3.4.2-1 -> 3.4.2-2)
[2013-05-07 09:19] [PACMAN] upgraded smbclient (4.0.5-1 -> 4.0.5-2)
[2013-05-07 09:19] [PACMAN] upgraded samba (4.0.5-1 -> 4.0.5-2)
[2013-05-07 09:19] [PACMAN] upgraded sdl_image (1.2.12-2 -> 1.2.12-3)
[2013-05-07 09:19] [PACMAN] upgraded sox (14.4.1-1 -> 14.4.1-2)
[2013-05-07 09:19] [PACMAN] upgraded ucommon (6.0.3-1 -> 6.0.4-1)
[2013-05-07 09:19] [PACMAN] upgraded zvbi (0.2.33-4 -> 0.2.33-5)
[2013-05-07 09:19] [PACMAN] upgraded vlc (2.0.6-1 -> 2.0.6-2)
[2013-05-07 09:19] [PACMAN] upgraded wxgtk (2.8.12.1-4 -> 2.8.12.1-5)
[2013-05-07 09:19] [ALPM-SCRIPTLET] NOTE:
[2013-05-07 09:19] [ALPM-SCRIPTLET] If you experience any problems after installing xsane
[2013-05-07 09:19] [ALPM-SCRIPTLET] it may help to remove the setup and preferences files
[2013-05-07 09:19] [ALPM-SCRIPTLET] of xsane:
[2013-05-07 09:19] [ALPM-SCRIPTLET]
[2013-05-07 09:19] [ALPM-SCRIPTLET] $ rm -rf ~/.sane/xsane
[2013-05-07 09:19] [ALPM-SCRIPTLET]
[2013-05-07 09:19] [ALPM-SCRIPTLET] Xsane only supports creation of pdf files in 8bit colour depth!
[2013-05-07 09:19] [PACMAN] upgraded xsane (0.998-2 -> 0.998-4)
[2013-05-07 09:19] [PACMAN] upgraded xsane-gimp (0.998-2 -> 0.998-4)
Ouput of kactivitymanagerd from terminal:
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Module "resources" is registered
Module "activities" is registered
Module "features" is registered
This is the current thread id for Activities 2966420288 QThread(0x8a13d30)
These are the disabled plugins: ("activitymanager_plugin_dummy", "activitymanager_plugin_nepomuk")
Initializing plugin: "activitymanager_plugin_globalshortcuts"
This is the current thread id for Activities 3020667264 QThread(0x893f420)
Initializing plugin: "activitymanager_plugin_slc"
Initializing plugin: "activitymanager_plugin_virtualdesktopswitch"
VirtualDesktopSwitch::init
Module "org.kde.ActivityManager.VirtualDesktopSwitch" is registered
Initializing plugin: "activitymanager_plugin_activityranking"
running in thread ActivityRanking
Initializing plugin: "activitymanager_plugin_sqlite"
Module "org.kde.ActivityManager.Resources.Scoring" is registered
VirtualDesktopSwitch::currentActivityChanged
QFileSystemWatcher: failed to add paths: /home/saso/.kde4/share/config/activitymanager-pluginsrc
VirtualDesktopSwitch::currentActivityChanged
QFileSystemWatcher: failed to add paths: /home/saso/.kde4/share/config/activitymanager-pluginsrc
KCrash: Attempting to start /usr/bin/kactivitymanagerd from kdeinit
sock_file=/home/saso/.kde4/socket-saso-laptop/kdeinit4__0
KCrash: Application 'kactivitymanagerd' crashing...
KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
sock_file=/home/saso/.kde4/socket-saso-laptop/kdeinit4__0
QSocketNotifier: Invalid socket 8 and type 'Read', disabling...
kactivitymanagerd: Fatal IO error: client killed
Today i have updated KDE to 4.10.3 but the problem still persist. Anybody have simillar problems?
Thx
Last edited by Shark (2013-05-10 18:33:19)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
I have a very similar situation. Following an 8 May upgrade, kactivitymanagerd began to crash when I changed from one activity to another. That is still the case following the KDE 4.10.3 upgrade today.
Only one thing has changed : before the 4.10.3 upgrade, when kactivitymanagerd crashed I could manually start it again and it would allow me to change activities once before crashing. After the upgrade, I can restart it, but now it won't let me change activities. I guess the good news is that while it is inert, it doesn't crash.
After searching for hints, I also tried removing .kde4, shutting down nepomuk, and even (before the 4.10.3 upgrade) downgrading soprano. None of those had any effect on the problem.
At this point I'm reading the wiki to see if I can build a debug version in order to extract useful crash information. That will be fun, but if someone comes up with a fix I would forego the pleasure.
Many thanks
Offline
At last someone has the same problem
I have filed a bug report on archlinux bugtracker because on KDE forums suggested that this could be a packaging issue (see the bug https://bugs.archlinux.org/task/35169 )
Yesterday i have tried to compile some packages so that i would configure them with debug symbols but i don't have time to compile. So if you have the time that would be awesome.
Last edited by Shark (2013-05-09 17:31:37)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
I followed the thorough ArchWiki explanation of producing debug traces and built debug versions of kactivities and qt4. When I install the debug build of qt4, the problem goes away for both the release and debug build of kactivities.
The qt4 package was build with these makepkg.conf options
OPTIONS=(!strip docs libtool staticlibs emptydirs zipman purge !upx debug)
(strip turned off and debug turned on)
and with the -developer-build flag passed to configure in PKGBUILD.
Here's the KCrash listing for the offending thread using the release build of qt4 and the debug build of kactitivies.
Thread 3 (Thread 0xaf803b40 (LWP 704)):
[KCrash Handler]
#6 0xb684409d in QTime::addMSecs(int) const () from /usr/lib/libQtCore.so.4
#7 0xb68458bb in QDateTime::setMSecsSinceEpoch(long long) () from /usr/lib/libQtCore.so.4
#8 0xb6845946 in QDateTime::fromMSecsSinceEpoch(long long) () from /usr/lib/libQtCore.so.4
#9 0xb0f5c415 in ActivityRanking::Private::processWeekData (this=0x8bdb2e8, activity=..., location=..., start=1368157499404, end=1368157525446) at /home/howard/projects/abs/kactivities/src/kactivities-4.10.2/src/service/plugins/activityranking/ActivityRanking.cpp:152
#10 0xb0f5e297 in ActivityRanking::Private::processActivityInterval (this=0x8bdb2e8, activity=..., location=..., start=1368157499404, end=1368157525446) at /home/howard/projects/abs/kactivities/src/kactivities-4.10.2/src/service/plugins/activityranking/ActivityRanking.cpp:143
#11 0xb0f5ed7a in ActivityRanking::activityChanged (this=this@entry=0x8bdbe08, activity=...) at /home/howard/projects/abs/kactivities/src/kactivities-4.10.2/src/service/plugins/activityranking/ActivityRanking.cpp:481
#12 0xb0f5f7fd in ActivityRanking::qt_static_metacall (_o=0x8bdbe08, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xafa04b58) at /home/howard/projects/abs/kactivities/src/build/src/service/plugins/activityranking/ActivityRanking.moc:69
#13 0xb6958cfa in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#14 0xb6960d57 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#15 0xb5e10a44 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0xb5e1762d in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0xb71f7524 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#18 0xb69475ba in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0xb694a9fc in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#20 0xb694af1c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#21 0xb6977c1e in ?? () from /usr/lib/libQtCore.so.4
#22 0xb4b5d28e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#23 0xb4b5d638 in ?? () from /usr/lib/libglib-2.0.so.0
#24 0xb4b5d6f8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#25 0xb697757f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#26 0xb69460d3 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0xb69463f9 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#28 0xb6832c5d in QThread::exec() () from /usr/lib/libQtCore.so.4
#29 0xb0f62130 in ActivityRankingPlugin::Thread::run (this=0x8c9b1f8) at /home/howard/projects/abs/kactivities/src/kactivities-4.10.2/src/service/plugins/activityranking/ActivityRankingPlugin.cpp:52
#30 0xb68355a8 in ?? () from /usr/lib/libQtCore.so.4
#31 0xb67bacf0 in start_thread () from /usr/lib/libpthread.so.0
#32 0xb5b2a57e in clone () from /usr/lib/libc.so.6
Hope this helps.
Offline
https://bugs.archlinux.org/task/35159
There's a test app posted which i suggest to try to confirm this is your issue.
If this is your issue (likely, at least for the posted backtrace) get the former Qt build
http://arm.konnichi.com/extra/os/i686/q … pkg.tar.xz
DO NOT (repeat after me) DO! NOT! install the package - libQtGui links the wrong libpng and ALL Qt APPLICATIONS WILL CRASH IN RETURN! You understood? DO NOT INSTALL THE PACKAGE!
Instead extract it
tar -xJf qt4-4.8.4-16-i686.pkg.tar.xz
and ONLY!!! install libQtCore
sudo install usr/lib/libQtCore.so.4.8.4 /usr/lib
confirm that the test app does no longer crash, log out and in, better even (from VT1)
sudo systemctl isolate multi-user.target
sudo systemctl start kdm
or just reboot
since this bug can really AFFECT ABOUT ANY Qt APPLICATION! - including kdm
Online
Built your qtimetest and it segfaulted under the current, release build of qt4.
Installed libQtCore.so.4.8.4
Ran qtimetest and it no longer sefaults. (It does seem to hang after the critical tests have been carried out successfully, but I don't think that matters for the issue at hand - obviously I have no clue about QCoreApplication, but I'll look it up.)
And kactivitymanagerd no longer dies after the first activity change!
Looks like you're on target - thanks.
Offline
Upgrade to qt4 4.8.4-18; the segfaults should be gone.
Offline
https://bugs.archlinux.org/task/35159
There's a test app posted which i suggest to try to confirm this is your issue.
If this is your issue (likely, at least for the posted backtrace) get the former Qt build
http://arm.konnichi.com/extra/os/i686/q … pkg.tar.xzDO NOT (repeat after me) DO! NOT! install the package - libQtGui links the wrong libpng and ALL Qt APPLICATIONS WILL CRASH IN RETURN! You understood? DO NOT INSTALL THE PACKAGE!
Instead extract it
tar -xJf qt4-4.8.4-16-i686.pkg.tar.xzand ONLY!!! install libQtCore
sudo install usr/lib/libQtCore.so.4.8.4 /usr/lib
confirm that the test app does no longer crash, log out and in, better even (from VT1)
sudo systemctl isolate multi-user.target
sudo systemctl start kdmor just reboot
since this bug can really AFFECT ABOUT ANY Qt APPLICATION! - including kdm
Well yesterday i did exactly what you forbid. I installed 4.8.4-16 version and everything crashed
The problem has gone away with qt4-4.8.4-18 package.
Thanks for all the help
Last edited by Shark (2013-05-10 18:36:12)
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
The Qt eventloop does not implicitly exit, so it's ok to "hang" unless it gets some signal (ie. eg. you press ctrl+c)
Thanks for confirmation, the package is already updated.
Online
Did you retrieve the qt4-4.8.4-18 package from this URL in the bug 35159 page?
http://pkgbuild.com/~andrea/svn-package … pkg.tar.xz
When I access that I get a 404-Not Found error.
Thanks
Offline
Did you retrieve the qt4-4.8.4-18 package from this URL in the bug 35159 page?
http://pkgbuild.com/~andrea/svn-package … pkg.tar.xz
When I access that I get a 404-Not Found error.
Thanks
It is already in official repositories.
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
Excellent - thanks.
Offline
Hey, we "cosolved" the bug
Enjoy and see ya.
If you have built castles in the air, your work need not be lost; that is where they should be. Now put foundations under them.
Henry David Thoreau
Registered Linux User: #559057
Offline
It was a pleasure working with you.
Later
Offline