nautilus freezes when trying to open ~/Pictures

Bug #350909 reported by Filipe Sousa
2
Affects Status Importance Assigned to Milestone
Nautilus
Fix Released
Critical
nautilus (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: nautilus

Some times nautilus freezes when opening the ~/Pictures directory.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/nautilus
NonfreeKernelModules: nvidia
Package: nautilus 1:2.26.0-0ubuntu4
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: nautilus
Uname: Linux 2.6.29-nostradamus.1 i686

Related branches

Revision history for this message
Filipe Sousa (natros) wrote :
Revision history for this message
Filipe Sousa (natros) wrote :

$ apt-cache policy nautilus
nautilus:
  Installed: 1:2.26.0-0ubuntu4
  Candidate: 1:2.26.0-0ubuntu4
  Version table:
 *** 1:2.26.0-0ubuntu4 0
        500 http://archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

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

Thank you for bug report, the stacktrace has no debug symbol, could you try to figure if that's a specific photo triggering the issue?

Changed in nautilus (Ubuntu):
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Filipe Sousa (natros) wrote :

I'm attaching a better backtrace with symbols from nautilus-gdb and libgtk2.0-0-dbg

That only happens with this directory.

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

does it use CPU while it's blocking? could you try to figure if that's on picture there triggering the bug?

Revision history for this message
Filipe Sousa (natros) wrote :
Download full text (7.3 KiB)

cpu is 100%
it's hard to me to figure where the problem is.

after some debuging i found that execution is not returning from
gtk_scrolled_window_size_allocate (GtkWidget *widget, GtkAllocation *allocation)
gtk+2.0-2.16.0/gtk/gtkscrolledwindow.c:1337

more precisely the do while loop where previous_hvis = 1 and previous_vvis = 1

   │1416 do │
   │1417 { │
  >│1418 gtk_scrolled_window_relative_allocation (widget, &relative_allocation); │
   │1419 │
   │1420 child_allocation.x = relative_allocation.x + allocation->x; │
   │1421 child_allocation.y = relative_allocation.y + allocation->y; │
   │1422 child_allocation.width = relative_allocation.width; │
   │1423 child_allocation.height = relative_allocation.height; │
   │1424 │
   │1425 previous_hvis = scrolled_window->hscrollbar_visible; │
   │1426 previous_vvis = scrolled_window->vscrollbar_visible; │
   │1427 │
   │1428 gtk_widget_size_allocate (bin->child, &child_allocation); │
   │1429 ...

Read more...

Revision history for this message
Filipe Sousa (natros) wrote :

This only happens when the nautilus window size is about 245x264, for other sizes there's no problems
I'm attaching a more complete backtrace that includes symbols for libglib and a nautilus screenshot

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

upstream pointed that the issue could be http://bugzilla.gnome.org/show_bug.cgi?id=129963 which has been fixed to svn, do you think you could try the svn patch and see if it works for you

Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in nautilus:
status: Unknown → Fix Released
Revision history for this message
Filipe Sousa (natros) wrote :

the patch works :)

i'm attaching the debdiff

thank you for your time

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

thank you for testing it, you might want to subscribe ubuntu-main-sponsors if you want to get that upload, it's not especially useful to backport svn fixes now since jaunty will get GNOME 2.26.1 but since you already did the work there we can as well upload

Changed in nautilus (Ubuntu):
status: Incomplete → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nautilus - 1:2.26.0-0ubuntu6

---------------
nautilus (1:2.26.0-0ubuntu6) jaunty; urgency=low

  * debian/patches/90_svn_update.patch:
    - update code to current svn to fix some issues, give some testing to the
      changes and make the 2.26.1 update easier
    - don't regenerate thumbnails every time on some zoom level (lp: #204434)
    - query crasher fix (lp: #341988)
    - don't freeze on some compact view geometries (lp: #350909)
    - dnd in list view should work better (lp: #185387)
    - correctly handle special chars in launchers (lp: #233913, #252902)
    - open dialogs on the correct screen (lp: #282806)

 -- Sebastien Bacher <email address hidden> Wed, 01 Apr 2009 22:53:08 +0200

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

Other bug subscribers

Remote bug watches

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