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

X Window System error, bug in the program

Report bugs here

Re: X Window System error, bug in the program

Postby Tvangeste » Fri Jun 28, 2013 10:21 pm

Please run the following debug session. Since I cannot reproduce the problem on my machine I have to ask you. :)

Code: Select all
1. gdb ./goldendict
2. break main
3. run
4. break _XError
5. set _Xdebug=1
6. cont
7. bt


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

Re: X Window System error, bug in the program

Postby leonrwood » Fri Jul 05, 2013 3:03 am

I also have this problem. I cannot figure out why. The output is the same as the last poster posted. If there's anything I can help,
I would like to do anything that I can do to solve this problem.
leonrwood
 
Posts: 1
Joined: Fri Jul 05, 2013 2:49 am

Re: X Window System error, bug in the program

Postby Tvangeste » Fri Jul 05, 2013 9:57 am

leonrwood wrote:I also have this problem. I cannot figure out why. The output is the same as the last poster posted. If there's anything I can help,
I would like to do anything that I can do to solve this problem.

Please try my step-by-step instruction one post above and report back your output.

I would also recommend to build GoldenDict in debug mode before trying:
Code: Select all
qmake "CONFIG+=debug"
make clean
make
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: X Window System error, bug in the program

Postby serge » Sat Jul 06, 2013 6:59 pm

Thanks Tvangeste, it's fixed the issue for me. I had this issue with Ubuntu 13.04 after another system update (apt-get update).

Tvangeste wrote:OK, one more thing to try.

Make sure no goldendict is running, then open the ~/.goldendict/conifg file in any text editor and change 1 to 0 in two places:

Code: Select all
<enableMainWindowHotkey>1</enableMainWindowHotkey>
... snip ....
<enableClipboardHotkey>1</enableClipboardHotkey>

to
Code: Select all
<enableMainWindowHotkey>0</enableMainWindowHotkey>
... snip ...
<enableClipboardHotkey>0</enableClipboardHotkey>


Is your GoldenDict still crashing after such change?
serge
 
Posts: 4
Joined: Sat Jul 06, 2013 6:55 pm

Re: X Window System error, bug in the program

Postby Tvangeste » Sat Jul 06, 2013 7:13 pm

serge, please, if you could build GoldenDict like stated here:
viewtopic.php?p=10286#p10286

And then perform a debug session, as mentioned here (and share the results):
viewtopic.php?p=10250#p10250

That would be awesome! So that we have more info in order to properly fix the bug. I myself cannot reproduce it and hence rely on you guys to make this debugging. :)
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: X Window System error, bug in the program

Postby serge » Sun Jul 07, 2013 5:59 am

Tvangeste, I have built GoldenDict from GIT with "CONFIG+=debug". Then I have removed ~/.goldendict directory and reproduced the issue with fresh goldendict. Here is debug log:
http://pastebin.com/AyFmbgJg

Please let me know if I can help you with other test.
serge
 
Posts: 4
Joined: Sat Jul 06, 2013 6:55 pm

Re: X Window System error, bug in the program

Postby Tvangeste » Sun Jul 07, 2013 7:15 am

serge wrote: Here is debug log:
http://pastebin.com/AyFmbgJg

Excellent! Thank you very much for your efforts!

So it is indeed a conflict between GoldenDict shortcuts and Xubuntu's (XFCE, actually).

Now, once you are able to start the GoldenDict, go to Preferences (F4) -> Hotkeys, and you could enable the second shortcut as-is, but the first one you need to change, since Ctrl+F11+F11 conflicts with Xubuntu's hotkeys (switch to the eleventh workspace!, heheh).
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

Re: X Window System error, bug in the program

Postby serge » Sun Jul 07, 2013 7:29 am

I don't use hotkeys from that tab actually, so it's fine for me now.
Thank you very much for this awesome sottware!
serge
 
Posts: 4
Joined: Sat Jul 06, 2013 6:55 pm

Re: X Window System error, bug in the program

Postby gunnvorwagner » Sun Jul 07, 2013 9:14 pm

Tvangeste wrote:OK, one more thing to try.

Make sure no goldendict is running, then open the ~/.goldendict/conifg file in any text editor and change 1 to 0 in two places:

Code: Select all
<enableMainWindowHotkey>1</enableMainWindowHotkey>
... snip ....
<enableClipboardHotkey>1</enableClipboardHotkey>

to
Code: Select all
<enableMainWindowHotkey>0</enableMainWindowHotkey>
... snip ...
<enableClipboardHotkey>0</enableClipboardHotkey>


Is your GoldenDict still crashing after such change?


Hi there,

No Goldendict doesnt crash after the change

im sorry for the late answer, but I had a lot of stuff to do. I edited the mentioned file accordingly and now it works. Thanks for all your effort. Ill be git pulling waiting for a better XFCE integration! :D
gunnvorwagner
 
Posts: 15
Joined: Mon May 27, 2013 3:53 pm

Re: X Window System error, bug in the program

Postby Tvangeste » Fri Jul 19, 2013 6:27 pm

Folks, the bug has been fixed.

Could you please remove any of the mentioned workarounds and try the latest build and see if the problem is indeed resolved for you.

You could either build GoldenDict from sources or you could use my pre-built packages, courtesy of the awesome service from openSUSE:
http://software.opensuse.org/download.h ... goldendict

Just select your distro (Ubuntu) and follow instructions for your Ubuntu version to add the new repository. Then just regular 'apt-get update' and 'apt-get install goldendict'.
Tvangeste
 
Posts: 893
Joined: Thu Jun 02, 2011 11:42 am

PreviousNext

Return to Bugs

Who is online

Users browsing this forum: No registered users and 2 guests