Just Testing

  • Archive
  • RSS

Heads Up: GHC devs on Macs - GHC’s testsuite crashes spotlight indexer on SL

GHC’s testsuite[1] contains a test ‘encoding001’ (in the I/O library section) that generates files in various unicode encodings including one using UTF-8 with byte order markers, namely ‘encoding001.utf16.utf8_bom’. On Mac OS X 10.6 (Snow Leopard), this file causes the indexing process of Spotlight to hang. More precisely, the ‘mds’ (meta dataserver) process appears to go into a loop (eating all cycles of one processor core) — it appears to hang in the library ‘libmecap’ trying to parse what it probably believes to be Japanese or Chinese text.

Interestingly, the file command regards the file to be “Unicode text, UTF-32, big-endian”.

[1] http://darcs.haskell.org/testsuite/

Posted via email from Just Testing | Comment »

  • 3 years ago
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+
← Previous • Next →

About

Avatar

I research and teach programming languages, compilers, and their applications at the University of New South Wales (UNSW), Sydney. My main interest is in functional and parallel programming. Most of my code is in Haskell.

You can find me on App.net (preferred) and Twitter, or on GitHub. Check out my UNSW website.

  • RSS
  • Random
  • Archive
  • Mobile
Effector Theme by Pixel Union