Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionJaroslav Kortus
2012-11-15 09:14:01 UTC
Description of problem:
sometimes when I try to modify exported targets, segmentation fault occurs.
As this happens randomly during the same operations, I have not identified the exact moment when this happens.
What I am doing:
1. add targets to config like this one:
<target iqn.2008-09.com.example:beaker-disk-4704-d1-path1>
direct-store /dev/vg_virts/beaker-disk-4704-1
initiator-name CLUSTER4704
scsi_id beaker-disk-4704-1
scsi_sn beaker-disk-4704-1
write-cache off
</target>
2. tgtd reload
3. generate some load from other tools
4. tgtadm --op delete --mode target --force --tid '%s'
most of the time it works well, but occasionaly (it's like 5% chance) this produces segfault.
Version-Release number of selected component (if applicable):
iscsi-initiator-utils-6.2.0.872-41.el6.x86_64 (RHEL6.3)
How reproducible:
random
Steps to Reproduce:
1. create target
2. delete target
3.
Actual results:
Nov 14 17:34:52 marathon-04 kernel: tgtd[31450]: segfault at 1b4bbd0 ip 00000000004095e0 sp 00007fffb97a7710 error 4 in tgtd[400000+3c000]
Expected results:
no segfault
Additional info:
So far I have two cores.
Backtraces:
Core was generated by `tgtd'.
Program terminated with signal 11, Segmentation fault.
#0 0x000000000041c4c0 in ua_sense_add (itn_lu=0x17b8680, asc=16142) at target.c:108
108 if (itn_lu->lu->attrs.sense_format) {
(gdb)
(gdb)
(gdb) thread apply all bt
Thread 1 (Thread 0x7ff537bde700 (LWP 18296)):
#0 0x000000000041c4c0 in ua_sense_add (itn_lu=0x17b8680, asc=16142) at target.c:108
#1 0x000000000041c815 in tgt_device_destroy (tid=<value optimized out>, lun=<value optimized out>, force=<value optimized out>) at target.c:731
#2 0x000000000041c994 in tgt_target_destroy (lld_no=0, tid=57, force=1) at target.c:2000
#3 0x000000000041a5a1 in target_mgmt (mtask=0x1800620) at mgmt.c:86
#4 tgt_mgmt (mtask=0x1800620) at mgmt.c:411
#5 0x000000000041abb7 in mtask_handler (fd=12, events=<value optimized out>, data=0x1800620) at mgmt.c:491
#6 0x0000000000418be9 in event_loop () at tgtd.c:411
#7 0x000000000041929a in main (argc=<value optimized out>, argv=<value optimized out>) at tgtd.c:583
Core was generated by `tgtd'.
Program terminated with signal 11, Segmentation fault.
#0 iscsi_target_destroy (tid=29, force=<value optimized out>) at iscsi/target.c:410
410 list_for_each_entry_safe(conn, ctmp, &session->conn_list, clist) {
(gdb) bt
#0 iscsi_target_destroy (tid=29, force=<value optimized out>) at iscsi/target.c:410
#1 0x000000000041c9bc in tgt_target_destroy (lld_no=0, tid=29, force=1) at target.c:2006
#2 0x000000000041a5a1 in target_mgmt (mtask=0xf58460) at mgmt.c:86
#3 tgt_mgmt (mtask=0xf58460) at mgmt.c:411
#4 0x000000000041abb7 in mtask_handler (fd=11, events=<value optimized out>, data=0xf58460) at mgmt.c:491
#5 0x0000000000418be9 in event_loop () at tgtd.c:411
#6 0x000000000041929a in main (argc=<value optimized out>, argv=<value optimized out>) at tgtd.c:583
Created attachment 645516[details]
two core files (~600M uncompressed)
two core files (~600M uncompressed)
Comment 3RHEL Program Management
2012-11-15 15:51:31 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.
Red Hat invites you to ask your support representative to
propose this request, if appropriate, in the next release of
Red Hat Enterprise Linux.
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.
The official life cycle policy can be reviewed here:
http://redhat.com/rhel/lifecycle
This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:
https://access.redhat.com/
Description of problem: sometimes when I try to modify exported targets, segmentation fault occurs. As this happens randomly during the same operations, I have not identified the exact moment when this happens. What I am doing: 1. add targets to config like this one: <target iqn.2008-09.com.example:beaker-disk-4704-d1-path1> direct-store /dev/vg_virts/beaker-disk-4704-1 initiator-name CLUSTER4704 scsi_id beaker-disk-4704-1 scsi_sn beaker-disk-4704-1 write-cache off </target> 2. tgtd reload 3. generate some load from other tools 4. tgtadm --op delete --mode target --force --tid '%s' most of the time it works well, but occasionaly (it's like 5% chance) this produces segfault. Version-Release number of selected component (if applicable): iscsi-initiator-utils-6.2.0.872-41.el6.x86_64 (RHEL6.3) How reproducible: random Steps to Reproduce: 1. create target 2. delete target 3. Actual results: Nov 14 17:34:52 marathon-04 kernel: tgtd[31450]: segfault at 1b4bbd0 ip 00000000004095e0 sp 00007fffb97a7710 error 4 in tgtd[400000+3c000] Expected results: no segfault Additional info: So far I have two cores. Backtraces: Core was generated by `tgtd'. Program terminated with signal 11, Segmentation fault. #0 0x000000000041c4c0 in ua_sense_add (itn_lu=0x17b8680, asc=16142) at target.c:108 108 if (itn_lu->lu->attrs.sense_format) { (gdb) (gdb) (gdb) thread apply all bt Thread 1 (Thread 0x7ff537bde700 (LWP 18296)): #0 0x000000000041c4c0 in ua_sense_add (itn_lu=0x17b8680, asc=16142) at target.c:108 #1 0x000000000041c815 in tgt_device_destroy (tid=<value optimized out>, lun=<value optimized out>, force=<value optimized out>) at target.c:731 #2 0x000000000041c994 in tgt_target_destroy (lld_no=0, tid=57, force=1) at target.c:2000 #3 0x000000000041a5a1 in target_mgmt (mtask=0x1800620) at mgmt.c:86 #4 tgt_mgmt (mtask=0x1800620) at mgmt.c:411 #5 0x000000000041abb7 in mtask_handler (fd=12, events=<value optimized out>, data=0x1800620) at mgmt.c:491 #6 0x0000000000418be9 in event_loop () at tgtd.c:411 #7 0x000000000041929a in main (argc=<value optimized out>, argv=<value optimized out>) at tgtd.c:583 Core was generated by `tgtd'. Program terminated with signal 11, Segmentation fault. #0 iscsi_target_destroy (tid=29, force=<value optimized out>) at iscsi/target.c:410 410 list_for_each_entry_safe(conn, ctmp, &session->conn_list, clist) { (gdb) bt #0 iscsi_target_destroy (tid=29, force=<value optimized out>) at iscsi/target.c:410 #1 0x000000000041c9bc in tgt_target_destroy (lld_no=0, tid=29, force=1) at target.c:2006 #2 0x000000000041a5a1 in target_mgmt (mtask=0xf58460) at mgmt.c:86 #3 tgt_mgmt (mtask=0xf58460) at mgmt.c:411 #4 0x000000000041abb7 in mtask_handler (fd=11, events=<value optimized out>, data=0xf58460) at mgmt.c:491 #5 0x0000000000418be9 in event_loop () at tgtd.c:411 #6 0x000000000041929a in main (argc=<value optimized out>, argv=<value optimized out>) at tgtd.c:583