'multipath -ll' command crashes due to memory corruption on Red Hat Enterprise Linux 6

Solution Verified - Updated -

Issue

  • multipath -ll command aborts() due to memory corruption on RHEL 6.
# multipath -ll
3514f0c5f27e0019c dm-1 XtremIO,XtremApp
size=500G features='0' hwhandler='0' wp=rw
`-+- policy='queue-length 0' prio=1 status=active
  |- 3:0:0:1 sdb 8:16  active ready running
  |- 3:0:1:1 sdc 8:32  active ready running
  |- 3:0:2:1 sdd 8:48  active ready running
  |- 3:0:4:1 sdf 8:80  active ready running
  |- 3:0:3:1 sde 8:64  active ready running
  |- 3:0:5:1 sdg 8:96  active ready running
  |- 3:0:6:1 sdh 8:112 active ready running
  |- 3:0:7:1 sdi 8:128 active ready running
  |- 4:0:0:1 sdj 8:144 active ready running
  |- 4:0:1:1 sdk 8:160 active ready running
  |- 4:0:2:1 sdl 8:176 active ready running
  |- 4:0:3:1 sdm 8:192 active ready running
  |- 4:0:4:1 sdn 8:208 active ready running
  |- 4:0:5:1 sdo 8:224 active ready running
  |- 4:0:6:1 sdp 8:240 active ready running
  `- 4:0:7:1 sdq 65:0  active ready running
*** glibc detected *** multipath: free(): invalid next size (fast): 0x0000000000e12a50 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3e91a75e66]
/lib64/libc.so.6[0x3e91a789b3]
/lib64/libmultipath.so(free_multipath+0x5d)[0x32dda16f5d]
/lib64/libmultipath.so(free_multipathvec+0x4d)[0x32dda1701d]
multipath[0x402195]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x3e91a1ed5d]
multipath[0x401b99]
Aborted (core dumped)
  • multipath fails with memory error.
*** glibc detected *** multipath: malloc(): memory corruption: 0x00000000022b5e70 ***
======= Backtrace: =========
/lib64/libc.so.6[0x3107275dee]
/lib64/libc.so.6[0x310727a3aa]
/lib64/libc.so.6(__libc_malloc+0x5c)[0x310727aaac]
/lib64/libc.so.6(__strdup+0x22)[0x3107280ed2]
/lib64/libdevmapper.so.1.02[0x3109241971]
/lib64/libdevmapper.so.1.02(dm_task_add_target+0x15)[0x3109210515]
/lib64/libdevmapper.so.1.02(dm_task_run+0x975)[0x3109244c25]
/lib64/libmultipath.so(dm_type+0x88)[0x3108e0fe08]
/lib64/libmultipath.so(dm_get_maps+0xc9)[0x3108e101f9]
multipath[0x402227]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x310721ed1d]
multipath[0x401aa9]

Aborted (core dumped)

Environment

  • Red Hat Enterprise Linux 6
  • device-mapper-multipath-0.4.9-80.el6.x86_64

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content