|
From: Mustafa R. Ş. <res...@gm...> - 2011-10-07 06:54:59
|
Hi all, I am using Valgrind in FreeBSD. I am getting an error about semaphores. I would like to know if valgrind supports semaphores in FreeBSD? If it does not support semaphores, how can i add support for it? Valgrind version :valgrind-3.6.0 FreeBSD Version: FreeBSD 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #6: Tue Apr 26 15:17:56 EEST 2011 amd64 The error i get: --1319-- WARNING: unhandled syscall: 404 ==1319== at 0x169D2BC: __sys_ksem_init (in /lib/libc.so.7) ==1319== by 0x16912FE: sem_init (in /lib/libc.so.7) ==1319== by 0xFABBBB: snf__sem_ring_open (in /usr/local/opt/snf/lib/libsnf.so.0.3) ==1319== by 0xFAC1AC: snf__open_endpoint_ring (in /usr/local/opt/snf/lib/libsnf.so.0.3) ==1319== by 0xFAC5A3: snf__board_open (in /usr/local/opt/snf/lib/libsnf.so.0.3) ==1319== by 0xFA9A7A: snf_open (in /usr/local/opt/snf/lib/libsnf.so.0.3) ==1319== by 0xE7DDBA: snf_activate (in /usr/local/opt/snf/lib/libpcap.so.1.1.1) ==1319== by 0xE7EC26: pcap_activate (in /usr/local/opt/snf/lib/libpcap.so.1.1.1) ==1319== by 0xE7F24A: pcap_open_live (in /usr/local/opt/snf/lib/libpcap.so.1.1.1) ==1319== by 0x434D2E: tcpip_open_device (in /root/leaktest/itap/code/inseptra/inseptrad-myri-nodpi) ==1319== by 0x405A6C: worker_run (in /root/leaktest/itap/code/inseptra/inseptrad-myri-nodpi) ==1319== by 0x407221: worker_main (in /root/leaktest/itap/code/inseptra/inseptrad-myri-nodpi) --1319-- You may be able to write your own handler. --1319-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --1319-- Nevertheless we consider this a bug. Please report --1319-- it at http://valgrind.org/support/bug_reports.html. --1319-- REDIR: 0x19a65e0 (pthread_mutex_unlock) redirected to 0x25bfc0 (pthread_mutex_unlock) 2011-10-07 09:40:49: [1319] ERROR: tcpip_open_live: libtcpip: couldn't open device itap0: itap0: snf_open failed: Function not implemented -- Reşit Şahin Endersys Office :+90 216 470 94 23 Dahili:306 |
|
From: Julian S. <js...@ac...> - 2011-10-10 20:24:10
|
Hi, You need to ask the people who maintain the FreeBSD port about this. J On Friday, October 07, 2011, Mustafa Reşit Şahin wrote: > Hi all, > > I am using Valgrind in FreeBSD. I am getting an error about semaphores. > I would like to know if valgrind supports semaphores in FreeBSD? > > If it does not support semaphores, how can i add support for it? > > Valgrind version :valgrind-3.6.0 > FreeBSD Version: FreeBSD 8.1-RELEASE-p2 FreeBSD 8.1-RELEASE-p2 #6: Tue > Apr 26 15:17:56 EEST 2011 amd64 > > > > The error i get: > > --1319-- WARNING: unhandled syscall: 404 > ==1319== at 0x169D2BC: __sys_ksem_init (in /lib/libc.so.7) > ==1319== by 0x16912FE: sem_init (in /lib/libc.so.7) > ==1319== by 0xFABBBB: snf__sem_ring_open (in > /usr/local/opt/snf/lib/libsnf.so.0.3) > ==1319== by 0xFAC1AC: snf__open_endpoint_ring (in > /usr/local/opt/snf/lib/libsnf.so.0.3) > ==1319== by 0xFAC5A3: snf__board_open (in > /usr/local/opt/snf/lib/libsnf.so.0.3) > ==1319== by 0xFA9A7A: snf_open (in /usr/local/opt/snf/lib/libsnf.so.0.3) > ==1319== by 0xE7DDBA: snf_activate (in > /usr/local/opt/snf/lib/libpcap.so.1.1.1) > ==1319== by 0xE7EC26: pcap_activate (in > /usr/local/opt/snf/lib/libpcap.so.1.1.1) > ==1319== by 0xE7F24A: pcap_open_live (in > /usr/local/opt/snf/lib/libpcap.so.1.1.1) > ==1319== by 0x434D2E: tcpip_open_device (in > /root/leaktest/itap/code/inseptra/inseptrad-myri-nodpi) > ==1319== by 0x405A6C: worker_run (in > /root/leaktest/itap/code/inseptra/inseptrad-myri-nodpi) > ==1319== by 0x407221: worker_main (in > /root/leaktest/itap/code/inseptra/inseptrad-myri-nodpi) > --1319-- You may be able to write your own handler. > --1319-- Read the file README_MISSING_SYSCALL_OR_IOCTL. > --1319-- Nevertheless we consider this a bug. Please report > --1319-- it at http://valgrind.org/support/bug_reports.html. > --1319-- REDIR: 0x19a65e0 (pthread_mutex_unlock) redirected to 0x25bfc0 > (pthread_mutex_unlock) > 2011-10-07 09:40:49: [1319] ERROR: tcpip_open_live: libtcpip: couldn't > open device itap0: itap0: snf_open failed: Function not implemented |