iprconfig menu based tool crashes while using change disk configuration option

Bug #1474759 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
iprutils (Ubuntu)
Incomplete
High
Unassigned

Bug Description

== Comment: #0 - Venkat R. B <email address hidden> - 2015-07-07 06:57:16 ==
---Problem Description---
iprconfig menu based tool crashes while using change disk configuration option

Contact Information = <email address hidden><email address hidden>

---uname output---
root@p8le03-lp1:~# uname -a Linux p8le03-lp1 3.19.0-22-generic #22~14.04.1-Ubuntu SMP Wed Jun 17 10:03:39 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux root@p8le03-lp1:~#

Machine Type = Tuleta - 8286-42A PowerNV

---Debugger---
A debugger is not configured

---Steps to Reproduce---
 iprconfig menu based tool, and select work with disk configuration(option 6) and select a drive, issue will be reproduced

Userspace tool common name: iprconfig

The userspace tool has the following bit modes: n/a

Userspace rpm: iprutils

== Comment: #1 - Venkat R. B <email address hidden> - 2015-07-07 06:57:52 ==
  Display Hardware Status

Type option, press Enter.
  1=Display hardware resource information details

OPT Name PCI/SCSI Location Description Status
--- ------ ------------------------- ---------------------------- -----------------
           0001:04:00.0/0: PCI-E SAS RAID Adapter Operational
           0001:04:00.0/0:0:1:0 Advanced Function Disk Zeroed
           0001:04:00.0/0:0:6:0 Advanced Function Disk Zeroed
    sdc 0001:04:00.0/0:0:7:0 Physical Disk Active
    sda 0001:04:00.0/0:2:0:0 RAID 10 Array 67% Checked
           0001:04:00.0/0:0:0:0 RAID 10 Array Member Active
           0001:04:00.0/0:0:2:0 RAID 10 Array Member Active
           0001:04:00.0/0:0:5:0 CD/DVD Active
           0001:04:00.0/0:0:3:0 Enclosure Active
           0001:04:00.0/0:0:4:0 Enclosure Active

  Change Disk Configuration

Type option, press Enter.
  1=Change Disk Configuration

OPT Name PCI/SCSI Location Description Status
--- ------ ------------------------- ---------------------------- -----------------
           0001:04:00.0/0:0:1:0 Advanced Function Disk Zeroed
           0001:04:00.0/0:0:6:0 Advanced Function Disk Zeroed
    sdc 0001:04:00.0/0:0:7:0 Physical Disk Active
    sda 0001:04:00.0/0:2:0:0 RAID 10 Array 67% Checked
 1 0001:04:00.0/0:0:0:0 RAID 10 Array Member Active
           0001:04:00.0/0:0:2:0 RAID 10 Array Member Active

 *** buffer overflow detected ***: iprconfig terminatedber Active
                                                       ======= Backtrace: =========
                                                                                   /lib/powerpc64le-linux-gnu/libc.so.6(+0x8123c)[0x3fff9a19123c]
                                                                                                                                                 /lib/powerpc64le-linux-gnu/libc.so.6(__fortify_fail+0x74)[0x3fff9a245614]
                     /lib/powerpc64le-linux-gnu/libc.so.6(__chk_fail+0x20)[0x3fff9a243a30]
                                                                                          /lib/powerpc64le-linux-gnu/libc.so.6(+0x132bf8)[0x3fff9a242bf8]
                                                                                                                                                         /lib/powerpc64le-linux-gnu/libc.so.6(_IO_default_xsputn+0xc8)[0x3fff9a19d1c8]
                                 /lib/powerpc64le-linux-gnu/libc.so.6(_IO_vfprintf+0x854)[0x3fff9a169e34]
                                                                                                         /lib/powerpc64le-linux-gnu/libc.so.6(__vsprintf_chk+0xb8)[0x3fff9a242cc8]
                                                                                                                                                                                  /lib/powerpc64le-linux-gnu/libc.so.6(__sprintf_chk+0x2c)[0x3fff9a242bbc]
                                                     iprconfig[0x10028e78]
                                                                          iprconfig[0x10009a34]
                                                                                               iprconfig[0x10039b58]
                                                                                                                    iprconfig[0x10009a34]
                                                                                                                                         iprconfig[0x1001b3dc]
                                                                                                                                                              iprconfig[0x10003838]
                                                                                                                                                                                   /lib/powerpc64le-linux-gnu/libc.so.6(+0x24d00)[0x3fff9a134d00]
                                            /lib/powerpc64le-linux-gnu/libc.so.6(__libc_start_main+0xc8)[0x3fff9a134ef8]
                                                                                                                        ======= Memory map: ========
                                                                                                                                                    10000000-10070000 r-xp 00000000 08:22 12452020 /sbin/iprconfig
                                       10070000-10080000 rw-p 00060000 08:22 12452020 /sbin/iprconfig
                                                                                                                               1000ae70000-1000aef0000 rw-p 00000000 00:00 0 [heap]
         3fff99ea0000-3fff99ee0000 rw-p 00000000 00:00 0
                                                         3fff99ee0000-3fff9a070000 r--p 00000000 08:22 67768809 /usr/lib/locale/locale-archive
                                                                                                                                                                3fff9a070000-3fff9a0f0000 rw-p 00000000 00:00 0
           3fff9a0f0000-3fff9a100000 r-xp 00000000 08:22 36307002 /lib/powerpc64le-linux-gnu/libdl-2.19.so
                                                                                                                            3fff9a100000-3fff9a110000 rw-p 00000000 08:22 36307002 /lib/powerpc64le-linux-gnu/libdl-2.19.so
