This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][BZ #18508] S390: Fix "backtrace() returns infinitely deep stack frames with makecontext()".


On 07/08/2015 10:44 AM, H.J. Lu wrote:
>> For a quick test, I extracted the exitcode-block to a new function with
>> ENTRY/END-macros and undefined cfi_start/end_proc, like it is done in
>> s390-makecontext_ret - see attached patch. Afterwards _Unwind_backtrace does
>> not segfault anymore.
>>
>> Please test/comment.
> 
> It works.

But we don't really know why...

c.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]