Array-info crash which used with "-l" option
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
array-info (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: array-info
Array info version 0.15-1 on Ubuntu 8.04.02
# /usr/sbin/
*** glibc detected *** /usr/sbin/
======= Backtrace: =========
/lib/libc.
/lib/libc.
/usr/sbin/
/usr/lib/
/usr/lib/
/usr/sbin/
/usr/sbin/
/lib/libc.
/usr/sbin/
======= Memory map: ========
00400000-00403000 r-xp 00000000 68:05 360455 /usr/sbin/
00602000-00603000 rw-p 00002000 68:05 360455 /usr/sbin/
00603000-00625000 rw-p 00603000 00:00 0 [heap]
7fb3c0000000-
7fb3c0021000-
7fb3c4a3b000-
7fb3c4a48000-
7fb3c4c48000-
7fb3c4c49000-
7fb3c4c4c000-
7fb3c4e4b000-
7fb3c4e4c000-
7fb3c4e4e000-
7fb3c504d000-
7fb3c504e000-
7fb3c5050000-
7fb3c5250000-
7fb3c5251000-
7fb3c53a9000-
7fb3c55a9000-
7fb3c55ac000-
7fb3c55ae000-
7fb3c55b3000-
7fb3c55b5000-
7fb3c57b5000-
7fb3c57b7000-
7fb3c59cb000-
7fb3c59d1000-
7fb3c59d4000-
7fffcd9c1000-
7fffcd9fe000-
ffffffffff60000
Aborted
# gdb --args /usr/sbin/
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-
(gdb) r
Starting program: /usr/sbin/
*** glibc detected *** /usr/sbin/
======= Backtrace: =========
/lib/libc.
/lib/libc.
/usr/sbin/
/usr/lib/
/usr/lib/
/usr/sbin/
/usr/sbin/
/lib/libc.
/usr/sbin/
======= Memory map: ========
00400000-00403000 r-xp 00000000 68:05 360455 /usr/sbin/
00602000-00603000 rw-p 00002000 68:05 360455 /usr/sbin/
00603000-00625000 rw-p 00603000 00:00 0 [heap]
7f5d30000000-
7f5d30021000-
7f5d3696d000-
7f5d3697a000-
7f5d36b7a000-
7f5d36b7b000-
7f5d36b7e000-
7f5d36d7d000-
7f5d36d7e000-
7f5d36d80000-
7f5d36f7f000-
7f5d36f80000-
7f5d36f82000-
7f5d37182000-
7f5d37183000-
7f5d372db000-
7f5d374db000-
7f5d374de000-
7f5d374e0000-
7f5d374e5000-
7f5d374e7000-
7f5d376e7000-
7f5d376e9000-
7f5d378fd000-
7f5d37903000-
7f5d37906000-
7fff3f8f3000-
7fff3f9fe000-
ffffffffff60000
Program received signal SIGABRT, Aborted.
0x00007f5d371b5095 in raise () from /lib/libc.so.6
(gdb) bt full
#0 0x00007f5d371b5095 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0x00007f5d371b6af0 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0x00007f5d371efa7b in ?? () from /lib/libc.so.6
No symbol table info available.
#3 0x00007f5d371f7a14 in ?? () from /lib/libc.so.6
No symbol table info available.
#4 0x00007f5d371f9360 in malloc () from /lib/libc.so.6
No symbol table info available.
#5 0x0000000000401757 in array_add_infos (info=0x7fff3f9
ap = {{gp_offset = 808333824, fp_offset = 312, overflow_arg_area = 0x3234103c, reg_save_area = 0x0}}
new = (array_infos_t *) 0x604f78
final_str = 0x2 <Address 0x2 out of bounds>
nb = 0
#6 0x00007f5d36b7c79e in compaq_ctrl_infos (ctrl=0x7f5d36d
compaq_infos = (array_infos_t *) 0x0
#7 0x00007f5d36b7c20e in cciss_ctrl_infos (data=0x7f5d36d
ctrl_data = (cciss_ctrl_data_t *) 0x7f5d36d7d740
ctrl = (compaq_ctrl_t *) 0x7f5d36d7d748
#8 0x00000000004011b0 in array_dispatch (plugin_
plugin = (array_plugin_t *) 0x7f5d36d7d460
info = (array_infos_t *) 0x500604c40
callbacks = {array_add_infos = 0x4016bd <array_add_infos>}
#9 0x0000000000401603 in main (argc=3, argv=0x7fff3f90
query_flags = 1 '\001'
dump_flags = 0 '\0'
device_path = 0x7fff3f907a9f "/dev/cciss/c0d1"
plugin_path = 0x401ac4 "/usr/lib/
plugin_list = (array_
array_data = (array_data_t *) 0x603010
opt_ok = 1
opt_sh_plugin = 0
long_options = {{name = 0x401daa "device", has_arg = 1, flag = 0x0, val = 100}, {name = 0x401db1 "all-drives", has_arg = 0, flag = 0x0, val = 97}, {name = 0x401dbc "log-drive", has_arg = 0,
flag = 0x0, val = 108}, {name = 0x401dc6 "show-all", has_arg = 0, flag = 0x0, val = 65}, {name = 0x401dcf "show-satus", has_arg = 0, flag = 0x0, val = 115}, {name = 0x401dda "show-ctrl", has_arg = 0,
flag = 0x0, val = 99}, {name = 0x401de4 "show-log", has_arg = 0, flag = 0x0, val = 76}, {name = 0x401ded "plugin-path", has_arg = 1, flag = 0x0, val = 48}, {name = 0x401df9 "plugin-list", has_arg = 0,
flag = 0x0, val = 49}, {name = 0x401e05 "version", has_arg = 0, flag = 0x0, val = 86}, {name = 0x401e0d "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
(gdb) info registers
rax 0x0 0
rbx 0x7fff3f9063c0 140734259815360
rcx 0xffffffffffffffff -1
rdx 0x6 6
rsi 0x56bc 22204
rdi 0x56bc 22204
rbp 0x7f5d378fd6e0 0x7f5d378fd6e0
rsp 0x7fff3f906318 0x7fff3f906318
r8 0x0 0
r9 0x7f5d372a15a0 140038334191008
r10 0x8 8
r11 0x246 582
r12 0x7 7
r13 0x7fff3f906640 140734259816000
r14 0x7fff3f9064e0 140734259815648
r15 0x7f5d372aac20 140038334229536
rip 0x7f5d371b5095 0x7f5d371b5095 <raise+53>
eflags 0x246 [ PF ZF IF ]
cs 0x33 51
ss 0x2b 43
ds 0x0 0
es 0x0 0
fs 0x0 0
gs 0x0 0
fctrl 0x37f 895
fstat 0x0 0
ftag 0xffff 65535
fiseg 0x0 0
fioff 0x0 0
foseg 0x0 0
fooff 0x0 0
fop 0x0 0
mxcsr 0x1f80 [ IM DM ZM OM UM PM ]
(gdb) thread apply all backtrace
(gdb) quit
The program is running. Exit anyway? (y or n) y
Platform: x86_64
Kernel: 2.6.24-22-server
System: HP ProLiant DL380 G5