Bug 379390 - unhandled syscall: mach:70 (host_create_mach_voucher_trap)
Summary: unhandled syscall: mach:70 (host_create_mach_voucher_trap)
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.13 SVN
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Rhys Kidd
URL:
Keywords:
Depends on:
Blocks: 365327
  Show dependency treegraph
 
Reported: 2017-04-30 20:31 UTC by Rhys Kidd
Modified: 2017-04-30 21:53 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Proposed patch by Louis Brunner (2.64 KB, patch)
2017-04-30 20:36 UTC, Rhys Kidd
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rhys Kidd 2017-04-30 20:31:34 UTC
Reproducible: Always

Steps to Reproduce:
1. $ perl tests/vg_regtest none/tests/syslog

Actual Results:  
In output:

eq_SyscallStatus:
  {78 0 43}
  {78 0 40}

valgrind: m_syswrap/syswrap-main.c:438 (Bool eq_SyscallStatus(UInt, SyscallStatus *, SyscallStatus *)): the 'impossible' happened.

host stacktrace:
==52965==    at 0x238051E9B: ???
==52965==    by 0x23805222C: ???
==52965==    by 0x238052203: ???
==52965==    by 0x2380EB354: ???
==52965==    by 0x2380EA93C: ???
==52965==    by 0x2380E8B70: ???
==52965==    by 0x2380E7342: ???
==52965==    by 0x2380F913E: ???

sched status:
  running_tid=1

Thread 1: status = VgTs_Runnable (lwpid 771)
==52965==    at 0x1003AA46A: host_create_mach_voucher_trap (in /usr/lib/system/libsystem_kernel.dylib)
==52965==    by 0x1003A934C: host_create_mach_voucher (in /usr/lib/system/libsystem_kernel.dylib)
==52965==    by 0x10019578A: _voucher_task_mach_voucher_init (in /usr/lib/system/libdispatch.dylib)
==52965==    by 0x1001948FB: _dispatch_client_callout (in /usr/lib/system/libdispatch.dylib)
==52965==    by 0x1001948B8: dispatch_once_f (in /usr/lib/system/libdispatch.dylib)
==52965==    by 0x10019575D: voucher_mach_msg_set (in /usr/lib/system/libdispatch.dylib)
==52965==    by 0x10056E484: xpc_pipe_routine (in /usr/lib/system/libxpc.dylib)
==52965==    by 0x10056E360: _xpc_interface_routine (in /usr/lib/system/libxpc.dylib)
==52965==    by 0x10056DF13: bootstrap_look_up3 (in /usr/lib/system/libxpc.dylib)
==52965==    by 0x10056DE40: bootstrap_look_up2 (in /usr/lib/system/libxpc.dylib)
==52965==    by 0x10023A47E: asl_core_get_service_port (in /usr/lib/system/libsystem_asl.dylib)
==52965==    by 0x100237497: asl_open (in /usr/lib/system/libsystem_asl.dylib)
==52965==    by 0x10024BBE6: _syslog_asl_client (in /usr/lib/system/libsystem_asl.dylib)
==52965==    by 0x10024BE65: syslog (in /usr/lib/system/libsystem_asl.dylib)
==52965==    by 0x100000F61: main (syslog.c:7)
Comment 1 Rhys Kidd 2017-04-30 20:36:55 UTC
Created attachment 105290 [details]
Proposed patch by Louis Brunner
Comment 2 Rhys Kidd 2017-04-30 21:53:31 UTC
Resolved in r16326.