#ifdef VCMI_ANDROID // boost will crash without"> #ifdef VCMI_ANDROID // boost will crash without">
| Anonymous | Login | 2025-10-29 18:42 UTC | ![]() |
| My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
| 0002785 | VCMI | Other | public | 2017-09-07 19:43 | 2023-03-03 10:55 | ||||||||
| Reporter | SXX | ||||||||||||
| Assigned To | kambala | ||||||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||||||
| Status | resolved | Resolution | fixed | ||||||||||
| Platform | Linux / Android | OS | OS Version | ||||||||||
| Product Version | 0.99 | ||||||||||||
| Target Version | Fixed in Version | ||||||||||||
| Summary | 0002785: Avoid crash when LC_ALL / LANG is not set | ||||||||||||
| Description | I working on Linux snap package and VCMI crash with "locale::facet::_S_create_c_locale name not valid" if encoding not set so I have to manually set "LC_ALL: C.UTF-8" to avoid crash. Also Android code also have following workaround in CMT:
#ifdef VCMI_ANDROID
// boost will crash without this
setenv("LANG", "C", 1);
#endif
I guess there is good chance that we can avoid all of this by setting some options to our boost::locale usage. | ||||||||||||
| Tags | No tags attached. | ||||||||||||
| Attached Files | |||||||||||||
Notes |
|
|
(0008488) kambala (developer) 2023-03-01 11:01 |
apparently got fixed by something, at least we had no Linux / flatpak reports about this |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2017-09-07 19:43 | SXX | New Issue | |
| 2023-03-01 11:01 | kambala | Note Added: 0008488 | |
| 2023-03-01 11:01 | kambala | Status | new => resolved |
| 2023-03-01 11:01 | kambala | Resolution | open => fixed |
| 2023-03-01 11:01 | kambala | Assigned To | => kambala |
| Copyright © 2000 - 2025 MantisBT Team |