houmain / keymapper

A cross-platform context-aware key remapper.
GNU General Public License v3.0
298 stars 25 forks source link

bad_alloc in keymapper binary #45

Closed niwla23 closed 1 year ago

niwla23 commented 1 year ago

I get the following error when running keymapper on fedora 36:

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
[1]    56284 IOT instruction (core dumped)  keymapper -v

I have attached the strace. keymapper-stracer.txt

niwla23 commented 1 year ago

I am using the prebuilt version from GH Releases

houmain commented 1 year ago

Thanks for reporting! I just noticed that the binaries built by the build server do not work on my machine either. It crashes on the first harmless allocation. :cry: Version 1.10.0 works, 2.1.0 crashes. But the build process did not change, as far as I can tell.

houmain commented 1 year ago

The build server uses quite an old gcc, where one had to link a filesystem library. This was missing and resulted in a runtime crash but is fixed now!

niwla23 commented 1 year ago

Great to hear, I will try the new binary later