Running a program through gdb without "interfering"
mel.flynn+fbsd.hackers at mailing.thruhere.net
Fri Oct 9 15:01:37 UTC 2009
On Friday 09 October 2009 16:50:04 Mel Flynn wrote:
> On Friday 09 October 2009 11:38:29 Dag-Erling Smørgrav wrote:
> > Mel Flynn <mel.flynn+fbsd.hackers at mailing.thruhere.net> writes:
> > > [...] sudo *sometimes* segfaults [...] However, it doesn't dump core
> > sudo(1) is setuid root. You need to set kern.sugid_coredump to get it
> > to dump core.
> It still segfaults and doesn't dump:
> Oct 9 04:34:18 smell kernel: pid 39476 (sudo), uid 0: exited on signal 11
> Oct 9 04:36:32 smell kernel: pid 79657 (sudo), uid 0: exited on signal 11
> Oct 9 04:36:43 smell kernel: pid 82390 (sudo), uid 0: exited on signal 11
> Oct 9 04:51:46 smell kernel: pid 3601 (sudo), uid 0: exited on signal 11
> find / -name '*.core' in the jail does not yield anything.
FYI, there's one read-only mount into the jail, being /usr/src. I don't see a
reason given the commands it segfaults on, for $cwd to be below that.For
example it segfaulted on sudo pkg_delete glproto2.
Thought I'd mention it to rule it out.
More information about the freebsd-hackers