[Therion] Therion hanging after compile

2014-06-14 Thread Olly Betts
On Fri, Jun 13, 2014 at 11:15:26AM +0100, Wookey wrote:
> +++ Jenny Black [2014-06-11 19:12 +1200]:
> >Olly has just had a look (thank you Olly!), and in xtherion he changed:
> >set rx {\S*[^\]\s]\s+\[\d+\]}
> >to:
> >set rx {\s\[\d+\]}
> >It now no longer hangs, and runs as well as ever. We're not sure what the
> >regular expression search was for, or whether changing it matters. As far
> >as I can see it doesn't, as the pdf and log files have already been made.
> 
> Just noticed this. Well fettled. I've filed a bug in Debian BTS about
> this so it doesn't get forgotten. 
> 
> I'll do a 5.3.15 upload with this and ol's other fixes in very soon.

I'm not at all confident this fix is correct - my grasp of Tcl is
insufficient to understand what the code is actually doing with this
regex.

All I did was to prune the bit off the start of the pattern which was
causing the regex engine to do insane amount of backtracking (which
with a large log file could easily result in it taking 10 minutes to
run this regex over the whole log).

So you might want to wait for comments from Stacho or Martin before
shipping this.

Cheers,
Olly



[Therion] Therion hanging after compile

2014-06-13 Thread Wookey
+++ Jenny Black [2014-06-11 19:12 +1200]:
>Hi,
>Thanks very much Bruce and Andrew. I tested Andrew's Cheddar files on this
>linux machine, and therion ran nice and quickly. I then tested my files on
>my Windows 7 machine at work. Having seen that it would sometimes hang for
>Bruce for a minute, I was patient and left it after it hung. It hung for
>10.5 minutes, but then was OK. The same is true on linux. I wasn't patient
>enough!
>Olly has just had a look (thank you Olly!), and in xtherion he changed:
>set rx {\S*[^\]\s]\s+\[\d+\]}
>to:
>set rx {\s\[\d+\]}
>It now no longer hangs, and runs as well as ever. We're not sure what the
>regular expression search was for, or whether changing it matters. As far
>as I can see it doesn't, as the pdf and log files have already been made.

Just noticed this. Well fettled. I've filed a bug in Debian BTS about
this so it doesn't get forgotten. 

I'll do a 5.3.15 upload with this and ol's other fixes in very soon. I
was holding out for vtk6 and wx3 fixes but it looks like those might
take a little longer to finalise.

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



[Therion] Therion hanging after compile

2014-06-11 Thread Jenny Black
Hi,

Thanks very much Bruce and Andrew. I tested Andrew's Cheddar files on this
linux machine, and therion ran nice and quickly. I then tested my files on
my Windows 7 machine at work. Having seen that it would sometimes hang for
Bruce for a minute, I was patient and left it after it hung. It hung for
10.5 minutes, but then was OK. The same is true on linux. I wasn't patient
enough!

Olly has just had a look (thank you Olly!), and in xtherion he changed:

set rx {\S*[^\]\s]\s+\[\d+\]}
to:
set rx {\s\[\d+\]}

It now no longer hangs, and runs as well as ever. We're not sure what the
regular expression search was for, or whether changing it matters. As far
as I can see it doesn't, as the pdf and log files have already been made.
Maybe someone with more therion knowledge will know, and if the cahnge is
good maybe it can be applied.

Thanks,
Jenny
-- next part --
An HTML attachment was scrubbed...
URL: 



[Therion] Therion hanging after compile

2014-06-10 Thread Bruce
Hi Jenny

I get something similar on my Windows versions of 5.3.14 and 5.3.15

With smaller projects, Xtherion compiles normally, and is available for
further input immediately.

With larger projects, Xtherion compiles normally, button goes green, but it
hangs using cpu for some time (minute or so) before becoming available for
further input.  As the outputs are available for use as soon as they are
written to disk it is only a minor annoyance most of the time.  Is
frustrating if I want to use that instance of Xtherion immediately though.  

Bruce



  _  

From: therion-bounces at speleo.sk [mailto:therion-boun...@speleo.sk] On Behalf
Of Jenny Black
Sent: Tuesday, 10 June 2014 2:26 p.m.
To: List for Therion users
Subject: [Therion] Therion hanging after compile



Hi,



When I compile therion, it appears to compile fine (assuming I haven't made
a mistake!), and the green button on the right changes to green, and says
"OK",  but then it will hang. It is still running, and using lots of CPU,
but I cant do anything with it without killing it.



This happens either if I compile by hitting F9, or pressing the "compile"
button. The same thing happens if I make a mistake and it doesn't compile,
but gives me a red "Error" button.



When I restart therion, and load back in my files everything works as
expected... until I compile it again.



I am running therion from debian (unstable) package 5.3.14-1, but I think
this also happened in the previous version.



Thanks,

Jenny



-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20140610/6c269aa8/attachment.html>


[Therion] Therion hanging after compile

2014-06-10 Thread Jenny Black
Hi,

When I compile therion, it appears to compile fine (assuming I haven't made
a mistake!), and the green button on the right changes to green, and says
"OK",  but then it will hang. It is still running, and using lots of CPU,
but I cant do anything with it without killing it.

This happens either if I compile by hitting F9, or pressing the "compile"
button. The same thing happens if I make a mistake and it doesn't compile,
but gives me a red "Error" button.

When I restart therion, and load back in my files everything works as
expected... until I compile it again.

I am running therion from debian (unstable) package 5.3.14-1, but I think
this also happened in the previous version.

Thanks,
Jenny

___
Re-sending this message a week later as it didn't appear to reach the list
(though i got no bounce message), apologies if you get it twice.
-- next part --
An HTML attachment was scrubbed...
URL: