On Wednesday 12 September 2007 23:10:04 Thomas Perl wrote: > Hello, Bjorn! > > On Wed, 2007-09-12 at 19:18 +0200, Bjørn Rasmussen wrote: > > Everything works ok to the point where you close the window. Then the > > gpodder freezes consuming all available cpu power. You cannot quit > > the normal way, you have to kill the process. > > > > ... testing with "strace gpodder" .... > > > > Looks like strace (system call trace) reveals the problem: > > > > futex(0xc6c9b0, FUTEX_WAKE, 1) = 0 > > futex(0xc6c9b0, FUTEX_WAKE, 1) = 0 > > stat("/home/bjoern/.wine/drive_c/windows/profiles/bjoern/Min > > musikk/.wine/drive_c/windows/profiles/bjoern/Min > > musikk/.wine/drive_c/windows/profiles/bjoern/Min > > musikk/.wine/drive_c/windows/profile > > s/bjoern/Min musikk/.wine/drive_c/windows/profiles/bjoern/Min > > musikk/.wine/drive_c/windows/profiles/bjoern/Min > > musikk/.wine/drive_c/windows/profiles/bjoern/Min > > musikk/.wine/drive_c/windows/profil > > es/bjoern/Min musikk/.wine/drive_c/windows/profiles/bjoern/Min > > musikk/.wine/drive_c/windows/profiles/bjoern/Min > > musikk/.wine/drive_c/windows/profiles/bjoern/Min > > musikk/.xmoto/LCache/i14.blv", {st > > _mode=S_IFREG|0644, st_size=1947, ...}) = 0 > > futex(0xc6c9b0, FUTEX_WAKE, 1) = 0 > > > > Here strace reveals a loop (the very long stat call) in the > > filesystem. So > > gpodder didn't freeze after all. It's doing an endless file search. > > > > > > Looks like gpodder scans the users homedirectory after the > > Close-button is > > clicked for some reason. My homedirectory contains ".wine", which > > includes > > symbolic links: > > > > $ pwd > > /home/bjoern/.wine/drive_c/windows/profiles > > > > $ ls -l bjoern/ > > totalt 100 > > drwxrwxr-x 2 bjoern bjoern 4096 2007-07-12 19:59 Cookies > > drwxrwxr-x 2 bjoern bjoern 4096 2007-07-12 19:59 Favoritter > > drwxrwxr-x 5 bjoern bjoern 4096 2007-07-12 19:59 Lokale innstillinger > > drwxrwxr-x 2 bjoern bjoern 4096 2007-07-12 19:59 Maler > > lrwxrwxrwx 1 bjoern bjoern 12 2007-07-12 19:59 Mine bilder > > -> /home/bjoern > > lrwxrwxrwx 1 bjoern bjoern 12 2007-07-12 19:59 Mine > > dokumenter -> /home/bjoern > > lrwxrwxrwx 1 bjoern bjoern 12 2007-07-12 19:59 Mine > > videoklipp -> /home/bjoern > > lrwxrwxrwx 1 bjoern bjoern 12 2007-07-12 19:59 Min musikk > > -> /home/bjoern > > drwxrwxr-x 2 bjoern bjoern 4096 2007-07-12 19:59 NetHood > > drwxrwxr-x 2 bjoern bjoern 4096 2007-07-12 19:59 Programdata > > drwxrwxr-x 2 bjoern bjoern 4096 2007-07-12 19:59 SendTo > > drwxrwxr-x 2 bjoern bjoern 4096 2007-07-12 19:59 Siste > > lrwxrwxrwx 1 bjoern bjoern 20 2007-07-12 19:59 > > Skrivebord -> /home/bjoern/Desktop > > drwxrwxr-x 2 bjoern bjoern 4096 2007-07-12 19:59 Skrivere > > drwxrwxr-x 3 bjoern bjoern 4096 2007-07-12 19:59 Start-meny > > > > As you see, many links that can cause an endless loop. > > > > The working i386 machine doesn't contain the .wine directory. All > > gpodder-users that have links pointing back in the filesystem, will > > get the same problem as me. > > > > I guess this must be considered a bug. > > I've come up with a patch that should prevent this bug from happening. > Can you please check out the latest SVN trunk head and tell me if the > bug is fixed for you now? > > Thanks, > Thomas > And that patch works perfectly well :-)
After i click the Close-button, I get a message saying "Moving downloads from /home/bjoern/gpodder-downloads to /home/bjoern...". Then a message: Error moving downloads There has been an error moving your downloads to the specified location. The old download directory will be used instead. I'm not sure why those messages appears, but gpodder seems to work as it should. Thanks for your patch :-) Bjoern > > > _______________________________________________ > gpodder-devel mailing list > gpodder-devel@lists.berlios.de > https://lists.berlios.de/mailman/listinfo/gpodder-devel -- Bjørn Rasmussen Adr: Moneheia 47, 4656 Kristiansand Tlf: 38 04 50 05 Mbl: 911 27367 Epost: [EMAIL PROTECTED] _______________________________________________ gpodder-devel mailing list gpodder-devel@lists.berlios.de https://lists.berlios.de/mailman/listinfo/gpodder-devel