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 314615 - Reproducable crash on remote server
Reproducable crash on remote server
Status: RESOLVED INCOMPLETE
Product: nautilus
Classification: Core
Component: general
unspecified
Other Linux
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 319006 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-08-26 20:23 UTC by Vincent Untz
Modified: 2006-10-08 09:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Untz 2005-08-26 20:23:22 UTC
I'm using GNOME 2.12 RC.

It seems that, on a ssh remote server, when I open a folder, nautilus can crash
if one of the parent folder window is closed. I'm using the spatial mode.

Eg: I open window.gnome.org:~/ in nautilus. I open public_html with a
doubl-click (left button). I close the ~/ window. I open public_html/tmp with a
doubl-click (left button). Crash.

It's always reproducable (so far)

Stack trace:

Backtrace was generated from '/usr/bin/nautilus'

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.
[Thread debugging using libthread_db enabled]
[New Thread -1226619200 (LWP 2972)]
[New Thread -1235666000 (LWP 2981)]
[New Thread -1234875472 (LWP 2977)]
[New Thread -1234609232 (LWP 2976)]
[New Thread -1234342992 (LWP 2975)]
[New Thread -1228903504 (LWP 2973)]
0xffffe410 in __kernel_vsyscall ()

Thread 6 (Thread -1228903504 (LWP 2973))

  • #0 __kernel_vsyscall
  • #1 poll
    from /lib/tls/i686/cmov/libc.so.6
  • #2 g_main_context_iterate
    at gmain.c line 2867

Comment 1 Alexander Larsson 2005-08-31 09:14:38 UTC
I don't see this myself with the latest cvs HEAD. Does this happen with all
directories on the ssh share? Do you do things fast, before the windows have
been fully read in, or do you let them finish all operations in each step?

The end of the backtrace looks exactly like the decoded one in bug 302096. I
wonder if these are the same.
Comment 2 Vincent Untz 2005-08-31 09:46:38 UTC
I'm at work (with 2.10), so I can't verify right now. But, iirc:

* it happens with many subdirectories on the ssh share (I don't know if it's all
the directories, but it happened at least for 3 or 4 subdirectories)

* I didn't do things fast: when reproducing, I waited for all the windows to
have finished loading. I'll verify later today if you want.

I'll look if it's still reproducable once I get home.
Comment 3 Alexander Larsson 2005-08-31 09:53:37 UTC
We're opening a new window, merging various ui descriptions. Then when we ask
for the menu bar widget and GtkUIManager starts to create the various widgets
that are part of the menus. On creating the GtkMenuItem widget for some menu
item in the ui description we need to set the accel_closure on the label in the
item, but it seems like the accel group returned from
gtk_accel_group_from_accel_closure() on that accel closure is invalid. 

The accel closure is tightly bound lifetime-wise to the GtkAction, so it should
be ok if the action is ok. Maybe the accel group that was connected to the
closure has been freed? How can this be related to the closing of the parent
window though? I don't think the accel groups are shared between windows.

Also, Vincent, it would be nice if you checked for any output on the console
before the crash.
Comment 4 Alexander Larsson 2005-08-31 10:01:07 UTC
The accel_group is tied to the GtkUIManager, but the GtkUIManager for this
window was just created before the current call in nautilus_window_init() and is
only freed on window finalization. Very strange.
Comment 5 Alexander Larsson 2005-08-31 10:06:13 UTC
It really smells like something is just overwriting memory somewhere. That would
also explain why bug 302096 has slightly different behaviour just before the crash.
Comment 6 Alexander Larsson 2005-08-31 11:07:20 UTC
Also, just to check, if you can reproduce it, does the new patch in bug 170947
fix it? (Its unlikely, but I wanna make sure.)
Comment 7 Vincent Untz 2005-09-02 06:36:30 UTC
Sorry for the delay.

I can confirm that it crashes with all the folders. Also I'm noit doing things
quickly (the windows have even finished loading before I start moving the mouse
;-)).

One interesting point is that it seems it doesn't crash if I close one parent
window that is not the "root" parent of the share. E.g.: I have this on my ssh
share: ~/public_html/tmp/traduc.
If I open public_html, then tmp, close ~, and open traduc, it crashes.
If I open public_html, then tmp, close public_html, and open traduc, it doesn't
crash.

I don't see anything on the console before the crash.

I just killed nautilus and launched it again from a terminal, and the crash does
not happen any more for now... Weird. Maybe nautilus got upgraded since last
time it was launched (possible, although I really don't think it was the case
according to my logs). Or maybe it was because I had lots of other open folders
in my previous tests...
Comment 8 Alexander Larsson 2005-09-02 09:17:23 UTC
ugh. Non-repeatable is bad.

You didn't update to the latest gnome-vfs inbetween (with the fix from bug 170947)?
Comment 9 Vincent Untz 2005-09-02 09:52:08 UTC
gnome-vfs was last updated at the same time than nautilus, so no.
Comment 10 Vincent Untz 2005-10-17 06:18:57 UTC
*** Bug 319006 has been marked as a duplicate of this bug. ***
Comment 11 Christian Neumair 2005-12-18 17:40:38 UTC
Are you still able to reproduce this one?
Comment 12 Vincent Untz 2005-12-19 07:17:10 UTC
Just tried once and it didn't happen. I'd like to make more tests, but I can't now, so marking as NEEDINFO for now.
Comment 13 Baptiste Mille-Mathias 2006-06-30 12:24:03 UTC
Hello Vincent,

I know you have a lot of free time so could you try to reproduce your crash ? :)

Thanks
Comment 14 Vincent Untz 2006-10-08 09:17:28 UTC
Closing since I couldn't reproduce anymore.