Konsole crash with libthr

From: Daniel C. Sobral <dcs_at_tcoip.com.br>
Date: Fri, 04 Apr 2003 14:15:56 -0300
It seems Konsole didn't like libthr a bit. And, now that I think about 
it, neither did licq, though I didn't notice it at the time I was 
closing the KDE Crash Handler windows.

The trace I'm posting below is typical. I had some 20 windows with the 
same thing, and the error occured at startup. I have two main konsole 
windows, each with dozens of individual konsole tabs. One of the main 
windows did not come up at all, and the other one had just a few tabs.

So it seems the error only shows up during it's startup, but it does not 
always happen. On a tentative guess, it might happen because it takes a 
LONG time for the start up to complete, so some timeout might not be 
reacting well to be expired (well, the fact that the error is related to 
wait4 contributed to that hypothesis).

0x29068b53 in wait4 () from /usr/lib/libc.so.5
#0  0x29068b53 in wait4 () from /usr/lib/libc.so.5
#1  0x2905a015 in waitpid () from /usr/lib/libc.so.5
#2  0x290155f5 in _waitpid (wpid=7, status=0x7, options=7)
     at /usr/src/lib/libthr/thread/thr_syscalls.c:386
#3  0x286d79aa in KCrash::defaultCrashHandler(int) (sig=6) at kcrash.cpp:235
#4  <signal handler called>
#5  0x29068833 in kill () from /usr/lib/libc.so.5
#6  0x2936b4f7 in TEPty::makePty(bool) () from /usr/local/lib/konsole.so
#7  0x2936b58a in TEPty::startPgm(char const*, QValueList<QCString>&, 
char const*) () from /usr/local/lib/konsole.so
#8  0x2936bdaa in TEPty::commSetupDoneC() () from /usr/local/lib/konsole.so
#9  0x286811b9 in KProcess::start(KProcess::RunMode, 
KProcess::Communication) (
     this=0x81b6c00, runmode=7, comm=NoCommunication) at kprocess.cpp:320
#10 0x2936add6 in TEPty::run(char const*, QStrList&, char const*, bool, 
char const*, char const*) () from /usr/local/lib/konsole.so
#11 0x2938f389 in TESession::run() () from /usr/local/lib/konsole.so
#12 0x293911d9 in TESession::qt_invoke(int, QUObject*) ()
    from /usr/local/lib/konsole.so
#13 0x28a25358 in QObject::activate_signal(QConnectionList*, QUObject*) ()
    from /usr/X11R6/lib/libqt-mt.so.3
#14 0x28cf228d in QSignal::signal(QVariant const&) ()
    from /usr/X11R6/lib/libqt-mt.so.3
#15 0x28a3ec38 in QSignal::activate() () from /usr/X11R6/lib/libqt-mt.so.3
#16 0x28a459f3 in QSingleShotTimer::event(QEvent*) ()
    from /usr/X11R6/lib/libqt-mt.so.3
#17 0x289c85e5 in QApplication::internalNotify(QObject*, QEvent*) ()
    from /usr/X11R6/lib/libqt-mt.so.3
#18 0x289c83ab in QApplication::notify(QObject*, QEvent*) ()
    from /usr/X11R6/lib/libqt-mt.so.3
#19 0x2864c1a9 in KApplication::notify(QObject*, QEvent*) (this=0x7,
     receiver=0x825a000, event=0xbfbff2a0) at kapplication.cpp:453
#20 0x289a48a7 in QEventLoop::activateTimers() ()
    from /usr/X11R6/lib/libqt-mt.so.3
#21 0x28983ba1 in QEventLoop::processEvents(unsigned) ()
    from /usr/X11R6/lib/libqt-mt.so.3
#22 0x289dc000 in QEventLoop::enterLoop() () from 
/usr/X11R6/lib/libqt-mt.so.3
#23 0x289dbf38 in QEventLoop::exec() () from /usr/X11R6/lib/libqt-mt.so.3
#24 0x289c8771 in QApplication::exec() () from /usr/X11R6/lib/libqt-mt.so.3
#25 0x2937057d in main () from /usr/local/lib/konsole.so
#26 0x0804cb1f in launch (argc=3, _name=0x805ba84 "konsole",
     args=0x805bacd "", cwd=0x0, envc=0, envs=0x805bad1 "", reset_env=false,
     tty=0x0, avoid_loops=false,
     startup_id_str=0x7 <Error reading address 0x7: Bad address>)
     at kinit.cpp:547
#27 0x0804d906 in handle_launcher_request (sock=7) at kinit.cpp:1021
#28 0x0804de57 in handle_requests (waitForPid=0) at kinit.cpp:1189
#29 0x0804ef53 in main (argc=3, argv=0xbfbffc78, envp=0x7) at kinit.cpp:1540
#30 0x0804b115 in _start ()

-- 
Daniel C. Sobral                   (8-DCS)
Gerencia de Operacoes
Divisao de Comunicacao de Dados
Coordenacao de Seguranca
TCO
Fones: 55-61-313-7654/Cel: 55-61-9618-0904
E-mail: Daniel.Capo_at_tco.net.br
         Daniel.Sobral_at_tcoip.com.br
         dcs_at_tcoip.com.br

Outros:
	dcs_at_newsguy.com
	dcs_at_freebsd.org
	capo_at_notorious.bsdconspiracy.net

Youth is when you blame all your troubles on your parents; maturity is
when you learn that everything is the fault of the younger generation.
Received on Fri Apr 04 2003 - 07:16:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:02 UTC