| Server IP : 82.208.35.60 / Your IP : 216.73.217.167 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/games/opendungeons/files/ |
Upload File : |
--- source/utils/StackTraceUnix.cpp.orig 2016-08-24 19:52:29 UTC
+++ source/utils/StackTraceUnix.cpp
@@ -105,9 +105,9 @@ void StackTracePrintPrivateData::critErrHandler(int si
sig_ucontext_t* uc = static_cast<sig_ucontext_t*>(ucontext);
#if defined(__i386__) // gcc specific
- caller_address = reinterpret_cast<void*>(uc->uc_mcontext.eip); // EIP: x86 specific
+ caller_address = reinterpret_cast<void*>(uc->uc_mcontext.sc_eip); // EIP: x86 specific
#elif defined(__x86_64__) // gcc specific
- caller_address = reinterpret_cast<void*>(uc->uc_mcontext.rip); // RIP: x86_64 specific
+ caller_address = reinterpret_cast<void*>(uc->uc_mcontext.sc_rip); // RIP: x86_64 specific
#else
#error Unsupported architecture. // TODO: Add support for other arch.
#endif