Users dandv and jeff_wigal reported a segmentation fault (core dump) occurring during the MyBB import script, a regression that also affects other batch processing tasks. gerhard suggested setting cache_rows to true or upgrading the mysql2 gem as potential fixes. dandv confirmed that cache_rows: true prevents the crash, though removing the setting entirely also works if the mysql2 gem is downgraded.
Sam noted that cache_rows: true is a known issue with the mysql2 gem and raised the bug report upstream. During the troubleshooting, codinghorror responded harshly to dandv regarding the tone of the requests, prompting an apology from dandv who clarified they were not making demands but asking for help. Sam confirmed the issue was raised with the gem maintainers and approved a PR to remove cache_rows: true from importers. Finally, erlend_sh indicated that the underlying issue appears to have been resolved in a recent pull request.
I JUST saw that today … we got to raise this issue with the mysql2 gem…its crash central with cache_rows: true. Can you raise that with them together with the segfault?
This is a reasonably new issue, was working fine a few weeks ago. Now it is bust on pretty much every ruby version.
Thanks @sam. How can one revert to a working state of the gem and whatever else is involved? I only need to obtain a map of old_topic_id → imported topic_id to create a redirect map file, and the importer itself was the easiest way to get that.
Unless you are a paying customer, you are not obligated to our time. If you continue to make demands like this, either buy a hosting contract, or with all due respect, take your demands somewhere else.