Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - "Attempt to free a block not allocated" message: Page 1 of 2 (15 Items)
   
"Attempt to free a block not allocated" message  
Running perl 5.10 on the Neutrino 6.4.0 SDP we keep seeing the message:

 Attempt to free a block not allocated: 0x81b7b88

spewing out to the console (x86 VMWare) ... lots of different addresses.

I've tracked it down to code from the runtime loader/linker:

  http://community.qnx.com/integration/viewcvs/viewcvs.cgi/trunk/lib/c/ldd/xsupport.ci?root=coreos_pub&rev=200965&system
=exsy1001&view=markup 

Looking at where the error is coming from, it can't be good =;-)  To reproduce
the problem you can grab a copy of Perl from the 'opt/crank' archive we maintain:

 http://www.cranksoftware.com/downloads/

Running the standard tests should show the message.

Thanks,
 Thomas

Re: "Attempt to free a block not allocated" message  
Thanks for the report Thomas, we'll take a look.

Colin

Thomas Fletcher wrote:
> Running perl 5.10 on the Neutrino 6.4.0 SDP we keep seeing the message:
> 
>  Attempt to free a block not allocated: 0x81b7b88
> 
> spewing out to the console (x86 VMWare) ... lots of different addresses.
> 
> I've tracked it down to code from the runtime loader/linker:
> 
>   http://community.qnx.com/integration/viewcvs/viewcvs.cgi/trunk/lib/c/ldd/xsupport.ci?root=coreos_pub&rev=200965&system=exsy1001&view=markup 
> 
> Looking at where the error is coming from, it can't be good =;-)  To reproduce
> the problem you can grab a copy of Perl from the 'opt/crank' archive we maintain:
> 
>  http://www.cranksoftware.com/downloads/
> 
> Running the standard tests should show the message.
> 
> Thanks,
>  Thomas
> 
> 
> 
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post20051
> 

-- 
cburgess@qnx.com
RE: "Attempt to free a block not allocated" message  
Just so we don't duplicate efforts, Thomas has agreed to provide a
smaller or self contained test case to show the issue.  Once we have
that I can take a peek at what is going on.


-- 
 Cheers,
    Adam

   QNX Software Systems
   [ amallory@qnx.com ]
   ---------------------------------------------------
   With a PC, I always felt limited by the software available.
   On Unix, I am limited only by my knowledge.
       --Peter J. Schoenster 

> -----Original Message-----
> From: Colin Burgess [mailto:community-noreply@qnx.com]
> Sent: Wednesday, January 14, 2009 2:17 PM
> To: ostech-core_os
> Subject: Re: "Attempt to free a block not allocated" message
> 
> Thanks for the report Thomas, we'll take a look.
> 
> Colin
> 
> Thomas Fletcher wrote:
> > Running perl 5.10 on the Neutrino 6.4.0 SDP we keep seeing the
message:
> >
> >  Attempt to free a block not allocated: 0x81b7b88
> >
> > spewing out to the console (x86 VMWare) ... lots of different
addresses.
> >
> > I've tracked it down to code from the runtime loader/linker:
> >
> >
>
http://community.qnx.com/integration/viewcvs/viewcvs.cgi/trunk/lib/c/ldd
/x
> support.ci?root=coreos_pub&rev=200965&system=exsy1001&view=markup
> >
> > Looking at where the error is coming from, it can't be good =;-)  To
> reproduce
> > the problem you can grab a copy of Perl from the 'opt/crank' archive
we
> maintain:
> >
> >  http://www.cranksoftware.com/downloads/
> >
> > Running the standard tests should show the message.
> >
> > Thanks,
> >  Thomas
> >
> >
> >
> > _______________________________________________
> > OSTech
> > http://community.qnx.com/sf/go/post20051
> >
> 
> --
> cburgess@qnx.com
> 
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post20072
Re: "Attempt to free a block not allocated" message  
BTW Adam... the same message is showing here....

http://pkgserver.ott.qnx.com/6.4.1/builds/200901142130/logs/top.html

