Hi Julius,

> I'm not sure whether all crash bugs are really bugs or whether it is
> sometimes intended. When I run GRUB4DOS (version 0.4.5c), current GIT
> crashes with the following output:

In which context? Did you try to install GRUB on the MBR
of some diskimage-based drive? Note that redirect-drives
(where your DOS disk contains the files of some directory
in Linux) behave more like network drives for DOS, they
thus give at most a bit of FAT drive / MBR disk feeling.

> ERROR: unexpected CPU exception 0x0d err=0x00000000 cr2=00000000 while
> in vm86 (DOS)
> Program=sigsegv.c, Line=193
> EIP: 0000:00005f82 ESP: 256e:00000bee  VFLAGS(b): 00000 00111010 10000110
> EAX: 0040de00 EBX: 0002ace0 ECX: 00000000 EDX: 00000000 VFLAGS(h): 00003a86
> ESI: 000c4000 EDI: 00001000 EBP: 0000091e DS: 256e ES: c400 FS: 2540 GS:
> 2024

It is interesting that 386-specific things like high half of
EAX, EBX, ESI are active and FS and GS in use here and that
your "EIP" (CS:EIP) is in 0000:..., might be half of a null
pointer or something related to attempting a mode switch?

> FLAGS: PF SF IF OF RF VM VIF  IOPL: 3
> STACK: 01 58 72 c9 8b 74 30 01 de 89 -> 75 06 80 0d 04 f6 05 02 74 03
> OPS  : 00 00 00 00 00 00 00 00 00 ff -> ff ff ff ff ff 02 00 00 00 00
>         ff                  0000:5f82 db FF

Apparently your crash happened when you tried to execute an
area of memory which is first empty (00s are valid code) and
then is not (ffs are not valid code). That would again bias
my suspicions towards null pointers, but 5f82 is a lot and
GRUB is related to booting, so it may also have been trying
to set up something in the first 64 kB of RAM deliberately.

> I can imagine that this is not really intended to work however, but I
> would expect something other than just a crash in this case.

I leave further analysis to the real experts, but maybe you
can give more details about which steps brought you to the
crash situation :-)

> Should I report such things in the bugtracker as well or is this just
> intended behavior?

Personally, I would say investigate a bit more, wait for
expert feedback, then file it for tracking in some way.

Regards, Eric



------------------------------------------------------------------------------
Own the Future-Intel® Level Up Game Demo Contest 2013
Rise to greatness in Intel's independent game demo contest.
Compete for recognition, cash, and the chance to get your game 
on Steam. $5K grand prize plus 10 genre and skill prizes. 
Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d
_______________________________________________
Dosemu-devel mailing list
Dosemu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dosemu-devel

Reply via email to