[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 193917] valgrind fails to run on Mac OS 10.5.7, gets a SIGTRAP
From:       Nicholas Nethercote <njn () valgrind ! org>
Date:       2009-06-01 0:59:28
Message-ID: 20090601005928.3491F16D8D () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=193917





--- Comment #26 from Nicholas Nethercote <njn valgrind org>  2009-06-01 02:59:26 ---
Julian and I were just looking at the kernel code.  If you look at line 920 of
bsd/kern/kern_exec.c, in the xnu-1228.12.14 source code (available at
http://www.opensource.apple.com/release/mac-os-x-1057/), that's the most
suspicious-looking place where a SIGTRAP is raised that we could find. 

AFAWCT, this occurs if P_LTRACED is set, which is the case if the executable is
run under ptrace() with the PT_TRACE_ME flag specified.  Which doesn't seem
likely -- Valgrind doesn't use ptrace() on Mac.  But it's worth asking, because
it's the best idea we have right now:  FX and Tom Harrington, on your systems,
could you have something set up which causes normal programs to be run under
ptrace()?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic