Red Hat Bugzilla – Bug 178119
[RHEL3] dump_stack() isn't implemented on x86_64
Last modified: 2014-06-18 03:35:09 EDT
dump_stack() isn't implemented on x86_64. Trying to call it from a module gives
an error message like this:
This architecture does not implement dump_stack()
This is not a "bug" per-se, but it does mean that x86_64 lacks a debugging tool
that can be very nice to have (triggering a stack dump on a certain condition
from a module).
Created attachment 123333 [details]
patch to add dump_stack functionality to x86_64
This patch corrected this problem on my test rig.
Created attachment 123334 [details]
simple kernel module that demonstrates problem
This is a simple kernel module that simply does a dump_stack in the init phase.
This can be used to demonstrate the problem (and test the patch).
A fix for this problem has just been committed to the RHEL3 U8
patch pool this evening (in kernel version 2.4.21-40.3.EL).
Adding a couple dozen bugs to CanFix list so I can complete the stupid advisory.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.