bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stack usage in glibc (vfprintf)


From: Jimen.Ching
Subject: Stack usage in glibc (vfprintf)
Date: Sat, 14 Oct 2000 18:15:43 -1000

Hi,

I was tracking down a bug in my software, and I narrowed it down to a call
to sprintf.  The problem was the stack was being overflowed.  I seems the
vfprintf function requires over 1500 bytes of stack space.  The work_buffer
local variable in vfprintf takes 1000 bytes.  Should a library function
take this much space off the stack?

Are there other functions that require this much stack space?

--jc
--
address@hidden     Adtech, Inc.    (808) 734-3300


reply via email to

[Prev in Thread] Current Thread [Next in Thread]