Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core dump when attempting to run wxwabbitemu on fedora 40 #21

Open
back-lacking opened this issue Nov 13, 2024 · 0 comments
Open

core dump when attempting to run wxwabbitemu on fedora 40 #21

back-lacking opened this issue Nov 13, 2024 · 0 comments

Comments

@back-lacking
Copy link

back-lacking commented Nov 13, 2024

So i just compiled and built wxwabbitemu using the instructions from this issue #15

trying to run wxwabbitemu after building it leads to this error.

[1]    380249 segmentation fault (core dumped)  ./wxWabbitemu

cmake . terminal output

CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 14.2.1
-- The CXX compiler identification is GNU 14.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found wxWidgets: -pthread;;;-lwx_baseu_net-3.2;-lwx_gtk3u_core-3.2;-lwx_baseu-3.2 (found version "3.2.4")
-- Configuring done (1.7s)
-- Generating done (0.0s)
-- Build files have been written to: /home/timmy/wxwabbitemu

make terminal output

[  2%] Building CXX object CMakeFiles/wxWabbitemu.dir/core/core.c.o
[  5%] Building CXX object CMakeFiles/wxWabbitemu.dir/core/alu.c.o
[  7%] Building CXX object CMakeFiles/wxWabbitemu.dir/core/control.c.o
[ 10%] Building CXX object CMakeFiles/wxWabbitemu.dir/core/device.c.o
[ 12%] Building CXX object CMakeFiles/wxWabbitemu.dir/core/indexcb.c.o
[ 15%] Building CXX object CMakeFiles/wxWabbitemu.dir/interface/calc.c.o
[ 17%] Building CXX object CMakeFiles/wxWabbitemu.dir/interface/state.c.o
[ 20%] Building CXX object CMakeFiles/wxWabbitemu.dir/utilities/exportvar.c.o
[ 22%] Building CXX object CMakeFiles/wxWabbitemu.dir/utilities/fileutilities.c.o
[ 25%] Building CXX object CMakeFiles/wxWabbitemu.dir/utilities/gif.c.o
[ 27%] Building CXX object CMakeFiles/wxWabbitemu.dir/utilities/gifhandle.c.o
[ 30%] Building CXX object CMakeFiles/wxWabbitemu.dir/utilities/label.c.o
[ 32%] Building CXX object CMakeFiles/wxWabbitemu.dir/utilities/savestate.c.o
[ 35%] Building CXX object CMakeFiles/wxWabbitemu.dir/utilities/sendfile.c.o
[ 37%] Building CXX object CMakeFiles/wxWabbitemu.dir/utilities/var.c.o
[ 40%] Building CXX object CMakeFiles/wxWabbitemu.dir/hardware/81hw.c.o
/home/timmy/wxwabbitemu/hardware/81hw.c: In function ‘void port0(CPU_t*, device_t*)’:
/home/timmy/wxwabbitemu/hardware/81hw.c:18:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   18 |                 dev->aux = (LPVOID) (0x100 * ((cpu->bus % 0x20) + 0xE0));
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/timmy/wxwabbitemu/hardware/81hw.c: In function ‘void port4(CPU_t*, device_t*)’:
/home/timmy/wxwabbitemu/hardware/81hw.c:92:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   92 |                 dev->aux = (void *) cpu->bus;
      |                            ^~~~~~~~~~~~~~~~~
[ 42%] Building CXX object CMakeFiles/wxWabbitemu.dir/hardware/83hw.c.o
[ 45%] Building CXX object CMakeFiles/wxWabbitemu.dir/hardware/83phw.c.o
[ 47%] Building CXX object CMakeFiles/wxWabbitemu.dir/hardware/83psehw.c.o
[ 50%] Building CXX object CMakeFiles/wxWabbitemu.dir/hardware/86hw.c.o
/home/timmy/wxwabbitemu/hardware/86hw.c: In function ‘void port0(CPU_t*, device_t*)’:
/home/timmy/wxwabbitemu/hardware/86hw.c:23:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   23 |                 dev->aux = (LPVOID) (0x100 * ((cpu->bus % 0x40) + 0xC0));
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/timmy/wxwabbitemu/hardware/86hw.c: In function ‘void port4(CPU_t*, device_t*)’:
/home/timmy/wxwabbitemu/hardware/86hw.c:101:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  101 |                 dev->aux = (void *) cpu->bus;
      |                            ^~~~~~~~~~~~~~~~~
[ 52%] Building CXX object CMakeFiles/wxWabbitemu.dir/hardware/keys.c.o
[ 55%] Building CXX object CMakeFiles/wxWabbitemu.dir/hardware/lcd.c.o
[ 57%] Building CXX object CMakeFiles/wxWabbitemu.dir/hardware/link.c.o
[ 60%] Building CXX object CMakeFiles/wxWabbitemu.dir/gui/gui.cpp.o
[ 62%] Building CXX object CMakeFiles/wxWabbitemu.dir/gui/guiapp.cpp.o
[ 65%] Building CXX object CMakeFiles/wxWabbitemu.dir/gui/guiskinwindow.cpp.o
[ 67%] Building CXX object CMakeFiles/wxWabbitemu.dir/gui/guilcd.cpp.o
[ 70%] Building CXX object CMakeFiles/wxWabbitemu.dir/gui/guivartree.cpp.o
[ 72%] Building CXX object CMakeFiles/wxWabbitemu.dir/gui/droptarget.cpp.o
[ 75%] Building CXX object CMakeFiles/wxWabbitemu.dir/gui/wizard/wizardstart.cpp.o
[ 77%] Building CXX object CMakeFiles/wxWabbitemu.dir/gui/wizard/wizardcalctype.cpp.o
[ 80%] Building CXX object CMakeFiles/wxWabbitemu.dir/gui/wizard/wizardos.cpp.o
[ 82%] Building CXX object CMakeFiles/wxWabbitemu.dir/gui/wizard/romwizard.cpp.o
[ 85%] Building CXX object CMakeFiles/wxWabbitemu.dir/debugger/guidebug.cpp.o
[ 87%] Building CXX object CMakeFiles/wxWabbitemu.dir/debugger/disassemblyview.cpp.o
[ 90%] Building CXX object CMakeFiles/wxWabbitemu.dir/debugger/disassemble.c.o
[ 92%] Building CXX object CMakeFiles/wxWabbitemu.dir/debugger/panes/regpane.cpp.o
[ 95%] Building CXX object CMakeFiles/wxWabbitemu.dir/debugger/panes/flagspane.cpp.o
[ 97%] Building CXX object CMakeFiles/wxWabbitemu.dir/debugger/panes/cpupane.cpp.o
[100%] Linking CXX executable wxWabbitemu
/usr/bin/ld: CMakeFiles/wxWabbitemu.dir/utilities/savestate.c.o: in function `WriteSave(wchar_t const*, SAVESTATE_t*, int)':
savestate.c:(.text+0x3c2b): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
[100%] Built target wxWabbitemu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant