Bug 682321 - bash coredump
Summary: bash coredump
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: bash
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Roman Rakus
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-04 20:27 UTC by Jenny Severance
Modified: 2014-01-13 00:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-14 10:17:09 UTC
Target Upstream Version:


Attachments (Terms of Use)
core abrt files (3.15 MB, application/x-xz)
2011-03-04 20:28 UTC, Jenny Severance
no flags Details
runtest.sh (41.34 KB, application/x-sh)
2011-03-07 17:57 UTC, Jenny Severance
no flags Details
server shared script (14.74 KB, application/x-sh)
2011-03-10 14:04 UTC, Jenny Severance
no flags Details
group shared script (12.15 KB, application/x-sh)
2011-03-10 14:05 UTC, Jenny Severance
no flags Details
env script (236 bytes, application/x-sh)
2011-03-10 14:05 UTC, Jenny Severance
no flags Details

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.


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