GNOME Bugzilla – Bug 319447
Crash on adding operations to a UML class
Last modified: 2005-11-09 06:10:28 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...
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 ***