New user registration is currently disabled due to spam abuse / Регистрация новых пользователей в настоящее время приостановлена из-за злоупотреблений спаммерами

Goldendict has crashed! [Solved]

General discussion

Goldendict has crashed! [Solved]

Postby fast_rizwaan » Fri Oct 22, 2010 11:26 am

hi,

goldendict crashed here:

here's the 'terminal output'
----------
[rizvan@chakra-desktop ~]$ goldendict
Load done
getResource: gdlookup://localhost?blank=1
scheme: gdlookup
host: localhost
getResource: gdlookup://localhost?blank=1
scheme: gdlookup
host: localhost
getResource: gdlookup://localhost?word=Welcome!&group=4294967295
scheme: gdlookup
host: localhost
In-place finish.
====reading 53198 bytes
getResource: gdlookup://localhost?word=Should &group=4294967295
scheme: gdlookup
host: localhost
In-place finish.
====reading 52277 bytes
clipboard changed
Qt Concurrent has caught an exception thrown from a worker thread.
This is not supported, exceptions thrown in worker threads must be
caught before control returns to Qt Concurrent.



----crash output------
[rizvan@chakra-desktop ~]$ cat /tmp/qt_temp.TJ3571
GoldenDict has crashed with an unexpected exception

Exception: BtreeIndexing::exCorruptedChainData
Message: Corrupted chain data in the leaf of a btree encountered

Backtrace:
/usr/lib/libstdc++.so.6(+0xafdd5) [0xb4e97dd5]
/usr/lib/libstdc++.so.6(+0xafe12) [0xb4e97e12]
/usr/lib/libstdc++.so.6(__cxa_rethrow+0x5b) [0xb4e97feb]
/usr/lib/libQtCore.so.4(+0x5456e) [0xb4f4456e]
/usr/lib/libQtCore.so.4(+0x5e599) [0xb4f4e599]
/lib/libpthread.so.0(+0x5e60) [0xb4edbe60]
/lib/libc.so.6(clone+0x5e) [0xb4d2afbe]
Attachments
goldendict-crashed.png
the crash dialog
goldendict-crashed.png (25.41 KiB) Viewed 12603 times
Last edited by fast_rizwaan on Sat Oct 23, 2010 6:35 pm, edited 1 time in total.
fast_rizwaan
 
Posts: 45
Joined: Tue Dec 08, 2009 5:10 pm

Re: Goldendict has crashed!

Postby ikm » Fri Oct 22, 2010 4:21 pm

Try reindexing everything (rm ~/.goldendict/index/*) and see if the problem goes away.
ikm
Автор GoldenDict
 
Posts: 1595
Joined: Wed Feb 04, 2009 10:40 am

Re: Goldendict has crashed!

Postby fast_rizwaan » Fri Oct 22, 2010 10:27 pm

I found the solution, my 2 dictionary databases .dsl files has "incorrect" Identification string i.e., #NAME (UPPERCASE) was incorrectly typed by me as #Name (titlecase) and other dsl file was not utf-16 (standard dsl file encoding) but utf8, which was causing the problem.

It's not a bug in Goldendict but, incorrect data-representation. Sorry for the inconvenience!
fast_rizwaan
 
Posts: 45
Joined: Tue Dec 08, 2009 5:10 pm

Re: Goldendict has crashed!

Postby Gloggy » Sun Oct 24, 2010 7:18 am

fast_rizwaan wrote:It's not a bug in Goldendict but, incorrect data-representation. Sorry for the inconvenience!

In the past, Konstantin said that GoldenDict should never crash, even on bad/incorrect data. So, if you could prepare a minimal test case (small DSL dictionary that crashes GoldenDict) and attach it to your message, that would be very helpful.
Gloggy
Модератор
 
Posts: 516
Joined: Wed May 06, 2009 3:01 pm


Return to General

Who is online

Users browsing this forum: No registered users and 22 guests

cron