sm-sorcery-bugs AT lists.ibiblio.org
Subject: Bugs for Sorcery are reported here
List archive
[SM-Sorcery-Bugs] [Bug 11372] New: summon --all hangs (and other simpler test cases hang too)
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-sorcery-bugs AT lists.ibiblio.org
- Subject: [SM-Sorcery-Bugs] [Bug 11372] New: summon --all hangs (and other simpler test cases hang too)
- Date: 21 Apr 2006 05:35:58 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=11372
Summary: summon --all hangs (and other simpler test cases hang
too)
Product: Sorcery
Version: 1.15.x
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Summon
AssignedTo: sm-sorcery-bugs AT lists.ibiblio.org
ReportedBy: seth AT swoolley.homeip.net
summon -all hung after downloading "present", so I turned on debugging and
resummoned all to find that there was some confusion on profile-gnome-platform
spell as it seemed to think there was already a lock on it.
This confused me, so I summoned profile-gnome-platform to see if it hung, and
it
didn't.
Then I figured, why not try listing it twice. That hung it.
Then I tried listing profile-gnome-platform next to thttpd, that worked.
Then I tried listing thttpd and thttpd, that worked.
I can only guess that profile-gnome-platform tried to be summoned twice as a
result of summon --all trying to summon all the installed grimoires and
duplicating the spells to download.
Perhaps summon doesn't give up its lock after each summon that is a virtual
spell (no download/summon needed), causing lock contention afterwards. That's
what it appears from the debug.out log, but I can't really tell because
there's
no entries for unlocking anywhere -- perhaps we need some debugging added to
show that we're unlocking a certain resource. I see lock_file and
unlock_file,
but nothing about unlocking after a trylock_resources. I don't think we're
not
unlocking at all because otherwise thttpd would have never summoned twice
correctly.
Rather than attach the log, I invite the reader to duplicate the test cases
above with debugging enabled ;)
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
- [SM-Sorcery-Bugs] [Bug 11372] New: summon --all hangs (and other simpler test cases hang too), bugzilla-daemon, 04/21/2006
Archive powered by MHonArc 2.6.24.