[Therion] therion crashes on debian testing (bullseye)

Benedikt Hallinger beni at hallinger.org
Fri Sep 13 18:16:42 CEST 2019


...Also just tried to build the package myself on my system, sadly with 
the same results.

Am 2019-09-13 17:54, schrieb Benedikt Hallinger:
> Hi, this is enough:
> 
> ---------test.th-------------
> survey test
>   centerline
>     units length meters
>     data normal from to length bearing clino
>     1   2       10      10      10
>     2   3       20      20      20
> 
>    cs EPSG:31258
>    fix 1 470000 200000 123
> 
>   endcenterline
> endsurvey
> ------------------------------
> 
> ---------test.thconf-------------
> source test.th
> 
> export model -o test.3d
> ---------------------------------
> 
> 
> 
> Gives:
> beni at segin:/tmp/thdebug$ therion test.thconf
> therion 5.4.4 (2019-05-01)
> cavern - Survex 1.2.42
> initialization file: /etc/therion.ini
> reading ... done
> This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian)
> (preloaded format=pdfetex)
>  restricted \write18 enabled.
> entering extended mode
> (./fonttest.tex
> checking optional fonts csr10 csti10 csbx10 csss10 csssi10 ... NOT 
> INSTALLED
> This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian)
> (preloaded format=pdfetex)
>  restricted \write18 enabled.
> entering extended mode
> (./fonttest.tex
> checking optional fonts cmcyr10 cmcti10 cmcbx10 cmcss10 cmcssi10 ...
> NOT INSTALLED
> configuration file: test.thconf
> reading ... done
> reading source files ... proj_create: Error -1: no arguments in
> initialization list
> 
> therion: error -- PROJ4 library: -1 (no arguments in initialization 
> list)
> beni at segin:/tmp/thdebug$
> 
> 
> 
> 
> Am 2019-09-12 22:17, schrieb Olly Betts:
>> 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