[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
problems with rpctrace
From: |
nickb |
Subject: |
problems with rpctrace |
Date: |
Fri, 12 Oct 2001 20:04:17 -0500 (CDT) |
After getting:
root@hurd:~/hurd.stuff/gnu-hurd/hurd/src/build/utils# rpctrace
/hurd/storeio
task566-> 2030 () = 0 {4096 21108 3516 3331 3639 208937 0 30188 22846
842725 43773 95312 86605}
task566-> 2029 (134217728) = 0 134512640 20480 5 7 1 0 68 0
task566-> 3206 (pn{
5})rpctrace: ../../../utils/rpctrace.c:522: trace_and_forward: Assertion
`(((inp->msgh_bits) & 0x0000ff00) >> 8) == info->type' failed.
Aborted
Here is the output from rpctrace dumping members of the traced_info
struct in rpctrace.c
root@hurd:~/hurd.stuff/gnu-hurd/hurd/src/build/utils# ./rpctrace
/hurd/storeio
DEBUG: struct traced_info -------------->
DEBUG: struct port_info int refcnt: 3
DEBUG: struct port_info int weakrefcnt: 1
DEBUG: struct port_info mach_port_mscount_t mscount: 1
DEBUG: struct port_info mach_msg_seqno_t cancel_threshold: 0
DEBUG: struct port_info int flags: 1
DEBUG: struct port_info mach_port_t port_right: 65
DEBUG: mach_port_t forward: 64
DEBUG: mach_msg_type_name_t type: 17
DEBUG: char *name: task568
DEBUG: u struct send **locp: 0x804c988
DEBUG: u struct send_once mach_port_t sent_to: 134531464
DEBUG: u struct send_once mach_msg_id_t sent_msgid: 0
task568-> 2030 ()DEBUG: struct traced_info -------------->
DEBUG: struct port_info int refcnt: 3
DEBUG: struct port_info int weakrefcnt: 0
DEBUG: struct port_info mach_port_mscount_t mscount: 0
DEBUG: struct port_info mach_msg_seqno_t cancel_threshold: 0
DEBUG: struct port_info int flags: 0
DEBUG: struct port_info mach_port_t port_right: 66
DEBUG: mach_port_t forward: 67
DEBUG: mach_msg_type_name_t type: 18
DEBUG: char *name: reply(66:2030)
DEBUG: u struct send **locp: 0x42
DEBUG: u struct send_once mach_port_t sent_to: 66
DEBUG: u struct send_once mach_msg_id_t sent_msgid: 2030
= 0 {4096 21108 3513 3334 3639 213119 0 30188 22856 861790 43857 95352
86645}
DEBUG: struct traced_info -------------->
DEBUG: struct port_info int refcnt: 3
DEBUG: struct port_info int weakrefcnt: 1
DEBUG: struct port_info mach_port_mscount_t mscount: 1
DEBUG: struct port_info mach_msg_seqno_t cancel_threshold: 0
DEBUG: struct port_info int flags: 1
DEBUG: struct port_info mach_port_t port_right: 65
DEBUG: mach_port_t forward: 64
DEBUG: mach_msg_type_name_t type: 17
DEBUG: char *name: task568
DEBUG: u struct send **locp: 0x804c988
DEBUG: u struct send_once mach_port_t sent_to: 134531464
DEBUG: u struct send_once mach_msg_id_t sent_msgid: 0
task568-> 2029 (134217728)DEBUG: struct traced_info -------------->
DEBUG: struct port_info int refcnt: 3
DEBUG: struct port_info int weakrefcnt: 0
DEBUG: struct port_info mach_port_mscount_t mscount: 0
DEBUG: struct port_info mach_msg_seqno_t cancel_threshold: 0
DEBUG: struct port_info int flags: 0
DEBUG: struct port_info mach_port_t port_right: 66
DEBUG: mach_port_t forward: 67
DEBUG: mach_msg_type_name_t type: 18
DEBUG: char *name: reply(66:2029)
DEBUG: u struct send **locp: 0x42
DEBUG: u struct send_once mach_port_t sent_to: 66
DEBUG: u struct send_once mach_msg_id_t sent_msgid: 2029
= 0 134512640 20480 5 7 1 0 66 0
DEBUG: struct traced_info -------------->
DEBUG: struct port_info int refcnt: 3
DEBUG: struct port_info int weakrefcnt: 1
DEBUG: struct port_info mach_port_mscount_t mscount: 1
DEBUG: struct port_info mach_msg_seqno_t cancel_threshold: 0
DEBUG: struct port_info int flags: 1
DEBUG: struct port_info mach_port_t port_right: 65
DEBUG: mach_port_t forward: 64
DEBUG: mach_msg_type_name_t type: 17
DEBUG: char *name: task568
DEBUG: u struct send **locp: 0x804c988
DEBUG: u struct send_once mach_port_t sent_to: 134531464
DEBUG: u struct send_once mach_msg_id_t sent_msgid: 0
task568-> 3206 (pn{ 5})DEBUG: struct traced_info -------------->
DEBUG: struct port_info int refcnt: 3
DEBUG: struct port_info int weakrefcnt: 1
DEBUG: struct port_info mach_port_mscount_t mscount: 1
DEBUG: struct port_info mach_msg_seqno_t cancel_threshold: 0
DEBUG: struct port_info int flags: 1
DEBUG: struct port_info mach_port_t port_right: 66
DEBUG: mach_port_t forward: 69
DEBUG: mach_msg_type_name_t type: 17
DEBUG: char *name: (null)
DEBUG: u struct send **locp: 0x804c98c
DEBUG: u struct send_once mach_port_t sent_to: 134531468
DEBUG: u struct send_once mach_msg_id_t sent_msgid: 2029
rpctrace: ../../../utils/rpctrace.c:540: trace_and_forward: Assertion
`(((inp->msgh_bits) & 0x0000ff00) >> 8) == info->type' failed.
Aborted
Let me know if anything is missing. Also, rpctrace is from cvs'ed HURD
on 20011010.
Nick
- problems with rpctrace,
nickb <=