jmeter-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 60668] invalid regular expressions gets jmeter stuck everytime
Date Wed, 01 Feb 2017 20:44:30 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=60668

--- Comment #3 from Philippe Mouawad <p.mouawad@ubik-ingenierie.com> ---
(In reply to Felix Schumacher from comment #2)
> The used regex is badly composed and will take a long time on moderately
> long inputs.
> 
> The important pieces here are, that the matching is done in the awt thread
> and thus blocking the GUI. Secondly Java has no standard way to interrupt
> regex matches.
> 
> On
> http://stackoverflow.com/questions/910740/cancelling-a-long-running-regex-
> match
> Is a nice wrapper for charsequence, which in combination with a thread can
> be used to make the matching interruptible.
> 
> I think I can produce a patch, but it will probably take a few days.

Hi Felix,
Do you think it's worth the work ?

Badly built Regex can lead to catastrophic backtracking that would kill
performance of Load Test anyway.

Regards

-- 
You are receiving this mail because:
You are the assignee for the bug.
Mime
View raw message