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

List:       kde-devel
Subject:    ThumbCreator, KFilePlugin
From:       Marco Wegner <dubbleu () web ! de>
Date:       2002-06-29 22:27:57
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

For training purposes I have written a quick and dirty thumbnail creator 
(derived from ThumbCreator) for message catalogs (application/x-gettext). To 
retrieve the important infos (total messages, untranslated ones,...) from the 
po-files I am using the class Catalog, or better the method info() from 
Catalog. Catalog is included in KBabel. My thumbnail creator runs just 
fine...

But when trying to write a file plugin (derived from KFilePlugin) for po-files 
and using the same method Catalog::info() Konqueror crashes with SIGSEGV 
(backtrace attached). Because it work just fine in a thumbnail creator and 
not really fine in a file plugin: what is the main difference between those 
two plugins? Could somebody please enlighten me?

TIA,
Marco

- -- 
mail@marcowegner.de
dubbleu@web.de

Find my public key at wwwkeys.de.pgp.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9HjR5X3rotM03gSgRAr6JAKD+bJrt0g6YY/e4ytIC3nPZ6mN37gCfUFYP
YGX8tc44utwT+bMqplPDNfk=
=UKeZ
-----END PGP SIGNATURE-----

["bt" (text/plain)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 29149)]
0x400e7726 in KFileIVI::isAnimated () from /usr/local/kde/lib/libkonq.so.4
(gdb) bt
#0  0x400e7726 in KFileIVI::isAnimated () from /usr/local/kde/lib/libkonq.so.4
#1  0x400e8b49 in KonqIconViewWidget::slotOnItem ()
   from /usr/local/kde/lib/libkonq.so.4
#2  0x400f0575 in KonqIconViewWidget::qt_invoke ()
   from /usr/local/kde/lib/libkonq.so.4
#3  0x40ad4c0a in QObject::activate_signal (this=0x80878c8, clist=0x81f3510,
    o=0xbfffeb78) at kernel/qobject.cpp:2090
#4  0x40e2c0c0 in QIconView::onItem (this=0x80878c8, t0=0x8337990)
    at .moc/debug-shared-mt/moc_qiconview.cpp:555
#5  0x40c9920c in QIconView::contentsMouseMoveEvent (this=0x80878c8,
    e=0xbfffec1c) at iconview/qiconview.cpp:4510
#6  0x40be8039 in QScrollView::viewportMouseMoveEvent (this=0x80878c8,
    e=0xbffff0dc) at widgets/qscrollview.cpp:1623
#7  0x40be73aa in QScrollView::eventFilter (this=0x80878c8, obj=0x8086a30,
    e=0xbffff0dc) at widgets/qscrollview.cpp:1369
#8  0x40c9e061 in QIconView::eventFilter (this=0x80878c8, o=0x8086a30,
    e=0xbffff0dc) at iconview/qiconview.cpp:5428
#9  0x40ad1cde in QObject::activate_filters (this=0x8086a30, e=0xbffff0dc)
    at kernel/qobject.cpp:779
#10 0x40ad1ad5 in QObject::event (this=0x8086a30, e=0xbffff0dc)
    at kernel/qobject.cpp:655
#11 0x40b10d15 in QWidget::event (this=0x8086a30, e=0xbffff0dc)
    at kernel/qwidget.cpp:4129
#12 0x40a7b9f8 in QApplication::internalNotify (this=0xbffff52c,
---Type <return> to continue, or q <return> to quit---
    receiver=0x8086a30, e=0xbffff0dc) at kernel/qapplication.cpp:2306
#13 0x40a7ad83 in QApplication::notify (this=0xbffff52c, receiver=0x8086a30,
    e=0xbffff0dc) at kernel/qapplication.cpp:2148
#14 0x40650fe5 in KApplication::notify ()
   from /usr/local/kde/lib/libkdecore.so.4
#15 0x40eec2f4 in QApplication::sendSpontaneousEvent (receiver=0x8086a30,
    event=0xbffff0dc) at .moc/debug-shared-mt/../../kernel/qapplication.h:455
#16 0x40a1769d in QETWidget::translateMouseEvent (this=0x8086a30,
    event=0xbffff324) at kernel/qapplication_x11.cpp:4892
#17 0x40a13d30 in QApplication::x11ProcessEvent (this=0xbffff52c,
    event=0xbffff324) at kernel/qapplication_x11.cpp:3663
#18 0x40a128e9 in QApplication::processNextEvent (this=0xbffff52c,
    canWait=true) at kernel/qapplication_x11.cpp:3168
#19 0x40a7dd74 in QApplication::enter_loop (this=0xbffff52c)
    at kernel/qapplication.cpp:3180
#20 0x40a127eb in QApplication::exec (this=0xbffff52c)
    at kernel/qapplication_x11.cpp:3123
#21 0x4004f114 in main () from /usr/local/kde/lib/konqueror.so
#22 0x413afbaf in __libc_start_main () from /lib/libc.so.6
(gdb)
>> 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