Created attachment 586288 [details] Atom stack trace Related: https://github.com/elprans/atom-overlay/issues/41 Opening a PHP file in Atom editor 1.32.1 causes "Uncaught Error: invalid code point value", as illustrated in the attached stack trace, disabling PHP IDE features. Masking =dev-libs/oniguruma-6.9.2 and downgrading to dev-libs/oniguruma-6.9.1 resolves the error.
This is actually neither a bug in atom, nor in oniguruma. See this bug for more information: https://github.com/kkos/oniguruma/issues/146
Thanks for the quick analysis! Right now the dependency is '>=dev-libs/oniguruma-6.6.0', perhaps extend this to '<=dev-libs/oniguruma-6.9.1' until the bug is resolved by either party?
Upstream said in https://github.com/kkos/oniguruma/issues/146#issuecomment-517928413: """ By the way, in the current master branch, I added ONIG_SYN_ALLOW_INVALID_CODE_END_OF_RANGE_IN_CC and enabled it in DEFAULT syntax only. This allows invalid character code values at the end of a range in a character class. """ This change was released in dev-libs/oniguruma-6.9.3 which is already in the tree. Does this change allow you to use app-editors/atom without problems?
Just completed a few tests (and did some learning on binary packages): =dev-libs/oniguruma-6.9.1 -> PASS =dev-libs/oniguruma-6.9.2 -> FAIL =dev-libs/oniguruma-6.9.3 -> PASS Looks good, thanks for the update!
dev-libs/oniguruma-6.9.3 is now stable due to security fixes (bug #691832). I will delete older versions soon. This bug can be closed.