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 457828 - crash in Dia Diagram Editor: starting up dia
crash in Dia Diagram Editor: starting up dia
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: python
0.96.1
Other All
: High critical
: 0.97
Assigned To: Hans Breuer
Hans Breuer
: 486643 490039 490040 490053 490054 490145 490146 490165 490172 494054 494055 494204 494216 498849 499924 499925 501186 510224 515778 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-07-18 02:41 UTC by darinbuck
Modified: 2008-04-05 09:28 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description darinbuck 2007-07-18 02:41:31 UTC
Version: @0.96.1@

What were you doing when the application crashed?
starting up dia


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.20-1.2952.fc6 #1 SMP Wed May 16 18:59:18 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: 29466624 vsize: 29466624 resident: 13156352 share: 9539584 rss: 13156352 rss_rlim: 4294967295
CPU usage: start_time: 1184726444 rtime: 11 utime: 9 stime: 2 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 -1208621344 (LWP 4148)]
(no debugging symbols found)
0x001d8402 in __kernel_vsyscall ()

Thread 1 (Thread -1208621344 (LWP 4148))

  • #0 __kernel_vsyscall
  • #1 __waitpid_nocancel
    from /lib/libpthread.so.0
  • #2 ??
    from /usr/lib/libgnomeui-2.so.0
  • #3 <signal handler called>
  • #4 __kernel_vsyscall
  • #5 raise
    from /lib/libc.so.6
  • #6 abort
    from /lib/libc.so.6
  • #7 __assert_fail
    from /lib/libc.so.6
  • #8 PyString_FromString
    from /usr/lib/libpython2.5.so.1.0
  • #9 PyModule_AddStringConstant
    from /usr/lib/libpython2.5.so.1.0
  • #10 initpyexpat
    from /usr/lib/python2.5/site-packages/_xmlplus/parsers/pyexpat.so
  • #11 _PyImport_LoadDynamicModule
    from /usr/lib/libpython2.5.so.1.0
  • #12 ??
    from /usr/lib/libpython2.5.so.1.0
  • #13 ??
    from /usr/lib/libpython2.5.so.1.0
  • #14 ??
    from /usr/lib/libpython2.5.so.1.0
  • #15 ??
    from /usr/lib/libpython2.5.so.1.0
  • #16 PyImport_ImportModuleLevel
    from /usr/lib/libpython2.5.so.1.0
  • #17 ??
    from /usr/lib/libpython2.5.so.1.0
  • #18 PyCFunction_Call
    from /usr/lib/libpython2.5.so.1.0
  • #19 PyObject_Call
    from /usr/lib/libpython2.5.so.1.0
  • #20 PyEval_CallObjectWithKeywords
    from /usr/lib/libpython2.5.so.1.0
  • #21 PyEval_EvalFrameEx
    from /usr/lib/libpython2.5.so.1.0
  • #22 PyEval_EvalCodeEx
    from /usr/lib/libpython2.5.so.1.0
  • #23 PyEval_EvalCode
    from /usr/lib/libpython2.5.so.1.0
  • #24 PyImport_ExecCodeModuleEx
    from /usr/lib/libpython2.5.so.1.0
  • #25 ??
    from /usr/lib/libpython2.5.so.1.0
  • #26 ??
    from /usr/lib/libpython2.5.so.1.0
  • #27 ??
    from /usr/lib/libpython2.5.so.1.0
  • #28 ??
    from /usr/lib/libpython2.5.so.1.0
  • #29 PyImport_ImportModuleLevel
    from /usr/lib/libpython2.5.so.1.0
  • #30 ??
    from /usr/lib/libpython2.5.so.1.0
  • #31 PyCFunction_Call
    from /usr/lib/libpython2.5.so.1.0
  • #32 PyObject_Call
    from /usr/lib/libpython2.5.so.1.0
  • #33 PyEval_CallObjectWithKeywords
    from /usr/lib/libpython2.5.so.1.0
  • #34 PyEval_EvalFrameEx
    from /usr/lib/libpython2.5.so.1.0
  • #35 PyEval_EvalCodeEx
    from /usr/lib/libpython2.5.so.1.0
  • #36 PyEval_EvalCode
    from /usr/lib/libpython2.5.so.1.0
  • #37 PyImport_ExecCodeModuleEx
    from /usr/lib/libpython2.5.so.1.0
  • #38 ??
    from /usr/lib/libpython2.5.so.1.0
  • #39 ??
    from /usr/lib/libpython2.5.so.1.0
  • #40 ??
    from /usr/lib/libpython2.5.so.1.0
  • #41 ??
    from /usr/lib/libpython2.5.so.1.0
  • #42 PyImport_ImportModuleLevel
    from /usr/lib/libpython2.5.so.1.0
  • #43 ??
    from /usr/lib/libpython2.5.so.1.0
  • #44 PyCFunction_Call
    from /usr/lib/libpython2.5.so.1.0
  • #45 PyEval_EvalFrameEx
    from /usr/lib/libpython2.5.so.1.0
  • #46 PyEval_EvalCodeEx
    from /usr/lib/libpython2.5.so.1.0
  • #47 PyEval_EvalCode
    from /usr/lib/libpython2.5.so.1.0
  • #48 ??
    from /usr/lib/libpython2.5.so.1.0
  • #49 PyRun_FileExFlags
    from /usr/lib/libpython2.5.so.1.0
  • #50 PyRun_SimpleFileExFlags
    from /usr/lib/libpython2.5.so.1.0
  • #51 dia_plugin_init
    from /usr/lib/dia/libpython_plugin.so
  • #52 dia_plugin_load
    from /usr/lib/dia/libdia.so
  • #53 dia_register_plugin
    from /usr/lib/dia/libdia.so
  • #54 ??
    from /usr/lib/dia/libdia.so
  • #55 dia_register_plugins
    from /usr/lib/dia/libdia.so
  • #56 app_init
  • #57 main
  • #0 __kernel_vsyscall


