From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
To: Git Mailing List <git@vger.kernel.org>
Subject: bisect ends with a commit marked good and bad
Date: Wed, 15 Feb 2006 02:19:32 -0500 [thread overview]
Message-ID: <E1F9Gwm-0001Dy-3b@approximate.corpus.cam.ac.uk> (raw)
In doing a huge bisect (from 1875 or so revisions but fortunately
log(anything) is not too big) to chase a S3 sleep bug (bugme #5989), I
also noticed another problem. In several 'good' kernels, where S3
sleep-wake worked twice, the fan would not turn on despite the
temperature getting high, after the system went through two sleep-wake
cycles. [In the 'bad' kernels the system hangs on the second sleep, so
I couldn't collect any data about the fan.]
The result is that, for several kernels, I got free bisect data about
this second bug. I tried feeding this data to a fresh bisect, but
bisect says that one particular commit is good and bad. Here's the
script to run bisect:
#!/bin/bash -x
bad="a2d823bf ee408c79 d1138cf0"
good="0f442aa2 49799291 4a90c7e8"
git bisect start
for r in $bad ; do git-bisect bad $r ; done
for r in $good ; do git-bisect good $r ; done
The output:
+ bad='a2d823bf ee408c79 d1138cf0'
+ good='0f442aa2 49799291 4a90c7e8'
+ git bisect start
+ for r in '$bad'
+ git-bisect bad a2d823bf
+ for r in '$bad'
+ git-bisect bad ee408c79
+ for r in '$bad'
+ git-bisect bad d1138cf0
+ for r in '$good'
+ git-bisect good 0f442aa2
d1138cf035ad5a8dc0796b213bd078a2fb92eb7c was both good and bad
+ for r in '$good'
+ git-bisect good 49799291
d1138cf035ad5a8dc0796b213bd078a2fb92eb7c was both good and bad
+ for r in '$good'
+ git-bisect good 4a90c7e8
d1138cf035ad5a8dc0796b213bd078a2fb92eb7c was both good and bad
At first I thought it was impossible for a bug to behave this way, and
concluded that my data must be corrupt, since d1138cf0 is marked bad.
But on further thought, I'm not sure. Maybe there are quadratic
interactions between patches. For example, if a particular bug happens
only when two patches occur together? No, that would result in the
merge of their branches being the problematic commit. So I'm stuck.
Before I conclude that the data is corrupt and spend several hours
retesting several kernels, I thought I'd ask for advice from the
entomologists and bisectors.
How would I use gitk to show the those three good and three bad commits,
and their spanning tree? Neither the man entry nor the examples of its
use in git-bisect taught me enough to use it properly.
-Sanjoy
next reply other threads:[~2006-02-15 7:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-15 7:19 Sanjoy Mahajan [this message]
2006-02-15 8:01 ` bisect ends with a commit marked good and bad Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1F9Gwm-0001Dy-3b@approximate.corpus.cam.ac.uk \
--to=sanjoy@mrao.cam.ac.uk \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).