nautilus becomes non-responsive during video-playback

Bug #397192 reported by morryis
68
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Critical
nautilus (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

With Karmic I notice a strange behavior of nautilus. When I use Nautilus to display a folder with video files in it, the nautilus window often becomes non-responsive after a few seconds. Usually it takes about 15 to 20 seconds until nautilus freezes. Since not every folder with video files causes nautilus to freeze, it might be connect to certain video formats. There seems to be no effect whether I start playing a video with a video player or not.

No problems with Jaunty. I also experience bug #384410, maybe there is some relationship.

This is what I get in the logfiles as soon as nautilus becomes non-responsive:

auth.log:
Jul 8 23:03:25 morryis-desktop dbus-daemon: Rejected send message, 1 matched rules; type="method_call", sender=":1.147" (uid=1000 pid=11380 comm="/usr/lib/indicator-applet/indicator-applet --oaf-a") interface="org.freedesktop.DBus.Properties" member="Get" error name="(unset)" requested_reply=0 destination=":1.235" (uid=1000 pid=20843 comm="vlc /media/Archiv/Videos/Das Wunder der Musik.mpg "))

EDIT: I deleted some log-entries from this description as those error-messages were probably not related to this bug.

ProblemType: Bug
Architecture: i386
Date: Wed Jul 8 22:44:03 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/nautilus
NonfreeKernelModules: nvidia
Package: nautilus 1:2.27.2-0ubuntu1
ProcEnviron:
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-1.14-generic
SourcePackage: nautilus
Uname: Linux 2.6.31-1-generic i686

Revision history for this message
morryis (morryis) wrote :
Revision history for this message
morryis (morryis) wrote :

Update: There seems to be no relation between the log-entries I posted before and nautilus becoming non-responsive, since I cannot reproduce the log-messages one day later.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in nautilus (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
morryis (morryis) wrote :

I am unable to provide a backtrace for nautilus, since gdb does not react when pressing STRG+C. I tried to generate a backtrace with gdb for another application (gthumb), STRG+C is working there. Anyway, I attached the nautilus backtrace file, perhaps it helps to figure out what is wrong about gdb. Is there another way I can provide more information?

I realized that nautilus also crashes when displaying folders with videos for a certain time, without any videoplayer running. I tried to narrow down the problem to certain file/videocodec-types of the files in the folders, maybe the non-responsiveness of nautilus has something to do with problems occurring during thumbnail-generation. But I could not find any critical file. Then I deleted all thumbnails and let nautilus recreate them. No error.

morryis (morryis)
description: updated
Revision history for this message
David Prieto (frandavid100-gmail) wrote :

I'm also getting this bug.

morryis (morryis)
description: updated
Revision history for this message
martinpm24 (martin-tecnodoc) wrote :

i dont have nothing to add, i have the same problem as morryis.

Revision history for this message
morryis (morryis) wrote :

Large (>1gb) MPEG-4/AVC files seem to be the root of the problem. For example the 1080p version of "Sita Sings the Blues" (http://www.sitasingstheblues.com/watch.html). I put this file in a new folder, opened the folder with nautilus, nautilus freezed after 20-30 seconds.

Revision history for this message
Hernando Torque (htorque) wrote :

Downloaded the above linked file (4.2GB). When opening the containing folder (icon view, preview enabled) and clicking on the file, nautilus is gone: 100% CPU (actually 50% of my core duo system), ~1GB RAM usage, unresponsive. I've waited half an hour before killing it.

Attaching gdb output while nautilus was hanging (backtrace full, info registers, thread apply all backtrace). Doesn't look helpful to me, but here it is.

Revision history for this message
morryis (morryis) wrote :

Disabling file preview via nautilus settings is a temporary workaround, but not acceptable in the long run.

Revision history for this message
Sebastien Bacher (seb128) wrote :

The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software (https://wiki.ubuntu.com/Bugs/Upstream/GNOME)

Changed in nautilus (Ubuntu):
status: Incomplete → New
Changed in nautilus (Ubuntu):
status: New → Triaged
Changed in nautilus:
status: Unknown → New
Revision history for this message
LoonyPhoenix (loonyphoenix) wrote :
Revision history for this message
LoonyPhoenix (loonyphoenix) wrote :

PS: Sorry, didn't notice somebody already reported it. The last message asked for an upstream report, so that's what I did :)

Revision history for this message
Sebastien Bacher (seb128) wrote :

nautilus (1:2.28.0-0ubuntu1) karmic; urgency=low

  * New upstream version:
    - Translation updates
    - Don't load non-images for thumbnailing when zoomed (lp: #204413)
    - Made desktop window a native X window for nicer redrawing
    - Fix leaks
  * debian/patches/12_list-view_expand.patch,
    debian/patches/90_relibtoolize.patch:
    - new version update

Changed in nautilus (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
Liam O'Reilly (aliam13-2) wrote :

I also have this problem, nautilus has been frozen now for over 30 minutes whilst I tried to view my Video folder.

Revision history for this message
jgonick (jgonick1969) wrote :

It seems to me this is a problem that occurs when a file is moved. I've had the same issues with pdf, tga, etc.. All thumbnails will load fine if you move the file back to the original location. The problem tends to happen occasionally if you drag the file to the new location. Using cut and paste (as far as I can tell) doesn't cause the problem. (-still testing this since the problem occurs randomly) Once the problem occurs I can never get the file's thumbnail to work correctly no matter where I move it. (Unless I move it to the original location)

Revision history for this message
donal (donalbuckley) wrote :

Yes, I'm seeing a similar issue on folders which have video files.
Terminal will list the files but Nautilus will wait continuously trying to update the folder.

If I switch Nautilus>Edit>Preferences>Preview to Never Preview, all files will display.

I also thought it was mainly folders where files had been copied into them, but I've just had it replicate on one of the main offending folders when no files were moved or copied, I was just changing views between various tabs on the different drives.

Changing the Minimum file preview size has no effect.
Size of file where problem is occurring for me is at least 150MB, much smaller than reported above.
In my case it's happening on two FAT32 external drives.

I've tried replicating with smaller (<30mb) PDFs and MP3 files of approx. 100mb but not finding it, though I've only made brief checks.

Revision history for this message
donal (donalbuckley) wrote :

Sorry, meant to add my details in previous post.
32-bit Ubuntu, 9.10 (fresh install over 8.10), kernel 2.6.31-14-pae-i686.
Happening on different FAT external drives so not hardware (or filesystem) related.
I'm also getting:
"nautilus:6644): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed"
in terminal

Revision history for this message
jsangil (jsangilve) wrote :

I have the same problem. Sometimes nautilus doesn't load thumbnails of the files in a folder.
Usually the problem occurs when a file is moved from one directory to another.

jsangil (jsangilve)
Changed in nautilus (Ubuntu):
status: Fix Released → Fix Committed
status: Fix Committed → Fix Released
Revision history for this message
donal (donalbuckley) wrote :

After being fine since the fix was released I've got this problem back, but intermittently. I'm back to switching on and off Preview. It manifests slightly differently. With Preview switched on, in a older into which large files have been copied, the folder contents may not be visible until Preview is switched off.
However as I said it's intermittant, and I can't nail it down exactly. I'll update here when I can.

Changed in nautilus:
importance: Unknown → Critical
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.