----------- .xsession-errors (206 sec old) ---------------------
  File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 165, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.5/site-packages/dbus/bus.py", line 261, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 598, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name edu.duke.linux.yum was not provided by any .service files
Initializing nautilus-open-terminal extension
** Message: Could not connect to power manager: Could not get owner of name 'org.gnome.PowerManager': no such name
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x1e00058 (Buddy List)
Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
** (gnome-panel:3244): WARNING **: Failed to establish a connection with GDM: No such file or directory
** Message: <info>  You are now connected to the wireless network 'dbuck'.
--------------------------------------------------
Comment 1 Lars Clausen 2007-08-09 10:53:14 UTC
It would appear that this is a problem in the Python module.  Which version of Python do you have installed?  Hans, can you read anything from the stacktrace?
Comment 2 Hans Breuer 2007-08-09 20:50:14 UTC
Looks like Python is crashing while importing expat. If you run Python standalone and type
    import xml.parsers.expat

My guess is that there is something broken with the Python installation and the above will crash as well. Not much the PyDia can do about that.
Comment 3 darinbuck 2007-08-10 13:03:09 UTC
running a standalone python and trying the 'import xml.parsers.expat' worked with no errors.

Here's something that I didn't see in the crashlog - running dia also spits this to stdout:
dia: Objects/stringobject.c:107: PyString_FromString: Assertion `str != ((void *)0)' failed.

Let me know what else I can do to help.
Comment 4 Hans Breuer 2007-09-08 21:55:31 UTC
2007-09-08  Hans Breuer  <hans@breuer.org>

	* plug-ins/python/doxrev.py : moved the import of xml.parsers.expat
	to Parse() so it is not called during start-up. Fixes the start-up
	crash without understanding what is really causing it, bug #457828

Comment 5 Hans Breuer 2007-10-14 18:44:09 UTC
*** Bug 486643 has been marked as a duplicate of this bug. ***
Comment 6 Hans Breuer 2007-10-25 09:47:50 UTC
*** Bug 490053 has been marked as a duplicate of this bug. ***
Comment 7 Hans Breuer 2007-10-25 09:49:24 UTC
*** Bug 490040 has been marked as a duplicate of this bug. ***
Comment 8 Hans Breuer 2007-10-25 09:50:33 UTC
*** Bug 490039 has been marked as a duplicate of this bug. ***
Comment 9 Hans Breuer 2007-10-25 09:52:07 UTC
*** Bug 490054 has been marked as a duplicate of this bug. ***
Comment 10 Hans Breuer 2007-10-25 14:15:51 UTC
*** Bug 490145 has been marked as a duplicate of this bug. ***
Comment 11 Hans Breuer 2007-10-25 14:17:29 UTC
*** Bug 490146 has been marked as a duplicate of this bug. ***
Comment 12 Hans Breuer 2007-10-25 14:53:22 UTC
*** Bug 490165 has been marked as a duplicate of this bug. ***
Comment 13 Hans Breuer 2007-10-25 15:06:15 UTC
Just reported https://bugzilla.redhat.com/show_bug.cgi?id=352431 it myself. 
If you don't want to wait for the Fedora people just remove /usr/share/dia/python/doxrev.py . It is is triggering the bug, but just an unimportant plug-in you'll probably never need ;)
Comment 14 Hans Breuer 2007-10-25 15:10:01 UTC
*** Bug 490172 has been marked as a duplicate of this bug. ***
Comment 15 Hans Breuer 2007-10-31 20:03:02 UTC
If anyone who reported this is still listening, could you help your distributor by  answering the questions below 

"""
In the mean time, could you ask some of the reports if:
1) This is 100% reproducable
2) If this still happens after applying all available Fedora 7 updates?

Maybe this just happens with a mixture of some but not all Fedora 7 updates?
"""
[ https://bugzilla.redhat.com/show_bug.cgi?id=352431 ]

Comment 16 Hans Breuer 2007-11-06 21:58:07 UTC
*** Bug 494054 has been marked as a duplicate of this bug. ***
Comment 17 Hans Breuer 2007-11-06 21:59:38 UTC
*** Bug 494055 has been marked as a duplicate of this bug. ***
Comment 18 Hans Breuer 2007-11-06 22:02:17 UTC
*** Bug 494204 has been marked as a duplicate of this bug. ***
Comment 19 Hans Breuer 2007-11-06 22:03:29 UTC
*** Bug 494216 has been marked as a duplicate of this bug. ***
Comment 20 Hans Breuer 2007-11-27 21:21:00 UTC
*** Bug 499924 has been marked as a duplicate of this bug. ***
Comment 21 Hans Breuer 2007-11-27 21:43:20 UTC
*** Bug 499925 has been marked as a duplicate of this bug. ***
Comment 22 Hans Breuer 2007-12-03 21:51:14 UTC
*** Bug 501186 has been marked as a duplicate of this bug. ***
Comment 23 Hans Breuer 2008-01-17 19:51:17 UTC
*** Bug 510224 has been marked as a duplicate of this bug. ***
Comment 24 Hans Breuer 2008-03-09 16:01:05 UTC
*** Bug 498849 has been marked as a duplicate of this bug. ***
Comment 25 Hans Breuer 2008-04-05 09:28:40 UTC
*** Bug 515778 has been marked as a duplicate of this bug. ***