Programming and the OS environment

davexnet

Member
Jun 2, 2001
90
0
66
I was following a thread on Mozilla Firefox and the bug had to do with executing AVX (Advanced
vector extensions) instructions and the code crashing with exception_illegal_instruction.
For these instructions to work, the CPU be must at or newer than Sandy Hook or
Bulldozer (AMD). Also, for AVX, the Windows version must be at least Windows 7 SP1.,
otherwise similar fail.

Now there are routines in the Mozilla code to test for the operating environment, but it is
sometimes fails, does not detect the situation properly, and crashes.

There is a scenario I've personally experienced but I've yet to prove it, that may affect the
above programming. A processor that supports the instructions and Windows XP. My
theory is that those with a dual boot system, for example Windows 10, first loads the Win 10
boot loader, then passes control to NTLDR to complete the XP logon. This is Vs. a native XP installation, where the XP bootsector / NTLDR gets control directly.

Could there be something lurking in the environment, perhaps the contents of a register that is
affecting the code that determines if it safe to run AVX instructions?
 

davexnet

Member
Jun 2, 2001
90
0
66
oops... I mean Sandy Bridge !

What about my scenario, though ? What other possibilities remain that explain what I see?

I experience crashes in various software, such as Firefox and the avast anti-virus, but only when I use
XP that's been booted through the Windows 10 boot loader.

So I've been using XP's recovery console ("fixboot" command) to restore its own loader, and once this is done,
the errant behavior stops and I experience no more issues.

Any thoughts? Anybody with debugging experience willing to take a look at some diagnostic materials ?
https://crash-stats.mozilla.com/report/index/28ff9c2c-63e6-4346-b4cf-48f382161105
 

John Connor

Lifer
Nov 30, 2012
22,757
618
121
I really don't know, but in my humble opinion, Win 10 is a pile of crap. I think it's very flacky from all the post's I've seen across many forums. If you need to use XP I would load it into VMware's VM Player now called something else which I can't remember.
 

davexnet

Member
Jun 2, 2001
90
0
66
I like the speed and responsiveness of running it directly, don't want to use VM.
I have a similar feeling about Windows 10 and may drop it completely. Since I had a motherboard change
it is no longer activated I'll eventually have to buy something.

For now I've simply abandoned Windows 10. For all intents and purposes, it's out of the picture
since it's boot loader has been over written with the native XP loader. I use XP much more often so
that's fine for now.

Regarding the problem, I'm hoping somebody with debugging experience might be able to assist.
What does exception_illegal_instruction actually mean? In my mind, it was a real instruction not supported
by the environment, or some garbage was picked up due to memory corruption (or similar).
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |