openmsx crashing on ubuntu bionic ARM

Page 2/2
1 |

By Daemos

Paragon (1668)

Daemos's picture

20-10-2018, 10:01

Will try ASAP. Will report back the results after building and testing. Smile

By Daemos

Paragon (1668)

Daemos's picture

20-10-2018, 13:24

Debug build now compiles perfectly without errors or warnings gdb however now does the following:

android@localhost:~/openMSX/derived$ gdb ./openmsx
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./openmsx...done.
(gdb) bt full
No stack.
(gdb) run
Starting program: /home/android/openMSX/derived/openmsx
warning: Unable to determine the number of hardware watchpoints available.
warning: Unable to determine the number of hardware breakpoints available.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fb263afc0 (LWP 16859)]
[Thread 0x7fb263afc0 (LWP 16859) exited]
[New Thread 0x7fb263afc0 (LWP 16860)]
ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
error: Could not open sequencer: No such file or directory
[New Thread 0x7fb1d97fc0 (LWP 16861)]

Thread 1 "openmsx" received signal SIGSEGV, Segmentation fault.
0x0000007fb728e670 in ?? () from /usr/lib/aarch64-linux-gnu/libGLX.so.0
(gdb) bt full
#0  0x0000007fb728e670 in ?? () from /usr/lib/aarch64-linux-gnu/libGLX.so.0
No symbol table info available.
#1  0x0000007fb729f000 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

By Manuel

Ascended (14738)

Manuel's picture

20-10-2018, 14:46

Looks like the crash happened in your libGLX.so, so your OpenGL library. This bug should be reported to Ubuntu on the package libglx0 (probably).

As a workaround you can disable the OpenGL rendering by manually editing your settings.xml (normally you don't need this, but because of the crash in your GL library, there is no other way).
Your settings.xml is in ~/.openMSX/share/settings.xml
At the settings section add a line:
<setting id="renderer">SDL</setting>

By Daemos

Paragon (1668)

Daemos's picture

20-10-2018, 14:55

Workaround did the trick. Openmsx starts with success will now compile the debugger and test. Opengl is noy availablr on my arm system but will try to report the bug to the lib authors.

Team openmsx. You guys are awesome.

By Manuel

Ascended (14738)

Manuel's picture

20-10-2018, 15:03

And you're a great user to work out problems with! Smile Thanks for being so helpful in investigating. Report the bug to the ubuntu package. In Debian (probably Ubuntu as well?) you can do: reportbug libglx0

Page 2/2
1 |
My MSX profile