joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.75k stars 381 forks source link

Constantly moving the mouse causes Windows 98 to freeze #3801

Open ThomasEricB opened 1 year ago

ThomasEricB commented 1 year ago

Describe the bug

Yikes, I just found a nasty bug. Moving your mouse too fast causes Windows 98 to freeze and if you continuously do so will make it crash. See: https://youtu.be/IRprhj5nW-A?t=172 for the exact time of the crash. See entire video to confirm it was running.

Originally posted by @ThomasEricB in https://github.com/dosbox-staging/dosbox-staging/discussions/2054#discussioncomment-4011317

Somewhat similar (but not quite) to the issues #331 (from DOSBox-X!) and https://github.com/dosbox-staging/dosbox-staging/issues/1897 (from Dosbox Staging)

This happening with DOSBox-x: https://www.youtube.com/watch?v=vJWAVKHuKdI

Also reproducible with DOSBox-staging: https://github.com/dosbox-staging/dosbox-staging/issues/2056

Steps to reproduce the behaviour

Explain how to reproduce

  1. Run WIndows 98
  2. Move your mouse continuously
  3. Mouse causes DOSBox to freeze

Expected behavior

Mouse not causing issues (lag/freezes/crashes).

What operating system(s) this bug have occurred on?

Windows 10

What version(s) of DOSBox-X have this bug?

0.84.1

Used configuration

[In Additional Information]

Output log

No response

Additional information

DOSBox-X conf file: https://gist.github.com/ThomasEricB/f965be65ad796eba74d9a2b02497a6a1

Both Windows 98 img file used to test this (found this browsing through archive dot org): https://archive.org/details/windows-98_202207 and https://archive.org/details/windows-98-in-dosbox-x (in the last one is not the same dosbox-x files, just the image)

Daemon Tools used: https://www.philscomputerlab.com/daemon-tools-windows-98.html

CPU: Intel (R) Core (TM) i7-7700k CPU @ 4.2GHz RAM: 32,00 GB GPU: GeForce GTX 1080ti 11GB

Have you checked that no similar bug report(s) exist?

Code of Conduct & Contributing Guidelines

joncampbell123 commented 1 year ago

Is this with normal core? dynamic core?

x86 dynamic core is known to have issues when page faults are involved with preemptive multitasking in Windows 95/98. dynamic_dynrec may be more stable.

ThomasEricB commented 1 year ago

Is this with normal core? dynamic core?

x86 dynamic core is known to have issues when page faults are involved with preemptive multitasking in Windows 95/98. dynamic_dynrec may be more stable.

I've sent my DOSBOX-X conf file above (in a gist), you mistakenly missed it! But yeah, @joncampbell123 it was core=dynamic