From kde-i18n-doc Sat Sep 16 14:46:59 2006 From: Stephan Johach Date: Sat, 16 Sep 2006 14:46:59 +0000 To: kde-i18n-doc Subject: Re: kbabel's translation db Message-Id: <200609161701.09901.lucardus () onlinehome ! de> X-MARC-Message: https://marc.info/?l=kde-i18n-doc&m=115841801911735 Am Samstag, 16. September 2006 15:50 schrieb Nicolas Goutte: > > Looking at bugs.kde.org it seems to be the reason for most "crash" > > bugs listed there. So it would be great if somebody with time and skill > > could replace it with a more stable variant. > > That is my opinion too. (However I am not volunteer for that task.) I reactivated the database here to see if the bug reappears. I am currently valgrinding KBabel and found this when opening a file. I am not sure if this is a bug or not as the code is in libc and called from deep within libdb-4.2. No crash here BTW. hunsum@leviathan:~/svn/kde3.5/kdesdk/kbabel/catalogmanager$ ==3404== Syscall param pwrite64(buf) points to uninitialised byte(s) ==3404== at 0x57FB7EE: do_pwrite64 (in /lib/libc-2.3.3.so) ==3404== by 0x6B7EEDC: __os_io (in /usr/lib/libdb-4.2.so) ==3404== by 0x6B76279: __memp_pgwrite (in /usr/lib/libdb-4.2.so) ==3404== by 0x6B75D87: __memp_bhwrite (in /usr/lib/libdb-4.2.so) ==3404== by 0x6B7C91C: __memp_sync_int (in /usr/lib/libdb-4.2.so) ==3404== by 0x6B7C438: __memp_fsync (in /usr/lib/libdb-4.2.so) ==3404== by 0x6B3AFBC: __db_sync (in /usr/lib/libdb-4.2.so) ==3404== by 0x6B4AA8A: __db_sync_pp (in /usr/lib/libdb-4.2.so) ==3404== by 0x6ACA4D4: DataBaseManager::sync() (database.cpp:572) ==3404== by 0x6AC18D6: KDBSearchEngine::stringChanged(QStringList const&, QString const&, unsigned, QString const&) (KDBSearchEngine.cpp:1875) ==3404== by 0x80EF07B: KBabelDictBox::setTextChanged(QStringList const&, QString const&, unsigned, QString const&) (kbabeldictbox.cpp:1589) ==3404== by 0x809C54C: KBabelView::informDictionary() (kbabelview2.cpp:97) ==3404== Address 0x7318F98 is 253,808 bytes inside a block of size 270,336 alloc'd ==3404== at 0x401A707: malloc (vg_replace_malloc.c:149) ==3404== by 0x6B7D6C7: __os_malloc (in /usr/lib/libdb-4.2.so) ==3404== by 0x6B7EBA4: __os_r_attach (in /usr/lib/libdb-4.2.so) ==3404== by 0x6B61D41: __db_r_attach (in /usr/lib/libdb-4.2.so) ==3404== by 0x6B7A5E7: __memp_open (in /usr/lib/libdb-4.2.so) ==3404== by 0x6B5D762: __dbenv_open (in /usr/lib/libdb-4.2.so) ==3404== by 0x6B396E8: __db_dbenv_setup (in /usr/lib/libdb-4.2.so) ==3404== by 0x6B4EC45: __db_open (in /usr/lib/libdb-4.2.so) ==3404== by 0x6B49C84: __db_open_pp (in /usr/lib/libdb-4.2.so) ==3404== by 0x6AC9204: DataBaseManager::openDataBase() (database.cpp:343) ==3404== by 0x6AC8E0D: DataBaseManager::DataBaseManager(QString, QString, QObject*, char const*) (database.cpp:306) ==3404== by 0x6ABB379: KDBSearchEngine::loadDatabase(QString, bool) (KDBSearchEngine.cpp:251) ==3404==