Weird truss output
Vlad GALU
dudu at dudu.ro
Thu Dec 4 00:29:15 PST 2008
On Thu, Dec 4, 2008 at 12:55 AM, Dan Nelson <dnelson at allantgroup.com> wrote:
> 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->" ).
>
Duh, I'm dumb, I didn't take a moment to check whether there was a
64-bit specific implementation. My initial thought was that the "i386"
in the i386-fbsd.c referred to the CPU arch :) I'll try patching the
other file today and get back with the results.
And next time I'll make sure I've had my daily coffee before posting
to the list :)
> --
> Dan Nelson
> dnelson at allantgroup.com
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>
--
~/.signature: no such file or directory
More information about the freebsd-stable
mailing list