e=Exit q=Cancel r=Refresh t=Toggle3fff9a110000-3fff9a2c0000 r-xp 00000000 08:22 36306986 /lib/powerpc64le-linux-gnu/libc-2.19.so
                                                                                                                                                        3fff9a2c0000-3fff9a2d0000 rw-p 001a0000 08:22 36306986 /lib/powerpc64le-linux-gnu/libc-2.19.so
                                                                   3fff9a2d0000-3fff9a3a0000 r-xp 00000000 08:22 36307024 /lib/powerpc64le-linux-gnu/libm-2.19.so
                                                                                                                                                                                   3fff9a3a0000-3fff9a3b0000 rw-p 000c0000 08:22 36307024 /lib/powerpc64le-linux-gnu/libm-2.19.so
                                                                                              3fff9a3b0000-3fff9a3c0000 r-xp 00000000 08:22 67765533 /usr/lib/powerpc64le-linux-gnu/libmenu.so.5.9
               3fff9a3c0000-3fff9a3d0000 rw-p 00000000 08:22 67765533 /usr/lib/powerpc64le-linux-gnu/libmenu.so.5.9
                                                                                                                                     3fff9a3d0000-3fff9a400000 r-xp 00000000 08:22 36307094 /lib/powerpc64le-linux-gnu/libtinfo.so.5.9
                                                   3fff9a400000-3fff9a410000 rw-p 00020000 08:22 36307094 /lib/powerpc64le-linux-gnu/libtinfo.so.5.9
                                                                                                                                                                      3fff9a410000-3fff9a440000 r-xp 00000000 08:22 36307030 /lib/powerpc64le-linux-gnu/libncurses.so.5.9
                                                                                      3fff9a440000-3fff9a450000 rw-p 00020000 08:22 36307030 /lib/powerpc64le-linux-gnu/libncurses.so.5.9
      3fff9a450000-3fff9a470000 r-xp 00000000 08:22 67765513 /usr/lib/powerpc64le-linux-gnu/libform.so.5.9
                                                                                                                            3fff9a470000-3fff9a480000 rw-p 00010000 08:22 67765513 /usr/lib/powerpc64le-linux-gnu/libform.so.5.9
                                             3fff9a480000-3fff9a4a0000 rw-p 00000000 00:00 0
                                                                                             3fff9a4a0000-3fff9a4c0000 r-xp 00000000 00:00 0 [vdso]
                                                                                                                                                                            3fff9a4c0000-3fff9a4f0000 r-xp 00000000 08:22 36306966 /lib/powerpc64le-linux-gnu/ld-2.19.so
                                                                                     3fff9a4f0000-3fff9a500000 rw-p 00020000 08:22 36306966 /lib/powerpc64le-linux-gnu/ld-2.19.so
                                                                                                                                                                                                   3fffc2370000-3fffc23a0000 rw-p 00000000 00:00 0 [stack]
                                                                              Aborted (core dumped)
