Re: iconv in base breaks multiple ports

From: Ulrich Spörlein <uqs_at_FreeBSD.org>
Date: Mon, 21 Oct 2013 21:15:07 +0200
On Sun, 2013-10-20 at 23:20:10 +0200, Tijl Coosemans wrote:
> On Sun, 20 Oct 2013 20:27:23 +0200 Ulrich Spörlein wrote:
> > ever since that iconv thing replaced the ports version, I run into
> > trouble with several ports that I have installed on a -CURRENT (now
> > stable/10 system).
> > 
> > These are not compile-time errors, but crashes or limited functionality
> > where I blame iconv :)
> > 
> > 1. www/newsbeuter crashes during startup, somewhere in the stfl code
> > that deals with wide char functions.
> > 
> > 2. devel/git: when using git-svn, it'll segfault in the perl code, not
> > sure how to get a backtrace here as gdb's follow-fork doesn't quite
> > work.
> > 
> > 3. multimedia/xbmc is no longer able to decode unicode filenames and
> > other things are broken. It spews an endless stream of 
> > 19:36:00 T:34594644992   ERROR: convert_checked iconv_open() failed from
> > WCHAR_T to UTF-8, errno=22(Invalid argument)
> > 19:36:00 T:34594644992   ERROR: convert_checked iconv_open() failed from
> > UTF-8 to WCHAR_T, errno=22(Invalid argument)
> > 19:37:00 T:34594644992   ERROR: Previous line repeats 9656 times.
> > 
> > Is my system hexed? I've rebuilt the ports/packages a dozen times now.
> > Am I seeing ghosts?
> 
> Can you try the attached patch?  It includes the one from
> http://www.freebsd.org/cgi/query-pr.cgi?pr=182994


Sure, I fail to see however how this locking could cause the problems
with crashes and failures to convert strings. I've rebuild libc with
this and it does nothing for the newsbeuter or perl crashes :(

Thanks
Uli
Received on Mon Oct 21 2013 - 17:15:10 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:43 UTC