(*** This bug was imported into bugs.kde.org ***) Package: kbabel Version: KDE 3.0.0 Severity: normal Installed from: Slackware Packages Compiler: Not Specified OS: Linux OS/Compiler notes: Not Specified I was opening Window A from Kbabel and by double clicking on an entery on the Database Results to open it in Kbabel ( it was kdelibs.po ) It look more time than It should .. so I double clicked again .. after it I discovered that there is already 2 new windows reading kdelibs.po ( which is large) and they are both around 25% reading .. so I closed one of them .. and returned to Window A .. then the Crash happened .. following is the backtrace output: [New Thread 1024 (LWP 405)] 0x410d2689 in __wait4 () from /lib/libc.so.6 #0 0x410d2689 in __wait4 () from /lib/libc.so.6 #1 0x4113ba58 in __DTOR_END__ () from /lib/libc.so.6 #2 0x40fb9247 in waitpid (pid=445 stat_loc=0x0 options=0) at wrapsyscall.c:173 #3 0x40779ccc in KCrash::defaultCrashHandler () at eval.c:88 #4 0x40fb6eb4 in pthread_sighandler (signo=11 ctx={gs = 0 __gsh = 0 fs = 0 __fsh = 0 es = 43 __esh = 0 ds = 43 __dsh = 0 edi = 139449912 esi = 139587272 ebp = 3221214204 esp = 3221214132 ebx = 1088868988 edx = 4 ecx = 139453424 eax = 0 trapno = 14 err = 4 eip = 1084793144 cs = 35 __csh = 0 eflags = 66179 esp_at_signal = 3221214132 ss = 43 __ssh = 0 fpstate = 0xbfffd138 oldmask = 2147483648 cr2 = 16}) at signals.c:97 #5 <signal handler called> #6 0x40a8a138 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #7 0x400fa605 in Catalog::signalProgress () at eval.c:88 #8 0x400e7cf8 in Catalog::openFile () at eval.c:88 #9 0x400df647 in Catalog::openURL () at eval.c:88 #10 0x40053c84 in KBabelView::open () at eval.c:88 #11 0x4004c920 in KBabel::open () at eval.c:88 #12 0x4004c874 in KBabel::open () at eval.c:88 #13 0x804b5a9 in KBabelInterface::gotoFileEntry () at eval.c:88 #14 0x40092047 in KBabelIface::process () at eval.c:88 #15 0x4083c2bb in DCOPClient::receive () at eval.c:88 #16 0x40830781 in DCOPClient::send () at eval.c:88 #17 0x400c4232 in KBabelDictBox::editFile () at eval.c:88 #18 0x400c51dc in KBabelDictBox::qt_invoke () at eval.c:88 #19 0x40a8a076 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #20 0x4056b5e3 in KListView::doubleClicked () at eval.c:88 #21 0x40566ec9 in KListView::contentsMouseDoubleClickEvent () at eval.c:88 #22 0x40b793cb in QScrollView::viewportMouseDoubleClickEvent () from /usr/lib/libqt-mt.so.3 #23 0x40b78dc7 in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3 #24 0x40b52fea in QListView::eventFilter () from /usr/lib/libqt-mt.so.3 #25 0x40a88640 in QObject::activate_filters () from /usr/lib/libqt-mt.so.3 #26 0x40a88521 in QObject::event () from /usr/lib/libqt-mt.so.3 #27 0x40ab4cd9 in QWidget::event () from /usr/lib/libqt-mt.so.3 #28 0x40a33056 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #29 0x40a329a3 in QApplication::notify () from /usr/lib/libqt-mt.so.3 #30 0x406d5017 in KApplication::notify () at eval.c:88 #31 0x409e71eb in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3 #32 0x409e487f in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3 #33 0x409e359e in QApplication::processNextEvent () from /usr/lib/libqt-mt.so.3 #34 0x409e4de6 in QApplication::processEvents () from /usr/lib/libqt-mt.so.3 #35 0x400e6e19 in Catalog::openFile () at eval.c:88 #36 0x400df647 in Catalog::openURL () at eval.c:88 #37 0x40053c84 in KBabelView::open () at eval.c:88 #38 0x4004c920 in KBabel::open () at eval.c:88 #39 0x4004c874 in KBabel::open () at eval.c:88 #40 0x804b5a9 in KBabelInterface::gotoFileEntry () at eval.c:88 #41 0x40092047 in KBabelIface::process () at eval.c:88 #42 0x4083c2bb in DCOPClient::receive () at eval.c:88 #43 0x40830781 in DCOPClient::send () at eval.c:88 #44 0x400c4232 in KBabelDictBox::editFile () at eval.c:88 #45 0x400c51dc in KBabelDictBox::qt_invoke () at eval.c:88 #46 0x40a8a076 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #47 0x4056b5e3 in KListView::doubleClicked () at eval.c:88 #48 0x40566ec9 in KListView::contentsMouseDoubleClickEvent () at eval.c:88 #49 0x40b793cb in QScrollView::viewportMouseDoubleClickEvent () from /usr/lib/libqt-mt.so.3 #50 0x40b78dc7 in QScrollView::eventFilter () from /usr/lib/libqt-mt.so.3 #51 0x40b52fea in QListView::eventFilter () from /usr/lib/libqt-mt.so.3 #52 0x40a88640 in QObject::activate_filters () from /usr/lib/libqt-mt.so.3 #53 0x40a88521 in QObject::event () from /usr/lib/libqt-mt.so.3 #54 0x40ab4cd9 in QWidget::event () from /usr/lib/libqt-mt.so.3 #55 0x40a33056 in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #56 0x40a329a3 in QApplication::notify () from /usr/lib/libqt-mt.so.3 #57 0x406d5017 in KApplication::notify () at eval.c:88 #58 0x409e71eb in QETWidget::translateMouseEvent () from /usr/lib/libqt-mt.so.3 #59 0x409e487f in QApplication::x11ProcessEvent () from /usr/lib/libqt-mt.so.3 #60 0x409e359e in QApplication::processNextEvent () from /usr/lib/libqt-mt.so.3 #61 0x40a3446f in QApplication::enter_loop () from /usr/lib/libqt-mt.so.3 #62 0x409e350b in QApplication::exec () from /usr/lib/libqt-mt.so.3 #63 0x804c60b in main () at eval.c:88 #64 0x4104d2eb in __libc_start_main (main=0x804c404 <main> argc=1 ubp_av=0xbffffab4 init=0x804a4a8 <_init> fini=0x804c9d0 <_fini> rtld_fini=0x4000c130 <_dl_fini> stack_end=0xbffffaac) at ../sysdeps/generic/libc-start.c:129 (Submitted via bugs.kde.org)
Hi there .. This problem happened with me again .. I know now how to reproduce it .. Have a Window of Kbabel open .. then open another one for a large PO file.. such kdelibs.po or desktop.po .. close the new window while it is still loading the file ( I did it when it was around 25%) .. then the other window will close as well and Krash will happen :-( -- Yours Isam Bayazidi Amman - Jordan ==================================================== Think Linux + Think Arabic = Think www.arabeyes.org ====================================================
The following patch worked for me. I've only tested with src!=build and --enable-final! Index: kbabeldictbox.cpp =================================================================== RCS file: /home/kde/kdesdk/kbabel/kbabeldict/kbabeldictbox.cpp,v retrieving revision 1.38 diff -u -3 -p -r1.38 kbabeldictbox.cpp --- kbabeldictbox.cpp 8 Apr 2002 10:41:29 -0000 1.38 +++ kbabeldictbox.cpp 24 Sep 2002 11:19:04 -0000 @@ -26,7 +26,7 @@ #include "aboutmoduledlg.h" #include "kbabeldictbox.h" -#include "version.h" +#include <version.h> #include <kaboutdata.h> #include <kaboutdialog.h> Index: main.cpp =================================================================== RCS file: /home/kde/kdesdk/kbabel/kbabeldict/main.cpp,v retrieving revision 1.17 diff -u -3 -p -r1.17 main.cpp --- main.cpp 31 May 2002 14:08:58 -0000 1.17 +++ main.cpp 24 Sep 2002 11:19:04 -0000 @@ -31,7 +31,7 @@ #include "kbabeldict.h" #include "kbabelsplash.h" -#include "version.h" +#include <version.h> class KBabelDictApplication : public KUniqueApplication {
Sorry, wrong bug.
*** Bug 48912 has been marked as a duplicate of this bug. ***
Subject: Re: crash when opening two threads Fixed in HEAD (aka KBabel 1.2).
*** Bug 66470 has been marked as a duplicate of this bug. ***