GNOME Bugzilla – Bug 169175
Dia 0.94 doesn't want startup on Win32
Last modified: 2005-03-05 16:01:01 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:
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>
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.
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
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.
*** This bug has been marked as a duplicate of 154404 ***