Bug 1066643 - [abrt] bash: __gconv_transform_utf8_internal(): bash killed by SIGSEGV
Summary: [abrt] bash: __gconv_transform_utf8_internal(): bash killed by SIGSEGV
Keywords:
Status: CLOSED INSUFFICIENT_DATA
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:5ff314bcc34279c3ac3978ba885...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-18 19:20 UTC by Dj YB
Modified: 2016-02-01 02:09 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-05-19 08:18:42 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (222.91 KB, text/plain)
2014-02-18 19:20 UTC, Dj YB
no flags Details
File: cgroup (171 bytes, text/plain)
2014-02-18 19:20 UTC, Dj YB
no flags Details
File: core_backtrace (366.42 KB, text/plain)
2014-02-18 19:20 UTC, Dj YB
no flags Details
File: dso_list (580 bytes, text/plain)
2014-02-18 19:20 UTC, Dj YB
no flags Details
File: environ (3.66 KB, text/plain)
2014-02-18 19:20 UTC, Dj YB
no flags Details
File: exploitable (82 bytes, text/plain)
2014-02-18 19:21 UTC, Dj YB
no flags Details
File: limits (1.29 KB, text/plain)
2014-02-18 19:21 UTC, Dj YB
no flags Details
File: maps (29.18 KB, text/plain)
2014-02-18 19:21 UTC, Dj YB
no flags Details
File: open_fds (105 bytes, text/plain)
2014-02-18 19:21 UTC, Dj YB
no flags Details
File: proc_pid_status (926 bytes, text/plain)
2014-02-18 19:21 UTC, Dj YB
no flags Details
File: var_log_messages (199 bytes, text/plain)
2014-02-18 19:21 UTC, Dj YB
no flags Details

Description Dj YB 2014-02-18 19:20:10 UTC
Version-Release number of selected component:
bash-4.2.45-4.fc20

Additional info:
reporter:       libreport-2.1.11
backtrace_rating: 4
cmdline:        /bin/bash /home/djyb/bin/remove_spaces_rec.sh . - _
crash_function: __gconv_transform_utf8_internal
executable:     /usr/bin/bash
kernel:         3.12.8-300.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            500

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 __gconv_transform_utf8_internal at ../iconv/skeleton.c:395
 #1 __mbsnrtowcs at mbsnrtowcs.c:94
 #2 mbsnrtowcs at /usr/include/bits/wchar2.h:555
 #3 xdupmbstowcs2 at xmbsrtowcs.c:180
 #4 xdupmbstowcs at xmbsrtowcs.c:291
 #5 glob_pattern_p at glob.c:151
 #6 glob_vector at glob.c:487
 #7 glob_filename at glob.c:1050
 #8 shell_glob_filename at pathexp.c:303
 #9 glob_expand_word_list at subst.c:9035

Comment 1 Dj YB 2014-02-18 19:20:18 UTC
Created attachment 864716 [details]
File: backtrace

Comment 2 Dj YB 2014-02-18 19:20:39 UTC
Created attachment 864717 [details]
File: cgroup

Comment 3 Dj YB 2014-02-18 19:20:53 UTC
Created attachment 864718 [details]
File: core_backtrace

Comment 4 Dj YB 2014-02-18 19:20:56 UTC
Created attachment 864719 [details]
File: dso_list

Comment 5 Dj YB 2014-02-18 19:20:58 UTC
Created attachment 864720 [details]
File: environ

Comment 6 Dj YB 2014-02-18 19:21:02 UTC
Created attachment 864721 [details]
File: exploitable

Comment 7 Dj YB 2014-02-18 19:21:04 UTC
Created attachment 864722 [details]
File: limits

Comment 8 Dj YB 2014-02-18 19:21:08 UTC
Created attachment 864723 [details]
File: maps

Comment 9 Dj YB 2014-02-18 19:21:10 UTC
Created attachment 864724 [details]
File: open_fds

Comment 10 Dj YB 2014-02-18 19:21:14 UTC
Created attachment 864725 [details]
File: proc_pid_status

Comment 11 Dj YB 2014-02-18 19:21:16 UTC
Created attachment 864726 [details]
File: var_log_messages

Comment 12 Ondrej Oprala 2014-04-01 13:31:49 UTC
Hi and thanks for the report.
ABRT's output doesn't give me much to work with. Could you please provide your remove_spaces_rec.sh script?
Also, is this a recurring issue, or just a one time crash?

Thanks.

Comment 13 Dj YB 2014-06-09 11:20:39 UTC
(In reply to Ondrej Oprala from comment #12)
> Hi and thanks for the report.
> ABRT's output doesn't give me much to work with. Could you please provide
> your remove_spaces_rec.sh script?
> Also, is this a recurring issue, or just a one time crash?
> 
> Thanks.

Hi
I don't really remember reporting this, could be automatic...?

Anyway I cannot find a script with that name, but it could be that I have changed the script name. so here is what I got... hope that helps.

Yehiel


#!/bin/bash

rename()
{
    for i in "$1/"*;
    do
	if [ -d "$i" ]; then
#	    cd "$i";
	   # echo "d pwd=`pwd`";
	    rename "$i" "$2" "$3";
	elif [ -f "$i" ]; then
	    new=`echo $i|sed 's/'$2'/'$3'/g'`; 
	    if [ "$new" !=  "$i" ]; then
	    echo "2=$2; 3=$3; renaming $i -> $new";
		mv "$i" $new; 
	    fi
	else
	    #echo "pwd=`pwd`";
	    echo "$i not a file!";
	fi
    done
}
echo "renaming $1";
rename "$1" "$2" "$3"


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