| Summary: | Java Code Generator Crash | ||
|---|---|---|---|
| Product: | [Applications] umbrello | Reporter: | sc2marines <kde.uneatable440> |
| Component: | exporter | Assignee: | Umbrello Development Group <umbrello-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | ralf.habacker |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Debian stable | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/sdk/umbrello/-/commit/07e0d98a0c676641e5efdcb6d1012b51db2e5458 | Version Fixed/Implemented In: | 25.11.80 |
| Sentry Crash Report: | |||
| Bug Depends on: | |||
| Bug Blocks: | 335364 | ||
| Attachments: |
diagramm wich cause the crash.
The xmi diagramm v3.xmi Backtrace with debuginfod |
||
|
Description
sc2marines
2025-10-29 16:31:40 UTC
Created attachment 186301 [details]
The xmi diagramm
Thank you for reporting this issue and providing a stack trace.
No symbol table information available.
#6 0x0000555555822eb0 in ?? ()
No symbol table information available.
#7 0x0000555555823219 in ?? ()
No symbol table information available.
#8 0x00005555557f5a06 in ?? ()...
No symbol table information available.
#58161 0x00005555557b0038 in ?? ()
58161 stack frames indicate a problem with a recursive call that crashes with a stack overflow.
I built the attached file with an Umbrello application using Umbrello source version 25.08.2 and loaded from the git master branch, and I was unable to reproduce this error when loading the file.
It would be helpful to know what interactions with the application were performed before the crash and to obtain the Umbrello version used (Help->About menu).
> No symbol table information available.
Obtaining a stack trace with Umbrello and Qt symbols (debug packages) installed would be helpful, as it would allow us to see more precisely where this is happening.
Created attachment 186323 [details]
v3.xmi
Code generation is working correctly, crash when adding a generalization, deleting it and re add a new one in the opposite side.
(In reply to Ralf Habacker from comment #2) > Thank you for reporting this issue and providing a stack trace. > > No symbol table information available. > #6 0x0000555555822eb0 in ?? () > No symbol table information available. > #7 0x0000555555823219 in ?? () > No symbol table information available. > #8 0x00005555557f5a06 in ?? ()... > > No symbol table information available. > #58161 0x00005555557b0038 in ?? () > > 58161 stack frames indicate a problem with a recursive call that crashes > with a stack overflow. > > I built the attached file with an Umbrello application using Umbrello source > version 25.08.2 and loaded from the git master branch, and I was unable to > reproduce this error when loading the file. > > It would be helpful to know what interactions with the application were > performed before the crash and to obtain the Umbrello version used > (Help->About menu). > > > No symbol table information available. > > Obtaining a stack trace with Umbrello and Qt symbols (debug packages) > installed would be helpful, as it would allow us to see more precisely where > this is happening. Umbrello UML Modeller Version 25.04.2 (Applications 25.04.2) Hi, thanks for the quick response, I have add a new file v3.xmi wich leads me to the same crash. Reproduce steps : - Load v3.xmi - Add a generalization from visitor to administrator (arrow pointing to administrator) - Generate java code |-> [Working] - Deleting it by selecting it and pressing "delete" - Re-add a generalization from administrator to visitor (arrow pointing to visitor) - Generate java code |-> [Crash] I will upload the backtrace with debuginfod enabled as soon at it's download and generated Created attachment 186326 [details]
Backtrace with debuginfod
Here his the backtrace with debuginfod.
Tell me if there anything you need.
I have used my command like this to generate the backtrace :
gdb -ex "set debuginfod enabled on" -batch -ex run -ex "bt full" -ex quit --args umbrello5 > umbrello-backtrace.txt 2>&1
A possibly relevant merge request was started @ https://invent.kde.org/sdk/umbrello/-/merge_requests/76 Git commit 07e0d98a0c676641e5efdcb6d1012b51db2e5458 by Ralf Habacker. Committed on 01/11/2025 at 16:04. Pushed by habacker into branch 'master'. Fix bug not deleting uml association When an association widget is deleted, the associated UML association is not deleted. The remaining associations are no longer visible because they do not appear in the property dialog of a class. Since they are no longer visible, cyclic inheritances can easily occur, which can lead to a crash, e.g., of the Java export. After this fix, it is important to restore the missing widgets for such associations and to point out cyclic inheritances when loading files. FIXED-IN:25.11.80 M +1 -1 umbrello/umlwidgets/associationwidget.cpp https://invent.kde.org/sdk/umbrello/-/commit/07e0d98a0c676641e5efdcb6d1012b51db2e5458 Git commit f7845f1127f6297da68fc000f2eef76cd0e39d10 by Ralf Habacker. Committed on 01/11/2025 at 16:04. Pushed by habacker into branch 'master'. Readd lost association widgets in all views M +87 -0 umbrello/umldoc.cpp https://invent.kde.org/sdk/umbrello/-/commit/f7845f1127f6297da68fc000f2eef76cd0e39d10 Git commit 1b7b51691431fd1b2a00f75b2e4b5dbe3931746c by Ralf Habacker. Committed on 01/11/2025 at 16:04. Pushed by habacker into branch 'master'. Mark selected associations on the “Associations” page in the diagram When you select an association on the “Association” page of the class properties dialog, it is marked in the diagram so that it can be identified. M +25 -0 umbrello/dialogs/pages/classassociationspage.cpp M +1 -0 umbrello/dialogs/pages/classassociationspage.h M +12 -0 umbrello/umlwidgets/associationline.cpp M +13 -0 umbrello/umlwidgets/widgetbase.cpp M +4 -0 umbrello/umlwidgets/widgetbase.h https://invent.kde.org/sdk/umbrello/-/commit/1b7b51691431fd1b2a00f75b2e4b5dbe3931746c |