bazel icon indicating copy to clipboard operation
bazel copied to clipboard

Exceptions 25% of builds - windows 7.2.0rc2

Open peakschris opened this issue 1 year ago • 2 comments

Description of the bug:

I'm seeing builds failing immediately with exceptions, around 25% of the time.

bazel build //...
Exception 0xc0000006 0x0 0x87790c 0x452ca0
PC=0x452ca0
bazel build //src/build/out:all
Exception 0xc0000006 0x0 0x78527b 0x4031ce
PC=0x4031ce

Which category does this issue belong to?

No response

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

git clone https://github.com/peakschris/bazel7-conan-module-example bazel build //...

Which operating system are you running Bazel on?

windows

What is the output of bazel info release?

release 7.2.0rc2

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse HEAD ?

No response

Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.

Yes, am seeing it for the first time after switching to 7.2.0rc2

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

peakschris avatar May 30 '24 18:05 peakschris

Could you try using bazelisk --bisect to locate the culprit commit?

Wyverald avatar May 30 '24 18:05 Wyverald

I can't reproduce this now in my small workspace where I originally saw it. Can you give me any hints as to where this type of error can originate? I've never seen it before. I'll keep trying.

peakschris avatar May 30 '24 20:05 peakschris

I just saw this again with 7.2.0rc2, it's not 25% of builds, perhaps only 1-5%. I don't think it will be possible to bisect as it is so irregular, but I can try switching to a different commit for a while if you suspect something.

(.venv) D:\workdir\bazel7-conan-module-example>bazel --nosystem_rc --nohome_rc --windows_enable_symlinks build //...
Exception 0xc0000006 0x0 0x7895c5 0x4031ce
PC=0x4031ce

peakschris avatar May 31 '24 08:05 peakschris

Is it possible, that you may have bad clusters on your drive?

malkia avatar Jul 10 '24 14:07 malkia

I'm not seeing this anymore in 7.3.x

peakschris avatar Aug 31 '24 00:08 peakschris