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 84693 - Nautilus crash while editing gnome prefs
Nautilus crash while editing gnome prefs
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
unspecified
Other other
: Urgent critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 84831 85309 85385 85443 85453 85467 85489 85512 85538 85687 85701 85742 85761 85789 85896 85914 85956 86069 86228 86230 86271 86297 86315 86559 89551 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-06-09 23:35 UTC by Jeroen Benckhuijsen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch that fixes it for me (532 bytes, patch)
2002-06-17 19:00 UTC, Damon Chaplin
none Details | Review

Description Jeroen Benckhuijsen 2002-06-09 23:35:25 UTC
Package: nautilus
Severity: normal
Version: 2.0.0
Synopsis: Nautilus crash while editing gnome prefs
Bugzilla-Product: nautilus
Bugzilla-Component: general
BugBuddy-GnomeVersion: 2.0 (2.0.0)

Description:
Description of Problem:
Nautilus crashed (segv) after i tried to start the sound prefs capplet.
The capplet did start however.




Debugging Information:

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

[New Thread 1024 (LWP 1395)]
[New Thread 2049 (LWP 1403)]
[New Thread 1026 (LWP 1404)]
[New Thread 2051 (LWP 1405)]
[New Thread 3076 (LWP 1410)]
[New Thread 4101 (LWP 1411)]
[New Thread 5126 (LWP 1412)]
[New Thread 6151 (LWP 1413)]
[New Thread 7176 (LWP 1414)]
[New Thread 8201 (LWP 1415)]
[New Thread 9226 (LWP 1416)]
[New Thread 10251 (LWP 1417)]
0x40a5e319 in __wait4 () from /lib/libc.so.6

Thread 1 (Thread 1024 (LWP 1395))

  • #0 __wait4
    from /lib/libc.so.6
  • #1 __DTOR_END__
    from /lib/libc.so.6
  • #2 waitpid
    at wrapsyscall.c line 172
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 620
  • #4 pthread_sighandler
    at signals.c line 97
  • #5 <signal handler called>
  • #6 gnome_vfs_monitor_do_cancel
    at gnome-vfs-monitor.c line 120
  • #7 gnome_vfs_monitor_cancel
    at gnome-vfs-ops.c line 726
  • #8 file_monitor_handle_unref_unlocked
    at vfolder-desktop-method.c line 429
  • #9 do_monitor_cancel
    at vfolder-desktop-method.c line 6061




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-06-09 19:35 -------

Reassigning to the default owner of the component, nautilus-maint@bugzilla.gnome.org.

Comment 1 John Fleck 2002-06-10 03:20:23 UTC
I got this one to. CVS build today.
Comment 2 Luis Villa 2002-06-10 04:08:19 UTC
Would really love to see this fixed Monday for inclusion in 2.0.0
tarballs tomorrow night, alex, dave :) 
Comment 3 Luis Villa 2002-06-11 16:31:16 UTC
*** Bug 84831 has been marked as a duplicate of this bug. ***
Comment 4 Harvey Jones 2002-06-12 20:52:40 UTC
Happens to me too. I have the default Nautilus window up, then hit
Control-L, go to preferences://. I can open up a capplet the first
time without a crash, and I can close and re-open that same capplet,
but as soon as I launch a second one, Nautilus crashes.
Comment 5 Luis Villa 2002-06-12 21:50:21 UTC
Alex, Dave? I'm about ready to be very, very begging-on-my-knees about
this bug...
Comment 6 Luis Villa 2002-06-13 03:17:44 UTC
OK, so, I've watched Dave try to reproduce this, and he can't, and I
can't, so removing the 2.0.0. If you guys can give more specific repro
directions, or more details about your setups, please do.
Comment 7 Jeroen Benckhuijsen 2002-06-13 10:17:23 UTC
I'm using RedHat 7.2 here, ximian gnome installed, all gnome2
development snapshots. Is that enough info?? I'll try to reproduce the
bug and report later...
Comment 8 Damon Chaplin 2002-06-13 20:28:37 UTC
I can get a very similar trace just by doing this:

  o Goto preferences: in nautilus.
  o double-click on Sound capplet to open it.
  o Click on 'Close' to close it.
  o Click on 'x' to close the nautilus window.

Happens every time for me. Crashes at gnome-vfs-monitor.c:120 just
like the above trace.

Comment 9 Luis Villa 2002-06-15 03:35:55 UTC
*** Bug 85309 has been marked as a duplicate of this bug. ***
Comment 10 Dennis Cranston 2002-06-15 06:40:30 UTC
I can always reproduce this crash using the steps given by Damon Chaplin. 
Comment 11 Jeroen Benckhuijsen 2002-06-15 16:37:31 UTC
*** Bug 85385 has been marked as a duplicate of this bug. ***
Comment 12 Jeroen Benckhuijsen 2002-06-15 16:39:37 UTC
Reproduced the bug in a clean enviroment (new user), same results (see
bug 85385, marked as dup).
Comment 13 Greg Schafer 2002-06-16 06:14:28 UTC
I'm seeing this too:-
1. Start Here
2. Desktop Preferences
3. Open any capplet
4. Close the capplet
5. Open another capplet
crash happens every time.

Latest tarballs of everything as at 20020615 (including GTK+-2.0.4)
Comment 14 Andrew Sobala 2002-06-16 11:01:56 UTC
I just saw this one.

