[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/23906] LD Bug : Undocumented exit status 253

From: davidledger at live dot com.au
Subject: [Bug ld/23906] LD Bug : Undocumented exit status 253
Date: Mon, 10 Dec 2018 02:49:59 +0000


--- Comment #8 from David Ledger <davidledger at live dot com.au> ---

Doesn’t look very deep (the stack frame)

3 frames down is a stack frame at address 00000000000001, this seems like a
suspect address for a function.
The stack frame doesn’t appear to repeat any function calls (no repeated
addresses, so I don’t think infinite recursion). I also tried to increase the
stack size of the executable to 64MB using editbin /STACK:64000000 ld.exe
(which is insanely large). This didn’t change the issue.


David Ledger - Electronics Design Engineer

 Skype: david.j.ledger

From: nickc at redhat dot com <address@hidden>
Sent: Friday, December 7, 2018 9:49:00 PM
To: address@hidden
Subject: [Bug ld/23906] LD Bug : Undocumented exit status 253


--- Comment #7 from Nick Clifton <nickc at redhat dot com> ---
(In reply to David Ledger from comment #4)
Hi David,

> Unhandled exception at 0x0000000000402B06 in arm-none-eabi-ld.bfd.exe:
> 0xC00000FD: Stack overflow (parameters: 0x0000000000000001,
> 0x0000000000543830).
> Ran it in MSVC debugger because I don't know how to use GDB but it appears a
> stack overflow occured...

Sorry - I missed this comment.

So this would probably explain what is going wrong.  Of course it then begs
the question of why the stack exhaustion is occurring.  Do you have a limited
amount of stack space available to applications on your build machine ?

In the MSVC debugger, are you able to determine what the stack backtrace looks
like when it runs out of space ?  (I am wondering if there is a bug leading to
infinite recursion).  Or maybe there is a function in the linker which
allocates memory on the stack, and it is asking for a huge amount of memory...


You are receiving this mail because:
You reported the bug.

You are receiving this mail because:
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]