Bug 1147581 - [abrt] bash: list_reverse(): bash killed by SIGSEGV
Summary: [abrt] bash: list_reverse(): bash killed by SIGSEGV
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: bash
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Oprala
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a67163419f31e5ec13621d5a35f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-29 14:18 UTC by Victor Stinner
Modified: 2016-02-01 02:10 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-01-16 16:53:22 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (31.78 KB, text/plain)
2014-09-29 14:18 UTC, Victor Stinner
no flags Details
File: cgroup (172 bytes, text/plain)
2014-09-29 14:18 UTC, Victor Stinner
no flags Details
File: core_backtrace (2.05 KB, text/plain)
2014-09-29 14:18 UTC, Victor Stinner
no flags Details
File: dso_list (580 bytes, text/plain)
2014-09-29 14:19 UTC, Victor Stinner
no flags Details
File: environ (3.28 KB, text/plain)
2014-09-29 14:19 UTC, Victor Stinner
no flags Details
File: exploitable (110 bytes, text/plain)
2014-09-29 14:19 UTC, Victor Stinner
no flags Details
File: limits (1.29 KB, text/plain)
2014-09-29 14:19 UTC, Victor Stinner
no flags Details
File: maps (2.52 KB, text/plain)
2014-09-29 14:19 UTC, Victor Stinner
no flags Details
File: open_fds (105 bytes, text/plain)
2014-09-29 14:19 UTC, Victor Stinner
no flags Details
File: proc_pid_status (938 bytes, text/plain)
2014-09-29 14:19 UTC, Victor Stinner
no flags Details
File: var_log_messages (4.96 KB, text/plain)
2014-09-29 14:19 UTC, Victor Stinner
no flags Details

Description Victor Stinner 2014-09-29 14:18:54 UTC
Description of problem:
I just tried this example found on the Internet:

$ bash -c 'true <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF'
Erreur de segmentation (core dumped)

Version-Release number of selected component:
bash-4.2.47-3.fc20

Additional info:
reporter:       libreport-2.2.3
backtrace_rating: 4
cmdline:        bash -c 'true <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF <<EOF'
crash_function: list_reverse
executable:     /usr/bin/bash
kernel:         3.14.8-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (6 frames)
 #0 list_reverse at list.c:70
 #1 clean_simple_command at make_cmd.c:866
 #2 yyparse at ./parse.y:729
 #3 parse_command at eval.c:229
 #4 parse_and_execute at evalstring.c:252
 #5 run_one_command at shell.c:1325

Comment 1 Victor Stinner 2014-09-29 14:18:57 UTC
Created attachment 942337 [details]
File: backtrace

Comment 2 Victor Stinner 2014-09-29 14:18:58 UTC
Created attachment 942338 [details]
File: cgroup

Comment 3 Victor Stinner 2014-09-29 14:18:59 UTC
Created attachment 942339 [details]
File: core_backtrace

Comment 4 Victor Stinner 2014-09-29 14:19:00 UTC
Created attachment 942340 [details]
File: dso_list

Comment 5 Victor Stinner 2014-09-29 14:19:02 UTC
Created attachment 942341 [details]
File: environ

Comment 6 Victor Stinner 2014-09-29 14:19:03 UTC
Created attachment 942342 [details]
File: exploitable

Comment 7 Victor Stinner 2014-09-29 14:19:04 UTC
Created attachment 942343 [details]
File: limits

Comment 8 Victor Stinner 2014-09-29 14:19:05 UTC
Created attachment 942344 [details]
File: maps

Comment 9 Victor Stinner 2014-09-29 14:19:06 UTC
Created attachment 942345 [details]
File: open_fds

Comment 10 Victor Stinner 2014-09-29 14:19:07 UTC
Created attachment 942346 [details]
File: proc_pid_status

Comment 11 Victor Stinner 2014-09-29 14:19:08 UTC
Created attachment 942347 [details]
File: var_log_messages

Comment 12 Ondrej Oprala 2015-01-16 16:53:22 UTC
Hey, this should be fixed already. Please reopen this bug if you're still experiencing this issue.

Comment 13 Victor Stinner 2015-01-16 16:58:41 UTC
I cannot reproduce this issue on Fedora 21 with this version of bash:
GNU bash, version 4.3.33(1)-release (x86_64-redhat-linux-gnu)

Thanks for the fix.


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