Actions
Bug #4785
openmdb crashes in ::ldi_handle
Start date:
2014-04-20
Due date:
% Done:
0%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
Loading modules: [ unix genunix specfs dtrace mac cpu.generic uppc pcplusmp scsi_vhci zfs sata sd ip hook neti sockfs arp usba stmf stmf_sbd qlc fctl lofs random idm fcp cpc ufs logindmux ptm sppp nfs ] > ::ldi_handle *** mdb: received signal SEGV at: [1] mdb`mdb_getopts+0x1bb() [2] genunix.so`ldi_handle+0x5a() [3] mdb`dcmd_invoke+0x7c() [4] mdb`mdb_call_idcmd+0x112() [5] mdb`walk_dcmd+0x3d() [6] genunix.so`ldi_handle_walk_step+0xcb() [7] mdb`walk_step+0x7f() [8] mdb`walk_common+0x77() [9] mdb`mdb_pwalk_dcmd+0xfc() [10] mdb`mdb_walk_dcmd+0x20() [11] genunix.so`ldi_handle+0xc4() [12] mdb`dcmd_invoke+0x7c() [13] mdb`mdb_call_idcmd+0x112() [14] mdb`mdb_call+0x449() [15] mdb`yyparse+0xda6() [16] mdb`mdb_run+0x2cd() [17] mdb`main+0xc9d() [18] mdb`_start+0x6c() mdb: (c)ore dump, (q)uit, (r)ecover, or (s)top for debugger [cqrs]?
From ::help ldi_handle:
Without the address of an "ldi_handle_t", print all handles.
Related issues
Updated by David Höppner over 9 years ago
- Status changed from New to In Progress
- Assignee set to David Höppner
- % Done changed from 0 to 90
Updated by David Höppner over 9 years ago
- % Done changed from 90 to 0
I don't know if this is the correct fix (move mdb_getopts behind DCMD_ADDRSPEC) or if mdb_getopts should be modified.
http://cr.illumos.org/~webrev/0xffea/ldi-handle-01/
Updated by Gergő Mihály Doma about 4 years ago
- Has duplicate Bug #11701: ldi_handle dcmd segfaults occasionally added
Updated by Gergő Mihály Doma over 3 years ago
- Is duplicate of Bug #11946: clean up improper use of mdb_getopts added
Actions