root@p8le03-lp1:~#

== Comment: #3 - Wen Xiong <email address hidden> - 2015-07-13 16:28:07 ==
Hi Venkat,

Can you verify iprconfig in /home/wendy/iprutils-2.4.5 on your system?

Thanks,
Wendy

== Comment: #5 - Venkat R. B <email address hidden> - 2015-07-14 08:33:42 ==
Hi Wen,

I verified with the debug build, which is the specified location and the issue is not seen with that.

Thanks,
Venkat.

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-127313 severity-high targetmilestone-inin14043
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1474759/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2015-07-15 15:04 EDT-------
Here is the commit link for the patch:

http://sourceforge.net/p/iprdd/iprutils/ci/7e5f1bc7750b2df0f0be491eef1ac5da59cf63bf/

Thanks,
Wendy

bugproxy (bugproxy)
tags: added: targetmilestone-inin14044
removed: targetmilestone-inin14043
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2015-12-17 04:55 EDT-------
We can reproduce this problem with ubuntu 14.04.4 beta:

% dpkg -l iprutils
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-======================-================-================-=================================================
ii iprutils 2.4.5-1~14.04 ppc64el userspace support for IBM Power Linux RAID SCSI d
%

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2016-02-08 07:57 EDT-------
(In reply to comment #9)
> Here is the commit link for the patch:
>
> http://sourceforge.net/p/iprdd/iprutils/ci/7e5f1bc7750b2df0f0be491eef1ac5da59cf63bf/

Hi Ubuntu,

Any updates on backporting the above patch to the 14.04 iprutils package? it's believed to fix this bug.

Thanks,

Mathew Hodson (mhodson)
affects: ubuntu → iprutils (Ubuntu)
Changed in iprutils (Ubuntu):
importance: Undecided → High
Changed in iprutils (Ubuntu):
assignee: nobody → Taco Screen team (taco-screen-team)
Changed in iprutils (Ubuntu):
status: New → Incomplete
Revision history for this message
Manoj Iyer (manjo) wrote :

The current version of iprutils is iprutils 2.4.11.1-1. Could you please try and reproduce with the latest ? Removing taco-screen-team as owner because this is a community supported package.

Changed in iprutils (Ubuntu):
assignee: Taco Screen team (taco-screen-team) → nobody
Revision history for this message
Manoj Iyer (manjo) wrote : Re: [Bug 127313] LP1474759 - iprconfig menu based tool crashes while using change disk configuration option

The decision for moving package from universe to main would be handled by
our foundations team. I have cced steve for his input.

--
============================
Manoj Iyer
Ubuntu/Canonical
ARM Servers - Cloud
============================

On Mon, 6 Feb 2017, Breno Leitao wrote:

> Hi Manoj,
>
> This is a very important package for us. I am wondering if we can add it as
> part of the main archive.
>
> Anyway, how should we proceed if we want to add this package as part of the
> main archive?
>
>
> On 02/06/2017 03:07 PM, <email address hidden> wrote:
>> https://bugzilla.linux.ibm.com/show_bug.cgi?id=127313
>>
>> --- Comment #17 from bugproxy bugproxy <email address hidden> ---
>> ------- Comment From <email address hidden> 2015-07-15 15:04 EDT-------
>>
>> ------- Comment From <email address hidden> 2015-12-17 04:55 EDT-------
>>
>> ------- Comment From <email address hidden> 2016-02-08 07:57 EDT-------
>>
>> ------- Comment From manjo 2017-02-06 23:10:59 UTC-------
>> The current version of iprutils is iprutils 2.4.11.1-1. Could you please try
>> and reproduce with the latest ? Removing taco-screen-team as owner because this
>> is a community supported package.
>>
>
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.