Re: libCrun symbol "zero_ints"
- From: "ThanksButNo" <no.no.thanks@xxxxxxxxx>
- Date: 24 Feb 2007 12:08:57 -0800
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?
.
- Follow-Ups:
- Re: libCrun symbol "zero_ints"
- From: clarkbt36
- Re: libCrun symbol "zero_ints"
- From: clarkbt36
- Re: libCrun symbol "zero_ints"
- References:
- libCrun symbol "zero_ints"
- From: clarkbt36
- Re: libCrun symbol "zero_ints"
- From: clarkbt36
- libCrun symbol "zero_ints"
- Prev by Date: Re: ZFS RAIDZ versus HARDWARE RAID on SAN
- Next by Date: Re: Solaris 10u3 jumpstart fails with 38e00
- Previous by thread: Re: libCrun symbol "zero_ints"
- Next by thread: Re: libCrun symbol "zero_ints"
- Index(es):
Relevant Pages
|
Loading