Tux Guitar

Problems

Subject Crash on PDF Export (Java error)



Author Message
r0ckarong
Post: Mar 26th 2009 at 7:08 PM

Whenever I try to export a tab into a PDF Tuxguitar just dies after I have chosen the place where to save the file. I get the following error message:

$ tuxguitar
java: ../../src/xcb_lock.c:77: _XGetXCBBuffer: Assertion `((int) ((xcb_req) - (dpy->request)) >= 0)' failed.
Aborted


Every now and again I can export it if I deactivate everything except the tabulature in the PDF options. Most of the time the program just crashes.


Back to Top
 
Julian
Post: Mar 26th 2009 at 10:06 PM

What java version do you have installed ?
paste me the result of.. please:
tuxguitar -i


Back to Top
 
r0ckarong
Post: Mar 26th 2009 at 10:47 PM

I use the version that is currently supplied by the Ubuntu (Intrepid) repositories:

$ tuxguitar -i
System Info:
-> OS-Name: Linux
-> OS-Arch: i386
-> OS-Version: 2.6.27-11-generic
-> JVM-Name: Java HotSpot(TM) Client VM
-> JVM-Version: 11.0-b15
-> JVM-Vendor: Sun Microsystems Inc.
-> Java-Version: 1.6.0_10
-> Java-Vendor: Sun Microsystems Inc.
-> Java-Home: /usr/lib/jvm/java-6-sun-1.6.0.10/jre
-> Java-Class-Path: ::/usr/share/java/tuxguitar.jar:/usr/lib/java/swt.jar:/usr/share/java/itext.jar:/usr/share/tuxguitar/
-> Java-Library-Path: :/usr/lib/jni/:/usr/lib/jni/:/lib:/usr/lib:/usr/lib/jni:/usr/local/lib:/usr/lib/firefox


Back to Top
 
Julian
Post: Mar 28th 2009 at 6:19 PM

your java version is fine.. i'm not sure what can it be.
i'll try to reproduce the bug to fix it.

for now you can export the file to Lilypond format,
and then, you can generate a very nice PDF with lilypond executing on a terminal:
lilypond File.ly

( ofcourse you need install lilypond first :) .. it's available at ubuntu repositories )


Back to Top