GNOME Bugzilla – Bug 77977
glade crashes when doing cut and paste one or more times for a particular combination of widgets.
Last modified: 2011-02-04 16:09:56 UTC
Version - 1.1.0 Code taken on 1st april. Reproducibility : Always Steps to reproduce : 1) Start glade. 2) Create a new project. 3) Create an application window by clicking on the corresponding widget in the GTK+ Menu. 4) Click on the 'Horizontal' box followed by a click on the application window. Specify the no of rows to say 3. 5) Drag and drop the widgets List , Columned List , Columned tree from the 'GTK+ menu' to the each row of the horizontal box created in the step 4 respectively in the application window. 6) Highlight the application window in the glade menu bar. 7) Select the option 'Edit:Cut' from the menu bar followed by selecting the option 'Edit:Paste' from the menu bar. 8) Repeat the step 7 for more times. 9) glade crashes. Following is the stack trace:
+ Trace 20496
Not a very useful looking trace, but what do I know :)
It crashes for me. But I get a different trace. (You're trace looks like it is from something else!) This could be a GtkTreeView bug, but the Glade code to handle the widget tree is a bit complicated, so I wouldn't be surprised if it was a Glade bug.
+ Trace 20720
Should we cc: jrb then?
Moving to GTK+ as I'm pretty sure it is a GtkTreeView bug. I'll attach a test case in a sec.
Created attachment 7867 [details] Test case
Re-assigning as well.
Can't reproduce with GTK+ HEAD.
Putting on 2.0.3 for tracking. It would be cool if someone else could also verify that this bug is really gone.
Venkat: please test to see if this is gone. Putting to NEEDINFO while we wait.
Iam able to reproduce in the latest build(code taken on 25th april). But, the number of times to repeat the step 7 which i mentioned earlier to produce the core dump is not constant. Sometimes, iam able to reproduce the core dump, if i repeat the step 7 two times. Sometimes in 10th time. Now all the widgets which i mentioned earlier is now under 'Deprecatedd' menu. Following is the stack trace which i got. Debugging information: [New Thread 1024 (LWP 2413)] 0x40ff8519 in __wait4 () from /lib/i686/libc.so.6
+ Trace 21339
The stack trace which i specified earlier is obtained on linux os.
Hmmm, for some reason the testcase crashes now. I've got a patch which I will commit after getting approval.
Should be fixed on HEAD now. Will commit on gtk-2-0 later today.
*** Bug 80224 has been marked as a duplicate of this bug. ***
Closing, as the problem is not present in the latest build
*** Bug 80089 has been marked as a duplicate of this bug. ***