Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Missing Data in Malloc Information View: (3 Items)
   
Missing Data in Malloc Information View  
When looking in the malloc information view on most of our application,  they will 0s in the Total Heap/Calls Made, Core
 Requests section, but the Byte Range stuff is ok.

At first I though it was a problem with the way librairies are linked, but other applications will be ok and they are 
all build with the same makefile. 

Any idea?

Re: Missing Data in Malloc Information View  
So what is different between projects that do work from ones that don't?
Does libc linked statically to any of this?
RE: Missing Data in Malloc Information View  
> -----Original Message-----
> From: Elena Laskavaia [mailto:community-noreply@qnx.com]
> Sent: Monday, March 01, 2010 3:19 PM
> To: general-ide
> Subject: Re: Missing Data in Malloc Information View
> 
> So what is different between projects that do work from ones that
> don't?

I looked for a difference that could explain it, but nothing.  I check with objdump -x and they all need the same shared
 object.  Maybe they aren't loading them in the same order? Just check and they are loaded in the same order. 

> Does libc linked statically to any of this?

Nope, it's listed in the objdump -x output.  However isn't it odd that it doesn't show when using DL_DEBUG=1, that's 
true for QNX's apps as well.

Update:

I made some more test and the code that fails makes use of our static library while the code that is ok doesn't.  That 
being said they are all linked with the same argument. That library has some C++ object that have their constructor 
called before main() maybe that has something to do with it, I'll keep investigating.

> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post48557
>