[Therion] therion crashes on debian testing (bullseye)
Olly Betts
olly at survex.com
Thu Sep 12 22:17:35 CEST 2019
On Thu, Sep 12, 2019 at 09:09:29PM +0200, Benedikt Hallinger wrote:
> i upgraded my debian testing installation some time ago and since then,
> therion wont compile anymore.
Do you have any idea when "some time ago" was? If we know when this
broke that would help narrow down the culprit.
> configuration file: therion/model.hirlatz-dop-1m_geoland-dom-10mALS.thconfig
> reading ... done
> reading source files ... proj_create: Error -1: no arguments in
> initialization list
>
> therion: error -- PROJ4 library: -1 (no arguments in initialization list)
> ------------------------------------
>
> I cant figure out whats wrong....
I'd guess a something changed with PROJ. Therion uses the library from
proj 5.2.0-1 which was uploaded nearly a year ago, but there's a
proj-data package which got updated on 2019-09-04 to come from proj
6.2.0-1 instead of 5.2.0-1. So if "some time ago" was after that
then this could be the cause.
Debian has continuous integration to attempt to catch this sort of
problem, but that's currently green:
https://ci.debian.net/packages/t/therion/testing/amd64/
The current CI test tries to process:
therion samples/morphing/sample1/thconfig.1
and checks that a non-empty cave1.pdf is produced.
But unfortunately that sample doesn't use coordinate systems so wouldn't
catch issues with PROJ (it seems none of the supplied samples do).
I tried adding "cs" and "fix" lines to that sample, but it processes OK
so it seems it's something specific to your example, or perhaps to your
installation. Can you show a cut-down example which fails? If you
replace the survey data with a single dummy leg and change the entrance
coordinates to be something random but valid there shouldn't be anything
potentially sensitive revealed.
> Also loch crashes, is this related?
> --------------------------
> $ loch
> Error: glXCreateContext failed
> --------------------------
It seems unlikely to be related.
I see this too - it happens if "execution fails on the client side"
apparently:
https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glXCreateContext.xml
That seems uselessly vague though.
Cheers,
Olly
More information about the Therion
mailing list