I:
* opened preferences:///
* opened the file type capplet, played with it some
* closed it (without making any changes to the file types
* did a window manager close on the nautilus window
* crash-o-rama
Comment 15 Andrew Sobala 2002-06-16 11:03:33 UTC
*** Bug 85443 has been marked as a duplicate of this bug. ***
Comment 16 Andrew Sobala 2002-06-16 11:04:07 UTC
*** Bug 85453 has been marked as a duplicate of this bug. ***
Comment 17 Luis Villa 2002-06-16 14:35:13 UTC
*** Bug 85467 has been marked as a duplicate of this bug. ***
Comment 18 Andrew Sobala 2002-06-16 18:10:59 UTC
*** Bug 85489 has been marked as a duplicate of this bug. ***
Comment 19 John Fleck 2002-06-17 00:07:10 UTC
*** Bug 85512 has been marked as a duplicate of this bug. ***
Comment 20 Alex Graveley 2002-06-17 10:20:19 UTC
Sigh.  I still can't duplicate this.  Damon, can I take a look at your
machine?
Comment 21 John Fleck 2002-06-17 12:14:41 UTC
*** Bug 85538 has been marked as a duplicate of this bug. ***
Comment 22 Andrew Sobala 2002-06-17 18:00:02 UTC
I just got it again when closing the sound applet after enabling
"Sound server startup"
Comment 23 Damon Chaplin 2002-06-17 19:00:54 UTC
Created attachment 9283 [details] [review]
Patch that fixes it for me
Comment 24 Damon Chaplin 2002-06-17 19:03:08 UTC
If it failed to create a file monitor (e.g. if you don't have FAM)
it was returning a pointer to freed memory rather than NULL.
Comment 25 Andrew Sobala 2002-06-17 19:59:58 UTC
Way to go, you RULE! Patch works for me too.

[Ahem. Adding keywords.]

I don't know what the freeze policy is, but having this patch in 2.0.0
would make the control centre much more usable by killing this
crasher. It's fairly simple too :)
Comment 26 Damon Chaplin 2002-06-17 21:26:48 UTC
Applied on HEAD and gnome-2-0 branch.

Please reopen if you still see the problem.
Comment 27 John Fleck 2002-06-18 03:39:19 UTC
*** Bug 85687 has been marked as a duplicate of this bug. ***
Comment 28 John Fleck 2002-06-18 12:25:15 UTC
*** Bug 85761 has been marked as a duplicate of this bug. ***
Comment 29 John Fleck 2002-06-18 12:25:51 UTC
*** Bug 85742 has been marked as a duplicate of this bug. ***
Comment 30 John Fleck 2002-06-18 12:26:36 UTC
*** Bug 85701 has been marked as a duplicate of this bug. ***
Comment 31 Luis Villa 2002-06-18 18:25:09 UTC
*** Bug 85789 has been marked as a duplicate of this bug. ***
Comment 32 John Fleck 2002-06-19 13:04:22 UTC
*** Bug 85914 has been marked as a duplicate of this bug. ***
Comment 33 Luis Villa 2002-06-19 18:47:01 UTC
*** Bug 85956 has been marked as a duplicate of this bug. ***
Comment 34 Damon Chaplin 2002-06-19 19:19:42 UTC
*** Bug 85896 has been marked as a duplicate of this bug. ***
Comment 35 Damon Chaplin 2002-06-21 18:23:22 UTC
*** Bug 86069 has been marked as a duplicate of this bug. ***
Comment 36 Shawn Starr 2002-06-23 08:07:53 UTC
*** Bug 86230 has been marked as a duplicate of this bug. ***
Comment 37 Anand 2002-06-23 08:16:28 UTC
*** Bug 86228 has been marked as a duplicate of this bug. ***
Comment 38 John Fleck 2002-06-24 03:47:48 UTC
*** Bug 86271 has been marked as a duplicate of this bug. ***
Comment 39 John Fleck 2002-06-24 03:51:08 UTC
*** Bug 86304 has been marked as a duplicate of this bug. ***
Comment 40 John Fleck 2002-06-24 03:52:59 UTC
*** Bug 86297 has been marked as a duplicate of this bug. ***
Comment 41 Anand 2002-06-24 08:49:36 UTC
Damon: I'm still seeing this crash on Solaris (21st June from CVS), 
with the exact steps that Greg Schafer has mentioned.

The stack trace is also similar. Any clues?

Comment 42 John Fleck 2002-06-24 13:46:04 UTC
*** Bug 86315 has been marked as a duplicate of this bug. ***
Comment 43 Damon Chaplin 2002-06-24 16:32:40 UTC
Anand: the bug was in gnome-vfs. Did you update that as well (from
the gnome-2-0 branch)?
Comment 44 Anand 2002-06-25 13:45:51 UTC
Damon: This is gnome-vfs from CVS head (24th June). The last 
changelog entry is dated 13-06-2002 by you. Should i be using that 
version?
Comment 45 Damon Chaplin 2002-06-25 17:59:42 UTC
Anand: you need the gnome-2-0 branch.

The ChangeLog entry for my fix was:

2002-06-17  Damon Chaplin  <damon@ximian.com>

	* libgnomevfs/gnome-vfs-monitor.c (gnome_vfs_monitor_do_add): if
	the monitor_add call fails, return NULL as the handle. It was
	returning a pointer to freed memory before. Fixes bug #84693.
	Approved by Ian McKellar.


So it looks like your version is too old.
You should probably avoid HEAD now, as that is aimed at GNOME 2.2
and is changing quite a bit.
Comment 46 Damon Chaplin 2002-06-27 17:55:08 UTC
*** Bug 86559 has been marked as a duplicate of this bug. ***
Comment 47 Anand 2002-06-28 13:27:03 UTC
Damon: Works great now!! Thanks. 
Comment 48 Ben FrantzDale 2002-07-31 18:41:56 UTC
*** Bug 89551 has been marked as a duplicate of this bug. ***