GNOME Bugzilla – Bug 528903
Text connected to box crashes on load
Last modified: 2008-04-19 14:13:27 UTC
Steps to reproduce: 1. Create new diagram. 2. In the toolbox click 'Box' and click on the diagram window to add it. 3. In the toolbox click 'Text' and click on the diagram window to add it. 4. Type some text for the newly added Text (e.g. "Test"). 5. Drag the Text object so that the green connection point is over the centre of the Box object so the point turns red to indicate it is linked. 6. Save diagram and close diagram window. 7. Load diagram (e.g. from the toolbox File menu). Dia crashes. Stack trace: Backtrace was generated from '/usr/local/bin/dia' [?1034h[Thread debugging using libthread_db enabled] [New Thread 0xb807fb80 (LWP 11083)] 0x00110416 in __kernel_vsyscall ()
+ Trace 195627
Thread 1 (Thread 0xb807fb80 (LWP 11083))
Other information: I see this problem on Fedora 7 and Fedora 9 Beta (trace from F9B).
thanks for the debug help, just fixed : 2008-04-19 Hans Breuer <hans@breuer.org> * objects/standard/textobj.c(textobj_load) : intialize TextObj::attrs from TextObj::text (bug #528903, Leon Stringer) * objects/Istar/goal.c objects/Istar/other.c objects/Jackson/domain.c objects/SADT/box.c : had a similar problem leaving attrs uninitialized in their create method