Nao consigo rodar nada no valgrind.. tentei com o valgrind e com o valgrind-snapshot.. Já montei o /proc e da este erro: freebsd# valgrind --tool=memcheck --leak-check=yes /usr/local/sbin/bgpd -nv ==21337== Memcheck, a memory error detector for x86-linux. ==21337== Copyright (C) 2002-2004, and GNU GPL'd, by Julian Seward. ==21337== Using valgrind-2.1.2.CVS, a program supervision framework for x86-linux. ==21337== Copyright (C) 2000-2004, and GNU GPL'd, by Julian Seward. ==21337== For more details, rerun with: -v ==21337== --21337-- WARNING: unhandled syscall: 477 --21337-- Do not panic. You may be able to fix this easily. --21337-- Read the file README_MISSING_SYSCALL_OR_IOCTL. ==21337== Warning: client syscall munmap tried to modify addresses 0xFFFFFFDA-0x102 --21337-- WARNING: unhandled syscall: 477 --21337-- Do not panic. You may be able to fix this easily. --21337-- Read the file README_MISSING_SYSCALL_OR_IOCTL. ==21337== Invalid write of size 4 ==21337== at 0x3C007F26: (within /libexec/ld-elf.so.1) ==21337== by 0x3C018A21: (within /libexec/ld-elf.so.1) ==21337== by 0x3C0081DC: (within /libexec/ld-elf.so.1) ==21337== by 0x3C00616E: (within /libexec/ld-elf.so.1) ==21337== Address 0xFFFFFFFC is not stack'd, malloc'd or (recently) free'd ==21337== ==21337== Process terminating with default action of signal 10 (SIGBUS): dumping core ==21337== at 0x3C007F26: (within /libexec/ld-elf.so.1) ==21337== by 0x3C018A21: (within /libexec/ld-elf.so.1) ==21337== by 0x3C0081DC: (within /libexec/ld-elf.so.1) ==21337== by 0x3C00616E: (within /libexec/ld-elf.so.1) ==21337== Core dumping is broken on FreeBSD. Please re-run valgrind after fixing the crash. ==21337== ==21337== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) ==21337== malloc/free: in use at exit: 0 bytes in 0 blocks. ==21337== malloc/free: 0 allocs, 0 frees, 0 bytes allocated. ==21337== For counts of detected errors, rerun with: -v ==21337== No malloc'd blocks -- no leaks are possible. Bus error
Tem algum macete pra colocar o valgrind pra rodar (estou rodando o i386 mesmo)? Renato ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd