Closed GoogleCodeExporter closed 9 years ago
This sounds very much like
http://code.google.com/p/gperftools/issues/detail?id=423. Can you confirm which
glibc version that you are using.
Original comment by chapp...@gmail.com
on 4 May 2012 at 4:01
Looks like 2.15 from libc6-2.15-0ubuntu10
Original comment by cjae...@gmail.com
on 4 May 2012 at 4:14
Ok so very likely related to issue 423 then. Looks like we need to find a
creative way to circumvent this allocation that glibc has introduced in sscanf.
Original comment by chapp...@gmail.com
on 4 May 2012 at 5:45
Can you please check which version of gnu libc you are using? In speaking with
the gnu libc guys, version 2.15 introduced a bug in _IO_vfscanf_internal where
alloca is avoided altogether and realloc is called instead. The intent was for
realloc to only be called for large buffers. In 2.16 this is fixed such that
alloca is still used for small buffers.
Original comment by chapp...@gmail.com
on 15 May 2012 at 5:26
I thought I'd already confirmed that I was using 2.15...?
Original comment by cjae...@gmail.com
on 15 May 2012 at 5:29
Sorry, the comment history was collapsed and I missed that :). Going to 2.14 or
2.16 should fix the issue in the interim. I'll have to look at a longer term
fix in the meantime.
Original comment by chapp...@gmail.com
on 15 May 2012 at 7:41
A patch has been submitted to fix this in issue-479.
Original comment by chapp...@gmail.com
on 3 Nov 2012 at 3:04
Original issue reported on code.google.com by
cjae...@gmail.com
on 3 May 2012 at 5:18