Comment 28 for bug 223912

Revision history for this message
Sean (sproctor) wrote :

I assume that wouldn't cause a hang. It doesn't appear to be anything with one of the pictures. Copying my pictures directory to a new directory alleviates the problem. Another point of interest is that I have a custom icon for each folder that is a picture container within.

Let me try to list the known conditions:
- Happens when opening any subdirectory of $HOME/My Pictures
- Only happens if that subdirectory contains a picture
- The picture doesn't matter. Pictures that don't cause problems in other places cause problems in $HOME/My Pictures
- $HOME/My Pictures contains 56 subdirectories, each of them with a custom icon that is a picture from that subdirectory.
- $HOME/My Pictures does not freeze while loading.
- $HOME/My Pictures is world readable/writeable as are most of the subdirectories (were copied over from a windows partition)
- If I copy $HOME/My Pictures to $HOME/pictures, the problem (and custom icons) don't transfer over to $HOME/pictures.

If you look at the strace there appears to be a couple of files that appear unrelated but moving them out of the way didn't seem to help.
[pid 20274] 22:42:42.034784 open("/home/nicolle/My Pictures/2008.7/CIMG1528.JPG", O_RDONLY|O_LARGEFILE) = 22
..
[pid 20274] 22:42:42.469348 mmap2(NULL, 26546176, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb1b1e000
[pid 20274] 22:43:53.849976 munmap(0xb1b1e000, 26546176) = 0

That picture is the icon for one of the subdirectories. Actually, all of the files in the strace are. Perhaps when I open a subdirectory all of the icons for $HOME/My Pictures are scaled? I'm grasping at straws. If you have any more ways I can analyze this, please let me know. Thanks for your patience.