Hi Padraig,

Padraig O'Briain wrote:
Niall,

I am not able to reproduce this as you describe.
I think it might be somewhat intermittent. I think I've encountered it in the past but not 100% of the time. On this occasion I followed a relatively simple sequence of actions so
I thought I would mention it.
When you selected Updates were any packages shown?
Eventually yes - after about 5 or so minutes. During that time the GUI was not totally wedged (I could see the pulse bar moving in the status are), so I guess it was waiting for some thread
to complete, or several hundred :)
What is the output of pkg version?
ni...@brawndo:~$ pkg version
6753a4a480ef


I have seen something similar when I scroll down the list of packages; see http://defect.opensolaris.org/bz/show_bug.cgi?id=11915. I am wondering whether you are also seeing this. To check put a print statement in __get_pkg_descriptions in /usr/bin/packagemanager and run pfexec /usr/bin/packagemanager from a terminal.

I get the print statement output twice when I launch packagemanger and then once every time I switch the view to a
different repository.
Also scrolling downwards (but oddly not upwards) results in large numbers of these messages being printed, seemingly
in proportion to the amount of scrolling done.

Cheers,
Niall

Padraig



Padraig

On 10/15/09 06:08, Niall Power wrote:
The IPS GUI seems a bit flakey when switching between repository views under some conditions.
Here's what I did on a freshly update snv_125 system:

- Open packagemanager
- Add a new repository (http://ipsbj.prc.sun.com:9000 (9001 for sparc)
- Wait for it to finish refresh it's cache.
- Select the newly added repository from the drop down menu
- Select "Updates" as the type of packages to view.
- Select "OpenSolaris" repository (or whatever your base repository is. Mine was http://ipkg.sfbay/dev) - Package manager deadlocks. A pstack shows a scary number of deadlocked threads.
 This is just the tail endt (pasted below).

- Eventually after about 5 minutes, the UI becomes responsive again and the threads disappear and
the GUI refreshes it's view to display the requested package criteria.

Cheers,
Niall

-----------------  lwp# 515 / thread# 515  --------------------
fed5e799 lwp_park (0, 0, 0)
fed50dc8 sema_wait (90117c8, ecb5790, f62bf0c8, fed45bc2) + 10
fed45bed sem_wait (90117c8) + 35
fef25bb9 PyThread_acquire_lock (90117c8, 1, f62bf108, fef28a87) + 41
fef28a9a lock_PyThread_acquire_lock (82c5b90, a1a046c, 0, feeceebc) + 46
fef03689 call_function (f62bf1cc, 1, c6df04c, 7f) + 3f5
fef0079b PyEval_EvalFrame (e62958c, 81f1a60, 81dbdfc, 0) + 2b77
fef02287 PyEval_EvalCodeEx (81f1a60, 81dbdfc, 0, ebf6fc4, 2, ebf6fcc) + 903
fef03858 fast_function (81fd02c, f62bf38c, 2, 2, 0, feebb040) + 164
fef03363 call_function (f62bf38c, 1, 13, 1f) + cf
fef0079b PyEval_EvalFrame (ebf6e6c, 8507be0, 850f68c, 0) + 2b77
fef02287 PyEval_EvalCodeEx (8507be0, 850f68c, 0, ef51560, 1, ef51564) + 903
fef03858 fast_function (850c844, f62bf54c, 1, 1, 0, feebb040) + 164
fef03363 call_function (f62bf54c, 0, 2e0f5864, 7f) + cf
fef0079b PyEval_EvalFrame (ef5140c, 84d54a0, 84fd2d4, 0) + 2b77
fef037ec fast_function (850cdf4, f62bf68c, 1, 1, 0, feebb040) + f8
fef03363 call_function (f62bf68c, 0, fa0c2bf9, feeb9235) + cf
fef0079b PyEval_EvalFrame (d7dc0d4, 85566a0, 8079824, 0) + 2b77
fef037ec fast_function (8512764, f62bf7cc, 2, 2, 0, 8532460) + f8
fef03363 call_function (f62bf7cc, 1, 6e, 1) + cf
fef0079b PyEval_EvalFrame (f0e434c, 8556660, 8079824, 0) + 2b77
fef037ec fast_function (851272c, f62bf90c, 2, 2, 0, 8534020) + f8
fef03363 call_function (f62bf90c, 1, 80a65e4, 1ff) + cf
fef0079b PyEval_EvalFrame (f0bb3b4, 85564e0, 8079824, 0) + 2b77
fef02287 PyEval_EvalCodeEx (85564e0, 8079824, 0, ab7acd8, 2, d6001c0) + 903
feebafdc function_call (8512684, ab7accc, 81fb68c, a1a026c) + 150
feea8bf8 PyObject_Call (8512684, ab7accc, 81fb68c, f62bfae0) + 20
fef03d7c ext_do_call (8512684, f62bfae0, 3, 1, 0, 1c) + 114
fef00844 PyEval_EvalFrame (ea86844, 81f67e0, 81dbdfc, 0) + 2c20
fef037ec fast_function (81fd764, f62bfc1c, 1, 1, 0, feebb040) + f8
fef03363 call_function (f62bfc1c, 0, b0, 0) + cf
fef0079b PyEval_EvalFrame (d600e0c, 81f6920, 81dbdfc, 0) + 2b77
fef02287 PyEval_EvalCodeEx (81f6920, 81dbdfc, 0, 899d298, 1, 0) + 903
feebb030 function_call (81fd79c, 899d28c, 0, c6df04c) + 1a4
feea8bf8 PyObject_Call (81fd79c, 899d28c, 0, fefc8490) + 20
feeaf4b0 instancemethod_call (c6d06e4, 806102c, 0, fef1f338) + 12c
feea8bf8 PyObject_Call (c6d06e4, 806102c, 0, 0) + 20
fef03143 PyEval_CallObjectWithKeywords (c6d06e4, 806102c, 0, fedf5480) + cb
fef290a6 t_bootstrap (8f884c8, fedf1000, f62bffe8, fed5e45e) + 2e
fed5e4b3 _thrp_setup (fc442200) + 9b
fed5e740 _lwp_start (fc442200, 0, 0, 0, 0, 0)

_______________________________________________
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