After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 319447 - Crash on adding operations to a UML class
Crash on adding operations to a UML class
Status: RESOLVED DUPLICATE of bug 314153
Product: dia
Classification: Other
Component: general
CVS head
Other All
: High critical
: ---
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-21 19:42 UTC by Leon Stringer
Modified: 2005-11-09 06:10 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Leon Stringer 2005-10-21 19:42:48 UTC
Steps to reproduce:
1. Start Dia.
2. In the tool window click on the sheet list and select Other sheets->UML.
3. Click on the Class icon and click in the empty diagram window to add the class.
4. Double click on the new class in the diagram to open the properties dialog.
5. Select the Operations tab then click New.
6. Type a name for your method (e.g. run) and click OK.


Stack trace:


Other information:
1. If I run Dia from the shell I see the following messages on crash:
Read_from_dialog freeing attributes (nil)
Read from dialog: Object 0xa547e78 has null CP at 8
Segmentation fault


2. Sometimes this crash doesn't occur, I don't think I'm doing anything different.

3. My sheet list in the toolbox looks odd. It says:

  Misc
  UML
  --------------
  --------------
  Other sheets >
  Reset menu

I hope this isn't a problem with an out-of-date shape file on my system...
Comment 1 Lars Clausen 2005-11-09 06:10:28 UTC
You sheet list is exactly as I would expect with a new Dia installation.  The
crash was caused by poor handling of connectionpoints which is in the process of
being fixed, see 314153.  Your example is fixed, but removal of operations and
attributes is still broken, as is the mainpoint.

*** This bug has been marked as a duplicate of 314153 ***