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 458599 - Glade 3.2.2 crash
Glade 3.2.2 crash
Status: RESOLVED DUPLICATE of bug 480495
Product: glade
Classification: Applications
Component: general
unspecified
Other All
: Normal critical
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-07-20 10:33 UTC by PJ
Modified: 2007-11-14 18:06 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description PJ 2007-07-20 10:33:23 UTC
Steps to reproduce:
1. Open glade 3.2.2
2. Select 'Input Dialog' from the 'Toplevels' palette
3. ...and that is all what it takes (no problems with other toplevel window styles)


Stack trace:
System: Linux 2.6.21-1.3228.fc7 #1 SMP Tue Jun 12 14:56:37 EDT 2007 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10300000
Selinux: Enforcing
Accessibility: Disabled
GTK+ Theme: Bluecurve
Icon Theme: Bluecurve

Memory status: size: 314662912 vsize: 314662912 resident: 38805504 share: 25579520 rss: 38805504 rss_rlim: 18446744073709551615
CPU usage: start_time: 1184926197 rtime: 47 utime: 43 stime: 4 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/local/bin/glade-3'

Using host libthread_db library "/lib64/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46912498989600 (LWP 10847)]
0x0000003496097155 in waitpid () from /lib64/libc.so.6

Thread 1 (Thread 46912498989600 (LWP 10847))

  • #0 waitpid
    from /lib64/libc.so.6
  • #1 gtk_widget_destroy
    from /usr/lib64/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 gtk_widget_destroy
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #4 gtk_widget_destroy
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #5 gtk_widget_region_intersect
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #6 gtk_container_propagate_expose
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #7 gtk_widget_destroy
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #8 gtk_widget_destroy
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #9 gtk_widget_destroy
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #10 g_closure_invoke
    from /lib64/libgobject-2.0.so.0
  • #11 gtk_widget_destroy
    from /lib64/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /lib64/libgobject-2.0.so.0
  • #13 g_signal_emit
    from /lib64/libgobject-2.0.so.0
  • #14 gtk_widget_destroy
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #15 gtk_main_do_event
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #16 gtk_widget_destroy
    from /usr/lib64/libgdk-x11-2.0.so.0
  • #17 gdk_window_process_all_updates
    from /usr/lib64/libgdk-x11-2.0.so.0
  • #18 gtk_widget_destroy
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #19 g_main_context_dispatch
    from /lib64/libglib-2.0.so.0
  • #20 gtk_widget_destroy
    from /lib64/libglib-2.0.so.0
  • #21 g_main_loop_run
    from /lib64/libglib-2.0.so.0
  • #22 gtk_main
    from /usr/lib64/libgtk-x11-2.0.so.0
  • #23 main
    at main.c line 177
  • #0 waitpid
    from /lib64/libc.so.6


----------- .xsession-errors ---------------------
Window manager warning: Received a _NET_WM_MOVERESIZE message for 0x3e00035 (INSTALL (/); these messages lack timestamps and therefore suck.
[?1000lBBDB spinning up...
** (glade-3:10847): WARNING **: Unable to load icon for GtkMenuShell (Failed to open file '/usr/local/share/glade3/pixmaps/22x22/menushell.png': No such file or directory)
** (glade-3:10847): WARNING **: Unable to load icon for GtkMenuShell (Failed to open file '/usr/local/share/glade3/pixmaps/16x16/menushell.png': No such file or directory)
** (glade-3:10847): CRITICAL **: Cannot embed a window that is already realized or embedded
(glade-3:10847): Gtk-WARNING **: Can't set a parent on a toplevel widget
--------------------------------------------------


Other information:
Comment 1 PJ 2007-07-20 10:37:18 UTC
I looked for the missing menushell.png file, but it does not seem to exist anywhere in my system.

 - pj
Comment 2 Áron Sisak 2007-09-14 11:25:51 UTC
https://bugs.launchpad.net/ubuntu/+source/glade-3/+bug/131060 seems to report the same issue. In this case it also affects Glade-3 3.3.4.
Comment 3 Ralph Mytown 2007-09-14 12:04:57 UTC
Idem to me with Glade 3.2.0: clicking the input dialog closes glade3 interface.

If you create your input dialog with glade2 and thus open the *.glade file you have created, there is no problem: the input dialog appears and you can choose and modify its properties, signals, etc with glade3!
Comment 4 Ralph Mytown 2007-09-14 12:21:19 UTC
(In reply to comment #3)
> Idem to me with Glade 3.2.0: clicking the input dialog closes glade3 interface.
> 
> If you create your input dialog with glade2 and thus open the *.glade file you
> have created, there is no problem: the input dialog appears and you can choose
> and modify its properties, signals, etc with glade3!
> 

More precisions: the input dialog created with glade2 and opened in glade3 appears with these internal widgets:
- dialog1
-- dialog-vbox1
--- entry1
--- dialog-action_area1
---- cancelbutton1
---- okbutton1

Curiously, the others dialogs (about, message) created with glade3 appear with an empty action_area (they do not exist under glade2):
- aboutdialog1
-- dialog-vbox2
-- dialog-action_area2
The buttons appear in the action_area, but without signals, it is not possible to create a clicked signal; instead, We have to use the response-event signal of the aboutdialog widget (to handle the response (gtk_dialog_run and switch...)).
Comment 5 Craig Main 2007-09-22 10:31:53 UTC
I can confirm that this bug is still present in Glade-3 3.4.0

f3021114@f3021114-laptop:~$ glade-3 

(glade-3:5693): GladeUI-WARNING **: No icon named 'widget-gtk-menushell' was found for widget class 'GtkMenuShell'.
GladeUI-Message: No displayable values for property GtkEntry::shadow-type
GladeUI-Message: 1 missing displayable value for GtkButtonBox::layout-style
GladeUI-Message: No DevHelp installed on your system, devhelp feature will be disabled.

(glade-3:5693): GladeUI-CRITICAL **: Cannot embed a window that is already realized or embedded

(glade-3:5693): Gtk-WARNING **: Can't set a parent on a toplevel widget

Segmentation fault (core dumped)
Comment 6 Craig Main 2007-09-22 10:42:51 UTC
BTW, I am running ubuntu gutsy. I also recompiled the deb source on my PC, and the problem still persists.

.xsession-errors has the following:

(glade-3:1790): GladeUI-WARNING **: No icon named 'widget-gtk-menushell' was found for widget class 'GtkMenuShell'.
GladeUI-Message: No displayable values for property GtkEntry::shadow-type
GladeUI-Message: 1 missing displayable value for GtkButtonBox::layout-style
GladeUI-Message: No DevHelp installed on your system, devhelp feature will be disabled.

(glade-3:1790): GladeUI-CRITICAL **: Cannot embed a window that is already realized or embedded

(glade-3:1790): Gtk-WARNING **: Can't set a parent on a toplevel widget

Comment 7 Juan Pablo Ugarte 2007-11-14 18:06:29 UTC
Hello, this was fixed in trunk, you can try svn version or wait for the next bugfix realease

thanks for the report!

*** This bug has been marked as a duplicate of 480495 ***