Project

General

Profile

Actions

Bug #2602

closed

mdb ::sockparams SEGV

Added by David Höppner over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Category:
cmd - userland programs
Start date:
2012-04-08
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:

Description

Can someone confirm this?

# mdb -k
> ::sockparams
ADDR             FAM TYP PRO          STRDEV         SOCKMOD   REFS   FLGS
ffffff0078d59cc0  32   1   0               ?               ?      0      0

*** mdb: received signal SEGV at:
    [1] sockfs.so`sockparams_prt+0xc2()
    [2] mdb`dcmd_invoke+0x64()
    [3] mdb`mdb_call_idcmd+0xff()
    [4] mdb`walk_dcmd+0x32()
    [5] genunix.so`list_walk_step+0x91()
    [6] mdb`walk_step+0x5e()
    [7] mdb`walk_common+0x71()
    [8] mdb`mdb_pwalk_dcmd+0x99()
    [9] sockfs.so`sockparams_walk_list+0x51()
    [10] sockfs.so`sockparams_prt+0x20d()
    [11] mdb`dcmd_invoke+0x64()
    [12] mdb`mdb_call_idcmd+0xff()
    [13] mdb`mdb_call+0x390()
    [14] mdb`yyparse+0x4e5()
    [15] mdb`mdb_run+0x2cd()
    [16] mdb`main+0x13af()
    [17] mdb`_start+0x6c()

SEGV is here usr/src/cmd/mdb/common/modules/sockfs/sockfs.c

        mdb_printf("%0?p %3u %3u %3u %15s %15s %6u %#6x\n",
            addr,
            sp.sp_family, sp.sp_type, sp.sp_protocol,
            (sp.sp_sdev_info.sd_devpath != 0) ?
            sp.sp_sdev_info.sd_devpath : "-",
            sp.sp_smod_name, sp.sp_refcnt,
            sp.sp_flags);

Files

sockfs.c.diff (1.26 KB) sockfs.c.diff Aleksey Ivanov, 2012-04-09 08:54 PM
2_sockfs.c.diff (1.28 KB) 2_sockfs.c.diff Aleksey Ivanov, 2012-04-10 06:48 PM
Actions

Also available in: Atom PDF