On 04/25/2012 01:26 PM, David C. Rankin wrote:
On 04/25/2012 12:59 PM, Timothy Pearson wrote:
I would make absolutely certain that kwrite
isn't in D state (via 'ps
aux') or similar during the hang before filing a report. TDE applications
seem to be somewhat sensitive to swap and disk I/O in general in my
experience.
Other than that, the best thing you can do is use gdb to break into kwrite
while it is hung and generate a backtrace.
Tim
Not sure what D state is, but I can certainly test and see what is up.
Before hang:
david 12822 1.7 3.1 207448 23712 ? S 13:21 0:00 kwrite [tdeinit]
After hang:
david 12822 9.3 3.1 207912 23900 ? R 13:21 0:07 kwrite [tdeinit]
david 12822 66.2 3.1 207912 23900 ? R 13:21 2:32 kwrite [tdeinit]
and it just stays there.
Now, how do I "use gdb to break into kwrite"? Just a the command form you
want
like:
gdb what :)
got it -- now what (rebuild and don't strip :)
13:26 valkyrie:~> gdb --pid 12822
GNU gdb (GDB) 7.4
Copyright (C) 2012 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-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Attaching to process 12822
Reading symbols from /opt/trinity/bin/tdeinit...(no debugging symbols found)...done.
Reading symbols from /opt/trinity/lib/libkparts.so.2...(no debugging symbols
found)...done.
Loaded symbols for /opt/trinity/lib/libkparts.so.2
Reading symbols from /lib/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /opt/trinity/lib/libkio.so.4...(no debugging symbols
found)...done.
Loaded symbols for /opt/trinity/lib/libkio.so.4
Reading symbols from /opt/trinity/lib/libtdecore.so.4...(no debugging symbols
found)...done.
Loaded symbols for /opt/trinity/lib/libtdecore.so.4
Reading symbols from /opt/tqt3/lib/libtqt-mt.so.3...(no debugging symbols
found)...done.
Loaded symbols for /opt/tqt3/lib/libtqt-mt.so.3
Reading symbols from /usr/lib/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /usr/lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /opt/trinity/lib/libtdeui.so.4...(no debugging symbols
found)...done.
Loaded symbols for /opt/trinity/lib/libtdeui.so.4
Reading symbols from /usr/lib/libfreetype.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libfontconfig.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /opt/trinity/lib/libtdesu.so.4...(no debugging symbols
found)...done.
Loaded symbols for /opt/trinity/lib/libtdesu.so.4
Reading symbols from /lib/libutil.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /opt/trinity/lib/libkwalletclient.so.1...(no debugging
symbols found)...done.
Loaded symbols for /opt/trinity/lib/libkwalletclient.so.1
Reading symbols from /opt/trinity/lib/libDCOP.so.4...(no debugging symbols
found)...done.
Loaded symbols for /opt/trinity/lib/libDCOP.so.4
Reading symbols from /opt/trinity/lib/libtdefx.so.4...(no debugging symbols
found)...done.
Loaded symbols for /opt/trinity/lib/libtdefx.so.4
Reading symbols from /usr/lib/libtqt.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libtqt.so.4
Reading symbols from /usr/lib/libXrender.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libidn.so.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libidn.so.11
Reading symbols from /usr/lib/libXcomposite.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libXcomposite.so.1
Reading symbols from /usr/lib/libICE.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libICE.so.6
Reading symbols from /usr/lib/libSM.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libSM.so.6
Reading symbols from /usr/lib/libudev.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libudev.so.0
Reading symbols from /lib/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/ld-linux-x86-64.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/ld-linux-x86-64.so.2
Reading symbols from /usr/lib/libart_lgpl_2.so.2...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libart_lgpl_2.so.2
Reading symbols from /usr/lib/libpq.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpq.so.5
Reading symbols from /usr/lib/libmysqlclient.so.18...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libmysqlclient.so.18
Reading symbols from /usr/lib/libXrandr.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXrandr.so.2
Reading symbols from /usr/lib/libXcursor.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXinerama.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libXinerama.so.1
Reading symbols from /usr/lib/libXft.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXft.so.2
Reading symbols from /usr/lib/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /lib/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libxcb.so.1
Reading symbols from /lib/libbz2.so.1.0...(no debugging symbols found)...done.
Loaded symbols for /lib/libbz2.so.1.0
Reading symbols from /usr/lib/libexpat.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /usr/lib/libuuid.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libuuid.so.1
Reading symbols from /lib/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /usr/lib/libssl.so.1.0.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libssl.so.1.0.0
Reading symbols from /usr/lib/libcrypto.so.1.0.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libcrypto.so.1.0.0
Reading symbols from /usr/lib/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /usr/lib/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /opt/trinity/lib/libkonq.so.4...(no debugging symbols
found)...done.
Loaded symbols for /opt/trinity/lib/libkonq.so.4
Reading symbols from /opt/trinity/lib/trinity/kwrite.so...(no debugging symbols
found)...done.
Loaded symbols for /opt/trinity/lib/trinity/kwrite.so
Reading symbols from /opt/trinity/lib/libtdeinit_kwrite.so...(no debugging
symbols found)...done.
Loaded symbols for /opt/trinity/lib/libtdeinit_kwrite.so
Reading symbols from /opt/trinity/lib/libkateinterfaces.so.0...(no debugging
symbols found)...done.
Loaded symbols for /opt/trinity/lib/libkateinterfaces.so.0
Reading symbols from /opt/trinity/lib/libkutils.so.1...(no debugging symbols
found)...done.
Loaded symbols for /opt/trinity/lib/libkutils.so.1
Reading symbols from /opt/trinity/lib/libkatepartinterfaces.so.0...(no debugging
symbols found)...done.
Loaded symbols for /opt/trinity/lib/libkatepartinterfaces.so.0
Reading symbols from /opt/trinity/lib/libktexteditor.so.0...(no debugging
symbols found)...done.
Loaded symbols for /opt/trinity/lib/libktexteditor.so.0
Reading symbols from /opt/trinity/lib/libkabc.so.1...(no debugging symbols
found)...done.
Loaded symbols for /opt/trinity/lib/libkabc.so.1
Reading symbols from /opt/trinity/lib/libvcard.so.0...(no debugging symbols
found)...done.
Loaded symbols for /opt/trinity/lib/libvcard.so.0
Reading symbols from /opt/trinity/lib/libkresources.so.1...(no debugging symbols
found)...done.
Loaded symbols for /opt/trinity/lib/libkresources.so.1
Reading symbols from /opt/trinity/lib/trinity/plugins/styles/keramik.so...(no
debugging symbols found)...done.
Loaded symbols for /opt/trinity/lib/trinity/plugins/styles/keramik.so
Reading symbols from /opt/tqt3/plugins/imageformats/libqjpeg.so...(no debugging
symbols found)...done.
Loaded symbols for /opt/tqt3/plugins/imageformats/libqjpeg.so
Reading symbols from /usr/lib/libjpeg.so.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libjpeg.so.8
Reading symbols from /opt/tqt3/plugins/imageformats/libqmng.so...(no debugging
symbols found)...done.
Loaded symbols for /opt/tqt3/plugins/imageformats/libqmng.so
Reading symbols from /usr/lib/libmng.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmng.so.1
Reading symbols from /opt/tqt3/plugins/imageformats/libqpng.so...(no debugging
symbols found)...done.
Loaded symbols for /opt/tqt3/plugins/imageformats/libqpng.so
Reading symbols from /usr/lib/libpng15.so.15...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpng15.so.15
Reading symbols from /opt/trinity/lib/trinity/libkatepart.so...(no debugging
symbols found)...done.
Loaded symbols for /opt/trinity/lib/trinity/libkatepart.so
Reading symbols from /opt/trinity/lib/libkjs.so.1...(no debugging symbols
found)...done.
Loaded symbols for /opt/trinity/lib/libkjs.so.1
Reading symbols from /opt/trinity/lib/libtdeprint.so.4...(no debugging symbols
found)...done.
Loaded symbols for /opt/trinity/lib/libtdeprint.so.4
Reading symbols from /usr/lib/libpcre.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libpcre.so.1
Reading symbols from
/opt/trinity/lib/trinity/ktexteditor_docwordcompletion.so...(no debugging
symbols found)...done.
Loaded symbols for /opt/trinity/lib/trinity/ktexteditor_docwordcompletion.so
Reading symbols from /opt/trinity/lib/trinity/ktexteditor_insertfile.so...(no
debugging symbols found)...done.
Loaded symbols for /opt/trinity/lib/trinity/ktexteditor_insertfile.so
Reading symbols from /opt/trinity/lib/trinity/ktexteditor_kdatatool.so...(no
debugging symbols found)...done.
Loaded symbols for /opt/trinity/lib/trinity/ktexteditor_kdatatool.so
Reading symbols from /opt/trinity/lib/trinity/ktexteditor_isearch.so...(no
debugging symbols found)...done.
Loaded symbols for /opt/trinity/lib/trinity/ktexteditor_isearch.so
Reading symbols from /opt/tqt3/plugins/inputmethods/libqimsw-multi.so...(no
debugging symbols found)...done.
Loaded symbols for /opt/tqt3/plugins/inputmethods/libqimsw-multi.so
Reading symbols from /opt/tqt3/plugins/inputmethods/libqimsw-none.so...(no
debugging symbols found)...done.
Loaded symbols for /opt/tqt3/plugins/inputmethods/libqimsw-none.so
Reading symbols from /opt/tqt3/plugins/inputmethods/libqsimple.so...(no
debugging symbols found)...done.
Loaded symbols for /opt/tqt3/plugins/inputmethods/libqsimple.so
Reading symbols from /opt/tqt3/plugins/inputmethods/libqxim.so...(no debugging
symbols found)...done.
Loaded symbols for /opt/tqt3/plugins/inputmethods/libqxim.so
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libnss_files.so.2
0x00007fdf1c4bd135 in KateRenderer::textWidth(KSharedPtr<KateTextLine> const&,
unsigned int, unsigned int, bool*, int*) () from
/opt/trinity/lib/trinity/libkatepart.so
(gdb)
--
David C. Rankin, J.D.,P.E.