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 652476 - glade-3.8 segfault
glade-3.8 segfault
Status: RESOLVED FIXED
Product: glade
Classification: Applications
Component: general
3.10.x
Other Linux
: Normal critical
: ---
Assigned To: Glade 3 Maintainers
Glade 3 Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-06-13 16:51 UTC by Alex
Modified: 2011-10-10 16:30 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
backtrace (3.95 KB, text/plain)
2011-06-13 16:51 UTC, Alex
Details

Description Alex 2011-06-13 16:51:52 UTC
Created attachment 189839 [details]
backtrace 

segfault when editing

Reproduce:
1. Create window in empty project
2. create vbox in it
3. create hbox in the top of this vbox
3. create gtktoolbar in the left of hbox
4. create another gtktoobar in this hbox
5. edit first toobar and add the button
6. edit second toolbar and add the button
7. remove second toolbar
8. click on the tree of components and try open second toolbox, which will stay in the tree
9. now you got segfault
Comment 1 Alex 2011-06-18 16:00:26 UTC
The same scenario do works for glade-3.10 !
Comment 2 Alex 2011-07-28 11:09:57 UTC
This scenario does not work for Glade 3.6.7
Comment 3 Tristan Van Berkom 2011-10-04 21:11:58 UTC
Can't reproduce this with glade-3-10 branch and GTK+ master

I suspect I know the fix that needs to be backported but I 
believe it to be fixed in 3.10

(I do however see the problem clearly in 3.8)
Comment 4 Tristan Van Berkom 2011-10-10 16:30:38 UTC
Fixed in glade-3-8 branch

commit 53e9b98cd979109a70a69d132ea9af3640328304
Author: Tristan Van Berkom <tristan.van.berkom@gmail.com>
Date:   Sun Oct 9 17:58:16 2011 -0400

        * gladeui/glade-project.c: Fix glade_project_notify_has_child() to
          notify that the children are gone only when the last item on that level
          disappears.

        Fixes bug 651673