GNOME Bugzilla – Bug 470782
crash in Dia Diagram Editor: Abriendo un documento ge...
Last modified: 2007-10-27 11:46:30 UTC
Version: @0.96.1@ What were you doing when the application crashed? Abriendo un documento generado por autodia Distribution: Debian lenny/sid Gnome Release: 2.18.3 2007-07-03 (Debian) BugBuddy Version: 2.18.1 System: Linux 2.6.21-bootsplash #3 SMP Sun Jul 15 21:28:30 ART 2007 i686 X Vendor: The X.Org Foundation X Vendor Release: 10300000 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: Aqua-Glade_PNG Memory status: size: 56209408 vsize: 56209408 resident: 43532288 share: 14737408 rss: 43532288 rss_rlim: 4294967295 CPU usage: start_time: 1188239114 rtime: 225 utime: 201 stime: 24 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100 Backtrace was generated from '/usr/bin/dia' (no debugging symbols found) Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1224894272 (LWP 8499)] (no debugging symbols found) 0xffffe410 in __kernel_vsyscall ()
+ Trace 158248
Thread 1 (Thread -1224894272 (LWP 8499))
El error ocurrió al abrir un archivo que contenía un diagrama dia pero cuya extensión era .xml
Could you attach the diagram to this bug so we can try it out? Even if this is corrupted diagram created by AutoDia, it should not crash Dia. Does it happen if the extension is not .xml? Apparently, XML files are grabbed by a Python importer.
Created attachment 95487 [details] The autogenerated diagram
"Does it happen if the extension is not .xml?" No, if i rename the file as autodia.dia it works ok
Reassigned to python component since it appears Python is grabbing the file and dying.
xml files are indeed processed by doxrev.py, but the file here does not crash on me. Instead it simply gives: PyDia Error (diamodule.c:277): <exceptions.NameError instance at 0x02DB1F30> Traceback (most recent call last):
+ Trace 163164
except xml.parsers.expat.ExpatError : Looks like expat (the xml parser) does not like it for some reason. But also in the stack trace above there is no Python involved. Did you open the file in a specific manner (drag&drop, from command line)?
yes, now i remember. I open the file as a dox2UML(.xml) file. That cause the crash. Sorry for my english.
*** This bug has been marked as a duplicate of 443651 ***