Vanilla List Maling List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ouch
Ok, after 24 hours of running a purified daemon I have some data to report.
First, darn Solaris libraries have memory problems! :-| Nothing we can do
about it.
Second, I think it is time to replace the sprintf() with snprintf(), the
biggest problem inside daemon is Stack array bounds writes and reads.
I need to set a few things up to give more details, but daemon is core dumping
inside of sprintf.
SBW: Stack array bounds write (10 times)
This is occurring while in:
_doprnt [libc.so.1]
sprintf [libc.so.1]
*unknown func* [pc=0x5ffac]
*unknown func* [pc=0x4290c]
sigacthandler [sigaction.c]
*unknown func* [pc=0x297e0]
Writing 1 byte to 0xeffff480.
Frame pointer 0xeffff480
I setup purify wrong so it does not know where the source code is located so
that is why we have the *unknown func* [pc=0x5ffac] stuff. I am in the process
of fixing that now.
I'll let you know as I get more data.
--
Bob Tanner <tanner@real-time.com> | Phone : (612)943-8700
http://www.real-time.com | Fax : (612)943-8500
Key fingerprint = 6C E9 51 4F D5 3E 4C 66 62 A9 10 E5 35 85 39 D9