Adam Mallory wrote:
> Just so we don't duplicate efforts, Thomas has agreed to provide a
> smaller or self contained test case to show the issue.  Once we have
> that I can take a peek at what is going on.
> 
> 

-- 
cburgess@qnx.com
RE: "Attempt to free a block not allocated" message  
Good to know, thanks.


-- 
 Cheers,
    Adam

   QNX Software Systems
   [ amallory@qnx.com ]
   ---------------------------------------------------
   With a PC, I always felt limited by the software available.
   On Unix, I am limited only by my knowledge.
       --Peter J. Schoenster 

> -----Original Message-----
> From: Colin Burgess [mailto:community-noreply@qnx.com]
> Sent: Friday, January 16, 2009 10:13 AM
> To: ostech-core_os
> Subject: Re: "Attempt to free a block not allocated" message
> 
> BTW Adam... the same message is showing here....
> 
> http://pkgserver.ott.qnx.com/6.4.1/builds/200901142130/logs/top.html
> 
> Adam Mallory wrote:
> > Just so we don't duplicate efforts, Thomas has agreed to provide a
> > smaller or self contained test case to show the issue.  Once we have
> > that I can take a peek at what is going on.
> >
> >
> 
> --
> cburgess@qnx.com
> 
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post20209
Re: "Attempt to free a block not allocated" message  
Adam Mallory wrote:
> Just so we don't duplicate efforts, Thomas has agreed to provide a
> smaller or self contained test case to show the issue.  Once we have
> that I can take a peek at what is going on.
>   

The stick-it note is still present.  I have something close to small, 
but you may have to install
the /opt/crank bits to get it to run.

Hang on just a little bit more ...
 Thomas
RE: "Attempt to free a block not allocated" message  
Apparently there are reports that building svn also reproduces the issue
during our build cycle.  That said, if you have something small, that
would be great.


-- 
 Cheers,
    Adam

   QNX Software Systems
   [ amallory@qnx.com ]
   ---------------------------------------------------
   With a PC, I always felt limited by the software available.
   On Unix, I am limited only by my knowledge.
       --Peter J. Schoenster 
> -----Original Message-----
> From: Thomas Fletcher [mailto:community-noreply@qnx.com]
> Sent: Tuesday, February 17, 2009 8:07 PM
> To: ostech-core_os
> Subject: Re: "Attempt to free a block not allocated" message
> 
> Adam Mallory wrote:
> > Just so we don't duplicate efforts, Thomas has agreed to provide a
> > smaller or self contained test case to show the issue.  Once we have
> > that I can take a peek at what is going on.
> >
> 
> The stick-it note is still present.  I have something close to small,
> but you may have to install
> the /opt/crank bits to get it to run.
> 
> Hang on just a little bit more ...
>  Thomas
> 
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post22409
Re: RE: "Attempt to free a block not allocated" message  
Re: "Attempt to free a block not allocated" message  
Adam Mallory wrote:
>  Just to follow up, I've posted the fix here:
>
> 
http://community.qnx.com/sf/discussion/do/listPosts/projects.core_os/discussion.osrev.topc7124


A beer for you can be located in the Crank fridge.  Feel free to 
exercise this offer
at your leisure.

Thanks Adam!

Thomas ... now on the lookout for ported apps with spurious -lmalloc lines!
Re: "Attempt to free a block not allocated" message  
On 8-Apr-09, at 6:32 AM, Thomas Fletcher wrote:

> A beer for you can be located in the Crank fridge.  Feel free to
> exercise this offer
> at your leisure.
>
> Thanks Adam!
>
> Thomas ... now on the lookout for ported apps with spurious -lmalloc  
> lines!


Sweet, make sure the label is put on it so that everyone knows it's my  
beer!

--
Cheers,
    Adam

   QNX Software Systems
   [ amallory@qnx.com ]
   ---------------------------------------------------
   With a PC, I always felt limited by the software available.
   On Unix, I am limited only by my knowledge.
       --Peter J. Schoenster