Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
7eeb52df
Commit
7eeb52df
authored
Aug 26, 2011
by
Hisham Muhammad
Browse files
Fix number of supported backtrace frames (thanks to Sebastian Pipping)
parent
71775840
Changes
1
Hide whitespace changes
Inline
Side-by-side
CRT.c
View file @
7eeb52df
...
...
@@ -128,7 +128,7 @@ static void CRT_handleSIGSEGV(int sgn) {
#if __linux
fprintf
(
stderr
,
"
\n\n
htop "
VERSION
" aborting. Please report bug at http://htop.sf.net
\n
"
);
#ifdef HAVE_EXECINFO_H
size_t
size
=
backtrace
(
backtraceArray
,
sizeof
(
backtraceArray
));
size_t
size
=
backtrace
(
backtraceArray
,
sizeof
(
backtraceArray
)
/
sizeof
(
void
*
)
);
fprintf
(
stderr
,
"Backtrace:
\n
"
);
backtrace_symbols_fd
(
backtraceArray
,
size
,
2
);
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment