[Qt-interest] Memory leaks in qmake?

Stephen Chu stephen at ju-ju.com
Wed Mar 9 23:06:30 CET 2011


In article <il8spl$snn$1 at snorken.nokia.kunder.linpro.no>,
 Thiago Macieira <thiago at kde.org> wrote:

> On Wednesday, 9 de March de 2011 09:39:52 Stephen Chu wrote:
> > I just notice a lot of these warnings when building Qt from git (both
> > master and 4.7):
> > 
> > qmake(5299,0xa0019540) malloc: *** error for object 0xbfffc9d0: pointer
> > being freed was not allocated
> > *** set a breakpoint in malloc_error_break to debug
> > 
> > This is on Mac OS X 10.6.6. Any one see the same thing or is my setup
> > porked?
> 
> Is this a clean build? If it's not:
> 
> 	make -C qmake clean
> 	make -C qmake
> 
> The qmake Makefiles are not complete. Several dependencies are missing, so a 
> header file changing and one .cpp file could cause the .cpp to be rebuild, 
> but 
> not the other .cpp that also depends on the same .h.

Tried that. Still getting the leak message. This what I used for pulling 
and build from git:

#!/bin/sh
cd /qt

git clean -dxf
git pull

make confclean
./configure -prefix '.' -opensource -confirm-license -debug-and-release 
-arch x86_64 -no-qt3support -nomake demos -nomake examples

make -j4

The leak messages start showing up during configure.

-- 
Stephen Chu



More information about the Qt-interest-old mailing list