darcs

Issue 1204 pull => src/Darcs/Patch/Real.lhs:(479, 21)-(497, 99): Irrefutable pattern failed for pattern Data.Maybe.Just a2 (2.1.0+236)

Title pull => src/Darcs/Patch/Real.lhs:(479, 21)-(497, 99): Irrefutable pattern failed for pattern Data.Maybe.Just a2 (2.1.0+236)
Priority urgent Status needs-testcase
Milestone 2.10.0 Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, ganesh, kowey, thorkilnaur, tux_rocker
Assigned To
Topics Core

Created on 2008-11-05.13:57:21 by kowey, last changed 2012-01-06.19:13:17 by kowey.

Files
File name Uploaded Type Edit Remove
boom.dpatch kowey, 2008-11-23.16:43:37 text/x-darcs-patch
ctx kowey, 2008-11-10.21:45:13 text/plain
move-patch_filename-out-of-uglyfilename.dpatch kowey, 2008-11-10.21:45:23 text/x-darcs-patch
Messages
msg6595 (view) Author: kowey Date: 2008-11-05.13:57:19
I have a local copy of the darcs darcs repository in which I can systematically
reproduce this error by pulling in the current unstable repository.

I have created a tarball for future investigation.

The procedure in
  http://wiki.darcs.net/DarcsWiki/Forensics
may come in handy (or not)
msg6645 (view) Author: kowey Date: 2008-11-10.21:45:31
I can reproduce this by applying the attached bundle to the attached
ctx (ctx)
Attachments
msg6726 (view) Author: kowey Date: 2008-11-23.16:43:37
The attached boom.dpatch is smaller and also makes darcs blow up on the repo
mentioned in the context file I previously attached
Attachments
msg6727 (view) Author: dagit Date: 2008-11-23.17:19:53
The code at the point of pattern failure has a bunch of commented out debug 
statements.  I enabled then and ran it again.  The snippet of the trace right 
before the crash looks like this:

Conflictor a1 n1 p1 is
conflictor [
replace ./src/Darcs/Diff.lhs [A-Za-z_0-9\-\.] PackedString B.ByteString
]
|:
replace ./src/Darcs/Diff.lhs [A-Za-z_0-9] smart_diff unsafeDiff
and Conflictor a2 n2 p2 is
conflictor {{
|:
replace ./src/Darcs/Diff.lhs [A-Za-z_0-9] smart_diff unsafeDiff
|:
replace ./src/Darcs/Diff.lhs [A-Za-z_0-9\-\.] PackedString B.ByteString
}} []
|:
replace ./src/Darcs/Diff.lhs [A-Za-z_0-9\-\.] takePS B.take
where n2'nons is
and others are
These came from
{{
|:
replace ./src/Darcs/Diff.lhs [A-Za-z_0-9\-\.] PackedString B.ByteString
}}
n1'n2'nons
{{
|:
replace ./src/Darcs/Diff.lhs [A-Za-z_0-9\-\.] PackedString B.ByteString
}}
from n1' :> n2'
replace ./src/Darcs/Diff.lhs [A-Za-z_0-9\-\.] PackedString B.ByteString
:>
p2
|:
replace ./src/Darcs/Diff.lhs [A-Za-z_0-9\-\.] takePS B.take
p2 fixed
|:
replace ./src/Darcs/Diff.lhs [A-Za-z_0-9\-\.] takePS B.take
n1'
replace ./src/Darcs/Diff.lhs [A-Za-z_0-9\-\.] PackedString B.ByteString
p2
|:
replace ./src/Darcs/Diff.lhs [A-Za-z_0-9\-\.] takePS B.take
darcs: src/Darcs/Patch/Real.hs:(482,21)-(500,99): Irrefutable pattern failed for 
pattern Data.
Maybe.Just a2'o
msg7118 (view) Author: kowey Date: 2009-01-16.14:10:31
Marking as a release target for darcs 2.3 (please override as needed, Thorkil)
msg8148 (view) Author: kowey Date: 2009-08-15.08:54:28
I think it would still be useful to attempt to create a minimal example out of
this (since we have something that's reliably reproducible)
msg11603 (view) Author: tux_rocker Date: 2010-06-27.17:54:16
We are not likely to get this fixed before 2.5. I bump it to 2.6.
msg14750 (view) Author: markstos Date: 2011-10-13.12:48:42
This was opened in 2008 and has been bumped from release to release since 
then. We aren't like to get it to for 2.8, either. Bumping to 2.10.
History
Date User Action Args
2008-11-05 13:57:21koweycreate
2008-11-07 11:50:38koweysetpriority: bug -> urgent
nosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin
2008-11-10 21:45:33koweysetfiles: + ctx, move-patch_filename-out-of-uglyfilename.dpatch
nosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin
status: unread -> unknown
messages: + msg6645
title: pull => src/Darcs/Patch/Real.lhs:(479,21)-(497,99): Irrefutable pattern failed for pattern Data.Maybe.Just a2 (2.1.0+236) -> pull => src/Darcs/Patch/Real.lhs:(479, 21)-(497, 99): Irrefutable pattern failed for pattern Data.Maybe.Just a2 (2.1.0+236)
2008-11-23 16:43:40koweysetfiles: + boom.dpatch
nosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin
messages: + msg6726
2008-11-23 17:19:56dagitsetnosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin
messages: + msg6727
2009-01-16 14:10:35koweysettopic: + Target-2.3
nosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin
messages: + msg7118
2009-08-06 16:05:09koweysettopic: + Target-2.4, - Target-2.3
nosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin
2009-08-10 23:50:41adminsetnosy: - dagit
2009-08-15 08:54:33koweysetstatus: unknown -> needs-reproduction
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin
topic: + Core
messages: + msg8148
2009-08-25 17:33:43adminsetnosy: + darcs-devel, - simon
2009-08-27 14:24:21adminsetnosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin
2009-09-14 10:45:26koweysettopic: + Target-2.5, - Target-2.4
nosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin
2010-06-13 18:03:58koweysetmilestone: 2.5.0
2010-06-15 20:58:58adminsettopic: - Target-2.5
2010-06-27 17:54:17tux_rockersetnosy: + tux_rocker
messages: + msg11603
milestone: 2.5.0 -> 2.8.0
2010-08-06 09:39:46ganeshsetnosy: + ganesh
2011-10-13 12:48:43markstossetmessages: + msg14750
milestone: 2.8.0 -> 2.10.0
2012-01-06 19:13:17koweysetstatus: needs-reproduction -> needs-testcase