This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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]

[Bug runtime/10821] unwind_frame has an oversized frame


------- Additional Comments From mjw at redhat dot com  2009-10-28 11:57 -------
This comes from the unwind_frame() local struct unwind_state state;
Which is defined in unwind/unwind.h as:

struct unwind_state {
        uleb128_t loc, org;
        const u8 *cieStart, *cieEnd;
        uleb128_t codeAlign;
        sleb128_t dataAlign;
        struct cfa {
                uleb128_t reg, offs;
        } cfa;
        struct unwind_item regs[ARRAY_SIZE(reg_info)];
        unsigned stackDepth:8;
        unsigned version:8;
        const u8 *label;
        const u8 *stack[STP_MAX_STACK_DEPTH];
};

So with struct unwind_item regs[ARRAY_SIZE(reg_info)]; that is pretty big...

It would be nice if we could allocate this per thread/cpu.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=10821

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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