From andrewm at object-craft.com.au Tue Dec 21 22:57:53 2004 From: andrewm at object-craft.com.au (Andrew McNamara) Date: Tue, 21 Dec 2004 22:57:53 +1100 Subject: [albatross-users] regexp bug in Python 2.4.0 causes Albatross core dumps Message-ID: <20041221115753.0486D3C8E5@coffee.object-craft.com.au> We've identified a defect in Python 2.4.0's regular expression code that causes grief for Albatross's template parsing. From the Python 2.4 release highlights: The re module was extended to allow simple conditional expressions in regular expressions. In addition, the underlying SRE engine is now non-recursive (previously, certain types of regular expression would run into troubles with recursion). Unfortunately, the code that was added to support this fails to initialise realloc()'ed memory prior to use, and with complex regular expressions in use, the python interpreter dies with an invalid memory access soon after. This has been reported as Python bug ID 1088891. -- Andrew McNamara, Senior Developer, Object Craft http://www.object-craft.com.au/