Weird truss output
Dan Nelson
dnelson at allantgroup.com
Wed Dec 3 14:55:45 PST 2008
In the last episode (Dec 03), Vlad GALU said:
> On Wed, Dec 3, 2008 at 8:56 PM, Dan Nelson <dnelson at allantgroup.com> wrote:
> [...]
>
> Am I doing something wrong? I've applied the full diff, rebuilt
> truss, now I get this:
> -- cut here --
> root at goofy / # truss -p 52731
> SIGNAL 17 (SIGSTOP)
>
> -- UNKNOWN SYSCALL 1048535 --
> -- UNKNOWN SYSCALL 1048496 --
> -- UNKNOWN SYSCALL 1048559 --
> -- UNKNOWN SYSCALL 1048559 --
> -- UNKNOWN SYSCALL -8464 --
> -- UNKNOWN SYSCALL -8464 --
> -- UNKNOWN SYSCALL 527 --
> -- UNKNOWN SYSCALL 527 --
> /100084: read(1074283119,"\M-|\M^WP\^A",7356800) = 4 (0x4)
> -- UNKNOWN SYSCALL 527 --
> -- UNKNOWN SYSCALL 7385248 --
> -- and here --
>
> Perhaps I should mention that I block all signals from all threads,
> except for one, where I do all the handling/cleanup.
So you're back to your original behaviour basically? Not sure what's
wrong; it all works great on my machine... Are you on a 64-bit system?
I only have a Pentium-III here, so the big patch isn't guaranteed to
work on anything except i386. The little patch inlined in my previous
email is for i386-fbsd.c, but you should be able to make similar
changes to amd64-fbsd.c (most of the diff just replaces "fsc." with
"fsc->" ).
--
Dan Nelson
dnelson at allantgroup.com
More information about the freebsd-stable
mailing list