Bug 1452198 - [gluster-block]:Segmentation fault when cancelling the executed gluster-block command
Summary: [gluster-block]:Segmentation fault when cancelling the executed gluster-block...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: tcmu-runner
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: RHGS 3.3.0
Assignee: Prasanna Kumar Kalever
QA Contact: surabhi
URL:
Whiteboard:
Depends On:
Blocks: 1417151
TreeView+ depends on / blocked
 
Reported: 2017-05-18 14:12 UTC by surabhi
Modified: 2017-09-21 04:19 UTC (History)
2 users (show)

Fixed In Version: tcmu-runner-1.2.0-3.el7rhgs
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-09-21 04:19:33 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:2773 0 normal SHIPPED_LIVE new packages: gluster-block 2017-09-21 08:16:22 UTC

Description surabhi 2017-05-18 14:12:22 UTC
Description of problem:
*************************

If the gluster-block cli hangs for a while and I do ctrl-C , there is segmentation fault and core dumped.

May 17 16:42:28 dhcp46-60 kernel: tcmu-runner[24765]: segfault at 800088 ip 00007f7342ea611c sp 00007ffdf01aa5d0 error 4 in libtcmu.so.1[7f7342e96000+16000]
May 17 16:42:28 dhcp46-60 abrt-hook-ccpp: Process 24765 (tcmu-runner) of user 0 killed by SIGSEGV - dumping core


Version-Release number of selected component (if applicable):
gluster-block-0.2-1.x86_64
tcmu-runner-1.2.0-2.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:
1.Execute a gluster-block create command
2.if it takes time to succeed , execute ctrl-C


Actual results:
***********************
There is segmentation fault and core dump when cancelling the executed command.


Expected results:

there should not be any fault or core dump when cancelling the command.


Additional info:

Comment 2 Prasanna Kumar Kalever 2017-05-21 10:27:26 UTC
related patch:
https://github.com/open-iscsi/tcmu-runner/pull/158

Comment 6 surabhi 2017-06-13 07:09:23 UTC
Following the steps below, not seeing any issues w.r.t segmentation fault.

1.Execute a gluster-block create command
2.if it takes time to succeed , execute ctrl-C

Marking the BZ to verified.

Build version :
gluster-block-0.2.1-1.el7rhgs.x86_64
tcmu-runner-1.2.0-4.el7rhgs.x86_64

Comment 9 errata-xmlrpc 2017-09-21 04:19:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2017:2773


Note You need to log in before you can comment on or make changes to this bug.