[prev in list] [next in list] [prev in thread] [next in thread] 

List:       suse-kde
Subject:    Re: [opensuse-kde] akonadi eats CPU after suspend
From:       Martin Konold <martin.konold () erfrakon ! de>
Date:       2016-04-28 8:52:09
Message-ID: 1846224.RVzYfJoptv () sony-01 ! tue ! hq ! erfrakon ! de
[Download RAW message or body]

Am Mittwoch, 27. April 2016, 17:33:46 CEST schrieb Francesco Montesano:

Hi,

> Whould they be the -debuginfo version of the packages I've listed
> yesterday in my mail?
> How would I provide a backtrace in that case?

You attach gdb to the running process and enter bt on the commandline.

Something like:

Use top in konsole in order to identify the cpu consuming process and its PID 
(process id).

Use gdb in konsole and attach to the running process:

km82rt@sony-01:~> gdb -p 3232 
GNU gdb (GDB; %maintenance_distribution) 7.9.1 
Copyright (C) 2015 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-suse-linux". 
Type "show configuration" for configuration details. 
For bug reporting instructions, please see: 
<http://bugs.opensuse.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". 
Attaching to process 3232 
[...]

(gdb) bt 
#0  0x00007f6a759b3bbd in poll () at /lib64/libc.so.6 
#1  0x00007f6a73d49e64 in  () at /usr/lib64/libglib-2.0.so.0 
#2  0x00007f6a73d49f7c in g_main_context_iteration () at /usr/lib64/
libglib-2.0.so.0 
#3  0x00007f6a764f7d6c in 
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () 
at /usr/lib64/libQt5Core.so.5 
#4  0x00007f6a7649ed53 in 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/
libQt5Core.so.5 
#5  0x00007f6a764a68f6 in QCoreApplication::exec() () at /usr/lib64/
libQt5Core.so.5 
#6  0x000000000047b3b2 in main () 
(gdb) 

The output from the 'bt' command is relevant.

Regards
--martin konold

-- 
Dipl.-Physiker Martin Konold

e r f r a k o n
Erlewein, Frank, Konold & Partner - Beratende Ingenieure und Physiker
Registergericht: Amtsgericht Stuttgart PR 126
Firmensitz: Adolfstraße 23, 70469 Stuttgart
fon: 0711 67400963
fax: 0711 67400959
email: martin.konold@erfrakon.de
http://www.erfrakon.de


--
To unsubscribe, e-mail: opensuse-kde+unsubscribe@opensuse.org
To contact the owner, e-mail: opensuse-kde+owner@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic