From mboxrd@z Thu Jan 1 00:00:00 1970 From: mark@markdrayton.info (Mark Drayton) Date: Mon, 3 Aug 2009 09:16:24 +0100 Subject: [sup-talk] Stack overflow in regexp matcher Message-ID: <92457f310908030116k146a901aleee95a09db907d97@mail.gmail.com> Hi there I'm trying to run sup 0.8.1 on Mac OS 10.5.6, Ruby 1.8.6 but sup-sync is repeatedly dying: MC-S001930:~ draytm01$ sup-sync -c [..] [Mon Aug 03 08:45:18 +0100 2009] Connecting to IMAP server foo:143... [Mon Aug 03 08:45:18 +0100 2009] Logging in... [..] [Mon Aug 03 08:45:19 +0100 2009] fetching IMAP headers 1..1002 [Mon Aug 03 08:45:20 +0100 2009] done fetching IMAP headers Scanning imap://foo/INBOX... [..] ## read 440m (about 52%) @ 2.2m/s. 0:03:19 elapsed, about 0:03:03 remaining [Mon Aug 03 08:48:49 +0100 2009] unlocking /Users/draytm01/.sup/lock... /Library/Ruby/Gems/1.8/gems/sup-0.8.1/lib/sup/util.rb:204:in `split': Stack overflow in regexp matcher: /,\s*(?=(?:[^"]*"[^"]*")*(?![^"]*"))/ (RegexpError) from /Library/Ruby/Gems/1.8/gems/sup-0.8.1/lib/sup/util.rb:204:in `split_on_commas' from /Library/Ruby/Gems/1.8/gems/sup-0.8.1/lib/sup/person.rb:110:in `from_address_list' from /Library/Ruby/Gems/1.8/gems/sup-0.8.1/lib/sup/message.rb:104:in `parse_header' from /Library/Ruby/Gems/1.8/gems/sup-0.8.1/lib/sup/message.rb:208:in `load_from_source!' from /Library/Ruby/Gems/1.8/gems/sup-0.8.1/lib/sup/poll.rb:151:in `add_messages_from' from /Library/Ruby/Gems/1.8/gems/sup-0.8.1/lib/sup/imap.rb:187:in `each' from /Library/Ruby/Gems/1.8/gems/sup-0.8.1/lib/sup/imap.rb:175:in `upto' from /Library/Ruby/Gems/1.8/gems/sup-0.8.1/lib/sup/imap.rb:175:in `each' ... 7 levels... from /Library/Ruby/Gems/1.8/gems/sup-0.8.1/bin/sup-sync:135:in `each' from /Library/Ruby/Gems/1.8/gems/sup-0.8.1/bin/sup-sync:135 from /usr/bin/sup-sync:19:in `load' from /usr/bin/sup-sync:19 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? Cheers, Mark