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 325719 - Dia crashes at start when custom shapes include textbox
Dia crashes at start when custom shapes include textbox
Status: RESOLVED DUPLICATE of bug 155430
Product: dia
Classification: Other
Component: shapes
0.94
Other Windows
: Normal blocker
: ---
Assigned To: Alan Horkan
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-04 05:23 UTC by miha
Modified: 2006-01-06 10:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description miha 2006-01-04 05:23:15 UTC
Compare this two pieces of code:

1.

<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
  <name>SCADA - generator</name>
  <icon>generator.png</icon>
  <connections>
    <point x="10" y="0"/>
    <point x="10" y="20"/>
  </connections>
  <aspectratio type="fixed"/>
  <svg:svg width="20" height="20">
    <svg:circle cx="10" cy="10" r="10"/>
    <svg:text x="10" y="10" font-size="10">G</svg:text>
  </svg:svg>
</shape>

OK

2.

<?xml version="1.0" encoding="UTF-8"?>
<shape xmlns="http://www.daa.com.au/~james/dia-shape-ns" xmlns:svg="http://www.w3.org/2000/svg">
  <name>SCADA - generator</name>
  <icon>generator.png</icon>
  <connections>
    <point x="10" y="0"/>
    <point x="10" y="20"/>
  </connections>
  <textbox x1="25" y1="5" x2="50" y2="15"/>
  <aspectratio type="fixed"/>
  <svg:svg width="20" height="20">
    <svg:circle cx="10" cy="10" r="10"/>
    <svg:text x="10" y="10" font-size="10">G</svg:text>
  </svg:svg>
</shape>

-> look at the textbox line!

Crashes at start with message:

** (dia.exe:4024): WARNING **: No attribute text (00000000) or no data(00000000)
 in this attribute

(dia.exe:4024): GLib-GObject-CRITICAL **: file gobject.c: line 1561 (g_object_re
f): assertion `G_IS_OBJECT (object)' failed
Comment 1 Hans Breuer 2006-01-06 10:36:59 UTC
Thanks for your bug report. This is a defect already known
and fixed in cvs. To see other things which will work with
the next release go to:
http://bugzilla.gnome.org/buglist.cgi?product=dia&target_milestone=0.95&resolution=FIXED 


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