Bug 88081 - Kbabel crashes upon opening a new file
Summary: Kbabel crashes upon opening a new file
Status: RESOLVED FIXED
Alias: None
Product: kbabel
Classification: Miscellaneous
Component: general (show other bugs)
Version: 1.9
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Stanislav Visnovsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-26 00:37 UTC by Federico Zenith
Modified: 2005-02-07 13:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Zenith 2004-08-26 00:37:15 UTC
Version:           1.9 (using KDE KDE 3.3.0)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6) 
OS:                Linux

Opening a file from Konqueror or with the Open icon in KBabel crashes the application. The application can be launched from the K menu without a file.

Qt version is 3.3.3.

Backtrace:
---------------------------
Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash handler]
#5  0x414d927d in memmove () from /lib/libc.so.6
#6  0x41beea20 in __db_pitem_4001 () from /usr/lib/libdb-4.1.so
#7  0x41bcd562 in __bam_iitem_4001 () from /usr/lib/libdb-4.1.so
#8  0x41bd3042 in __ram_writeback_4001 () from /usr/lib/libdb-4.1.so
#9  0x41bd13d9 in __ram_append_4001 () from /usr/lib/libdb-4.1.so
#10 0x41be351c in __db_put_4001 () from /usr/lib/libdb-4.1.so
#11 0x41b72b69 in DataBaseManager::addCatalogInfo(InfoItem*, int) ()
   from /usr/kde/3.3/lib/kde3/kbabeldict_dbsearchengine.so
---------------------------

WORKAROUND: Go to Settings -> Configure Dictionary -> Translation Database; select the Database tab, and deselect the box "Automatically add entries to database".
Comment 1 Stanislav Visnovsky 2004-11-17 10:52:13 UTC
Would it be possible to send me your database ($KDEHOME/share/apps/kbabeldict/dbsearchengine/*)?
Comment 2 Matthias Peick 2004-12-29 19:09:15 UTC
I haven't compiled in debug, but "/lib/libthread_db.so.1" looks like my error. I and 3 other people who uses 3.3.2 can reproduce it with:
Project | Configure and then press OK.
3 people have Gentoo, 1 Suse 8.1 with 3.3.2 built from the sources.

Ih you have a configuration from an older version of kbabel it crashes while opening a file or, if this doesn't do it, after writing an entry and changing to the next entry.
Comment 3 Stanislav Visnovsky 2005-01-03 15:51:55 UTC
The problem is broken translation database on the disk. You can remove the
old one and the crash will go away, but I need a broken one to resolve the problem.
Comment 4 Stanislav Visnovsky 2005-02-07 13:02:56 UTC
I've commited a code to avoid using search and updating a database.
Please, reopen, if you database gets corrupted again.