-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yosys-abc fails in 2024.09 #75
Comments
This could be a tough one to debug. @MrHighVoltage could you please take a look? |
I could reproduce that segfault, on x86 and aarch64, which makes it seem to be a bug. |
If you get stuck just update us, I will ask Alan Mishchenko if he has some time to help debug the problem. Also I don't think it is an inherent docker thing since at least on my side it works in the 2024.07 container, it might be some weird interaction between multiple things. |
Rebuilding abc with debug symbols finally gave some insights:
The backtrace looks like that:
As I'm really don't know how to work with abc, could you maybe find out, what happens there? Because from that backtrace, I think this looks more like a bug, not related to the container. |
I retried the exact version used in the container outside of the Docker container and it still segfaults. With that, I'm very certain, that this is a newly introduced bug in yosys-abc. I'm closing this issue and forward it to the yosys maintainers. |
Describe the bug
A segfault can be created in yosys-abc using a simple sequence of commands, the combination of
&b -d
and&nf
seem to be the main factors here.This same script works with the following systems:
Yosys (and with that yosys-abc) was always compiled from a clean repo just that was just cloned.
To Reproduce
Steps to reproduce the behavior:
segfault.zip
yosys-abc -f abc.script
Expected behavior
It should not be segfaulting.
Environment:
Additional context
I do not understand what might have gone wrong here, I tried recreating it as close as possible but never got a version of ABC that would segfault at this point.
I think this issue is rather specific and needs many things to ali
gn for it to occur (the script must trigger it, the input design probably needs to be of a certain form etc).
The text was updated successfully, but these errors were encountered: