Re: Darcs bug in alioth
Em Dom, 2009-08-16 às 09:49 +0200, Raphael Hertzog escreveu:
> On Sat, 15 Aug 2009, Marco Túlio Gontijo e Silva wrote:
> > Thu Nov 13 13:57:30 BRST 2008 Simon Marlow <email@example.com>
> > * Fix an extremely subtle deadlock bug on x86_64
> > The recent_activity flag was an unsigned int, but we sometimes do a
> > 64-bit xchg() on it, which overwrites the next word in memory. This
> > happened to contain the sched_state flag, which is used to control the
> > orderly shutdown of the system. If the xchg() happened during
> > shutdown, the scheduler would get confused and deadlock. Don't you
> > just love C?
> > I applied the second one to ghc6_6.8.2dsfg1-1 and the bug is not present
> > anymore. As the package is small and it's a very annoying bug, I
> > thought that the suggestion from mornfall was a good option.
> So the right way to proceed is IMO to do a stable update of ghc6 with the
> patch you found.
I read about uploads to stable in the Developers Reference, and I'm not sure if
it's the case. I think this is a very annoying bug, with a simple patch to
fix, so I guess it can be the case. The package is done here, needing
only some format corrections, in debian/changelog.
Do you think this is a good idea?