sarah-walker-pcem / pcem

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

[git commit c7c8f5e] Pcem core dump on start, while trying to add a new PC. #135

Closed FredBezies closed 2 years ago

FredBezies commented 2 years ago

Describe the bug While using pcem git c7c8f5e, every single time I try to add a new PC, pcem coredumps.

To Reproduce Steps to reproduce the behavior:

  1. Get a build based on commit c7c8f5e
  2. Launch pcem
  3. Click on new button
  4. Add a name
  5. Confirm you want a new emulated PC

Expected behavior Going on and being able to add a new pc

Host machine

FredBezies commented 2 years ago

Adding a first backtrace. bt01.txt

FredBezies commented 2 years ago

Build wxgtk with debug symbol, build once again pcem. Providing a more complete backtrace. bt02.txt

michael-manley commented 2 years ago

There is some API changes going on and some builds from latest commit will be broken,

I am working on it. Linux builds seem to be the only ones affected atm

michael-manley commented 2 years ago

@FredBezies Try now, I think I found the problem, looks like the CD-ROM part was not checking correctly causing a segfault there

FredBezies commented 2 years ago

@FredBezies Try now, I think I found the problem, looks like the CD-ROM part was not checking correctly causing a segfault there

Good catch. Thanks!

Pcem is now launching the configuration panel without problem. Let's close this bug.