https://bugs.kde.org/show_bug.cgi?id=383199
Bug ID: 383199 Summary: valgrind crash on unhanded syscall called from libsqlite3.dylib Product: valgrind Version: 3.13.0 Platform: Homebrew (Mac OS X) OS: OS X Status: UNCONFIRMED Severity: crash Priority: NOR Component: general Assignee: jsew...@acm.org Reporter: iradizat...@gmail.com Target Milestone: --- While trying to run my program with valgrind on VMWare fusion VM that runs 10.12 whereas the host machine also runs the same OS, I got errors about unhanded syscall : --8450-- WARNING: unhandled amd64-darwin syscall: unix:463 --8450-- You may be able to write your own handler. --8450-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --8450-- Nevertheless we consider this a bug. Please report --8450-- it at http://valgrind.org/support/bug_reports.html. --8450-- WARNING: unhandled amd64-darwin syscall: unix:463 --8450-- You may be able to write your own handler. --8450-- Read the file README_MISSING_SYSCALL_OR_IOCTL. --8450-- Nevertheless we consider this a bug. Please report --8450-- it at http://valgrind.org/support/bug_reports.html. it seems like this error comes from libsqlite, as I'm using it to initialize some table that reside in global variable object. --8450-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option --8450-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 2 times) --8450-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 4 times) --8450-- UNKNOWN mach_msg unhandled MACH_SEND_TRAILER option (repeated 8 times) ==8450== Syscall param mach_msg("rcv_name") contains uninitialised byte(s) ==8450== at 0x102DE634A: mach_msg_trap (in /usr/lib/system/libsystem_kernel.dylib) ==8450== by 0x102DE5796: mach_msg (in /usr/lib/system/libsystem_kernel.dylib) ==8450== by 0x102F823F2: _os_trace_prefs_and_mode_refresh_slow (in /usr/lib/system/libsystem_trace.dylib) ==8450== by 0x102F82500: os_log_create (in /usr/lib/system/libsystem_trace.dylib) ==8450== by 0x100FC4FF1: openDatabase (in /usr/lib/libsqlite3.dylib) ==8450== by 0x100FC3809: ??? (in /usr/lib/libsqlite3.dylib) ==8450== by 0x1000D02F8: Database::Database(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) (Database.cpp:10) ==8450== by 0x1000D05AC: Database::Database(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) (Database.cpp:9) ==8450== by 0x1000B8933: Table::Table(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) (Table.cpp:10) ==8450== by 0x100093AC5: ClientGenericEventsTable::ClientGenericEventsTable(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) (ClientGenericEventsTable.cpp:7) ==8450== by 0x1000941CC: ClientGenericEventsTable::ClientGenericEventsTable(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) (ClientGenericEventsTable.cpp:8) ==8450== by 0x100039EBC: __cxx_global_var_init.10 (ClientGenericEvents.cpp:5) I've seen a similar issue #376870, but I think my syscall is different. How can I trace its true name in order to write a wrapper for it (as described in README_MISSING_SYSCALL_OR_IOCTL)? thanks -- You are receiving this mail because: You are watching all bug changes.