Valgrind doesn't show anything (except some false positives)... Also I have this same warning with my test project, which I use to test newly compiled revision.
My compilation script: #!/bin/sh killall gbr3 sleep 1 sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3 /usr/local/bin/gbi3 sudo rm -rf /usr/local/lib/gambas3 sudo rm -rf /usr/local/share/gambas3 cd ~/trunk sudo make clean sleep 1 echo "Old installation cleaned!" ( ./reconf-all && ./configure -C && make && sudo make install ) > ~/Desktop/compile.log 2>&1 sudo -k echo "Done! (also sudo -k)." echo "Let's test the installation..." cd ~/Desktop/gambastesti/GambasTester RES=`gbc3 -ag` if [ $RES = "OK" ]; then echo "Test is divided to two parts." echo "First..." LANG=C gbx3 echo "Second..." LANG=fr_FR.utf8 gbx3 else echo "FAIL!" fi The GambasTester is pretty crappy, but better than nothing... I attached it to demonstrate the problem. Jussi On Sun, Mar 11, 2012 at 17:19, Emil Lenngren <[email protected]>wrote: > Valgrind is also a nice tool. For each malloc() that has not been free():d, > it will list how the runtime stack looked like when the unfreed memory > chunk was allocated. If you use it with Gambas, you might need to disable > the memory pooling system Gambas uses, otherwise you can get strange > results... > > /Emil > > 2012/3/11 Jussi Lahtinen <[email protected]> > > > Thanks! > > > > Jussi > > > > > > On Sun, Mar 11, 2012 at 17:03, Emil Lenngren <[email protected] > > >wrote: > > > > > The interpreter has support for debugging memory using some flags. Then > > you > > > can see in which functions borrows/releases are made. Look in the > source > > > code what the flags are and compile gbx with them enabled ;) > > > > > > /Emil > > > > > > 2012/3/11 Jussi Lahtinen <[email protected]> > > > > > > > Hi! > > > > Is it possible to have more information about non freed allocations? > > > > Pointer name, object where allocation is done or something that would > > > help > > > > to find the problem? > > > > > > > > Since I don't think I have any non freed allocations... > > > > > > > > Jussi > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > Virtualization & Cloud Management Using Capacity Planning > > > > Cloud computing makes use of virtualization - but cloud computing > > > > also focuses on allowing computing to be delivered as a service. > > > > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > > > > _______________________________________________ > > > > Gambas-user mailing list > > > > [email protected] > > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > Virtualization & Cloud Management Using Capacity Planning > > > Cloud computing makes use of virtualization - but cloud computing > > > also focuses on allowing computing to be delivered as a service. > > > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > > > _______________________________________________ > > > Gambas-user mailing list > > > [email protected] > > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > > > > > ------------------------------------------------------------------------------ > > Virtualization & Cloud Management Using Capacity Planning > > Cloud computing makes use of virtualization - but cloud computing > > also focuses on allowing computing to be delivered as a service. > > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > > _______________________________________________ > > Gambas-user mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/gambas-user > > > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user >
GambasTester-0.9.24.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
