sarah-walker-pcem / pcem

PCem
http://pcem-emulator.co.uk
GNU General Public License v2.0
1.47k stars 204 forks source link

Dropdown boxes in GUI Config cause hangs #170

Open kirbysuperstar opened 1 year ago

kirbysuperstar commented 1 year ago

Describe the bug Most dropdown boxes in the configuration cause the application to hang, increase the amount of CPU cycles used (i.e., the fan will ramp up a little bit) and draw the dropdown on top of any other windows. In v17 this is mostly limited to making a new HDD, choosing its size or format, but in vNext it happens when trying to change the CPU for example. It never recovers and has to be force killed.

As far as I can tell with Process Explorer the main thread is still running but I'm not cluey enough to figure out why it's stopped at all. I thought it might have been due to the external hard drive I have (as well as mounted shares) but disconnecting/dismounting them doesn't change the problem in any way and it also still happens in Safe Mode.

To Reproduce Steps to reproduce the behavior:

  1. Create a new or edit an existing machine config
  2. Go to Disks
  3. Create new disk or just try to change the disk type to CD-ROM
  4. Click the drop down for Type

Host machine

pcem.zip

Minidump attactched, not sure how useful it will be but I can try and supply whatever else if needed.

michael-manley commented 1 year ago

I did assign this to v18 as a major bug but might be irrelevant with the whole recode to Qt. I have yet to switch release/debug builds to Qt as it is unbuildable at this moment.