Bochs: Difference between revisions

Jump to navigation Jump to search
No change in size ,  14 years ago
m
Fixed grammar
[unchecked revision][unchecked revision]
mNo edit summary
m (Fixed grammar)
Line 31:
 
===fetch_raw_descriptor: LDTR.valid=0===
Many of you have said "but ... I do not have an LDT and iI read it wasn't mandatory!?". You're right. And so is BOCHS. This message usually means that your program tried to load a selector with some garbage value, which happened to have the 3rd bit (Table Indicator) set. The CPU will try to look up the descriptor in the LDT, but there's no LDT registered! In most cases, the error comes from some mispairing of push and pop on the stack, which lead to a non-selector value to be loaded in a segment register.
 
If you're still stuck, download the Bochs sources package and search for the message you received. Then, maybe you can add extra information to the message-printing code (like the faulty offset of a segfault, the segment limit, etc). But keep away from modifying Bochs' operations! Every time I suspected a bug in Bochs, I was just misunderstanding the Intel Manual...
252

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu