-
-
Notifications
You must be signed in to change notification settings - Fork 256
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
segfault cargo-pgx #603
Comments
What OS is this? What kernel version? ( |
linux rh7 3.10.0-1160.66.1.el7.x86_64 |
I assume that's like CentOS 7 and uses a super old GCC, you'll need to use GCC 7 or later. On CentOS you can do this: yum install centos-release-scl
yum install devtoolset-7
scl enable devtoolset-7 bash Maybe Red hat has similar. |
Yes, RH7 has same packages. I've already installed them and it crashes. The stack file does not help? |
Hm, okay, looking at the stack:
This tells me you're segfaulting when it's generating the schema and looks nearly identical to #572, which should be fixed in #573, however we haven't cut that into a stable release yet. If you feel brave you can try 0.5.0-beta.0 (you need to directly specify this version in everything, as it's a beta. Eg |
Since this is a duplicate of #572 , I'm closing it. |
It works in version 0.5.0-beta.0. |
Glad it's working! We should have a stable release out soon. I'm kinda waiting for #592 to land. :) |
Hi,
I am trying to use pgx in order build an extension in rust. I am facing a core dumped while executing following command:
I've also tried with pg14, it does the same.
I've made no modification at all on the hello world project generated by "cargo pgx new".
The stack is here: stack.74049.txt
Best regards,
Guillaume
The text was updated successfully, but these errors were encountered: