Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jul 2010 17:32:21 +0200
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        Anonymous <swell.k@gmail.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: [CFT] BSDL iconv in base system
Message-ID:  <4C35EF85.6010905@FreeBSD.org>
In-Reply-To: <86mxu4sj0n.fsf@gmail.com>
References:  <4C16C5B5.1070308@FreeBSD.org> <867hlzq4lb.fsf@gmail.com>	<867hlzufl6.fsf@gmail.com> <4C1A7A57.3000006@FreeBSD.org>	<86bpb9z77g.fsf@gmail.com> <4C2F7917.7040900@FreeBSD.org>	<86pqz29sy2.fsf@gmail.com> <86mxu4sj0n.fsf@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Em 2010.07.06. 17:54, Anonymous escreveu:
>> BTW, I think there is regression in iconv(1). It wasn't there in iconv_base_integrate2.diff.
>>
>>    (gdb) r
>>    Starting program: /usr/bin/iconv
>>    During symbol reading, DW_AT_name missing from DW_TAG_base_type.
>>    During symbol reading, cannot get low and high bounds for subprogram DIE at 11006.
>>    During symbol reading, DW_AT_name missing from DW_TAG_base_type.
>>
>>    Program received signal SIGSEGV, Segmentation fault.
>>    0x0000000000401281 in main (argc=
>>    During symbol reading, incomplete CFI data; unspecified registers (e.g., rax) at 0x401180.
>>    0, argv=0x7ffffffefb98) at /a/blah/usr.bin/iconv/iconv.c:198
>>    198             if ((strcmp(opt_f, "") == 0)&&  (strcmp(opt_t, "") == 0))
>>    (gdb) bt f
>>    #0  0x0000000000401281 in main (argc=0, argv=0x7ffffffefb98) at /a/blah/usr.bin/iconv/iconv.c:198
>>            fp =<value optimized out>
>>            opt_f = 0x0
>>            opt_t = 0x0
>>            ch =<value optimized out>
>>            i =<value optimized out>
>>            opt_c = false
>>            opt_s = false
>>    (gdb) p *argv
>>    $1 = 0x0
>>      
> It works if I specify both `-t' and `-f'. And crashes when none
> specified or only one of them.
>    
Thanks, I've fixed this and the mtree problem, as well. I hope this one 
now works properly on amd64:
http://kovesdan.org/patches/iconv-20100708.diff

Gabor



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C35EF85.6010905>