-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18/05/13 17:25, Roman Cheplyaka wrote: > I am observing a non-deterministic behaviour of aeson's parser. > > I'm writing here in addition to filing a bug report [1] to draw > attention to this (pretty scary) problem. > > To try to reproduce this problem, do this: > > git clone https://gist.github.com/5604887.git aeson cd aeson ghc > aeson.hs ./aeson | sort | uniq -c > > This is my result: > > 32 Left "key \"module\" not present" 55 Left "When parsing the > record SymValue of type Main.SymValueInfo the key fixity was not > present." 1913 Right () > > Can others reproduce this in their environments? > > Does anyone have ideas about where the bug may lie? Many aeson's > dependencies do unsafe IO stuff that could lead to such > consequences. > > Roman > > [1]: https://github.com/bos/aeson/issues/125 > > _______________________________________________ Haskell-Cafe > mailing list Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > Here's my result:
3 Left "key \"module\" not present" 8 Left "When parsing the record SymValue of type Main.SymValueInfo the key fixity was not present." 1989 Right () - -- Mateusz K. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iQIcBAEBAgAGBQJRl7RYAAoJEM1mucMq2pqXt+AQALBsY3qgOawn4lHWK4myxXms ofwxyED2fJC+4BjjdfMrbHcWYpEM43K+QlAElx7sQcM/VCCjqRiJ61zHyLnicILE PwxF0/J0QQOkLF3/Q4ND7zgKqxbJWjOW2V6tf/WQulL4eKl1o40Xl4wuhoNqFrIA g5GKcY/MPdBzbcnOwep6DdRhm42SrO+WnmmWoNYPNWA43dZwatlBsCklS3Pj+SdS AYl10ZwNkMBT8Pj4N5A/z9C8LPKiZUDjuZxpMQT+PY4Ct318HtZVWDX3fM5QGvuE HVqBPlBZIQn+VWBDFVe3LqhfvAVpvmflJ99DVGeO73kBhEf4FMhVfnXcGDayYYn9 PGF4n7L7MP4hNVlQtQhWkLKgWz0Z+VND+6c8yGceEpak4WqpzSmBKXIpMa8fw7tz UXHUdJiVt6ZLGr1LjqDD3399+DCySj56XfyQk57xTn5gRjHtfz7QPSzgydDZzsJJ 8WHwQG1yHzNDfPATQwuZWss8FR53TXZbsn7zPfcJsro8bogNc2OH53HiVKoOm8l3 xH+A0D7169VCcKLvcVLmOb8gzAS2PiClm9/9H3/ho7iaU7gcYkZTaUO3JNz72mpn Z0dS2YIdgmUdEY6Ws5DSmySOmP0QdFUt7xMK2lfExugdPLatcT0D+CGvNRJpfNXB uL4I9+taoheV+3SLbM6M =iGjG -----END PGP SIGNATURE----- _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe