bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: join utility segfults


From: Pádraig Brady
Subject: Re: join utility segfults
Date: Thu, 23 Apr 2009 15:24:07 +0100
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Pádraig Brady wrote:
> Roman Kirillov wrote:
>> Hi guys,
>>
>> Probably found a bug in 'join':
>>
>> address@hidden py-src]$ join s1.txt s2.txt
>> Segmentation fault
>>
>> files: http://sigizmund.info/upload/s12.tgz (28 mb)
> 
> This issue seems related to the i18n patch applied by your distro
> 
> ~/git/coreutils/src$ ./join s1.txt s2.txt > /dev/null
> ./join: file 1 is not in sorted order
> ./join: file 2 is not in sorted order
> fedora-8:~$ LANG=C join s1.txt s2.txt > /dev/null
> fedora-8:~$ join s1.txt s2.txt > /dev/null
> Segmentation fault (core dumped)

BTW if you wanted to pass this on, here is some pertinent info:

$ echo $LANG
en_IE.UTF-8

$ sudo yum --enablerepo=fedora-debuginfo install glibc-debuginfo 
coreutils-debuginfo

$ gdb $(which join)
(gdb) set args s1.txt s2.txt > /dev/null
(gdb) r
Program received signal SIGSEGV, Segmentation fault.
(gdb) bt
#0  __gconv_transform_utf8_internal (step=0x9f5abd0, data=0xbfa0838c, 
inptrp=0xbfa083b0, inend=0xffffffff <Address 0xffffffff out of bounds>, 
outbufstart=0x0, irreversible=0xbfa083b4, do_flush=0,
    consume_incomplete=1) at ../iconv/loop.c:311
#1  0x002fd095 in __mbrtowc (pwc=0xbfa08428, s=0x9f7b000 <Address 0x9f7b000 out 
of bounds>, n=4294835842, ps=0xbfa0842c) at mbrtowc.c:82
#2  0x0804a460 in get_line (fp=<value optimized out>, line=0x9f5ad38) at 
join.c:338
#3  0x0804a694 in getseq (fp=0x9f5a9c0, seq=0xbfa084dc) at join.c:446
#4  0x0804af91 in main (argc=3, argv=0xbfa085f4) at join.c:746
#5  0x0029c390 in __libc_start_main (main=0x804a710 <main>, argc=3, 
ubp_av=0xbfa085f4, init=0x804d330 <__libc_csu_init>, fini=0x804d320 
<__libc_csu_fini>, rtld_fini=0x275940 <_dl_fini>,
    stack_end=0xbfa085ec) at libc-start.c:220
#6  0x08048ee1 in _start ()





reply via email to

[Prev in Thread] Current Thread [Next in Thread]