On 05/24/2013 07:47 PM, Peter Trommler wrote:
Andreas Jaeger wrote:
On 05/21/2013 06:04 PM, Peter Trommler wrote:
Hi,
[...]
I have not been able to reproduce the issue building on my local machine running openSUSE 12.2 and I have not heard anyone on the Haskell mailing lists complain about ghc-pkg.
Could this be a glibc issue?
It could - but to figure out what it really is, we need a reproduceable test case. Could you create one? Just a quick update:
I deinstalled glibc-locale on my freshly installed openSUSE 12.3 test machine and I can now reproduce the issue with the ghc-pkg that comes with openSUSE 12.3. In addition deinstalling glibc-locale also broke Yast's Software Management module, which now returns "An error occured during repository initialization." Yast does not hang nor crash though.
I straced ghc-pkg and learned that it tries to open several locale files and then goes into an infinite loop until it has allocated too much memory and is killed. Apart from alarms (signal handling) and memory allocations I did not see any other system calls after the unsuccessful open calls.
I'll take a closer look with gdb once I repaired Yast and installed debuginfo packages.
If this is too difficult and you need a fix, a BuildRequire glibc-locale would be fine as well - but deserves a comment, Andreas -- Andreas Jaeger aj@{suse.com,opensuse.org} Twitter/Identica: jaegerandi SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Jeff Hawn,Jennifer Guild,Felix Imendörffer,HRB16746 (AG Nürnberg) GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org