Last modified: 2008-05-02 03:15:37 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11533, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9533 - Erratic corrupted diff (repeated lines, etc.)
Erratic corrupted diff (repeated lines, etc.)
Product: MediaWiki extensions
Classification: Unclassified
wikidiff2 (Other open bugs)
PC Linux
: Normal major with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
: 2305 9901 10000 10511 11352 13129 13575 13704 13851 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2007-04-08 21:56 UTC by Marti Raudsepp
Modified: 2008-05-02 03:15 UTC (History)
13 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Marti Raudsepp 2007-04-08 21:56:52 UTC
Wikipedia is occasionally (very rarely?) showing diffs that are inconsistent
with the article content. Upon purging the diff cache, everything looks OK
again. Unfortunately, the cache of this incident has been purged already, so it
cannot be reproduced any more.

Screenshot at the time of my particular incident:

Discussion on #wikimedia-tech, confirming other people also seeing this, and
suggesting that it's not an isolated incident:

[08 21:24'31] <intgr> WTF, see this edit:
[08 21:24'52] <intgr> It appears as if the person added three links to the
article, but the preview only shows one at the end.
[08 21:27'41] <intgr> Can anyone confirm that it doesn't just appear that way to me?
[08 21:27'41] <Duesentrieb> intgr: that's... scarry.
[08 21:28'37] <Duesentrieb> domas: yea, right
[08 21:28'54] <Duesentrieb> intgr: yes, me.
[08 21:28'55] <Splarka> intgr: that does look like a funky diff
[08 21:29'08] <Duesentrieb> domas: look at intgr's diff link
[08 21:29'48] <domas> whats in it?
[08 21:29'57] <Simetrical> domas: Diff doesn't match the resultant text.
[08 21:30'04] <Duesentrieb> domas: the diff shows bogus changes
[08 21:30'11] <domas> hehe
[08 21:30'13] <domas> interesting
[08 21:32'30] <Splarka> another funky diff:
 (reported in 
VP/T April 6th)
[08 21:32'39] <domas> refresh
[08 21:32'52] <domas> hehe
[08 21:33'13] <domas> 'unknown exception'
[08 21:33'24] <domas> ok, I guess I destroyed traces of previous diff corruption
[08 21:33'43] <Splarka> and another one from 3 days ago:
[08 21:34'34] <Splarka> (but that one seems fix-ed now)
[08 21:34'39] <Duesentrieb> domas: tnx for fixing it
[08 21:34'50] <domas> its not fixing
[08 21:34'52] <intgr> Sounds like duct tape.
[08 21:34'54] <domas> I just purged the diff cache
[08 21:35'09] <Duesentrieb> domas: well, as long as the funky stuff doesn't get
in there again...
[08 21:35'22] <intgr> Well, it'll happen again sooner or later.
[08 21:35'28] <Splarka> the quicker differ cacher purger
Comment 1 Brion Vibber 2007-04-09 19:28:44 UTC
Could be a bug or inconsistency in the wikidiff2 extension...

All live Apaches seem to have consistent copies (all 32-bit same, all 64-bit
same, and all same date).
Comment 2 Marti Raudsepp 2007-06-01 06:03:35 UTC
Another instance of this bug:
If you try to "undo" it, the change turns out to be completely different:

I took screenshots of this just in case someone resets the diff cache again:
Comment 3 Rob Church 2007-07-22 23:38:53 UTC
As of r24326, users can use "action=purge" on a difference page to force the cache to be skipped and regenerated (if applicable) for that request.
Comment 4 Rob Church 2007-09-16 12:44:08 UTC
*** Bug 11352 has been marked as a duplicate of this bug. ***
Comment 5 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-12-16 21:05:21 UTC
*** Bug 9901 has been marked as a duplicate of this bug. ***
Comment 6 Tim Starling 2008-02-26 04:47:40 UTC
*** Bug 13129 has been marked as a duplicate of this bug. ***
Comment 7 Tim Starling 2008-02-26 04:53:20 UTC
Changing component to wikidiff2, there's really no other explanation. 
Comment 8 Brion Vibber 2008-04-11 20:43:52 UTC
*** Bug 13704 has been marked as a duplicate of this bug. ***
Comment 9 Brion Vibber 2008-04-11 20:44:07 UTC
*** Bug 13575 has been marked as a duplicate of this bug. ***
Comment 10 Low Sea 2008-04-21 09:25:16 UTC
Looks like I have seen this bug too and reported it as a comment under Bug 10511 where other folks are also reporting it. Then I noticed Bug 9112 and if that description is accurate then there may be a very serious problem.
Comment 11 Brion Vibber 2008-04-26 23:24:17 UTC
*** Bug 13851 has been marked as a duplicate of this bug. ***
Comment 12 Brion Vibber 2008-04-26 23:25:25 UTC
Have hopefully resolved this with fresh recompile.

Once we got some logging in, the buggy output seemed to be limited to Fedora Core 4 machines; on the assumption that an FC3-compiled binary (which worked on FC3 machines) was misbehaving on FC4, I recompiled on FC4 and haven't had any logged failures since.
Comment 13 Brion Vibber 2008-04-26 23:27:11 UTC
*** Bug 10000 has been marked as a duplicate of this bug. ***
Comment 14 Brion Vibber 2008-04-26 23:53:15 UTC
*** Bug 2305 has been marked as a duplicate of this bug. ***
Comment 15 Brion Vibber 2008-04-27 00:18:06 UTC
*** Bug 10511 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.