|
From: 9. <93...@qq...> - 2008-08-12 01:40:39
|
command-line: valgrind --tool=massif -v --max-snapshots=200 --stacks=yes /data/stone/minisvr/bin/minisvr -f /data/stone/minisvr/ini/auxind.ini -d Massif's output as flowings: ==23204== Massif, a heap profiler. ==23204== Copyright (C) 2003-2007, and GNU GPL'd, by Nicholas Nethercote ==23204== Using LibVEX rev 1854, a library for dynamic binary translation. ==23204== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP. ==23204== Using valgrind-3.3.1, a dynamic binary instrumentation framework. ==23204== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al. ==23204== --23204-- Command line --23204-- /data/stone/minisvr/bin/minisvr --23204-- -f --23204-- /data/stone/minisvr/ini/auxind.ini --23204-- -d --23204-- Startup, with flags: --23204-- --tool=massif --23204-- -v --23204-- --max-snapshots=200 --23204-- --stacks=yes --23204-- Contents of /proc/version: --23204-- Linux version 2.6.16.46-0.12-xenpae-1024-18 (geeko@buildhost) (gcc version 4.1.0 (SUSE Linux)) #31 SMP Wed Oct 24 21:10:58 CST 2007 --23204-- Arch and hwcaps: X86, x86-sse1-sse2 --23204-- Page sizes: currently 4096, max supported 4096 --23204-- Valgrind library directory: /usr/local/lib/valgrind --23204-- Massif: alloc-fns: --23204-- Massif: 0: malloc --23204-- Massif: 1: __builtin_new --23204-- Massif: 2: operator new(unsigned) --23204-- Massif: 3: operator new(unsigned long) --23204-- Massif: 4: __builtin_vec_new --23204-- Massif: 5: operator new[](unsigned) --23204-- Massif: 6: operator new[](unsigned long) --23204-- Massif: 7: calloc --23204-- Massif: 8: realloc --23204-- Massif: 9: memalign --23204-- Massif: 10: operator new(unsigned, std::nothrow_t const&) --23204-- Massif: 11: operator new[](unsigned, std::nothrow_t const&) --23204-- Massif: 12: operator new(unsigned long, std::nothrow_t const&) --23204-- Massif: 13: operator new[](unsigned long, std::nothrow_t const&) --23204-- Reading syms from /lib/ld-2.3.4.so (0x4000000) --23204-- Reading syms from /data/stone/minisvr/bin/minisvr (0x8048000) --23204-- Reading syms from /usr/local/lib/valgrind/x86-linux/massif (0x38000000) --23204-- object doesn't have a dynamic symbol table --23204-- Reading syms from /usr/local/lib/valgrind/x86-linux/vgpreload_core.so (0x4017000) --23204-- Reading syms from /usr/local/lib/valgrind/x86-linux/vgpreload_massif.so (0x4019000) --23204-- Reading syms from /usr/lib/libmysqlpp.so.2 (0x4029000) --23204-- Reading syms from /data/cvsroot/cftcomm/minixml/build/lib/libminixml.so.1.0.0 (0x406F000) --23204-- Reading syms from /usr/lib/libqqapi.so.1 (0x408B000) --23204-- Reading syms from /usr/lib/libbsapi.so.1 (0x4096000) --23204-- Reading syms from /usr/lib/libcftapi.so.1 (0x409B000) --23204-- Reading syms from /data/cvsroot/thirdparty/log4cpp-0.3.5rc3/build/lib/liblog4cpp.so.4.0.5 (0x41B7000) --23204-- Reading syms from /lib/libdl-2.3.4.so (0x41EC000) --23204-- Reading syms from /lib/libnsl-2.3.4.so (0x41F0000) --23204-- Reading syms from /usr/lib/libz.so.1.2.2 (0x4206000) --23204-- object doesn't have a symbol table --23204-- Reading syms from /lib/libpthread-0.10.so (0x4217000) --23204-- Reading syms from /lib/libcrypt-2.3.4.so (0x4269000) --23204-- Reading syms from /usr/lib/libstdc++.so.5.0.6 (0x4297000) --23204-- object doesn't have a symbol table --23204-- Reading syms from /lib/libm-2.3.4.so (0x434F000) --23204-- Reading syms from /usr/lib/libgcc_s.so.1 (0x4372000) --23204-- object doesn't have a symbol table --23204-- Reading syms from /lib/libc-2.3.4.so (0x437A000) --23204-- Reading syms from /data/cvsroot/thirdparty/mysql-5.0.18/build/lib/mysql/libmysqlclient.so.15.0.0 (0x4497000) --23204-- REDIR: 0x4324cd0 (operator new(unsigned)) redirected to 0x401a310 (operator new(unsigned)) --23204-- REDIR: 0x43db710 (malloc) redirected to 0x4019e70 (malloc) --23204-- REDIR: 0x43db8d0 (free) redirected to 0x401ace0 (free) --23204-- REDIR: 0x4324e20 (operator new[](unsigned)) redirected to 0x401a890 (operator new[](unsigned)) --23204-- REDIR: 0x4323740 (operator delete(void*)) redirected to 0x401b050 (operator delete(void*)) --23204-- REDIR: 0x43237a0 (operator delete[](void*)) redirected to 0x401b470 (operator delete[](void*)) --23204-- REDIR: 0x43dbfa0 (calloc) redirected to 0x401b730 (calloc) --23204-- Reading syms from /data/stone/minisvr/lib/libaddcftqqtrans.so (0x48F2000) --23204-- Reading syms from /data/stone/minisvr/lib/libcertusersearchtrans.so (0x4906000) --23204-- Reading syms from /data/stone/minisvr/lib/libqueryconftrans.so (0x4917000) --23204-- Reading syms from /data/stone/minisvr/lib/libregistertrans.so (0x4934000) --23204-- Reading syms from /data/stone/minisvr/lib/libregquerytrans.so (0x4958000) --23204-- Reading syms from /data/stone/minisvr/lib/libregupdatetrans.so (0x497F000) --23204-- Reading syms from /lib/libnss_files-2.3.4.so (0x401E000) --23204-- REDIR: 0x43db990 (realloc) redirected to 0x401b810 (realloc) Massif: ms_main.c:1694 (update_stack_stats): Assertion 'stacks_szB >= -stack_szB_delta' failed. ==23215== at 0x380050AA: report_and_quit (m_libcassert.c:140) ==23215== by 0x3800521D: vgPlain_assert_fail (m_libcassert.c:200) ==23215== by 0x380020DD: update_stack_stats (ms_main.c:1697) ==23215== by 0x380021A4: die_mem_stack (ms_main.c:1717) ==23215== by 0x38010CFA: vgPlain_unknown_SP_update (m_stacks.c:248) ==23215== by 0x62E2FA48: ??? ==23215== by 0x9: ??? ==23215== by 0x59: ??? sched status: running_tid=8 Thread 1: status = VgTs_WaitSys ==23215== at 0x4401F76: nanosleep (in /lib/libc-2.3.4.so) ==23215== by 0x80818E3: main (minisvr.cpp:175) Thread 2: status = VgTs_WaitSys ==23215== at 0x442AEB1: loser_poll (in /lib/libc-2.3.4.so) ==23215== by 0x442AE38: poll (in /lib/libc-2.3.4.so) ==23215== by 0x421C9EF: __pthread_manager (in /lib/libpthread-0.10.so) ==23215== by 0x4433B89: clone (in /lib/libc-2.3.4.so) Thread 3: status = VgTs_WaitSys ==23215== at 0x421F9F3: __pthread_sigsuspend (in /lib/libpthread-0.10.so) ==23215== by 0x421EF87: __pthread_wait_for_restart_signal (in /lib/libpthread-0.10.so) ==23215== by 0x421BCD7: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-0.10.so) ==23215== by 0x807D879: CTransEnrolMgr::pop(int&) (transenrolmgr.h:69) ==23215== by 0x807D293: CRcvThread::Run() (rcvthread.cpp:101) ==23215== by 0x80C05F3: CUMSPThread::WorkThread(void*) (UMSPThread.cpp:37) ==23215== by 0x421D54D: pthread_start_thread (in /lib/libpthread-0.10.so) ==23215== by 0x4433B89: clone (in /lib/libc-2.3.4.so) Thread 4: status = VgTs_WaitSys ==23215== at 0x421F9F3: __pthread_sigsuspend (in /lib/libpthread-0.10.so) ==23215== by 0x421EF87: __pthread_wait_for_restart_signal (in /lib/libpthread-0.10.so) ==23215== by 0x421BCD7: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-0.10.so) ==23215== by 0x807D879: CTransEnrolMgr::pop(int&) (transenrolmgr.h:69) ==23215== by 0x807D293: CRcvThread::Run() (rcvthread.cpp:101) ==23215== by 0x80C05F3: CUMSPThread::WorkThread(void*) (UMSPThread.cpp:37) ==23215== by 0x421D54D: pthread_start_thread (in /lib/libpthread-0.10.so) ==23215== by 0x4433B89: clone (in /lib/libc-2.3.4.so) Thread 5: status = VgTs_WaitSys ==23215== at 0x421F9F3: __pthread_sigsuspend (in /lib/libpthread-0.10.so) ==23215== by 0x421EF87: __pthread_wait_for_restart_signal (in /lib/libpthread-0.10.so) ==23215== by 0x421BCD7: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-0.10.so) ==23215== by 0x807D879: CTransEnrolMgr::pop(int&) (transenrolmgr.h:69) ==23215== by 0x807D293: CRcvThread::Run() (rcvthread.cpp:101) ==23215== by 0x80C05F3: CUMSPThread::WorkThread(void*) (UMSPThread.cpp:37) ==23215== by 0x421D54D: pthread_start_thread (in /lib/libpthread-0.10.so) ==23215== by 0x4433B89: clone (in /lib/libc-2.3.4.so) Thread 6: status = VgTs_WaitSys ==23215== at 0x421F9F3: __pthread_sigsuspend (in /lib/libpthread-0.10.so) ==23215== by 0x421EF87: __pthread_wait_for_restart_signal (in /lib/libpthread-0.10.so) ==23215== by 0x421BCD7: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-0.10.so) ==23215== by 0x807D879: CTransEnrolMgr::pop(int&) (transenrolmgr.h:69) ==23215== by 0x807D293: CRcvThread::Run() (rcvthread.cpp:101) ==23215== by 0x80C05F3: CUMSPThread::WorkThread(void*) (UMSPThread.cpp:37) ==23215== by 0x421D54D: pthread_start_thread (in /lib/libpthread-0.10.so) ==23215== by 0x4433B89: clone (in /lib/libc-2.3.4.so) Thread 7: status = VgTs_WaitSys ==23215== at 0x421F9F3: __pthread_sigsuspend (in /lib/libpthread-0.10.so) ==23215== by 0x421EF87: __pthread_wait_for_restart_signal (in /lib/libpthread-0.10.so) ==23215== by 0x421BCD7: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-0.10.so) ==23215== by 0x807D879: CTransEnrolMgr::pop(int&) (transenrolmgr.h:69) ==23215== by 0x807D293: CRcvThread::Run() (rcvthread.cpp:101) ==23215== by 0x80C05F3: CUMSPThread::WorkThread(void*) (UMSPThread.cpp:37) ==23215== by 0x421D54D: pthread_start_thread (in /lib/libpthread-0.10.so) ==23215== by 0x4433B89: clone (in /lib/libc-2.3.4.so) Thread 8: status = VgTs_Runnable ==23215== at 0x421BD69: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-0.10.so) ==23215== by 0x807D879: CTransEnrolMgr::pop(int&) (transenrolmgr.h:69) ==23215== by 0x807D293: CRcvThread::Run() (rcvthread.cpp:101) ==23215== by 0x80C05F3: CUMSPThread::WorkThread(void*) (UMSPThread.cpp:37) ==23215== by 0x421D54D: pthread_start_thread (in /lib/libpthread-0.10.so) ==23215== by 0x4433B89: clone (in /lib/libc-2.3.4.so) Thread 9: status = VgTs_WaitSys ==23215== at 0x421F9F3: __pthread_sigsuspend (in /lib/libpthread-0.10.so) ==23215== by 0x421EF87: __pthread_wait_for_restart_signal (in /lib/libpthread-0.10.so) ==23215== by 0x421BCD7: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-0.10.so) ==23215== by 0x807D879: CTransEnrolMgr::pop(int&) (transenrolmgr.h:69) ==23215== by 0x807D293: CRcvThread::Run() (rcvthread.cpp:101) ==23215== by 0x80C05F3: CUMSPThread::WorkThread(void*) (UMSPThread.cpp:37) ==23215== by 0x421D54D: pthread_start_thread (in /lib/libpthread-0.10.so) ==23215== by 0x4433B89: clone (in /lib/libc-2.3.4.so) Thread 10: status = VgTs_WaitSys ==23215== at 0x421F9F3: __pthread_sigsuspend (in /lib/libpthread-0.10.so) ==23215== by 0x421EF87: __pthread_wait_for_restart_signal (in /lib/libpthread-0.10.so) ==23215== by 0x421BCD7: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-0.10.so) ==23215== by 0x807D879: CTransEnrolMgr::pop(int&) (transenrolmgr.h:69) ==23215== by 0x807D293: CRcvThread::Run() (rcvthread.cpp:101) ==23215== by 0x80C05F3: CUMSPThread::WorkThread(void*) (UMSPThread.cpp:37) ==23215== by 0x421D54D: pthread_start_thread (in /lib/libpthread-0.10.so) ==23215== by 0x4433B89: clone (in /lib/libc-2.3.4.so) Thread 11: status = VgTs_WaitSys ==23215== at 0x42233E8: recv (in /lib/libpthread-0.10.so) ==23215== by 0x807D4BD: CRcvThread::RcvPack(std::string&) (rcvthread.cpp:154) ==23215== by 0x807D301: CRcvThread::Run() (rcvthread.cpp:114) ==23215== by 0x80C05F3: CUMSPThread::WorkThread(void*) (UMSPThread.cpp:37) ==23215== by 0x421D54D: pthread_start_thread (in /lib/libpthread-0.10.so) ==23215== by 0x4433B89: clone (in /lib/libc-2.3.4.so) Thread 12: status = VgTs_WaitSys ==23215== at 0x421F9F3: __pthread_sigsuspend (in /lib/libpthread-0.10.so) ==23215== by 0x421EF87: __pthread_wait_for_restart_signal (in /lib/libpthread-0.10.so) ==23215== by 0x421BCD7: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/libpthread-0.10.so) ==23215== by 0x807D879: CTransEnrolMgr::pop(int&) (transenrolmgr.h:69) ==23215== by 0x807D293: CRcvThread::Run() (rcvthread.cpp:101) ==23215== by 0x80C05F3: CUMSPThread::WorkThread(void*) (UMSPThread.cpp:37) ==23215== by 0x421D54D: pthread_start_thread (in /lib/libpthread-0.10.so) ==23215== by 0x4433B89: clone (in /lib/libc-2.3.4.so) Thread 13: status = VgTs_WaitSys ==23215== at 0x42232E8: accept (in /lib/libpthread-0.10.so) ==23215== by 0x807A9F1: CLsnThread::Run() (lsnthread.cpp:65) ==23215== by 0x80C05F3: CUMSPThread::WorkThread(void*) (UMSPThread.cpp:37) ==23215== by 0x421D54D: pthread_start_thread (in /lib/libpthread-0.10.so) ==23215== by 0x4433B89: clone (in /lib/libc-2.3.4.so) Note: see also the FAQ.txt in the source distribution. It contains workarounds to several common problems. If that doesn't help, please report this bug to: www.valgrind.org In the bug report, send all the above text, the valgrind version, and what Linux distro you are using. Thanks. |