Bug#564105: tends to hang forever at "reading archive" stage on tar file when run from w3m

Josselin Mouette joss at debian.org
Thu Jan 7 20:19:44 UTC 2010


Le jeudi 07 janvier 2010 à 13:24 -0500, Joey Hess a écrit : 
> * w3m http://bugs.debian.org/376329
> * Select the testcase.tgz file
> * File-roller starts, shows:
> 
>      Reading archive
> 
>      Archive: w3mtmp11795-0.tgz
>      Reading archive, wait please...
> 
>   Bouncing progress bar forever; no disk activity, little CPU activity.
> 
> 11808 pts/11   S      0:05 /usr/bin/file-roller /home/joey/.w3m/w3mtmp11795-0.tgz
> joey at gnu:~/.w3m>ls -l /home/joey/.w3m/w3mtmp11795-0.tgz
> ls: cannot access /home/joey/.w3m/w3mtmp11795-0.tgz: No such file or directory
> 
> AFAICS, file-roller does not have the (deleted) file open. I suspect w3m
> deletes its temp files when the program it has run to view it exits, and
> file-roller forks off to the background before opening the file.

I don’t think file-roller does anything like forking to the background.
It won’t do that even when when another instance is already started,
unlike some other GNOME programs.

Furthermore, the fact that it does not spit in your face that the file
doesn’t exist proves that it has successfully opened it for sniffing,
but the file is removed before the tar process that file-spawns can open
it.

I suspect that w3m does something “clever” such as trying to see whether
the file has been opened and closed once.

Cheers,
-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20100107/2cf9ead1/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list