-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
Crash in SelectionToolWidget::changeLayer (in Kalzium) #1193
Comments
Thanks for opening your first issue here! Please try to include example files and screenshots if possible. If you're looking for support, please post on our forum: https://discuss.avogadro.cc/ |
I'm not sure I understand. We're not the Kalzium app. Is this an Avogadro2 bug? |
The crash appended in the Kalzium app. I know that you are not the Kalzium app. The Kalzium app team told me that the bug is not related to ther app, but that the crash depends on Avogadro and so to write here about it. |
Backtrace
The crash happens in the |
What version of Avogadro is this? We've fixed this in more recent versions. |
1.97.0, and it's also reproducible with latest git |
Okay, this took a while to track down, but it should be fixed in 1.98. |
The patch doesn't fix the problem, unfortunately. Kalzium still crashes with the same backtrace. |
Thanks for the follow-up. The whole chain of events seems to be triggered when setting up the |
Only create the widget when needed, only connect the signal as-needed Prevents a query for a layer before there's even a molecule Signed-off-by: Geoff Hutchison <geoff.hutchison@gmail.com>
Okay, let's try this patch in #1408 - I think it should avoid the whole chain of events. Please let me know if it solves the issue. (fingers crossed) |
Here are the build results |
Here are the build results |
This one works, thanks |
Avogadro version: (please complete the following information from the About box):
Desktop version: (please complete the following information):
Describe the bug
Kalzium app crashes after clicking the Molecular Editor button. - 2022-11-09. Arch Linux. It happens also on Fedora 36 KDE.
This issue does not happen on Debian 11 and an older version of Kalzium.
The crash can be reproduced every time.
https://bugs.kde.org/show_bug.cgi?id=457191
KDE and Kalzium team told me that the issue concerns Avogadro and therefore to write it here.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here. Please consider uploading or linking test files.
The text was updated successfully, but these errors were encountered: