Bertrand Using your files I get an infinite loop using Windows and therion 5.3.9, however on looking at your data I notice that you are relying heavily on the default projection for scraps and maps, which is 'plan'. Personally I recommend explicitly defining these for each scrap and map. I think you have a scrap intended as extended that is probably defaulting to plan. As Footleg mentioned, there are only survey stations and no walls. This in itself should not be a problem, as I have often had this situation for component maps in large cave maps, with no issues. It is a normal part of my progression towards drawing up each survey. I have had problems in the past by including a break statement with no scraps above it or below it. Changing this in your files did not change the behaviour however. If you put the list and model exports first, they produce valid outputs, as do the xvi maps, prior to the pdf and xhtml maps hanging. Placing simple exports first is a good way of making sure you get some output at least (might help with debugging in a general sense). Strangely if I create a map with just the survey in it and select it in the thconfig I still get the same problem. Looking at the loch model and inserting the xvi outputs in the th2 shows that the two scrap distortions must be huge, as the station arrangement in the scraps is nothing like realistic. The therion log file scrap distortions confirm this. processing projection plan ... done average distortion: 72.67% processing projection extended ... done average distortion: 62.04% So I don't have a solution for you unfortunately, but it would seem that there is enough distortion in your drawing that it might not be surprising that therion is having trouble. I am not sure. The next step would be to create a replacement th2 file, insert one of the xvi files , and then add the station points over the xvi stations. Then perhaps draw a couple of walls. Bruce _____ From: therion-bounces@speleo.sk [mailto:therion-bounces@speleo.sk] On Behalf Of Bertrand HAUSER Sent: Monday, 27 February 2012 7:01 a.m. To: List for Therion users Subject: [Therion] Infinite loop in therion 5.3.9 Hi, I have an infinite loop with Therion 5.3.9 on Ubuntu. I have to kill the processus to stop it. When I look to the Therion tmp working directory, there is a big file (some Go if I don't stop fastly) witch name is : th_pagedef.tex The begining of this file is in attachment. The infinite loop repeat this ending line : \PL{q}\PL{1.00 0.03 -0.03 1.00 -nan -inf cm}\PB{0}{0}{\THWgrida}\PL{Q}% I don't understand tex language... In attachment, the zip file with the file I compile. Sorry for my english, Bertrand