So I came across that really weird Interrupt 0/Divide by Zero fault problem a week or so ago (http://www.mega-tokyo.com/forum/index.p ... eadid=5180) and I am completely at a loss. I haven't been able to get *any* other machine to duplicate the error.
So, in this position, what would you personally do? You've got a problem with no leads and no idea how to fix it, but it seems to only happen in one place. Would you toil over the problem or just continue on the other platforms that don't exhibit the problem?
Matter of Opinion.
Re:Matter of Opinion.
I would continue development elsewhere, but keep looking into the problem. Wheneven I could, I would test on different machines in the hope that I could reproduce the error somewhere else.
I had a similar problem where the MM startup code would only crash on one machine. After about a year I got hold of a copy of Virtual PC, which had exactly the same problem. Turned out I wasn't zeroing new page tables properly, and once I knew that, I fixed the problem easily.
I had a similar problem where the MM startup code would only crash on one machine. After about a year I got hold of a copy of Virtual PC, which had exactly the same problem. Turned out I wasn't zeroing new page tables properly, and once I knew that, I fixed the problem easily.
Re:Matter of Opinion.
Hm... how much code do you actually have, in all? Would brute-force searching your code for / and % be an option? (There shouldn't be much in the way of division / modulo in average kernel code...)
Every good solution is obvious once you've found it.
- Pype.Clicker
- Member
- Posts: 5964
- Joined: Wed Oct 18, 2006 2:31 am
- Location: In a galaxy, far, far away
- Contact:
Re:Matter of Opinion.
i would allocate 80-90% of my time on the "go on where it works" and 10-20% on the "why the **** doesn't it work here". Imho, such weird bugs require you to have a fresh view on your code, which you're unlikely to have if you're working 100% on it, but that you may get if you look calmly at paper-printed code, cross-checking it with paper-printed, handscript annotated reliable technical docs (i mean, not a hobby-written html but rather HELPPC or some vendor-provided PDF).
Re:Matter of Opinion.
*sigh* yeah, that sounds good. Fresh ground is always appealing. It was such a pain too, because the only machine that showed the error is the only machine I can dev on ( ) so I had to reboot every two minutes making simple debug changes.
Anyway, thanks, and off to a little memory management I go.
Anyway, thanks, and off to a little memory management I go.
Re:Matter of Opinion.
Just out of morbid curiousity, what's the specs on that particular machine?