[Therion] WG: Therion crashes in shapes.h when generating 3D

Michael knollesimage at t-online.de
Mon Nov 27 21:29:57 CET 2017


Hello Martin,
Thank you so much for taking the time to analyse the scrap and your improvements! With your hints I was now able to turn it into something digestable for Therion.
 
If you still want the testcase with complete TH-File for code debugging, let me know I’ll then send it to you directly.
 
Cheers,
Michael.
 
 
Von: Martin Sluka [mailto:martinsluka at mac.com] 
Gesendet: Montag, 27. November 2017 17:02
An: List for Therion users <therion at speleo.sk>
Cc: Michael <knollesimage at t-online.de>
Betreff: Re: [Therion] WG: Therion crashes in shapes.h when generating 3D
 
Michael,
 
The th file with centerline is not centerline you used when sketching in PocketTopo.
 
So there is not possible to assign stations from your sketch to stations in your centerline.
 
Correct way could be to connect both centerlines in another th file one level higher and command "equate"
 
equate SA09@ <mailto:SA09 at fomer> old_survey 1.0 at new <mailto:1.0 at new> _survey
 
A scrap is a continuous small piece of cave. To define discontinuous scrap with holes is not the best idea. I attached your th2 file divided to 8 scraps, but there are not stations defined in centerline so the map is not possible to export.
 
Any scrap must be calibrated (georeferenced) either by at least two stations or scaled in scrap section. The section was not scaled, so I did it too. It is good idea to add all stations belonging to a scrap to that scrap first.

You may use "Convert to curve" command in Line section to smooth your walls and other lines.
 
In your scrap there are several empty lines and lines with only one point. Delete them.
 
 

On Nov 26, 2017, at 12:42 PM, Michael via Therion <therion at speleo.sk <mailto:therion at speleo.sk> > wrote:
Hello,
After tedious search through 100s of Scraps I have now isolated the one (SA9.th2) scrap which crashes Therion in
extern/poly2tri/sweep/../common/shapes.h
It's attached together with an excerpt of the survey data.
Admittingly, the walls are not drawn very well, but after fixing and completing the walls (not done in attached sample) it still
crashes Therion.
May this example be a test case for developers to improve Therion's robustness.
BTW, it also crashes older Therion releases.

Cheers,
Michael.

-----Ursprüngliche Nachricht-----
Von: Michael [mailto:knollesimage at t-online.de] 
Gesendet: Samstag, 4. November 2017 14:48
An: 'List for Therion users' <therion at speleo.sk <mailto:therion at speleo.sk> >
Betreff: Therion crashes in shapes.h when generating 3D

Hello,
Seeking advice from Therion developers how to track down the cause of attached crash report, and apply possible workaround.
Only happens when generating 3D of any format.
Producing plans (pdf, kml) works.
I'm running Therion 5.4.1 on Windows 7.
The crash seems unrelated to the last scrap processed before the crash, because when I exclude that scrap, it crashes after approx.
the same time with a different one.

Any help appreciated,
Michael.
<Therion-Crash.jpg>
_______________________________________________
Therion mailing list
Therion at speleo.sk <mailto:Therion at speleo.sk> 
https://mailman.speleo.sk/listinfo/therion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20171127/fa6ba50b/attachment.htm>


More information about the Therion mailing list