Open aimylios opened 5 years ago
PR #132 fixes the crash for me.
I have a fork of the Fedora spec file which builds the latest code and this patch but it is blocked until icestorm is updated to add 5k chip support: https://github.com/jburgess777/rpms-arachne-pnr/tree/update-latest
As the version of arachne-pnr available in the Fedora 28 repositories is relatively old (June 2017), I have prepared my own RPM of the current git head for personal use.
Unfortunately it crashes when routing the rot example. This is the backtrace I get:
Apparently, this is a well known problem of Fedora 28 and affects a lot of applications. The reason is that some hardenig flags were enabled by default, including _GLIBCXXASSERTIONS [1]. This flag "enables extra error checking in the form of precondition assertions, such as bounds checking in strings and null pointer checks when dereferencing smart pointers."_ [2].
The backtrace points to line 46 in src/priorityq.hh:
An analysis of this issue and some hints how to handle it are available in the httpuv bug tracker [3]. Maybe this can help you to fix the bug.
[1] https://fedoraproject.org/wiki/Changes/HardeningFlags28 [2] https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_macros.html [3] https://github.com/rstudio/httpuv/issues/133#issuecomment-387499519