Re: libCrun symbol "zero_ints"
- From: clarkbt36@xxxxxxxxxxxxx
- Date: 24 Feb 2007 12:29:07 -0800
On Feb 24, 3:08 pm, "ThanksButNo" <no.no.tha...@xxxxxxxxx> wrote:
On Feb 24, 9:58 am, clarkb...@xxxxxxxxxxxxx wrote:
On Feb 23, 8:50 pm, clarkb...@xxxxxxxxxxxxx wrote:
I am debugging a core dump on Solaris 2.6 and I have fount this PLT
symbol "zero_ints". It is located in libCrun.so.1 Does anybody know
what this function does?
Thanks
I got a response to this question in alt.solaris.x86 that ventured a
somewhat obvious answer that "zero_ints" simply initializes integer
variables to zero. I posted a second question to that group that asked
why such a function would exist (what advantage does it offer to
simply initializing your applications variables to zero yourself), and
if there was a reason, why this function would appear in the C++
runtime library instead of the (for example) C runtime library? I'm
still very confused.
Thanks
I think at this point, the important question becomes:
Why do you care?
I'm sure the C and C++ libraries are chock full of functions with
mysterious purposes. So long as a function works and doesn't cause a
problem, who cares what it does or why they put it there or why they
didn't use some other method instead?
If the application cored *in* that function, perhaps the calling
function is the source of the problem from having called it
incorrectly. I get cores in "printf" all the time, and generally it's
because *my* code screwed up, not "printf". So who knows?- Hide quoted text -
- Show quoted text -
I guess the problem is I don't know if I care. My core dump is
optimized, so I am trying to reconstruct what happened based on the
values of SPARC registers at the time of the crash, and the sequence
of function calls in my applications function that crashed. The crash
occurred around an std::fstream::tellg function call and I saw this
"zero_ints" call just before the "tellg" call. I'm just trying to
reconstruct how the SPARC registers got to the point they did when my
program crashed. I realize I might not get an answer to my original
question about what this "zero_ints" function does, because I have
found pretty much negligible information about it via googling it on
the web and also in Google groups, but I just wanted to try.
Thanks
.
- Follow-Ups:
- Re: libCrun symbol "zero_ints"
- From: ThanksButNo
- Re: libCrun symbol "zero_ints"
- References:
- libCrun symbol "zero_ints"
- From: clarkbt36
- Re: libCrun symbol "zero_ints"
- From: clarkbt36
- Re: libCrun symbol "zero_ints"
- From: ThanksButNo
- libCrun symbol "zero_ints"
- Prev by Date: Re: libCrun symbol "zero_ints"
- Next by Date: DST2007 libc patch -- Necessary?
- Previous by thread: Re: libCrun symbol "zero_ints"
- Next by thread: Re: libCrun symbol "zero_ints"
- Index(es):
Relevant Pages
|
Loading