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.

Bug 682321

Summary: bash coredump
Product: Red Hat Enterprise Linux 6 Reporter: Jenny Severance <jgalipea>
Component: bashAssignee: Roman Rakus <rrakus>
Status: CLOSED INSUFFICIENT_DATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1CC: prc, tsmetana
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-14 10:17:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
core abrt files
none
runtest.sh
none
server shared script
none
group shared script
none
env script none

Description Jenny Severance 2011-03-04 20:27:40 UTC
Description of problem:
coredump: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from '/bin/bash ./runtest.sh'

Please see attached abrt files.

I'm not sure what else you need besides the attached files.

/var/log/messages:

Mar  4 15:03:38 qe-blade-12 kernel: runtest.sh[28552]: segfault at 7fff93ba7ff8 ip 000000000043e5d6 sp 00007fff93ba8000 error 6 in bash[400000+d4000]
Mar  4 15:03:42 qe-blade-12 abrt[28569]: saved core dump of pid 28552 (/bin/bash) to /var/spool/abrt/ccpp-1299269018-28552.new/coredump (191369216 bytes)
Mar  4 15:03:42 qe-blade-12 abrtd: Directory 'ccpp-1299269018-28552' creation detected
Mar  4 15:03:42 qe-blade-12 abrtd: Registered Database plugin 'SQLite3'
Mar  4 15:03:42 qe-blade-12 abrtd: New crash /var/spool/abrt/ccpp-1299269018-28552, processing
Mar  4 15:05:56 qe-blade-12 kernel: runtest.sh[28705]: segfault at 7fff6b5c0ff8 ip 000000000041e85e sp 00007fff6b5c1000 error 6 in bash[400000+d4000]

Version-Release number of selected component (if applicable):
bash-4.1.2-8.el6.x86_64

How reproducible:
Right now every time

Steps to Reproduce:
1. 
2. 
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jenny Severance 2011-03-04 20:28:31 UTC
Created attachment 482368 [details]
core abrt files

Comment 3 Roman Rakus 2011-03-07 12:46:50 UTC
Thanks for the report. Please attach also your runtest.sh

Comment 4 Jenny Severance 2011-03-07 17:57:21 UTC
Created attachment 482748 [details]
runtest.sh

Comment 5 Roman Rakus 2011-03-08 14:35:58 UTC
Thanks.
From backtrace in coredump I see many calls to source /dev/shm/env.sh. In your runtest.sh there is only one `. /dev/shm/env.sh'. Isn't /dev/shm/env.sh sourcing itself?

Comment 6 Jenny Severance 2011-03-08 17:42:46 UTC
I'm not really sure what you are asking here.  /dev/shm/env.sh just defines a bunch of variables and exports them.

Comment 7 Roman Rakus 2011-03-10 13:40:55 UTC
The best will be access to system with all scripts used. Is it possible? Or at least please provide me those scripts. Namely: ipa-group-cli-lib.sh, ipa-server-shared.sh and env.sh. So I can reproduce it.

Comment 8 Jenny Severance 2011-03-10 14:03:05 UTC
I will add the scripts, I don't have the system anymore as it was beaker provisioned and has long been returned back to the pool.

Comment 9 Jenny Severance 2011-03-10 14:04:34 UTC
Created attachment 483455 [details]
server shared script

Comment 10 Jenny Severance 2011-03-10 14:05:03 UTC
Created attachment 483456 [details]
group shared script

Comment 11 Jenny Severance 2011-03-10 14:05:25 UTC
Created attachment 483457 [details]
env script

Comment 12 Roman Rakus 2011-03-10 15:06:31 UTC
Hmmm, I can't reproduce it. What I've done:
1) Reserve machine in beaker
2) Install ipa-admintools
3) Copy scripts to /dev/shm/
4) Run runtest.sh

The test finished. Only I see many error messages
ipa: ERROR: Client is not configured. Run ipa-client-install.
I don't know how to setup it, but I guess it is not necessary.
Hmm... can you please run the test again so I get access to failing machine?

Comment 13 Jenny Severance 2011-03-10 18:05:43 UTC
yeak, setting up for ipa is pretty intense.  I will try to reproduce today. And if I do will get machine information to you.

Comment 14 RHEL Program Management 2011-07-06 01:33:11 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 unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 15 Roman Rakus 2012-05-09 10:53:04 UTC
Any update here?

Comment 16 Roman Rakus 2012-06-14 10:17:09 UTC
I'm closing this bug. If you have any updates here, feel free to reopen and provide that comments.