[Therion] Loch 5.3.7 fails to start in Debian wheezy

Wookey wookey at wookware.org
Fri Jul 1 19:56:00 CEST 2011


+++ Andrew Atkinson [2011-07-01 15:53 +0100]:
> After getting no output in ubuntu I decided to try Debian. So
> squeeze ran fine, nice bat icons and everything in the menu. But it
> was version 5.3.3 so bit the bullet and changed to wheezy.
> Excellent, 5.3.7 xtherion works fine. (Well as far as I can tell)
> But loch just does nothing, whether from the or opening a file.

OK. So testing here with Xephyr from a wheezy chroot, loch works fine
for me. So this is probably something to do with your graphics
card/drivers not getting on with loch or vtk5.8

> Trying the command line I get this
> 
> The program 'loch' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadMatch (invalid parameter attributes)'.
>   (Details: serial 2540 error_code 8 request_code 73 minor_code 0)
>   (Note to programmers: normally, X errors are reported asynchronously;
>    that is, you will receive the error a while after causing it.
>    To debug your program, run it with the --sync command line
>    option to change this behavior. You can then get a meaningful
>    backtrace from your debugger if you break on the gdk_x_error()
> function.)

That means about as much to me as it does to you. I have two opengl
geeks sat here and they just said 'yeah, that's the sort of error you
get'. What sort of graphics card have you got? (and which
drivers/kernel) Can you save the info from the Aven 'about' window -
that can be helpful.

This is going to be difficult to debug remotely if I can't reproduce. 

There should be some wxgtk samples/demos you can run which would show
if it is a wx problem or a loch problem. (loch uses VTK, which uses WX).

I've also just noticed that we are linking against libwxgtk2.6 when
2.8 is available. Stacho - do you expect v2.8 to work or are there ABI
changes needed? If the new one works then hopefully it has bugfixes. 

You could install libwxgtk2.6-dbg and libvtk5-dbg and see if you get
any more debug info. You may need to use xxgdb to get any good info
that way.

Another thing to try is 
strace loch <filename> 2>&1> therion.strace.log


There is also therion 5.3.8 in unstable. Add that repo and you should
be able to  do 
aptitude install therion/unstable

and try that one. It's very unlikely to be different in the graphics
area though.

Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/



More information about the Therion mailing list