[sane-devel] memory problem

Oliver Schirrmeister oschirr@abm.de
Thu, 26 Aug 2004 12:01:55 +0200


Am Donnerstag 26 August 2004 10:12 schrieb Gerhard Jaeger:
> [SNIPSNAP]
> > I've linked the sane backends statically with the 'frontend'. The problem
> > is the same. The pthread lib is linked dynamically.
> > I've tried valgrind. That revealed only two 'real' memory leaks in some
> > init-routines of sanei_usb, the test backend and the pthread library,
> > nothing severe.
>
> Is the sanei_usb memory-leak related to the patch you've sent me?

Yes. 

> > Under control of valgrind the vm-size doesn't increase !?!
>
> Hmmm, strange...
> anybody out there with some ideas?

valgrind supplies its own libpthread.so, probably without that bug?

> On what box are you working? Kernel-Version and glibc Version?

Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 
20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003

RedHat 9.0 P4-2.8, libc-2.3.2

Ciao

Oliver