Bug 175482

Summary: valgrind doesn't work with asio
Product: [Developer tools] valgrind Reporter: Piotr Findeisen <Piotr.Findeisen>
Component: generalAssignee: Julian Seward <jseward>
Status: RESOLVED DUPLICATE    
Severity: normal CC: tom
Priority: NOR    
Version: 3.3.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: the output of vagrind -v

Description Piotr Findeisen 2008-11-18 12:29:21 UTC
simple and correct program using asio (http://tenermerx.com/Asio/):

#include <asio.hpp>
int main() {
    asio::io_service io;
    return 0;
}

(compile with "g++   -lpthread  test.cc   -o test")

When running this program under vagrind, it gives a note
------------------------------------------------------------------
--24304-- WARNING: unhandled syscall: 323
--24304-- You may be able to write your own handler.
--24304-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
--24304-- Nevertheless we consider this a bug.  Please report
--24304-- it at http://valgrind.org/support/bug_reports.html.
------------------------------------------------------------------
and ends with
------------------------------------------------------------------
terminate called after throwing an instance of 'asio::system_error'
  what():  eventfd_select_interrupter: Function not implemented
------------------------------------------------------------------

Asio version: 1.3.0
g++ version: (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
valgrind version: 3.3.0-Debian
Comment 1 Piotr Findeisen 2008-11-18 12:37:01 UTC
Created attachment 28659 [details]
the output of vagrind -v
Comment 2 Piotr Findeisen 2008-11-18 12:42:06 UTC
uname -a: Linux ubtop 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux
deb "libc6" version 2.7-10ubuntu3
deb "libstdc++6" version 4.2.3-2ubuntu7
Comment 3 Tom Hughes 2008-11-18 12:51:17 UTC
System call 323 is eventfd which was added in revision 7917 and is included in the 3.3.1 release.

*** This bug has been marked as a duplicate of bug 160907 ***