darcs

Issue 877 darcs2 live-locks on GHC subrepo (darcs get --partial http://darcs.haskell.org/ghc-stable/packages/pretty)

Title darcs2 live-locks on GHC subrepo (darcs get --partial http://darcs.haskell.org/ghc-stable/packages/pretty)
Priority bug Status duplicate
Milestone Resolved in
Superseder darcs2 dead-locks on GHC subrepo (darcs get --partial http://darcs.haskell.org/ghc-stable/packages/pretty)
View: 876
Nosy List darcs-devel, dmitry.kurochkin, kgardas1, kowey, thorkilnaur, tommy
Assigned To
Topics

Created on 2008-05-23.20:05:22 by kgardas1, last changed 2009-08-27.13:59:53 by admin.

Files
File name Uploaded Type Edit Remove
darcs_live_lock_stacks.txt.gz kgardas1, 2008-05-23.20:05:20 application/x-gzip
Messages
msg4853 (view) Author: karel.gardas Date: 2008-05-23.20:05:20
While trying to get http://darcs.haskell.org/ghc-stable/packages/pretty
by invoking `darcs get --partial
http://darcs.haskell.org/ghc-stable/packages/pretty' command as part of
GHC buildprocess on GHC buildbot I've notices that this darcs never
finishes its `Identifying repository
http://darcs.haskell.org/ghc-stable/packages/pretty
' step. It seems there is some live-lock involved while calling licurl
functions. This is on Solaris 11, ghc 6.8.2.20080430, darcs from May 22,
linked against curl 7.18.0 with curl pipelining enabled.

As this is on Solaris I've saved few process's stacktraces by using
pstack(1) command. It seems darcs is again and again invoking following
trace:

-----------------  lwp# 1 / thread# 1  --------------------
 fea545b7 gettimeofday (80459c0, 8561e60, 80459d8, feed829d, 80459c0,
8561e64) + 7
 feed82da curl_multi_perform (8561e60, 8045a2c, 0, 0, 0, 0) + 8e
 0841e5db curl_wait_next_url (0, 0, 0, 0, 0, 0) + 37
 08189e3d ???????? (fe3ec8c1, fe3ec8ce, fe3ec8e7, fe3ec8f0, 818b29c,
fe3ec8fa)
 00000001 ???????? (c5830818, a79ae9fc, f689002e, 384ab0, 4, ffff0022)
 b11c0045 ???????? ()

Anyway whole log saved by few seconds running `while (true) do pstack
<darcs pid>; done is attached.

Could anybody be so kind and try to duplicate this issue on Linux? Also
if anybody is able to tell me how to get rid of question marks in the
trace and replace them with appropriate GHC generated functions name,
then I would be glad to provide "fixed" stacktrace to show more
information about the issue. Thanks!

PS: Please note this is in Solaris running on real-metal, not in broken
VirtualBox!
Attachments
History
Date User Action Args
2008-05-23 20:05:22kgardas1create
2008-05-24 09:48:27koweysetpriority: bug
status: unread -> duplicate
superseder: + darcs2 dead-locks on GHC subrepo (darcs get --partial http://darcs.haskell.org/ghc-stable/packages/pretty)
nosy: tommy, beschmi, dagit, kgardas1
2009-08-06 21:05:52adminsetnosy: + dmitry.kurochkin, simon, kowey, thorkilnaur, - beschmi
2009-08-11 00:15:14adminsetnosy: - dagit
2009-08-25 18:11:21adminsetnosy: + darcs-devel, - simon
2009-08-27 13:59:53adminsetnosy: tommy, kowey, darcs-devel, thorkilnaur, dmitry.kurochkin, kgardas1