[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: kdDebug stalls in arbitrary situations
From: Frans Englich <frans.englich () telia ! com>
Date: 2005-04-28 22:54:21
Message-ID: 200504282302.40011.frans.englich () telia ! com
[Download RAW message or body]
Hello,
I've encountered a tricky bug: when a KDE C++ program was executed from a
Python script(a test suite handler), it stalled on certain tests, which it
did deterministically on repeated runs. However, when I ran the program with
the certain data manually, what the python program had fed it, it worked
fine.
After having attached gdb to the stalled program, I got this backtrace:
#0 0x4159be38 in write () from /lib/libpthread.so.0
#1 0x40c1b7e4 in __JCR_LIST__ () from /usr/local/kde_HEAD/lib/libkdecore.so.4
#2 0x40ab16b9 in kdbgstream::flush() (this=0xbfffdba0)
at /home/frans/kde/src/kdelibs/kdecore/kdebug.cpp:336
#3 0x0804cf24 in kdbgstream::operator<<(char const*) (this=0xbfffdba0,
string=0x804df93 "\n") at kdebug.h:232
#4 0x0804cf7c in endl (s=@0xbfffdba0) at kdebug.h:430
#5 0x0804cf5a in kdbgstream::operator<<(kdbgstream& (*)(kdbgstream&))
(this=0xbfffdba0, f=0x804cf66 <endl>)
at kdebug.h:260
#6 0x40037ba0 in
KDOM::XInclude::Includer::contextPreparationFinished(KDOM::XInclude::IncludeContext*,
bool) (
this=0x813e5d0, context=0x8153390, hasErr=false)
at /home/frans/kde/src/kdenonbeta/kdom/xinclude/Includer.cc:310
<snip long back trace>
And Includer.cc#310, the relevant file, had this:
kdDebug(26500) << k_funcinfo << endl;
Zimmermann told me that the k_funcinfo macro can sometimes cause trouble(I
don't know why), but even with such cases removed, I got similar backtraces:
#0 0x415d0e38 in write () from /lib/libpthread.so.0
#1 0x40c507e4 in __JCR_LIST__ () from /usr/local/kde_HEAD/lib/libkdecore.so.4
#2 0x40ae66b9 in kdbgstream::flush() (this=0xbfffdf70)
at /home/frans/kde/src/kdelibs/kdecore/kdebug.cpp:336
#3 0x0804e3d1 in kdbgstream::operator<<(char const*) (this=0xbfffdf70,
string=0x804f788 "\n") at kdebug.h:232
#4 0x0804e428 in endl (s=@0xbfffdf70) at kdebug.h:430
#5 0x0804e406 in kdbgstream::operator<<(kdbgstream& (*)(kdbgstream&))
(this=0xbfffdf70, f=0x804e412 <endl>)
at kdebug.h:260
#6 0x4003eb5f in
KDOM::XInclude::IncludeContext::operator==(KDOM::XInclude::IncludeContext
const&) const (
this=0x815aac0, context=@0x8161200)
at /home/frans/kde/src/kdenonbeta/kdom/xinclude/IncludeContext.cc:555
Where IncludeContext.cc#555 says:
kdDebug() << "CIRC CHECK::::" << context.includeLocation() << " ONT " <<
includeLocation() << endl;
What is the explanation to these stalls? Is it tied to my setup? Can it be
fixed somehow/somewhere?
Cheers,
Frans
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic