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

List:       kde-core-devel
Subject:    konsole segfault
From:       Carsten Pfeiffer <carpdjih () cetus ! zrz ! TU-Berlin ! DE>
Date:       1999-12-02 14:21:56
[Download RAW message or body]

Hi,

ok, I'm now using konsole instead of kvt, and I get a reproduceable
segfault:

(gdb) bt
#0  chunk_alloc (ar_ptr=0x40bdd1a0, nb=7304) at malloc.c:2801
#1  0x40b82b95 in __libc_malloc (bytes=7300) at malloc.c:2561
#2  0x805eb10 in TEScreen::getCookedImage ()
#3  0x80605fd in Emulation::showBulk ()
#4  0x806067c in Emulation::bulkEnd ()
#5  0x80604fb in Emulation::onRcvBlock ()
#6  0x8060a46 in Shell::block_in ()
#7  0x806143a in Shell::DataReceived ()
#8  0x40414197 in QObject::activate_signal ()
#9  0x405a9574 in QSocketNotifier::activated ()
#10 0x4044736a in QSocketNotifier::event ()
#11 0x403b521a in QApplication::notify ()
#12 0x403325ba in sn_activate ()
#13 0x40332962 in QApplication::processNextEvent ()
#14 0x403b685d in QApplication::enter_loop ()
#15 0x403326c5 in QApplication::exec ()
#16 0x8055bf3 in main ()

How to do it: go into kicker/applets/example, edit the Makefile.am
and comment out the exampleapplet_LDADD-line (LIB_KFILE and
LIB_KIMGIO should be replaced with LIB_KDEUI, btw).
Now when you try to make the example, it will spit out LOTS of
undefined references, of course. And konsole doesn't seem to like
that.

Ugh, now I get a different backtrace!?

(gdb) bt
#0  chunk_alloc (ar_ptr=0x40bdd1a0, nb=256) at malloc.c:2801
#1  0x40b82b95 in __libc_malloc (bytes=252) at malloc.c:2561
#2  0x805f96b in TEScreen::addHistLine ()
#3  0x805e5d9 in TEScreen::index ()
#4  0x805e62f in TEScreen::NextLine ()
#5  0x805ef56 in TEScreen::ShowCharacter ()
#6  0x805cf3f in VT102Emulation::tau ()
#7  0x805d8e0 in VT102Emulation::onRcvByte ()
#8  0x80604ed in Emulation::onRcvBlock ()
#9  0x8060a46 in Shell::block_in ()
#10 0x806143a in Shell::DataReceived ()
#11 0x40414197 in QObject::activate_signal ()
#12 0x405a9574 in QSocketNotifier::activated ()
#13 0x4044736a in QSocketNotifier::event ()
#14 0x403b521a in QApplication::notify ()
#15 0x403325ba in sn_activate ()
#16 0x40332962 in QApplication::processNextEvent ()
#17 0x403b685d in QApplication::enter_loop ()
#18 0x403326c5 in QApplication::exec ()
#19 0x8055bf3 in main ()


Cheers,
Carsten Pfeiffer
-- 
http://www.geocities.com/SiliconValley/1632/

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

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