Title: `testrunner` asserts on MSYS MINGW64 · Issue #477 · cppcheck-opensource/simplecpp · GitHub
Open Graph Title: `testrunner` asserts on MSYS MINGW64 · Issue #477 · cppcheck-opensource/simplecpp
X Title: `testrunner` asserts on MSYS MINGW64 · Issue #477 · cppcheck-opensource/simplecpp
Description: Encountered while working on #475. C:/msys64/mingw64/include/c++/15.1.0/bits/basic_string.h:1349: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_reference std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator[](size_t...
Open Graph Description: Encountered while working on #475. C:/msys64/mingw64/include/c++/15.1.0/bits/basic_string.h:1349: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_reference std::__cxx11::basic_string<_Ch...
X Description: Encountered while working on #475. C:/msys64/mingw64/include/c++/15.1.0/bits/basic_string.h:1349: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_reference std::__cxx11::basic_stri...
Opengraph URL: https://github.com/cppcheck-opensource/simplecpp/issues/477
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`testrunner` asserts on MSYS MINGW64","articleBody":"Encountered while working on #475.\n\n```\nC:/msys64/mingw64/include/c++/15.1.0/bits/basic_string.h:1349: std::__cxx11::basic_string\u003c_CharT, _Traits, _Alloc\u003e::const_reference std::__cxx11::basic_string\u003c_CharT, _Traits, _Alloc\u003e::operator[](size_type) const [with _CharT = char; _Traits = std::char_traits\u003cchar\u003e; _Alloc = std::allocator\u003cchar\u003e; const_reference = const char\u0026; size_type = long long unsigned int]: Assertion '__pos \u003c= size()' failed.\n```\n\nI can reproduce it locally but for some reason the assertion does not break into the debugger so I have no trace. And I cannot reproduce it in a non-MSYS2 MinGW.","author":{"url":"https://github.com/firewave","@type":"Person","name":"firewave"},"datePublished":"2025-08-04T11:59:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/477/simplecpp/issues/477"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f4771003-f56d-9fe0-4851-0e2d1a05a346 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B312:308E6B:D916BB:1303A4D:6A4E8F52 |
| html-safe-nonce | 49411c431ac6d5f0567eb7f2d4d8b6763a67f466a77c87250a189fed26ddc300 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzEyOjMwOEU2QjpEOTE2QkI6MTMwM0E0RDo2QTRFOEY1MiIsInZpc2l0b3JfaWQiOiI1NjQzMDM4MTQ3OTU4OTA1MTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1cd2a01ca4f6b45458bedb4902752de8c9328382a1303a14f6508dc8eac35c66 |
| hovercard-subject-tag | issue:3289140908 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/cppcheck-opensource/simplecpp/477/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d03668683937634d474bf6fddbe874ee201be5beb70e1872ef53f7604352ec84/cppcheck-opensource/simplecpp/issues/477 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d03668683937634d474bf6fddbe874ee201be5beb70e1872ef53f7604352ec84/cppcheck-opensource/simplecpp/issues/477 |
| og:image:alt | Encountered while working on #475. C:/msys64/mingw64/include/c++/15.1.0/bits/basic_string.h:1349: std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::const_reference std::__cxx11::basic_string<_Ch... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | firewave |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| turbo-cache-control | no-preview |
| go-import | github.com/cppcheck-opensource/simplecpp git https://github.com/cppcheck-opensource/simplecpp.git |
| octolytics-dimension-user_id | 278097703 |
| octolytics-dimension-user_login | cppcheck-opensource |
| octolytics-dimension-repository_id | 33434464 |
| octolytics-dimension-repository_nwo | cppcheck-opensource/simplecpp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 33434464 |
| octolytics-dimension-repository_network_root_nwo | cppcheck-opensource/simplecpp |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width