#30 seems to related but is not, since using https://github.com/mauke/unibilium/tree/wide-int doesn't solve the problem. I was able to fix the problem by using the terminfo bundled with st instead the one that come with ncurses. But no other programs crashes, so I guess it must be fixed in unibilium.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by rhizoome and has received 16 comments.