[OpenSER-Devel] Memory Leak?

Andrew O. Zhukov gnugk at telegroup.com.ua
Fri Jul 18 16:49:10 CEST 2008


Henning Westerholt пишет:
> On Friday 18 July 2008, Andrew O. Zhukov wrote:
>> This openser compiled exactly as in your link:
>>
>> What's wrong?
>>           -DSTATISTICS \
>>           -DCHANGEABLE_DEBUG_LEVEL \
>>           #-DF_MALLOC \
>>           -DDBG_QM_MALLOC \
> 
> Hi Andrew,
> 
> i remember some issues with make if you have a comment between the #defines, 
> then the value after this comment is ignored. Try to move the DBG_QM_MALLOC 
> up.
> 
> Cheers,
> 
> Henning
> 
Done.

Submit Pls. Is it correct?

[root at ipshka openser-1.3.0-notls]# make all
Compiling action.c
gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops 
-falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition 
-Wmissing-field-initializers    -DNAME='"openser"' 
-DVERSION='"1.3.0-notls"' -DARCH='"x86_64"' -DOS='"linux"' 
-DCOMPILER='"gcc 4.1.2"' -D__CPU_x86_64 -D__OS_linux -D__SMP_yes 
-DCFG_DIR='"/usr/local/etc/openser/"' -DPKG_MALLOC -DSHM_MEM  -DSHM_MMAP 
-DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES 
-DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DDBG_QM_MALLOC  -DFAST_LOCK 
-DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 
-DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL 
-DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL 
-DHAVE_SIGIO_RT -DHAVE_SELECT -c action.c -o action.o
...............




More information about the Devel mailing list