|
Description
|
The stack pointer passed to signal handlers running in CentOS under Brandz
is not valid. In the attached example a thread is interrupted while looping,
yet the stack pointer seen in the signal context is zero.
STEPS TO DUPLICATE
-------------------------
Compile the attached code under CentOS 3.8 running in Brandz on Solaris.
cc -g -D_GNU_SOURCE -DREENTRANT -o tst-sigesp tst-sigesp.c -lpthread
Run the program:
./tst-sigesp
Note that the stack pointer, ESP, reported is zero.
EXPECTED VS ACTUAL RESULTS
-------------------------------------
Expect: the stack pointer saved in the signal context should be the
stack point at the point that signal was received.
Actual: a stack pointer of zero is observed.
ERROR MESSAGES
---------------------
(No Answer)
SOURCE CODE
------------------
(No Answer)
SYSTEM INFORMATION
--------------------------
Hardware Platforms (AMD64-1, Non-Sun, ASUS K8V Delux, AMD Athlon., x64, 1GB, 100GB or more)
Operating Platforms (Sol1, Solaris 10 7/07, Solaris, JDS 3 Sun Java Desktop System Release 3, English)
SUBMITTER PROVIDED WORKAROUND
--------------------------
None.
|