|
From: Arkady <ar...@pi...> - 2010-05-11 13:10:13
|
Hi, My name is Arkady and I try to use Ptrcheck tool of valgrind . My OS: Linux chip.pineapp.com 2.6.20.21-Surf-SeCure #10 SMP Mon Jan 5 13:49:59 GMT 2009 i686 pentium4 i386 GNU/Linux Valgrind version: valgrind-3.5.0 The command is valgrind --tool=exp-ptrcheck ./surf_http_proxy surf_http_proxy is the my daemon and it have to run *forever.* But Valgrind exit almost *immediately* with following output. ==5516== exp-ptrcheck, a heap, stack & global array overrun detector ==5516== NOTE: This is an Experimental-Class Valgrind Tool ==5516== Copyright (C) 2003-2009, and GNU GPL'd, by OpenWorks Ltd et al. ==5516== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==5516== Command: ./surf_http_proxy ==5516== sysno == 255 exp-ptrcheck: the 'impossible' happened: unhandled syscall ==5516== at 0x380158DE: report_and_quit (m_libcassert.c:145) ==5516== by 0x38015B3D: panic (m_libcassert.c:227) ==5516== by 0x38015BF3: vgPlain_tool_panic (m_libcassert.c:242) ==5516== by 0x38003E04: h_post_syscall (h_main.c:2536) ==5516== by 0x38057689: vgPlain_post_syscall (syswrap-main.c:1675) ==5516== by 0x38057D50: vgPlain_client_syscall (syswrap-main.c:1576) ==5516== by 0x3805456E: vgPlain_scheduler (scheduler.c:872) ==5516== by 0x380681D5: run_a_thread_NORETURN (syswrap-linux.c:91) ==5516== by 0x380684A2: vgModuleLocal_start_thread_NORETURN (syswrap-linux.c:214) ==5516== by 0x38085FA9: ??? (in /usr/local/lib/valgrind/exp-ptrcheck-x86-linux) sched status: running_tid=2 Thread 1: status = VgTs_WaitSys ==5516== at 0x41F6A48: send (in /lib/libpthread-2.3.3.so) ==5516== by 0x4211566: pqsecure_write (in /opt/postgresql-8.3.1/lib/libpq.so.5.1) Thread 2: status = VgTs_Runnable ==5516== at 0x482778E: epoll_ctl (in /lib/libc-2.3.3.so) ==5516== by 0x44C1131: accept_io_process(void*) (tcp_acceptor.cc:47) ==5516== by 0x41F13CC: start_thread (in /lib/libpthread-2.3.3.so) ==5516== by 0x48271D9: clone (in /lib/libc-2.3.3.so) Thread 3: status = VgTs_WaitSys ==5516== at 0x41F67C8: accept (in /lib/libpthread-2.3.3.so) ==5516== by 0x44C1040: accept_io_process(void*) (tcp_acceptor.cc:21) ==5516== by 0x41F13CC: start_thread (in /lib/libpthread-2.3.3.so) ==5516== by 0x48271D9: clone (in /lib/libc-2.3.3.so) *What I supposed to do ?* Thanks in advance,Arkady |