Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 867801 Details for
Bug 912243
gui-wm/hyperland (MUSL): ../hyprland-source/src/debug/CrashReporter.cpp:4:10: fatal error: 'execinfo.h' file not found
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
musl-execinfo.patch (text/plain), 1.14 KB, created by
dysthesis
on 2023-08-13 21:26:04 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
dysthesis
Created:
2023-08-13 21:26:04 UTC
Size:
1.14 KB
patch
obsolete
>diff --git a/src/debug/CrashReporter.cpp b/src/debug/CrashReporter.cpp >index 57271f9..5630ade 100644 >--- a/src/debug/CrashReporter.cpp >+++ b/src/debug/CrashReporter.cpp >@@ -1,7 +1,6 @@ > #include "CrashReporter.hpp" > #include <random> > #include <sys/utsname.h> >-#include <execinfo.h> > #include <fstream> > #include <signal.h> > >@@ -81,10 +80,8 @@ void CrashReporter::createAndSaveCrash(int sig) { > > void* bt[1024]; > size_t btSize; >- char** btSymbols; > >- btSize = backtrace(bt, 1024); >- btSymbols = backtrace_symbols(bt, btSize); >+ btSize = 0; > > #if defined(KERN_PROC_PATHNAME) > int mib[] = { >@@ -112,7 +109,6 @@ void CrashReporter::createAndSaveCrash(int sig) { > #endif > > for (size_t i = 0; i < btSize; ++i) { >- finalCrashReport += getFormat("\t#%lu | %s\n", i, btSymbols[i]); > > #ifdef __clang__ > const auto CMD = getFormat("llvm-addr2line -e %s -f 0x%lx", FPATH.c_str(), (uint64_t)bt[i]); >@@ -123,7 +119,6 @@ void CrashReporter::createAndSaveCrash(int sig) { > finalCrashReport += "\t\t" + ADDR2LINE.substr(0, ADDR2LINE.length() - 2); > } > >- free(btSymbols); > > finalCrashReport += "\n\nLog tail:\n";
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 912243
:
867798
|
867799
|
867800
| 867801 |
873859