Skip to content
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 when adding parameter nodes to activity nodes #2433

Closed
2 of 3 tasks
Bambofy opened this issue Jul 7, 2023 · 3 comments
Closed
2 of 3 tasks

Crash when adding parameter nodes to activity nodes #2433

Bambofy opened this issue Jul 7, 2023 · 3 comments
Labels
bug An issue in the application upstream This issue requires a fix in an upstream project

Comments

@Bambofy
Copy link

Bambofy commented Jul 7, 2023

Describe the bug

When i try to add a parameter node to activities on an activity diagram, sometimes it causes the editor to crash. I have tried gaphor on both linux and OS X and it is happening on both OSes. I have captured the error logs for the first time the crash happened and is linked below.

parameter-node-crash-report.txt

Now after the editor has crashed, the editor seemingly crashes every time i try to add a action to an activity diagram. This functioned properly before and the previous crash due to the parameter node seems to have caused this too. I have added 2 error reports which occured after that first crash due to the parameter node.

activity-node-crash-report-1.txt
activity-node-crash-report-2.txt

To Reproduce

Steps to reproduce the behavior:

  1. Create a blank diagram.
  2. Add an activity node to the diagram.
  3. Add an action node to the diagram outside of the activity node
  4. Add a parameter node to the activity node.

Expected behavior

gaphor does not crash when adding parameter nodes.

Screenshots

If applicable, add screenshots to help explain your problem.

OS

  • Linux (Please put in notes the specific distro)
  • macOS
  • Windows

Version

Version of Gaphor: 2.19.1

Additional information

Linux distro: Ubuntu

@Bambofy Bambofy changed the title Crash when adding parameter noded to activities. Crash when adding parameter nodes to activity nodes Jul 7, 2023
@amolenaar
Copy link
Member

amolenaar commented Jul 7, 2023

Hi @Bambofy, Thanks for reporting.

Indeed I can reproduce this locally with the Flatpak build (linux).

I suspect this error was introduced by #2329. Reverting this PR makes it not crash at least.

@amolenaar
Copy link
Member

I created a MR on GTK for this: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/6174.

@amolenaar amolenaar added upstream This issue requires a fix in an upstream project bug An issue in the application labels Jul 8, 2023
@amolenaar
Copy link
Member

amolenaar commented Jul 10, 2023

The issue is fixed in Gaphor 2.19.2.

However, I'd like to keep this issue open until a fix is provided upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An issue in the application upstream This issue requires a fix in an upstream project
Projects
None yet
Development

No branches or pull requests

2 participants