Bug 175482 - valgrind doesn't work with asio
Summary: valgrind doesn't work with asio
Status: RESOLVED DUPLICATE of bug 160907
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.3.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-18 12:29 UTC by Piotr Findeisen
Modified: 2008-11-18 12:51 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
the output of vagrind -v (7.66 KB, text/plain)
2008-11-18 12:37 UTC, Piotr Findeisen
Details

Note You need to log in before you can comment on or make changes to this bug.
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 ***