Project

General

Profile

Actions

Bug #5998

closed

mdb_ctf_vread fails in dcmds run via mdb_pwalk_dcmd

Added by Gordon Ross over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
mdb - modular debugger
Start date:
2015-06-11
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

This is essentially the same problem as #3473 but with mdb_pwalk_dcmd, where #3473 fixed mdb_pwalk.

The manifestation was seen with the "smbsrv" mdb module after modifications to use mdb_ctf_vread.
The dcmds implement with mdb_pwalk_dcmd fail like this:

$ mdb -L $ROOT/usr/lib/mdb/proc:/usr/lib/mdb/proc /var/smb/core.3470 
Loading modules: [ libumem.so.1 libfksmbsrv.so.1 libcmdutils.so.1 libc.so.1 libavl.so.1 libtopo.so.1 libuutil.so.1 libnvpair.so.1 ld.so.1 ]
> ::smblist                           
mdb: couldn't find ctf data for type mdb_smb_server_t in mdb module libcmdutils.so.1
mdb: failed to read smb_server at 82ac000: No type information available for that name


Related issues

Related to illumos gate - Bug #3473: mdb_get_module() returns wrong moduleClosedChristopher Siden2013-01-15

Actions
Actions

Also available in: Atom PDF