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

Segfault on PPC GNUSPE #21658

Open
alucryd opened this issue May 28, 2023 · 0 comments
Open

Segfault on PPC GNUSPE #21658

alucryd opened this issue May 28, 2023 · 0 comments

Comments

@alucryd
Copy link

alucryd commented May 28, 2023

Steps to Reproduce

  1. Build a powerpc-unknown-linux-gnuspe toolchain with crosstool
  2. Build mono 6.12.0.182
  3. Try running emby with the built mono (https://github.com/MediaBrowser/Emby.Releases/releases/download/4.7.12.0/embyserver-netframework_4.7.12.0.zip)

Current Behavior

We run our server on a variety of old devices using mono, it's working pretty much great everywhere (including armv5te) but fails on ppc gnuspe. We have a workaround for ther arm platforms but it's not working for this particular one. Workaround is passing -O=-aot,-float32,-inline.

Expected Behavior

The server should not segfault. I understand PPC is community-supported, but any help would be appreciated.

On which platforms did you notice this

[ ] macOS
[x] Linux
[ ] Windows

Version Used:

6.12.0.182

Stacktrace

=================================================================
	Native Crash Reporting
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
	Native stacktrace:
=================================================================
	0x1006b8cc - bin/mono :
	0x1006baa4 - bin/mono :
	0x10045518 - bin/mono :
	0x10015948 - bin/mono :
	0x100350 - linux-vdso32.so.1 : __kernel_sigtramp_rt32
	0x6 - Unknown
	(nil) - Unknown
	0xfce0f00 - /var/packages/EmbyServer/target/lib/libc.so.6 : vsnprintf
	0xfcbc81c - /var/packages/EmbyServer/target/lib/libc.so.6 : snprintf
	0x4e84aaf0 - Unknown
	0x4e84a794 - Unknown
	0x4e84a2bc - Unknown
	0x4e849fd0 - Unknown
	0x4e849dd0 - Unknown
	0x4e848588 - Unknown
	0x4e73b81c - Unknown
	0x4e73a70c - Unknown
	0x4e73a4d8 - Unknown
	0x4e73a2ac - Unknown
	0x4cb44eac - Unknown
	0x4cb44bbc - Unknown
	0x4cb449cc - Unknown
	0x4cb4463c - Unknown
	0x4e739d44 - Unknown
	0x4e737180 - Unknown
	0x4b1e3fc0 - Unknown
	0x4b1dd5a8 - Unknown
	0x4b1dcf3c - Unknown
	0x4b1dce0c - Unknown
	0x4b1dc12c - Unknown
	0x4b1d7744 - Unknown
	0x4b1d7614 - Unknown
	0x4ad3d6ec - Unknown
	0x4824a03c - Unknown
	0x4824a578 - Unknown
	0x1001e1ec - bin/mono :
	0x101a85f0 - bin/mono :
	0x101aaaac - bin/mono :
	0x100230bc - bin/mono : mono_jit_exec
	0x10025038 - bin/mono : mono_main
	0x10014f64 - bin/mono :
	0xfc83c74 - /var/packages/EmbyServer/target/lib/libc.so.6 :
	0xfc83e00 - /var/packages/EmbyServer/target/lib/libc.so.6 : __libc_start_main

=================================================================
	External Debugger Dump:
=================================================================
mono_gdb_render_native_backtraces not supported on this platform, unable to find gdb or lldb

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0xfcf6fc4):0xfcf6fb4  70 69 00 03 54 88 06 3e 93 c1 00 08 41 82 00 3c  pi..T..>....A..<
0xfcf6fc4  89 23 00 00 7f 89 40 40 41 9e 00 e0 2f 89 00 00  .#....@@A.../...
0xfcf6fd4  40 be 00 1c 48 00 00 d4 89 23 00 00 7e 89 40 40  @...H....#..~.@@
0xfcf6fe4  2f 89 00 00 41 96 00 c4 41 9e 00 c0 38 63 00 01  /...A...A...8c..

=================================================================
	Managed Stacktrace:
=================================================================
Segmentation fault (core dumped)
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