Project

General

Profile

Actions

Bug #4750

closed

mdb ::list command parses arguments incorrectly

Added by Marcel Telka over 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
mdb - modular debugger
Start date:
2014-04-12
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

# mdb -k
Loading modules: [ unix genunix specfs dtrace mac cpu.generic uppc apix scsi_vhci zfs sata sd ip hook neti sockfs arp usba stmf stmf_sbd fctl lofs random idm sppp nfs ipc ptm cpc fcip ufs logindmux ]
> cm_hd::list struct cm_xprt
Segmentation Fault (core dumped)
# mdb core 
mdb: debugger failed with error: fatal signal received
Loading modules: [ libumem.so.1 libc.so.1 libproc.so.1 ld.so.1 ]
> ::status
debugging core file of mdb (64-bit) from telcontar
file: /usr/bin/amd64/mdb
initial argv: mdb -k
threading model: native threads
status: process terminated by SIGSEGV (Segmentation Fault), addr=fffffd7fff206d9a
> ::stack
libc.so.1`strcmp+0x1a()
member_iter_cb+0x54(11f2957, 80be, 0, fffffd7fffdfe5d0)
libctf.so.1`ctf_member_iter+0x103(11d4290, 80d4, 434f50, fffffd7fffdfe5d0)
mdb_ctf_member_iter+0x6a(11d4290, 80d4, 4351e0)
mdb_ctf_member_info+0x3e(11d4290, 80d4, 16ba6fd000000030, fffffd7fffdfe6f8)
mdb_ctf_offsetof+0x28(11d4290, 80d4, 16ba6fd000000030)
mdb_ctf_offsetof_by_name+0x47(fffffd7fffdfe750, 16ba6fd000000030)
cmd_list+0xc2(fffffffffc0887c0, 1, 2, c0e790)
dcmd_invoke+0x7c(4dae40, fffffffffc0887c0, 1, 2, c0e790, 0)
mdb_call_idcmd+0x112(4dae40, fffffffffc0887c0, 1, 1, 51fe98, 51feb0)
mdb_call+0x449(fffffffffc0887c0, 1, 1)
yyparse+0xd7c()
mdb_run+0x2cd()
main+0xc9d(2, fffffd7fffdffda8, fffffd7fffdffdc0)
_start+0x6c()
>
Actions

Also available in: Atom PDF