[valgrind] [Bug 383199] valgrind crash on unhanded syscall called from libsqlite3.dylib

2017-08-07 Thread irad
https://bugs.kde.org/show_bug.cgi?id=383199

--- Comment #3 from irad  ---
I tried to follow the documentation in README_MISSING_SYSCALL_OR_IOCTL and the
example from the other bug you pointed me, but I still getting the assertion
from eq_SyscallStatus (the 'impossible' happened) 

the printouts from that method are
{78 0 43} 
{78 0 40} 

any idea how to decipher these figures ?

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 383199] valgrind crash on unhanded syscall called from libsqlite3.dylib

2017-08-06 Thread Rhys Kidd
https://bugs.kde.org/show_bug.cgi?id=383199

Rhys Kidd  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |CONFIRMED
   Assignee|jsew...@acm.org |rhysk...@gmail.com
 CC||rhysk...@gmail.com

--- Comment #2 from Rhys Kidd  ---
Valgrind is reporting that a Unix syscall is missing on the Darwin platform.

The syscall number can be found in /usr/include/sys/syscall.h on your local
machine. You should find that unix:463 is "openat".

For an example of the way in which Darwin syscalls are added in valgrind, take
a look at the patch on https://bugs.kde.org/show_bug.cgi?id=379748.

-- 
You are receiving this mail because:
You are watching all bug changes.

[valgrind] [Bug 383199] valgrind crash on unhanded syscall called from libsqlite3.dylib

2017-08-06 Thread irad
https://bugs.kde.org/show_bug.cgi?id=383199

--- Comment #1 from irad  ---
I've also double checked the the unknown fcntl calls are actually made using
dtruss, and it indeed trace those calls. 

Their corresponding cmd number appears in bsd/sys/fcntl.h in xnu project. 


#ifdef PRIVATE
#define F_OFD_SETLK 90  /* Acquire or release open file
description lock */
#define F_OFD_SETLKW91  /* (as F_OFD_SETLK but blocking if
conflicting lock) */
#define F_OFD_GETLK 92  /* Examine OFD lock */

#define F_OFD_SETLKWTIMEOUT 93  /* (as F_OFD_SETLKW but return if
timeout) */
#define F_OFD_GETLKPID  94  /* get record locking information */

#define F_SETCONFINED   95  /* "confine" OFD to process */
#define F_GETCONFINED   96  /* is-fd-confined? */
#endif

-- 
You are receiving this mail because:
You are watching all bug changes.