GNOME Bugzilla – Bug 667696
gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' criticals when ejecting volume
Last modified: 2012-10-19 23:15:44 UTC
Originally reported at https://bugs.launchpad.net/hundredpapercuts/+bug/912597 Hi! Nautilus, when working on files within connected USB memory stick /flash or hardrive/, when a folder/file is selected and "delete" key pressed, files aren't deleted but moved into hidden .trash directory- which isn't deleted when drive is unmounted- also those "hidden" files occupy space on drive, which isn't visible when you choose still visible files /just to know, how much space is left etc/. that can cause a confusion /yes, i know you can manually delete .trash folder from usb drive, but- why?/. proposed solution? if device isn't locally connected /but is usb or esata etc/ than files should be deleted permanently- i.e. user should get a warning like "you are going to delete your files permanently. you won't be able to recover them. continue? y/n". also, those memory sticks should be connected with "sync" option- so manual unmounting /i.e. with mouse, not via command/ them wouldn't be that necessary /it would shorten the time for 'ejection' of disks mounted/. bet regards simon
/this/report/is/really/hard/to/read. When unmounting, don't you get a popup asking whether to empty the trash folder on the USB stick?
nautilus 3.3.4 doesn't ask if you want to empty the trash on eject there, does it work for you? it does print those warnings though: gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed
(In reply to comment #2) > nautilus 3.3.4 doesn't ask if you want to empty the trash on eject there, does > it work for you? That's probably https://bugzilla.gnome.org/show_bug.cgi?id=603390 > it does print those warnings though: > gtk_container_foreach: assertion `GTK_IS_CONTAINER (container)' failed I don't see this here... Can you run nautilus under gdb with G_DEBUG=fatal_criticals and send a backtrace of the critical? Leaving this bug open for the critical, since the other part is a duplicate of bug 603390.
stacktrace of the warning: (gdb) bt
+ Trace 229626
Sebastien, some parts of this trace look similar to the one in bug 664298. Are you sure those criticals are not triggered from libdbusmenu as well?
seb128: Can you answer comment 5 please?
@Cosimo: yes, I'm pretty sure it's not a libdbusmenu issue: - the stacktrace I added in comment #4 has no libdbusmenu in it - it happens with appmenu disabled - google lists similar warning in log from fedora or opensuse users
the issue is still happening with 3.5.2, updating the version
(it happens also with unpatched gtk and nautilus built from current tarballs with adwaita as a theme)
I believe I haven't seen this recently. Sebastien, please reopen if you still see this happening with 3.6, thanks.