Closed pkl97 closed 5 months ago
After a bit of additional testing I can confirm that the problem also occurs under Linux.
Indeed this is an issue introduced by a seemingly unrelated change: https://github.com/boostorg/locale/commit/0faa3c10cc929d0803bbac3ec9bfff9093956155#diff-534aadc69c09a9fce955212e657a8638e05aa877b8f753df917303419562f66fL141-R149
I created a fix and hope that I can still include it into the next release.
Thanks for the report!
The program below runs stable against Boost 1.83.0 but crashes under Boost 1.84.0 when run under Windows together with the ICU library:
Boost is compiled with these arguments:
We use ICU 74.2 and link it dynamically. Interestingly the problem does not occur with to_upper() and to_lower(), just with to_title().
There was a change in Boost.Locale 1.84.0 regarding to_title() (but not related to ICU according to the changelog). Maybe there is a connection.