Hey Padraig.

This definitely helps things, but there seems to be a process lingering.
To best appreciate it, keep your local network connection, but sever
ties to the outside world. Compare:

~~~~~~~~~~~~~
Before patch:
~~~~~~~~~~~~~
$ pfexec ptime packagemanager
/usr/bin/packagemanager:3248: GtkWarning: file gtktreeselection.c: line
354: assertion `selection->tree_view != NULL' failed
  model, itr = self.package_selection.get_selected()

real       59.269348446
user       25.108675577
sys         1.776196814
ptime: command terminated abnormally by SIGSEGV

~~~~~~~~~~~~~
After patch:
~~~~~~~~~~~~~
$ pfexec ptime packagemanager
real       19.984064393
user       19.432046979
sys         1.182571846

BUT having severed my outside connection (waiting a long time for the
process to terminate on its own, and finally re-establishing my
connection):

$ pfexec ptime packagemanager
real    21:29.597118893
user        7.053811630
sys         0.897445571

(Note that I see the same behavior with the severed connection without
your patch.)

HTH. Take care.
--joanie

On Mon, 2009-08-31 at 11:26 +0100, Padraig O'Briain wrote:
> The webrev, http://cr.opensolaris.org/~padraig/ips-11034-v1/, fixes
> 11034 Packagemanager hangs if quit during catalog refresh
> 
> The change ensures that PackageManager closes down tidily if the 
> application window is closed while catalogs are being refreshed.
> 
> Padraig
> _______________________________________________
> pkg-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to