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 169175 - Dia 0.94 doesn't want startup on Win32
Dia 0.94 doesn't want startup on Win32
Status: RESOLVED DUPLICATE of bug 154404
Product: dia
Classification: Other
Component: win32
0.94
Other All
: Low critical
: ---
Assigned To: Steffen Macke
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2005-03-04 09:55 UTC by drkm
Modified: 2005-03-05 16:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description drkm 2005-03-04 09:55:43 UTC
Steps to reproduce:
Install a fresh copy via dia-installer and run it...

Stack trace:
<I don't know how to produce a stacktrace on Win32, here is the stderr output>

(dia.exe:3224): GLib-CRITICAL **: file gutf8.c: line 1537 (g_utf8_validate):
assertion `str != NULL' failed


Other information:
Comment 1 drkm 2005-03-04 10:10:22 UTC
After furthemore investigating, it seems to be while reading ~/.dia/persistence
the error is throwed.  Here is the content of this file:

<?xml version="1.0" encoding="UTF-8"?>
<dia:persistence xmlns:dia="http://www.lysator.liu.se/~alla/dia/">
  <dia:window role="layer_window">
    <dia:attribute name="xpos">
      <dia:int val="0"/>
    </dia:attribute>
    <dia:attribute name="ypos">
      <dia:int val="0"/>
    </dia:attribute>
    <dia:attribute name="width">
      <dia:int val="135"/>
    </dia:attribute>
    <dia:attribute name="height">
      <dia:int val="177"/>
    </dia:attribute>
    <dia:attribute name="isopen">
      <dia:boolean val="false"/>
    </dia:attribute>
  </dia:window>
  <dia:window role="toolbox_window">
    <dia:attribute name="xpos">
      <dia:int val="995"/>
    </dia:attribute>
    <dia:attribute name="ypos">
      <dia:int val="313"/>
    </dia:attribute>
    <dia:attribute name="width">
      <dia:int val="270"/>
    </dia:attribute>
    <dia:attribute name="height">
      <dia:int val="638"/>
    </dia:attribute>
    <dia:attribute name="isopen">
      <dia:boolean val="true"/>
    </dia:attribute>
  </dia:window>
  <dia:window role="diagram_tree">
    <dia:attribute name="xpos">
      <dia:int val="0"/>
    </dia:attribute>
    <dia:attribute name="ypos">
      <dia:int val="0"/>
    </dia:attribute>
    <dia:attribute name="width">
      <dia:int val="25"/>
    </dia:attribute>
    <dia:attribute name="height">
      <dia:int val="55"/>
    </dia:attribute>
    <dia:attribute name="isopen">
      <dia:boolean val="false"/>
    </dia:attribute>
  </dia:window>
  <dia:list role="recent-files">
    <dia:attribute name="listvalue">
      <dia:string>#C:\ctor-stmt.dia
C:\interf-impl.dia
C:\classes.dia
C:\Documents and Settings\fgeorges\My Documents\CERN\01.dia#</dia:string>
    </dia:attribute>
  </dia:list>
  <dia:list role="font-menu">
    <dia:attribute name="listvalue">
      <dia:string>##</dia:string>
    </dia:attribute>
  </dia:list>
  <dia:integer role="line-style">
    <dia:attribute name="intvalue">
      <dia:int val="0"/>
    </dia:attribute>
  </dia:integer>
  <dia:integer role="diagram_tree_obj_sort">
    <dia:attribute name="intvalue">
      <dia:int val="2"/>
    </dia:attribute>
  </dia:integer>
  <dia:integer role="new_view_width">
    <dia:attribute name="intvalue">
      <dia:int val="500"/>
    </dia:attribute>
  </dia:integer>
  <dia:integer role="new_view_height">
    <dia:attribute name="intvalue">
      <dia:int val="400"/>
    </dia:attribute>
  </dia:integer>
  <dia:integer role="grid_major">
    <dia:attribute name="intvalue">
      <dia:int val="5"/>
    </dia:attribute>
  </dia:integer>
  <dia:integer role="diagram_tree_dia_sort">
    <dia:attribute name="intvalue">
      <dia:int val="2"/>
    </dia:attribute>
  </dia:integer>
  <dia:integer role="undo_depth">
    <dia:attribute name="intvalue">
      <dia:int val="15"/>
    </dia:attribute>
  </dia:integer>
  <dia:integer role="recent_sheet">
    <dia:attribute name="intvalue">
      <dia:int val="31"/>
    </dia:attribute>
  </dia:integer>
  <dia:integer role="recent_documents_list_size">
    <dia:attribute name="intvalue">
      <dia:int val="5"/>
    </dia:attribute>
  </dia:integer>
  <dia:real role="dash-length">
    <dia:attribute name="realvalue">
      <dia:real val="1"/>
    </dia:attribute>
  </dia:real>
  <dia:real role="start-arrow-length">
    <dia:attribute name="realvalue">
      <dia:real val="0.5"/>
    </dia:attribute>
  </dia:real>
  <dia:real role="linewidth">
    <dia:attribute name="realvalue">
      <dia:real val="0.10000000000000001"/>
    </dia:attribute>
  </dia:real>
  <dia:real role="grid_w">
    <dia:attribute name="realvalue">
      <dia:real val="1"/>
    </dia:attribute>
  </dia:real>
  <dia:real role="start-arrow-width">
    <dia:attribute name="realvalue">
      <dia:real val="0.5"/>
    </dia:attribute>
  </dia:real>
  <dia:real role="end-arrow-width">
    <dia:attribute name="realvalue">
      <dia:real val="0.5"/>
    </dia:attribute>
  </dia:real>
  <dia:real role="grid_x">
    <dia:attribute name="realvalue">
      <dia:real val="1"/>
    </dia:attribute>
  </dia:real>
  <dia:real role="end-arrow-length">
    <dia:attribute name="realvalue">
      <dia:real val="0.5"/>
    </dia:attribute>
  </dia:real>
  <dia:real role="new_view_zoom">
    <dia:attribute name="realvalue">
      <dia:real val="100"/>
    </dia:attribute>
  </dia:real>
  <dia:real role="grid_y">
    <dia:attribute name="realvalue">
      <dia:real val="1"/>
    </dia:attribute>
  </dia:real>
  <dia:boolean role="use_menu_bar">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="true"/>
    </dia:attribute>
  </dia:boolean>
  <dia:boolean role="render_bounding_boxes">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="false"/>
    </dia:attribute>
  </dia:boolean>
  <dia:boolean role="pagebreak_solid">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="true"/>
    </dia:attribute>
  </dia:boolean>
  <dia:boolean role="grid_hex">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="false"/>
    </dia:attribute>
  </dia:boolean>
  <dia:boolean role="diagram_tree_save_hidden">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="false"/>
    </dia:attribute>
  </dia:boolean>
  <dia:boolean role="toolbox_on_top">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="false"/>
    </dia:attribute>
  </dia:boolean>
  <dia:boolean role="show_cx_pts">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="true"/>
    </dia:attribute>
  </dia:boolean>
  <dia:boolean role="grid_snap">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="false"/>
    </dia:attribute>
  </dia:boolean>
  <dia:boolean role="compress_save">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="true"/>
    </dia:attribute>
  </dia:boolean>
  <dia:boolean role="prefer_psprint">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="false"/>
    </dia:attribute>
  </dia:boolean>
  <dia:boolean role="reverse_rubberbanding_intersects">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="true"/>
    </dia:attribute>
  </dia:boolean>
  <dia:boolean role="pagebreak_visible">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="true"/>
    </dia:attribute>
  </dia:boolean>
  <dia:boolean role="reset_tools_after_create">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="true"/>
    </dia:attribute>
  </dia:boolean>
  <dia:boolean role="grid_visible">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="true"/>
    </dia:attribute>
  </dia:boolean>
  <dia:boolean role="grid_dynamic">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="true"/>
    </dia:attribute>
  </dia:boolean>
  <dia:boolean role="is_portrait">
    <dia:attribute name="booleanvalue">
      <dia:boolean val="true"/>
    </dia:attribute>
  </dia:boolean>
  <dia:string role="diagram_tree_hidden">
    <dia:attribute name="stringvalue">
      <dia:string>#À”�#</dia:string>
    </dia:attribute>
  </dia:string>
  <dia:string role="start-arrow-type">
    <dia:attribute name="stringvalue">
      <dia:string>#None#</dia:string>
    </dia:attribute>
  </dia:string>
  <dia:string role="new_diagram_papertype">
    <dia:attribute name="stringvalue">
      <dia:string>#A4#</dia:string>
    </dia:attribute>
  </dia:string>
  <dia:string role="end-arrow-type">
    <dia:attribute name="stringvalue">
      <dia:string>#Lines#</dia:string>
    </dia:attribute>
  </dia:string>
  <dia:color role="new_diagram_bgcolour">
    <dia:attribute name="colorvalue">
      <dia:color val="#ffffff"/>
    </dia:attribute>
  </dia:color>
  <dia:color role="pagebreak_colour">
    <dia:attribute name="colorvalue">
      <dia:color val="#000099"/>
    </dia:attribute>
  </dia:color>
  <dia:color role="grid_colour">
    <dia:attribute name="colorvalue">
      <dia:color val="#d8e5e5"/>
    </dia:attribute>
  </dia:color>
  <dia:color role="fg_color">
    <dia:attribute name="colorvalue">
      <dia:color val="#000000"/>
    </dia:attribute>
  </dia:color>
  <dia:color role="bg_color">
    <dia:attribute name="colorvalue">
      <dia:color val="#ffffff"/>
    </dia:attribute>
  </dia:color>
</dia:persistence>
Comment 2 Alan Horkan 2005-03-04 13:12:06 UTC
For future reference it is better to attach files to bug reports that pasting
them in.  See the link "Create a New Attachment" which is just below the comment
Text Entry box.  

Please do not set Priority, that is usually left for the developer to decide
what priority they are willing/able to give to a bug.  

Which version of Windows?  (2000, XP, 98?)

As a workaround you could try moving or removing your old .dia folder and
allowing the newly installed version to create a fresh profile and see if that
helps.  
Comment 3 drkm 2005-03-04 13:54:40 UTC
  Hi

  Sorry for pasting the content of the file.  But I didn't set the priority. 
I've followed the instructions at
<http://bugzilla.gnome.org/simple-bug-guide.cgi>.  Maybe selecting the "Cracher"
option sets the priority?

  For the version, it is XP:

    command.com> ver
    Microsoft Windows XP [Version 5.1.2600]

  Thanks for the workaround.  It's what I've done (and how I discovered where
the problem was).  I simply deleted my ~/.dia/persistence, and all is fine, now.

  Thanks,

--drkm
Comment 4 Alan Horkan 2005-03-04 22:07:09 UTC
No problem, I've been using Bugzilla for a while and I so you'd have to force me
to use the Simple bugzilla interface.  
As you are happy with the workaround I'm going to set the priority to Low, and
if a developer decides they want to work on it and try and track down what
exactly is going on they can put it back to normal.  
Comment 5 Lars Clausen 2005-03-05 16:01:01 UTC

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