Project

General

Profile

Bug #3953

Calling ::list without specifying the name of the next member causes mdb to core dump

Added by Christopher Siden over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
mdb - modular debugger
Start date:
2013-08-02
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage

Description

Bug report by Jeremy Jones:

This can be easily reproduced using the following command:

> 0::list int

Error message from kmdb (error in strcmp?):

-------------------------

[1]> 0::list "struct list_node" 

*** Debugger Fault (CPU 1)

    trapno: 13, sp: ffffffffff8cf440, pc: fffffffffbd6c115 strcmp+0x25

    [ 1] ffffff01cd0d4588 ()
    mis-aligned frame (deadbeef0000001c)

kmdb: reboo(t), or (d)ebug with self?

This only seems to happen from "mdb -k".

History

#1

Updated by Christopher Siden over 6 years ago

  • Status changed from In Progress to Closed
commit 23edb31
Author: Max Grossman <max.grossman@delphix.com>
Date:   Fri Aug 2 13:02:33 2013

    3953 Calling ::list without specifying the name of the next member causes mdb to core dump
    Reviewed by: Christopher Siden <christopher.siden@delphix.com>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Reviewed by: Richard Lowe <richlowe@richlowe.net>
    Approved by: Dan McDonald <danmcd@nexenta.com>

Also available in: Atom PDF