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

segmentation fault(version: 1.0.2~git20120929-3) on debian

Report bugs here

segmentation fault(version: 1.0.2~git20120929-3) on debian

Postby leoli » Mon Jun 10, 2013 11:08 am

Hi guys,

I can't start goldendict form console or xfce applications Menu, while I want to start it manually, the follow info appears:
leoli@ll:~$ goldendict --help
Gtk-Message: Failed to load module "canberra-gtk-module"
Segmentation fault

more detail:
[13074.874090] goldendict[7553]: segfault at 7f24f982bf70 ip 00007f2504f6797e sp 00007f24f982bf50 error 6 in UTF-16.so[7f2504f67000+3000]
[13095.504314] goldendict[7556]: segfault at 7fdb4ff56f70 ip 00007fdb5b69a97e sp 00007fdb4ff56f50 error 6 in UTF-16.so[7fdb5b69a000+3000]

leoli@ll:~$ uname -a
Linux ll 3.2.0-4-amd64 #1 SMP Debian 3.2.41-2 x86_64 GNU/Linux

The tail of strace info:
recvfrom(6, 0x18b57a4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(6, 0x18b57a4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(8, 0x191af84, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}], 6, 0) = 0 (Timeout)
recvfrom(6, 0x18b57a4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(6, 0x18b57a4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(8, 0x191af84, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}], 6, 0) = 0 (Timeout)
recvfrom(6, 0x18b57a4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(6, 0x18b57a4, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
recvfrom(8, 0x191af84, 4096, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, {fd=9, events=POLLIN}, {fd=6, events=POLLIN}, {fd=11, events=POLLIN}], 6, 29942) = ? <unavailable>
+++ killed by SIGSEGV +++
Segmentation fault

Any one got same issus?
leoli
 
Posts: 3
Joined: Mon Jun 10, 2013 10:56 am

Re: segmentation fault(version: 1.0.2~git20120929-3) on deb

Postby Tvangeste » Mon Jun 10, 2013 11:23 am

Strange error in UTF16.so, have never seen such errors in the past.

Did you try to remove some (all) of your dictionaries, does that help? You might consider removing (backing it up to some safe place) the whole ~/.goldendict folder. Anything changes after that?

You might also consider building GoldenDict from the latest git sources: https://github.com/goldendict/goldendict#introduction

Building is trivial, the only problem is to figure out all the dependencies. For Ubuntu, we list them in the README file (linked above), but for Debian you'd probably have to figure them on your own...
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: segmentation fault(version: 1.0.2~git20120929-3) on deb

Postby leoli » Tue Jun 11, 2013 1:56 am

Hi Tvangeste,
After I remove all the things contains in .goldendict directory, It works fine for me and I need reconfigration my dictionary.
Thanks for your kind help.
leoli
 
Posts: 3
Joined: Mon Jun 10, 2013 10:56 am

Re: segmentation fault(version: 1.0.2~git20120929-3) on deb

Postby Tvangeste » Tue Jun 11, 2013 6:09 am

leoli wrote:After I remove all the things contains in .goldendict directory, It works fine for me and I need reconfigration my dictionary.
Thanks for your kind help.

Good. Most probably, one of the dictionaries contains some invalid data that triggers the crash in UTF16 module. Typically, dictionaries in DSL format are in UTF-16 encoding so if you have some DSL dictionaries they are the first to suspect. Try to add them one by one and see if any particular dictionary causes the problem.

At the end, when you re-added all your dictionaries, you have only two outcomes, GoldenDict either crashes again or it does not. If no crashes, then everything is OK and there was some glitch in the configuration. If there are crashes on particular dictionary, I'd be very grateful if you could send the bad dictionary to me for further investigation (via private message).

Thanks!
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: segmentation fault(version: 1.0.2~git20120929-3) on deb

Postby leoli » Fri Jun 14, 2013 4:44 am

Hi Tvangeste,
Sorry for late reply, as so far, I have been added my dictionary back one by one and no crash appears.
I try two times, the issue is still could not be reproduce and seems everything is works well.

Leo.
leoli
 
Posts: 3
Joined: Mon Jun 10, 2013 10:56 am


Return to Bugs

Who is online

Users browsing this forum: No registered users and 17 guests

cron