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 640392 - segmentation fault python catalog related
segmentation fault python catalog related
Status: RESOLVED OBSOLETE
Product: glade
Classification: Applications
Component: general
git master
Other Linux
: Normal critical
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on: 626225
Blocks:
 
 
Reported: 2011-01-24 10:26 UTC by Francesco Meloni
Modified: 2011-03-03 04:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Francesco Meloni 2011-01-24 10:26:30 UTC
vete@pangea:~$ GLADE_CATALOG_PATH="pg2_work/trunk/core/" gdb /usr/local/bin/gladeGNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/glade...done.
(gdb) run
Starting program: /usr/local/bin/glade 
[Thread debugging using libthread_db enabled]

(glade:29652): GLib-GObject-WARNING **: specified class size for type `PyGtkGenericCellRenderer' is smaller than the parent type's `GtkCellRenderer' class size

(glade:29652): GLib-GObject-CRITICAL **: g_type_get_qdata: assertion `node != NULL' failed

(glade:29652): GLib-GObject-CRITICAL **: g_type_get_qdata: assertion `node != NULL' failed

(glade:29652): GLib-CRITICAL **: g_ascii_strncasecmp: assertion `s2 != NULL' failed

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff450912a in ?? () from /lib/libc.so.6
(gdb) bt
  • #0 ??
    from /lib/libc.so.6
  • #1 g_typelib_get_dir_entry_by_gtype
    from /usr/lib/libgirepository-1.0.so.1
  • #2 ??
    from /usr/lib/libgirepository-1.0.so.1
  • #3 g_hash_table_foreach
    from /lib/libglib-2.0.so.0
  • #4 g_irepository_find_by_gtype
    from /usr/lib/libgirepository-1.0.so.1
  • #5 ??
    from /usr/lib/pymodules/python2.6/gtk-2.0/gi/_gi.so
  • #6 ??
    from /usr/lib/pymodules/python2.6/gtk-2.0/gobject/_gobject.so
  • #7 ??
    from /usr/lib/pymodules/python2.6/gtk-2.0/gobject/_gobject.so
  • #8 ??
    from /usr/lib/pymodules/python2.6/gtk-2.0/gobject/_gobject.so
  • #9 ??
    from /usr/lib/pymodules/python2.6/gtk-2.0/gtk/_gtk.so
  • #10 init_gtk
    from /usr/lib/pymodules/python2.6/gtk-2.0/gtk/_gtk.so
  • #11 _PyImport_LoadDynamicModule
    from /usr/lib/libpython2.6.so.1.0
  • #12 ??
    from /usr/lib/libpython2.6.so.1.0
  • #13 ??
    from /usr/lib/libpython2.6.so.1.0
  • #14 ??
    from /usr/lib/libpython2.6.so.1.0
  • #15 PyImport_ImportModuleLevel
    from /usr/lib/libpython2.6.so.1.0
  • #16 ??
    from /usr/lib/libpython2.6.so.1.0
  • #17 PyObject_Call
    from /usr/lib/libpython2.6.so.1.0
  • #18 PyEval_CallObjectWithKeywords
    from /usr/lib/libpython2.6.so.1.0
  • #19 PyEval_EvalFrameEx
    from /usr/lib/libpython2.6.so.1.0
  • #20 PyEval_EvalCodeEx
    from /usr/lib/libpython2.6.so.1.0
  • #21 PyEval_EvalCode
    from /usr/lib/libpython2.6.so.1.0
  • #22 PyImport_ExecCodeModuleEx
    from /usr/lib/libpython2.6.so.1.0
  • #23 ??
    from /usr/lib/libpython2.6.so.1.0
  • #24 ??
    from /usr/lib/libpython2.6.so.1.0
  • #25 ??
    from /usr/lib/libpython2.6.so.1.0
  • #26 ??
    from /usr/lib/libpython2.6.so.1.0
  • #27 ??
    from /usr/lib/libpython2.6.so.1.0
  • #28 PyImport_ImportModuleLevel
    from /usr/lib/libpython2.6.so.1.0
  • #29 ??
    from /usr/lib/libpython2.6.so.1.0
  • #30 PyObject_Call
    from /usr/lib/libpython2.6.so.1.0
  • #31 PyEval_CallObjectWithKeywords
    from /usr/lib/libpython2.6.so.1.0
  • #32 PyEval_EvalFrameEx
    from /usr/lib/libpython2.6.so.1.0
  • #33 PyEval_EvalCodeEx
    from /usr/lib/libpython2.6.so.1.0
  • #34 PyEval_EvalCode
    from /usr/lib/libpython2.6.so.1.0
  • #35 PyImport_ExecCodeModuleEx
    from /usr/lib/libpython2.6.so.1.0
  • #36 ??
    from /usr/lib/libpython2.6.so.1.0
  • #37 ??
    from /usr/lib/libpython2.6.so.1.0
  • #38 ??
    from /usr/lib/libpython2.6.so.1.0
  • #39 ??
    from /usr/lib/libpython2.6.so.1.0
  • #40 PyImport_ImportModuleLevel
    from /usr/lib/libpython2.6.so.1.0
  • #41 ??
    from /usr/lib/libpython2.6.so.1.0
  • #42 PyObject_Call
    from /usr/lib/libpython2.6.so.1.0
  • #43 PyEval_CallObjectWithKeywords
    from /usr/lib/libpython2.6.so.1.0
  • #44 PyEval_EvalFrameEx
    from /usr/lib/libpython2.6.so.1.0
  • #45 PyEval_EvalCodeEx
    from /usr/lib/libpython2.6.so.1.0
  • #46 PyEval_EvalCode
    from /usr/lib/libpython2.6.so.1.0
  • #47 PyImport_ExecCodeModuleEx
  • #48 ??
    from /usr/lib/libpython2.6.so.1.0
  • #49 ??
    from /usr/lib/libpython2.6.so.1.0
  • #50 ??
    from /usr/lib/libpython2.6.so.1.0
  • #51 ??
    from /usr/lib/libpython2.6.so.1.0
  • #52 PyImport_ImportModuleLevel
    from /usr/lib/libpython2.6.so.1.0
  • #53 ??
    from /usr/lib/libpython2.6.so.1.0
  • #54 PyObject_Call
    from /usr/lib/libpython2.6.so.1.0
  • #55 PyEval_CallObjectWithKeywords
    from /usr/lib/libpython2.6.so.1.0
  • #56 PyEval_EvalFrameEx
    from /usr/lib/libpython2.6.so.1.0
  • #57 PyEval_EvalCodeEx
    from /usr/lib/libpython2.6.so.1.0
  • #58 PyEval_EvalCode
    from /usr/lib/libpython2.6.so.1.0
  • #59 PyRun_StringFlags
    from /usr/lib/libpython2.6.so.1.0
  • #60 PyRun_SimpleStringFlags
  • #61 glade_python_init
    at glade-python.c line 127
  • #62 glade_catalog_load_all
    at glade-catalog.c line 536
  • #63 glade_app_init
    at glade-app.c line 293
  • #64 g_type_create_instance
    from /usr/lib/libgobject-2.0.so.0
  • #65 ??
    from /usr/lib/libgobject-2.0.so.0
  • #66 glade_app_constructor
    at glade-app.c line 105
  • #67 g_object_newv
    from /usr/lib/libgobject-2.0.so.0
  • #68 g_object_new
    from /usr/lib/libgobject-2.0.so.0
  • #69 glade_window_init
    at glade-window.c line 3357
  • #70 g_type_create_instance
    from /usr/lib/libgobject-2.0.so.0
  • #71 ??
    from /usr/lib/libgobject-2.0.so.0
  • #72 g_object_newv
    from /usr/lib/libgobject-2.0.so.0
  • #73 g_object_new
    from /usr/lib/libgobject-2.0.so.0
  • #74 main
    at main.c line 158

Comment 1 Tristan Van Berkom 2011-02-01 20:30:03 UTC
Note, currently Glade mistakenly pulls in pygtk-2.0 and links that against GTK+ 3.0 ABI

Thats causing this segfault in master.

I will disable the python plugin pending on bug 626225.
Comment 2 Juan Pablo Ugarte 2011-03-03 04:22:18 UTC
Fixed in master