2004-05-19-001
BugManager Home
Submit Bug
Simple Query
Advanced Query
                   

Id2004-05-19-001
Summary
Type
Severity
Priority
Status
Program
Release
OS
Submitter
Owner
Interest list
Path to test cases
ChangeSet Key

Attachments

Edit attachments

Description
During my first pull after upgrading to 3.2 I get
Applying 869 revisions to ChangeSet bk: takepatch.c:1341: applyCsetPatch: Assertion `s && s->tree' failed.
1473523 bytes uncompressed to 6114263, 4.15X expansion
reiserfs file system 2.6.6-mm2 kernel
I have been using bk since Linus started using it...
removing RESYNC and retrying repeats the error.
after bk -r check -df it works.

Suggestion
since bk -r check -df, fixes it maybe bk should force this the first
time it runs on an old tree after an upgrade...

Updated on 2004/05/18 by lm@bitmover.com:
Please add the output of the bk -r check -df to the bug report and we'll
try and figure out what is going on. You shouldn't have had a problem.

Updated on 2004/05/18 by rick@bitmover.com:
> Applying 869 revisions to ChangeSet bk: takepatch.c:1341: applyCsetPatch: \
> Assertion `s && s->tree' failed.
> 1473523 bytes uncompressed to 6114263, 4.15X expansion
> reiserfs file system 2.6.6-mm2 kernel

There is a possible bug in the kernel.
Please compile this program into something, like prog. then
  ./prog < RESYNC/SCCS/s.ChangeSet
And send us the output.

#include <stdio.h>
main()
{
 int c, where = -1, line = 0;
 int start;
 int null = 0;

 while ((c = getchar()) != EOF) {
  where++;
  if (c == '\n') line++;
  if (c && null) {
  fprintf(stderr,
  "Found null start 0x%x end 0x%x len 0x%x line %d\n",
  start, where, where - start, line);
  }
  if (c) {null = 0; continue;}
  if (null) continue;
  start = where;
  null = 1;
 }
}

Updated on 2004/05/18 by wscott@bitmover.com:
Change Status to open

This is the null file bug report from Steven Cole.
If you disable PREEMPT in your kernel the problem will go away.
This is a known kernel bug.

Updated on 2004/05/18 by wscott@bitmover.com:
Rename: bugs/new/2004-05-19-001 -> bugs/open/2004-05-19-001
Delete: bugs/new/2004-05-19-001

Updated on 2004/05/19 by wscott@bitmover.com:
Change Owner to wscott@bitmover.com
Change Interest list to bitkeeper@bitmover.com, tomlins@cam.org

Updated on 2004/10/14 by wscott@bitmover.com:
Change Status from open to closed

Add updates to description here: