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 84697 - Nautilus crashes when reordering bookmarks
Nautilus crashes when reordering bookmarks
Status: RESOLVED DUPLICATE of bug 72723
Product: nautilus
Classification: Core
Component: Bookmarks
unspecified
Other other
: High critical
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-06-10 00:28 UTC by Manuel Clos
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0


Attachments
stack trace saved from bug-buddy (2.00 KB, text/plain)
2002-06-10 00:51 UTC, Manuel Clos
Details

Description Manuel Clos 2002-06-10 00:28:02 UTC
Package: nautilus
Severity: critical
Version: 2.0.0
Synopsis: Nautilus crashes when reordering bookmarks
Bugzilla-Product: nautilus
Bugzilla-Component: Bookmarks
BugBuddy-GnomeVersion: 2.0 (2.0.0)

Description:
Description of Problem:
After playing with bookmarks, this is, reordering them using drag and
drop, nautilus crashes.

Steps to reproduce the problem:
1. Reorder your bookmarks
2. I can see duplicated entries in the edit dialog, but they do not
appear duplicated in the Bookmarks menu in the filemanager window.
3. 

Actual Results:
Crash

Expected Results:
Reorder bookmarks

How often does this happen?
First crash.

Additional Information:
I just checked out nautilus cvs head 9/6/2002. I can't remember if the
patch to make reordering by dnd is applied, is this case, the patch
works but there is some corruption that causes the crash.




Debugging Information:

Backtrace was generated from '/gnome/head/INSTALL/bin/nautilus'

[New Thread 1024 (LWP 14752)]
[New Thread 2049 (LWP 15247)]
[New Thread 1026 (LWP 15248)]
[New Thread 2051 (LWP 15249)]
[New Thread 3076 (LWP 15250)]
[New Thread 4101 (LWP 15251)]
0x40b4ea39 in wait4 () from /lib/libc.so.6

Thread 6 (Thread 4101 (LWP 15251))

  • #0 sigsuspend
    from /lib/libc.so.6
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 pthread_cond_wait
    from /lib/libpthread.so.0
  • #3 gnome_vfs_thread_pool_wait_for_work
    at gnome-vfs-thread-pool.c line 155
  • #4 thread_entry
    at gnome-vfs-thread-pool.c line 176
  • #5 pthread_start_thread
    from /lib/libpthread.so.0

Thread 5 (Thread 3076 (LWP 15250))

  • #0 sigsuspend
    from /lib/libc.so.6
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 pthread_cond_wait
    from /lib/libpthread.so.0
  • #3 gnome_vfs_thread_pool_wait_for_work
    at gnome-vfs-thread-pool.c line 155
  • #4 thread_entry
    at gnome-vfs-thread-pool.c line 176
  • #5 pthread_start_thread
    from /lib/libpthread.so.0

Thread 4 (Thread 2051 (LWP 15249))

  • #0 sigsuspend
    from /lib/libc.so.6
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 pthread_cond_wait
    from /lib/libpthread.so.0
  • #3 gnome_vfs_thread_pool_wait_for_work
    at gnome-vfs-thread-pool.c line 155
  • #4 thread_entry
    at gnome-vfs-thread-pool.c line 176
  • #5 pthread_start_thread
    from /lib/libpthread.so.0

Thread 3 (Thread 1026 (LWP 15248))

  • #0 sigsuspend
    from /lib/libc.so.6
  • #1 __pthread_wait_for_restart_signal
    from /lib/libpthread.so.0
  • #2 pthread_cond_wait
    from /lib/libpthread.so.0
  • #3 gnome_vfs_thread_pool_wait_for_work
    at gnome-vfs-thread-pool.c line 155
  • #4 thread_entry
    at gnome-vfs-thread-pool.c line 176
  • #5 pthread_start_thread
    from /lib/libpthread.so.0

Thread 1 (Thread 1024 (LWP 14752))

  • #0 wait4
    from /lib/libc.so.6
  • #1 __check_rhosts_file
    from /lib/libc.so.6
  • #2 waitpid
    from /lib/libpthread.so.0
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 620
  • #4 pthread_sighandler
    from /lib/libpthread.so.0
  • #5 sigaction
    from /lib/libc.so.6
  • #6 g_log
  • #7 append_bookmark_node
    at nautilus-bookmark-list.c line 132




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

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

Comment 1 Manuel Clos 2002-06-10 00:50:27 UTC
Confirming bug as I got a second crash. It happened just when I moved
the bookmark to the top, this is, it should become the first bookmark.
The backtrace for the second crash is attached.
Comment 2 Manuel Clos 2002-06-10 00:51:39 UTC
Created attachment 9093 [details]
stack trace saved from bug-buddy
Comment 3 Luis Villa 2002-06-10 11:09:16 UTC
'I can't remember if the patch to make reordering by dnd is applied,'

What patch are you referring to? And was it applied?
Comment 4 Manuel Clos 2002-06-10 11:21:55 UTC
see bug 80986
Comment 5 Luis Villa 2002-06-11 15:09:31 UTC
Ah. So, Damon, Alex: if bookmark DND is just hosed, can we disable it
instead of continuing to present people with a horribly broken/crashy
interface?
Comment 6 Damon Chaplin 2002-06-11 19:03:10 UTC
Manuel: were you moving items around fairly quickly?
Do you have a fast machine?

I don't see a problem most of the time.
But if I drag items about very quickly I can get critical warnings,
which is probably the same issue as the crash.

I think it may be reentrancy problems. When the bookmarks are changed
nautilus does a lot of Corba stuff updating the bookmarks menu etc.
So if you drag another item while it is in the middle of this, it
can get confused.

I may be able to fix it so that it is in a stable state before it
starts doing all the Corba stuff. So it shouldn't get confused.
Comment 7 jacob berkman 2002-06-11 20:18:56 UTC
this could indicate that 72723 wasn't fixed
Comment 8 Damon Chaplin 2002-06-11 20:38:05 UTC
Indeed, Jacob's patch to make the bookmark list a GtkListStore was
never committed. Which is a shame, as it is the better way to fix this.
Comment 9 Manuel Clos 2002-06-11 23:28:07 UTC
I have a P3 - 533.

Playing with it a bit more I have noticed that you are rigth. The best
way to reproduce it is to continously drag third row to be second as
fast as possible. This makes a crash in a short time, perhaps some
other app using the cpu helps.

Tell me if there is any patch to try.
Comment 10 Alex Graveley 2002-06-14 01:33:45 UTC
So whats the status on this?  Should jacob's patch be commited?  Will
this crash still exist afterwards?
Comment 11 Damon Chaplin 2002-06-14 18:06:12 UTC
campd and I decided that I'd try to fix this first, if it is easy to do,
and if that didn't work we'd thing about the other patch.

The related bug is bug 72723.
Comment 12 Damon Chaplin 2002-06-21 18:50:12 UTC
I haven't been able to figure out what is going on here.
It is a bit odd - sometimes when opening the dialog it adds all
bookmarks twice.

So I think we'll have to go for the list store. Marking as a dup.
 

*** This bug has been marked as a duplicate of 72723 ***