Project

General

Profile

Bug #9336

addr::conn_status crashes mdb

Added by Andy Fiddaman over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
mdb - modular debugger
Start date:
2018-03-23
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

> ffffff03e66d4ba8::conn_status
ADDR             WQ                          STACK             ZONE
SRC:PORT
DEST:PORT

*** mdb: received signal SEGV at:
    [1] ip.so`conn_status_cb+0x29()
    [2] ip.so`conn_status+0x6c()
    [3] mdb`dcmd_invoke+0x7c()
    [4] mdb`mdb_call_idcmd+0x112()
    [5] mdb`mdb_call+0x3e1()
    [6] mdb`yyparse+0xdb4()
    [7] mdb`mdb_run+0x2cd()
    [8] mdb`main+0xc9d()
    [9] mdb`_start_crt+0x83()
    [10] mdb`_start+0x18()

mdb: (c)ore dump, (q)uit, (r)ecover, or (s)top for debugger [cqrs]?

History

#1

Updated by Andy Fiddaman over 1 year ago

  • % Done changed from 0 to 90

With the changes in https://illumos.org/rb/r/991/

> ::walk conn_status | ::head -1 | ::conn_status
ADDR             WQ                          STACK             ZONE
SRC:PORT
DEST:PORT

ffffff03e011e540 0                               0                0
:::17664
:::0
#2

Updated by Andy Fiddaman over 1 year ago

More testing to confirm that a bare ::conn_status continues to work after this change.

> ::conn_status ! head -10
ADDR             WQ                          STACK             ZONE
SRC:PORT
DEST:PORT

ffffff03e011e540 0                               0                0
:::17664
:::0
ffffff03e0c3aa40 ffffff03e0c3bb60                0                0
0.0.0.0:21149
0.0.0.0:0

> ::walk conn_status ! head -5
0xffffff03e011e540
0xffffff03e0c3aa40
0xffffff03db1c2580
0xffffff03e0424500
0xffffff03dabab040

> 0xffffff03e011e540::conn_status
ADDR             WQ                          STACK             ZONE
SRC:PORT
DEST:PORT

ffffff03e011e540 0                               0                0
:::17664
:::0
#3

Updated by Electric Monk over 1 year ago

  • Status changed from New to Closed
  • % Done changed from 90 to 100

git commit f6eb544affab78a978fdf94368d923e79e7a045b

commit  f6eb544affab78a978fdf94368d923e79e7a045b
Author: Andy Fiddaman <omnios@citrus-it.co.uk>
Date:   2018-03-26T20:55:02.000Z

    9336 addr::conn_status crashes mdb
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>
    Reviewed by: Dominik Hassler <hadfl@omniosce.org>
    Approved by: Richard Lowe <richlowe@richlowe.net>

Also available in: Atom PDF