On Mon, May 4, 2020 at 6:28 PM 'nightpool' via v8-dev <v8-dev@googlegroups.com> wrote: > > Hi, i'm trying to update the mini_racer ruby extension to use a more modern > version of v8, and i'm running into a problem where Number.toLocaleString is > throwing "TypeError: Internal error. Icu error." > > The error is occurring in code as simple as "(10).toLocaleString()". Does > anyone know what could be going on here? You can see the v8 side of the > bindings here: https://github.com/rubyjs/mini_racer/pull/153/files
It sounds like you're hitting https://bugs.chromium.org/p/v8/issues/detail?id=8641 - tl;dr the ICU data file is missing a section. I don't know if 7.8 is supposed to contain the fix. Are you using the bundled copy of ICU? Do newer V8 releases work? As an aside: 7.8 has been EOL for 6 months now, you probably want to switch to a newer version anyway. -- -- v8-dev mailing list v8-dev@googlegroups.com http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to v8-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/CAHQurc9RPkp8T4t-ub_41-LaKyMCZRav9K3yddhOxfx1SgryOg%40mail.gmail.com.