Segfault in re_string_reconstruct()

Hans-Christian Egtvedt hans-christian.egtvedt at atmel.com
Mon Nov 3 07:51:45 UTC 2008


On Mon, 3 Nov 2008 10:09:51 +1300
Jeremy Bowen <jeremy.bowen at pertronic.co.nz> wrote:

> On Friday 31 October 2008 8:30:40 pm Hans-Christian Egtvedt wrote:
> 
> > > > >However I'm now very nervous about my C compiler....
> >
> > Depends on which version you are using. From where did you compile
> > GCC? There are quite some necessary patches needed at
> > http://avr32linux.org/twiki/bin/view/Main/GccPatches
> 
> Yeah, I've compiled this from the base gcc-4.2.2.atmel.1.0.8 plus
> these additional patches from the avr32linux.org site.
> 

Weird, because I could not trigger this error myself.

> > Hmmm, not good. Do you have any chance of making a small test case?
> 
> I'm happy to help. Unfortunately I have a deadline looming and need
> to get something working in the short term so I'm running with the
> redundant dprintf() as a band-aid.
> 
> I know this isn't a real solution but I have other issues (in my
> application) which are show-stoppers that I need to work on first.
> Finding & fixing the root cause of this bug can come later.
> 

Another band aid might be to use the old implementation of regexp in
uClibc.

-- 
Best regards,
Hans-Christian Egtvedt



More information about the uClibc mailing list