GNOME Bugzilla – Bug 348161
reentrancy problem causing crash when refreshing root
Last modified: 2008-06-30 09:06:46 UTC
Distribution: Fedora Core release 5 (Bordeaux) Package: nautilus Severity: Normal Version: GNOME2.14.1 2.14.1 Gnome-Distributor: Red Hat, Inc Synopsis: i pressed F5 Bugzilla-Product: nautilus Bugzilla-Component: general Bugzilla-Version: 2.14.1 BugBuddy-GnomeVersion: 2.0 (2.14.1) Description: Description of the crash: I pressed F5 while looking at the root directory Steps to reproduce the crash: 1. 2. 3. Expected Results: refresh the window How often does this happen? so far just this once Additional Information: Debugging Information: Backtrace was generated from '/usr/bin/nautilus' (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) `shared object read from target memory' has disappeared; keeping its symbols. (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1208894784 (LWP 9981)] [New Thread -1210995808 (LWP 9992)] (no debugging symbols found) 0x0023e402 in __kernel_vsyscall ()
+ Trace 69478
Thread 1 (Thread -1208894784 (LWP 9981))
------- Bug created by bug-buddy at 2006-07-20 18:22 ------- Unknown version 2.14.1 in product nautilus. Setting version to "2.14.x".
i did have this happen once more. I was looking at the root directory and deleted a directory. I pressed F5 and it crashed. I didn't try more than that to make it happen again but it was those steps both times when it crashed.
Thanks for the bug report. Unfortunately, that stack trace is not very useful in determining the cause of the crash. Can you get us one with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so.
*** Bug 359669 has been marked as a duplicate of this bug. ***
*** Bug 359704 has been marked as a duplicate of this bug. ***
*** Bug 359946 has been marked as a duplicate of this bug. ***
*** Bug 359958 has been marked as a duplicate of this bug. ***
*** Bug 360009 has been marked as a duplicate of this bug. ***
*** Bug 359938 has been marked as a duplicate of this bug. ***
From bug 359938 comment 6:
+ Trace 74785
Thread 1 (Thread -1226500432 (LWP 20981))
From https://launchpad.net/distros/ubuntu/+source/nautilus/+bug/64113: "... Nautilus crashes when refreshing the root directory Steps to reproduce: Open a new browser Click on the Computer icon Open 'Filesystem' Refresh, *it crashes* ..." Happening with GNOME 2.16.1
*** Bug 360127 has been marked as a duplicate of this bug. ***
*** Bug 360208 has been marked as a duplicate of this bug. ***
*** Bug 360211 has been marked as a duplicate of this bug. ***
*** Bug 360268 has been marked as a duplicate of this bug. ***
*** Bug 360638 has been marked as a duplicate of this bug. ***
*** Bug 361817 has been marked as a duplicate of this bug. ***
*** Bug 361875 has been marked as a duplicate of this bug. ***
*** Bug 361918 has been marked as a duplicate of this bug. ***
*** Bug 361911 has been marked as a duplicate of this bug. ***
*** Bug 362182 has been marked as a duplicate of this bug. ***
*** Bug 362197 has been marked as a duplicate of this bug. ***
*** Bug 362343 has been marked as a duplicate of this bug. ***
*** Bug 362677 has been marked as a duplicate of this bug. ***
*** Bug 362733 has been marked as a duplicate of this bug. ***
*** Bug 362901 has been marked as a duplicate of this bug. ***
*** Bug 363029 has been marked as a duplicate of this bug. ***
*** Bug 363063 has been marked as a duplicate of this bug. ***
*** Bug 355216 has been marked as a duplicate of this bug. ***
*** Bug 363141 has been marked as a duplicate of this bug. ***
/me sighs... 38 duplicates in 30 days, another nautilus blocker and a gnome 2.16.x target - sorry, nautilus folks. :-/
*** Bug 363488 has been marked as a duplicate of this bug. ***
*** Bug 363582 has been marked as a duplicate of this bug. ***
Got another stacktrace with debugging symbols in bug 363582, which matches the one in comment 9.
*** Bug 363515 has been marked as a duplicate of this bug. ***
*** Bug 364068 has been marked as a duplicate of this bug. ***
I catch about that bug is already duplicate...so i tried debugging nautilus and i got something important i guess it can be useful for gnome programmers. Im not able to catch where the problem comes from cause i don-t have experience with gnome programming but i'll leave here some errors i got: nautilus: 15286: libgnomevfs WARNING: failed to open session DBUS connection: no reply within specified time volume monitor will not work ** ERROR ** : file fm-icon-container.c : line 274 (fm_icon_container_get_icon_text) : assertion failed : (NAUTILUS_IS_FILE (file)) I hope that can help and I would thanks if somebody gives me a whole view of the gnome (nautilus) structure .
*** Bug 364439 has been marked as a duplicate of this bug. ***
*** Bug 364597 has been marked as a duplicate of this bug. ***
*** Bug 364619 has been marked as a duplicate of this bug. ***
*** Bug 364762 has been marked as a duplicate of this bug. ***
*** Bug 365003 has been marked as a duplicate of this bug. ***
*** Bug 365017 has been marked as a duplicate of this bug. ***
*** Bug 365019 has been marked as a duplicate of this bug. ***
*** Bug 365090 has been marked as a duplicate of this bug. ***
*** Bug 365175 has been marked as a duplicate of this bug. ***
*** Bug 365386 has been marked as a duplicate of this bug. ***
*** Bug 365385 has been marked as a duplicate of this bug. ***
*** Bug 365569 has been marked as a duplicate of this bug. ***
*** Bug 365728 has been marked as a duplicate of this bug. ***
*** Bug 365620 has been marked as a duplicate of this bug. ***
*** Bug 365676 has been marked as a duplicate of this bug. ***
*** Bug 365685 has been marked as a duplicate of this bug. ***
*** Bug 365821 has been marked as a duplicate of this bug. ***
*** Bug 365855 has been marked as a duplicate of this bug. ***
*** Bug 365934 has been marked as a duplicate of this bug. ***
*** Bug 365952 has been marked as a duplicate of this bug. ***
*** Bug 365996 has been marked as a duplicate of this bug. ***
*** Bug 366056 has been marked as a duplicate of this bug. ***
*** Bug 366054 has been marked as a duplicate of this bug. ***
*** Bug 366130 has been marked as a duplicate of this bug. ***
*** Bug 366137 has been marked as a duplicate of this bug. ***
*** Bug 366206 has been marked as a duplicate of this bug. ***
*** Bug 366208 has been marked as a duplicate of this bug. ***
*** Bug 366371 has been marked as a duplicate of this bug. ***
*** Bug 366388 has been marked as a duplicate of this bug. ***
*** Bug 366514 has been marked as a duplicate of this bug. ***
*** Bug 366698 has been marked as a duplicate of this bug. ***
*** Bug 366654 has been marked as a duplicate of this bug. ***
*** Bug 366925 has been marked as a duplicate of this bug. ***
*** Bug 366961 has been marked as a duplicate of this bug. ***
*** Bug 367038 has been marked as a duplicate of this bug. ***
*** Bug 367122 has been marked as a duplicate of this bug. ***
*** Bug 367098 has been marked as a duplicate of this bug. ***
*** Bug 367173 has been marked as a duplicate of this bug. ***
*** Bug 367263 has been marked as a duplicate of this bug. ***
*** Bug 367363 has been marked as a duplicate of this bug. ***
*** Bug 367564 has been marked as a duplicate of this bug. ***
*** Bug 367671 has been marked as a duplicate of this bug. ***
*** Bug 367749 has been marked as a duplicate of this bug. ***
*** Bug 367773 has been marked as a duplicate of this bug. ***
*** Bug 367936 has been marked as a duplicate of this bug. ***
*** Bug 368120 has been marked as a duplicate of this bug. ***
*** Bug 368112 has been marked as a duplicate of this bug. ***
*** Bug 368015 has been marked as a duplicate of this bug. ***
*** Bug 368588 has been marked as a duplicate of this bug. ***
*** Bug 368462 has been marked as a duplicate of this bug. ***
*** Bug 368597 has been marked as a duplicate of this bug. ***
*** Bug 368612 has been marked as a duplicate of this bug. ***
*** Bug 368665 has been marked as a duplicate of this bug. ***
*** Bug 368637 has been marked as a duplicate of this bug. ***
*** Bug 368832 has been marked as a duplicate of this bug. ***
*** Bug 368815 has been marked as a duplicate of this bug. ***
*** Bug 368733 has been marked as a duplicate of this bug. ***
*** Bug 368872 has been marked as a duplicate of this bug. ***
*** Bug 368946 has been marked as a duplicate of this bug. ***
*** Bug 369026 has been marked as a duplicate of this bug. ***
*** Bug 369029 has been marked as a duplicate of this bug. ***
*** Bug 369290 has been marked as a duplicate of this bug. ***
I see this too, refreshing in "/" the first time. Its caused by a reentrancy problem. The dir file changes, causing fm_icon_view_emblems_changed to update all icons. When doing this it calls fm_icon_container_start_monitor_top_left which calls nautilus_file_monitor_add which eventually reaches nautilus_directory_async_state_changed. In this case there is a call_when ready callback object that is now ready, and it will be called. The call_when_ready callback is got_file_info_for_view_selection_callback, which frees all the icons. Eventually we'll come back from the callback and continue updating the icons, but they are now freed => crash. I think the solution is to call call_when_ready callbacks in an idle.
Great. I think most of the other crashers are very similar in nature to this one too.
Fixed in cvs: 2006-11-02 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-directory-private.h: * libnautilus-private/nautilus-directory-async.c: Call all call_when_ready callbacks from an idle handler. This fixes problems with reentrancy, like bug #348161
*** Bug 369469 has been marked as a duplicate of this bug. ***
*** Bug 369769 has been marked as a duplicate of this bug. ***
*** Bug 369842 has been marked as a duplicate of this bug. ***
*** Bug 369894 has been marked as a duplicate of this bug. ***
*** Bug 370024 has been marked as a duplicate of this bug. ***
*** Bug 370119 has been marked as a duplicate of this bug. ***
*** Bug 370125 has been marked as a duplicate of this bug. ***
*** Bug 370205 has been marked as a duplicate of this bug. ***
*** Bug 370389 has been marked as a duplicate of this bug. ***
*** Bug 370474 has been marked as a duplicate of this bug. ***
*** Bug 370590 has been marked as a duplicate of this bug. ***
*** Bug 370740 has been marked as a duplicate of this bug. ***
*** Bug 370666 has been marked as a duplicate of this bug. ***
*** Bug 370821 has been marked as a duplicate of this bug. ***
*** Bug 371104 has been marked as a duplicate of this bug. ***
*** Bug 371153 has been marked as a duplicate of this bug. ***
*** Bug 371174 has been marked as a duplicate of this bug. ***
*** Bug 372486 has been marked as a duplicate of this bug. ***
*** Bug 372542 has been marked as a duplicate of this bug. ***
*** Bug 372749 has been marked as a duplicate of this bug. ***
*** Bug 374407 has been marked as a duplicate of this bug. ***
*** Bug 374477 has been marked as a duplicate of this bug. ***
*** Bug 374625 has been marked as a duplicate of this bug. ***
*** Bug 375051 has been marked as a duplicate of this bug. ***
*** Bug 377022 has been marked as a duplicate of this bug. ***
*** Bug 371105 has been marked as a duplicate of this bug. ***
*** Bug 377052 has been marked as a duplicate of this bug. ***
*** Bug 377287 has been marked as a duplicate of this bug. ***
*** Bug 378687 has been marked as a duplicate of this bug. ***
*** Bug 378889 has been marked as a duplicate of this bug. ***
*** Bug 378929 has been marked as a duplicate of this bug. ***
*** Bug 380603 has been marked as a duplicate of this bug. ***
*** Bug 380774 has been marked as a duplicate of this bug. ***
*** Bug 382187 has been marked as a duplicate of this bug. ***
*** Bug 382680 has been marked as a duplicate of this bug. ***
*** Bug 387502 has been marked as a duplicate of this bug. ***
*** Bug 387288 has been marked as a duplicate of this bug. ***
*** Bug 390727 has been marked as a duplicate of this bug. ***
*** Bug 391703 has been marked as a duplicate of this bug. ***
*** Bug 391858 has been marked as a duplicate of this bug. ***
*** Bug 389361 has been marked as a duplicate of this bug. ***
*** Bug 401395 has been marked as a duplicate of this bug. ***
*** Bug 402559 has been marked as a duplicate of this bug. ***
*** Bug 405120 has been marked as a duplicate of this bug. ***
*** Bug 405734 has been marked as a duplicate of this bug. ***
*** Bug 406068 has been marked as a duplicate of this bug. ***
*** Bug 406283 has been marked as a duplicate of this bug. ***
*** Bug 411282 has been marked as a duplicate of this bug. ***
*** Bug 413541 has been marked as a duplicate of this bug. ***
*** Bug 419023 has been marked as a duplicate of this bug. ***
*** Bug 430033 has been marked as a duplicate of this bug. ***
*** Bug 429951 has been marked as a duplicate of this bug. ***
*** Bug 431188 has been marked as a duplicate of this bug. ***
*** Bug 430907 has been marked as a duplicate of this bug. ***
*** Bug 431096 has been marked as a duplicate of this bug. ***
*** Bug 438298 has been marked as a duplicate of this bug. ***
*** Bug 438435 has been marked as a duplicate of this bug. ***
*** Bug 438436 has been marked as a duplicate of this bug. ***
*** Bug 438448 has been marked as a duplicate of this bug. ***
*** Bug 438452 has been marked as a duplicate of this bug. ***
*** Bug 450771 has been marked as a duplicate of this bug. ***
no new rejected reports for more than a month now (we reject reports from GNOME <=2.16). removing from the auto-reject list.
*** Bug 540804 has been marked as a duplicate of this bug. ***