darcs

Message4888

Author lele
Recipients Serware, beschmi, dagit, droundy, kowey, lele, tommy
Date 2008-05-30.06:38:40
Issue Issue879 show authors => hangs (2.0.0 + 268)
Content
On Thu, 29 May 2008 17:04:35 -0000
Eric Kow <bugs@darcs.net> wrote:

> Lele, please submit a rollback patch for this, making sure it really
> does solve the problem. Hopefully David can have a look (or just
> apply it...) and see what the root cause is.

My problem is that "making sure it really solves the problem"
part. For sure *all* the times I recompiled darcs with that patch *on
this machine*, an ubuntu 8.04 on amd64, with ghc 6.8.2, it hangs.

But yesterday I pulled a few recent patches from the darcs.net and
recompiled: even if I skipped the mentioned patch, I got the same
behaviour... :-|

This was the first and only time I got the hang /without/ the -O2
patch, but nevertheless I checked twice before recompilation, the
patch wasn't there but the newly built darcs exhibited the hang.

A "make clean; make" cycle solved the problem.

I did some other investigation, that didn't enlight me. With an
"hanging darcs":

* "darcs query authors | less" does not hang
* "strace query authors" obviously shows a lot of "wait4()" calls but
  as soon as I hit 'q' and the pager exits, darcs regains control and
  exits without problems

So, while I'm sure it makes a difference, it isn't clear to me if
there is effectively some problem in darcs or not, possibly exposed by
different optimization levels...

Is anybody else experiencing the same behaviour?

ciao, lele.
-- 
nickname: Lele Gaifax    | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas    | comincerò ad aver paura di chi mi copia.
lele@nautilus.homeip.net |                 -- Fortunato Depero, 1929.
History
Date User Action Args
2008-05-30 06:38:40lelecreate
2008-05-30 06:38:42lelelinkissue879 messages
2008-05-30 06:38:42lelesetrecipients: + lele, droundy, tommy, beschmi, kowey, dagit, Serware