[regex-coach] Apparent crash on complex regex in "Tree" tab

era+regex=coach at iki.fi era+regex=coach at iki.fi
Tue Sep 6 10:49:07 UTC 2005


On Fri, 02 Sep 2005 15:15:04 +0200, "Edi Weitz" <edi at agharta.de> said:
> On Fri, 02 Sep 2005 15:51:24 +0300, era+regex=coach at iki.fi wrote:
> > I'm afraid that experimenting with libraries on my production system
> > is not an option for me at the moment. If somebody could see if they
> > can at least repro this with the Ubuntu 5.04 Live CD, that would be
> > helpful.
> 
> I just got a report from someone using Ubuntu 5.04 who said he
> couldn't reproduce your problem - see attached screen shot.

In the screen shot, the email sample appears to be munged -- all the @
characters have been replaced with " at ". I guess this is something the
mailing list software might have done. For what it's worth, I've made
the file available at the URL below so you (for applicable values of
"you" :-) can download it in unmunged form.

I still get the crash even if I similarly mung my copy of the text,
though.

The strace output is rather voluminous, so I'd rather not attach it
here. Here's a snippet from what seems to me like the critical spot in
the trace:

open("/home/era/Software/Edi Weitz/The Regex
Coach/Environment/CL-PPCRE-INTERACTIVE/REGEX-INTERFACE/.values",
O_RDWR|O_CREAT|O_TRUNC, 0666) = 4
write(4, "((\"Window Positions:1920x1440\" ("..., 50) = 50
close(4)                                = 0
setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) =
0
gettimeofday({1125993191, 600327}, NULL) = 0
close(3)                                = 0
gettimeofday({1125993191, 601764}, NULL) = 0
setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 100000}},
NULL) = 0
gettimeofday({1125993191, 602617}, NULL) = 0
gettimeofday({1125993191, 603863}, NULL) = 0
setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) =
0
setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 100000}},
NULL) = 0
gettimeofday({1125993191, 604361}, NULL) = 0
setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) =
0
gettimeofday({1125993191, 604506}, NULL) = 0
select(3, [], [], [], {0, 0})           = 0 (Timeout)
gettimeofday({1125993191, 604705}, NULL) = 0
setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) =
0
gettimeofday({1125993191, 604826}, NULL) = 0
setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 100000}},
NULL) = 0
gettimeofday({1125993191, 604925}, NULL) = 0
setitimer(ITIMER_VIRTUAL, {it_interval={0, 0}, it_value={0, 0}}, NULL) =
0

(Sorry if the line wrapping is weird.)

After this point it's just looping until I kill it.

The full strace is available in
http://www.ihme.org/~era/tmp/regex-coach/ -- it turned out the first
5,000 lines were relevant, and the other 100,000 or so were just looping
the loop :-/


/* era */

-- 
If this were a real .signature, it would suck less.  Well, maybe not.




More information about the regex-coach mailing list