From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Tue, 11 Aug 2009 13:22:30 -0700 Subject: [sup-talk] Stack overflow in regexp matcher In-Reply-To: <92457f310908030116k146a901aleee95a09db907d97@mail.gmail.com> References: <92457f310908030116k146a901aleee95a09db907d97@mail.gmail.com> Message-ID: <1250021966-sup-933@masanjin.net> Hi Mark, Reformatted excerpts from Mark Drayton's message of 2009-08-03: > ## read 440m (about 52%) @ 2.2m/s. 0:03:19 elapsed, about 0:03:03 remaining > Stack overflow in regexp matcher: > /,\s*(?=(?:[^"]*"[^"]*")*(?![^"]*"))/ (RegexpError) Interesting. Looks like Sup is trying to split a header line into multiple email addresses and something's causing it to bomb. Are you able to identify the line that's causing this problem? That would be helpful to know. > This error seems to have cropped up in other software so I suspect > it's a problem with Ruby, not sup. Anyone able to confirm this? It's a problem with Ruby's regular expression implementation, I suppose, but we've never seen it before. The solution is to either tweak the regexp until it starts working, or implement a custom parsing solution, neither of which sounds that entertaining... -- William