Date: Mon, 21 Oct 2013 21:15:07 +0200 From: Ulrich =?utf-8?B?U3DDtnJsZWlu?= <uqs@FreeBSD.org> To: Tijl Coosemans <tijl@FreeBSD.org> Cc: ports@FreeBSD.org, current@FreeBSD.org Subject: Re: iconv in base breaks multiple ports Message-ID: <20131021191507.GH12255@acme.spoerlein.net> In-Reply-To: <20131020232010.384afeaf@kalimero.tijl.coosemans.org> References: <20131020182723.GE12255@acme.spoerlein.net> <20131020232010.384afeaf@kalimero.tijl.coosemans.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131021191507.GH12255>