From kde-devel Sat Jun 29 22:27:57 2002 From: Marco Wegner Date: Sat, 29 Jun 2002 22:27:57 +0000 To: kde-devel Subject: ThumbCreator, KFilePlugin X-MARC-Message: https://marc.info/?l=kde-devel&m=102538999715456 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------Boundary-00=_LQNH31LM3WUVNHHCLRLM" --------------Boundary-00=_LQNH31LM3WUVNHHCLRLM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 For training purposes I have written a quick and dirty thumbnail creator=20 (derived from ThumbCreator) for message catalogs (application/x-gettext).= To=20 retrieve the important infos (total messages, untranslated ones,...) from= the=20 po-files I am using the class Catalog, or better the method info() from=20 Catalog. Catalog is included in KBabel. My thumbnail creator runs just=20 fine... But when trying to write a file plugin (derived from KFilePlugin) for po-= files=20 and using the same method Catalog::info() Konqueror crashes with SIGSEGV=20 (backtrace attached). Because it work just fine in a thumbnail creator an= d=20 not really fine in a file plugin: what is the main difference between tho= se=20 two plugins? Could somebody please enlighten me? TIA, Marco - --=20 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=3D =3DUKeZ -----END PGP SIGNATURE----- --------------Boundary-00=_LQNH31LM3WUVNHHCLRLM Content-Type: text/plain; charset="us-ascii"; name="bt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="bt" 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 to continue, or q 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) --------------Boundary-00=_LQNH31LM3WUVNHHCLRLM-- >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<