-
-
Notifications
You must be signed in to change notification settings - Fork 163
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 in SpaceGroupTest.reduceToPrimitive via libsymspg #752
Comments
Weird, it seems to be working with 1.16.1. Thanks, I'll look into it. |
This segfault is still current. Are you able to reproduce it? Installing libsymspg1-dbgsym gives more detail,
|
I am unable to reproduce it, even on the GH build nodes, but I should be able to do something from this... |
Just to confirm, were your tests using spglib 1.16.2 ? |
Yes. I've bumped openchemistry to 1.16.2. |
OK, let me know if there's anything you need to to check or patch. I'll upload avogadrolibs 1.95.1 now to check if clean builds on the Debian servers reproduce it. I guess the rest of the code is safe, so long as getHallNumber is not used. |
Unrelated to the spglib segfault, you might like to be aware of the Qt5/GL bug reported at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798408 . Something to do with ARM hardware GLES support. It's preventing a successful build on armhf and armel architectures (https://buildd.debian.org/status/package.php?p=avogadrolibs). |
As for the spglib segfault, it's reproduced on the debian CI machines on amd64, arm64, i386 at https://ci.debian.net/packages/a/avogadrolibs/
|
Thanks for the heads-up on ARM. Do you know if it's resolved with Qt6? |
Aha, I can finally reproduce on my Mac. 🎉 |
Not sure if this is the perfect solution, but it fixes OpenChemistry#800 Might also fix OpenChemistry#752 Signed-off-by: Geoff Hutchison <geoff.hutchison@gmail.com>
It's a symptom of a deeper problem with layers. I'm hopeful #806 will fix this for you too. Let me know - it's been hard to confirm your exact bug. |
Here are the build results |
Not clear to me yet, but they did make a big overhaul of their video system handling. I'll give patch #806 a try. |
Patch #806 seems to be working well enough. Not crashing anymore on SpaceGroupTest.reduceToPrimitive , https://ci.debian.net/data/autopkgtest/testing/amd64/a/avogadrolibs/15790439/log.gz There's a separate runtime crash related to changing the crystal cell, but I'm not certain how to reproduce it reliably. I guess it's not related to this spglib crash anyway, certainly not in the unit tests. I think we can consider this bug resolved by #806 . |
If you have other crashes, please create an issue with as much info as you have. I have ideas on a few of them and we can track them down. #806 isn't perfect - figuring out the correct solution will take longer - but if it fixes crashes, it's a useful start. |
Avogadro version: 1.95
**Desktop version: **
Describe the bug
Running tests for the Debian build of Avogadrolibs: 1.95.1, I get a segfault at SpaceGroupTest.reduceToPrimitive
To Reproduce
Steps to reproduce the behavior:
run_test
subdir:tests/run_test
dir)Expected behavior
All tests are expected to pass without error.
Screenshots
A gdb backtrace reports:
Additional context
This is with external spglib (libsymspg1) 1.16.2
The text was updated successfully, but these errors were encountered: