GNOME Bugzilla – Bug 495074
crash in Dia Diagram Editor: Tried to open bzLifecycl...
Last modified: 2007-11-09 09:31:18 UTC
Version: @0.96.1@ What were you doing when the application crashed? Tried to open bzLifecycle.xml from Bugzilla 3.0 Distribution: Fedora release 7 (Moonshine) Gnome Release: 2.18.3 2007-07-02 (Red Hat, Inc) BugBuddy Version: 2.18.0 System: Linux 2.6.22.4-65.fc7 #1 SMP Tue Aug 21 22:36:56 EDT 2007 i686 X Vendor: The X.Org Foundation X Vendor Release: 10300000 Selinux: No Accessibility: Disabled GTK+ Theme: Clearlooks Icon Theme: Clearlooks Memory status: size: 116273152 vsize: 116273152 resident: 63885312 share: 35995648 rss: 63885312 rss_rlim: 4294967295 CPU usage: start_time: 1194547927 rtime: 196 utime: 181 stime: 15 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/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1208969504 (LWP 5879)] (no debugging symbols found) 0x00110402 in __kernel_vsyscall ()
+ Trace 176402
Thread 1 (Thread -1208969504 (LWP 5879))
----------- .xsession-errors (10 sec old) --------------------- classes.extend (Parse (f.read())) File "/usr/share/dia/python/doxrev.py", line 391, in Parse p.Parse(sData) File "/usr/share/dia/python/doxrev.py", line 344, in start_element o = eval (s + "()") <type 'exceptions.SyntaxError'>SyntaxError('invalid syntax', ('<string>', 1, 4, 'Dia:diagram()'))Traceback (most recent call last): File "/usr/share/dia/python/doxrev.py", line 482, in import_file classes = GetClasses ([sFile]) File "/usr/share/dia/python/doxrev.py", line 400, in GetClasses classes.extend (Parse (f.read())) File "/usr/share/dia/python/doxrev.py", line 391, in Parse p.Parse(sData) File "/usr/share/dia/python/doxrev.py", line 344, in start_element o = eval (s + "()") dia: diagram.c:107: diagram_finalize: Assertion `dia->displays==((void *)0)' failed. --------------------------------------------------
Downloading http://www.bugzilla.org/docs/3.0/images/bzLifecycle.xml and opening it with todays SVN or 0.96.1 does not reproduce this bug. Compiling in Python gives me an error message pop-up, but no crash, in both versions. Using Python 2.5.1 for it. Note that if I rename the file to bzLifecycle.dia, it opens even when Python is compiled in.
Based on the note in comment 1, I renamed the file to have a .dia extension, and it opened successfully. Thanks!
The crash looks like the one being fixed in SVN recently: 2007-10-27 Hans Breuer <hans@breuer.org> * app/diagram.c(diagram_load) : don't kill the default diagram on import failure. Fixes bug #490546 you can find it by the "simpe dup finder" link on the top of this page. *** This bug has been marked as a duplicate of 490546 ***