Menu

#499 unexpected CPU exception 0x0d err=0x00000000 cr2=0010f487 while in vm86 (DOS)

fixed_in_git
open
nobody
None
5
2018-10-13
2013-08-22
emezeta
No

Exception occur while running an old clipper application during intensive i/o operation. (re-indexing)
The dbf database files are shared over nfs on both gnu/linux 3.x systems.

1 Attachments

Discussion

  • Stas Sergeev

    Stas Sergeev - 2013-08-22

    cpuemu crash.
    It would be very nice if you build your
    dosemu from git branch "devel" with debug info,
    and attach the log from that.
    If you really need to run that app right now,
    you can install a 32bit linux, and then dosemu
    will not crash (or try dosbox).

     
  • emezeta

    emezeta - 2013-08-23

    done! (i hope)

    --- screen messages after exception ---------------------------------------

    ERROR: Accessing reserved memory at 7f524b8c3930
    Maybe a null segment register
    ERROR: cpu exception in dosemu code outside of VM86()!
    trapno: 0x0e errorcode: 0x00000006 cr2: 0x7f524b8c3930
    eip: 0x00424ea0 esp: 0x7f5238060370 eflags: 0x00010206
    cs: 0x0033 ds: 0x0000 es: 0x0000 ss: 0x002b
    ...
    Page fault: write instruction to linear address: 0x7f524b8c3930
    CPU was in user mode
    Exception was caused by non-available page
    --- END screen messages after exception ------------------------------------

    boot.log contents is in attached file

    Regards,

     
  • Stas Sergeev

    Stas Sergeev - 2013-08-23

    You compiled from branch "master"
    not "devel", but that's ok.
    What is not ok is that you haven't
    enabled debug info. Use
    ./default-configure -d

     
    • emezeta

      emezeta - 2013-08-24

      here we go again:

      --- screen messages after exception -------------------------------
      ERROR: Accessing reserved memory at 7fe45c109930
      Maybe a null segment register
      ERROR: cpu exception in dosemu code outside of VM86()!
      trapno: 0x0e errorcode: 0x00000006 cr2: 0x7fe45c109930
      eip: 0x0042345e esp: 0x7fe448047ed0 eflags: 0x00010206
      cs: 0x0033 ds: 0x0000 es: 0x0000 ss: 0x002b
      ...
      Page fault: write instruction to linear address: 0x7fe45c109930
      CPU was in user mode
      Exception was caused by non-available page
      --- END screen messages after exception -----------------------------

      boot.log attached

      hope the best...

       
  • Stas Sergeev

    Stas Sergeev - 2013-08-24

    Hmm, this looks like a completely
    different crash. If it has a different
    conditions, please open a new ticket for
    it and add a new description.
    Also, for this one please use the
    branch "devel",

    git checkout devel

    Thank you.

     
    • emezeta

      emezeta - 2013-08-24

      Sorry, I get the code like this:
      $ git clone git://git.code.sf.net/p/dosemu/code dosemu
      then
      $ cd dosemu
      $ ./default-configure -d
      $ make
      $ make install
      $ dosemu -Da
      ...
      could you show me the right way, please?

      Greetings
      Marcelo

       

      Last edit: emezeta 2013-08-25
      • Stas Sergeev

        Stas Sergeev - 2013-08-25

        then
        cd dosemu

        At this point:

        git checkout devel

        Also, -Da is unnecessary and produces a
        too large logs. For the last crash something
        like -D9+v is enough.

         
        • emezeta

          emezeta - 2013-08-25

          here we go again...
          and may the Force be with us!

           
  • Stas Sergeev

    Stas Sergeev - 2013-08-25

    I did some changes that should fix some
    oddity I've found in the log (not related
    to crash), so please do


    git pull

    and update the log.

    Would you mind opening a new ticket for
    that completely different crash, and describe
    the way to reproduce it?
    Also try "dosemu -S" and see if the crash
    is the same.

     
  • Klaus

    Klaus - 2018-10-13

    I've got apparently the same issue since a few months after updating my (rolling release) Manjaro Linux system. Unfortunately I can't tell what exactly made the difference that dosemu was working until then.

    But I found a work-around for me that may be useful for others as well:
    dosemu -2
    selects a 286 CPU and that avoids the crash :-)

     
    • Stas Sergeev

      Stas Sergeev - 2018-10-13

      This dosemu version and the tracker
      is no longer supported. Ask manjaro to
      provide something more recent, as
      arch linux already does.

       

Log in to post a comment.