bug-binutils
[Top][All Lists]
Advanced

[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

https://sourceware.org/bugzilla/show_bug.cgi?id=23906

--- Comment #8 from David Ledger <davidledger at live dot com.au> ---
Sorry,
https://1drv.ms/f/s!AvPNFIn52ti4sZZTLbAALA-e07ySeg


Doesn’t look very deep (the stack frame)
[cid:image002.png@01D4908E.C7A6F330]



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.



[cid:image001.png@01D448F4.339F3940]


David Ledger - Electronics Design Engineer
www.eevblog.com<http://www.eevblog.com>

 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

https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsourceware.org%2Fbugzilla%2Fshow_bug.cgi%3Fid%3D23906&amp;data=02%7C01%7C%7Cf83c400e369044d6f2e808d65c5fb4bd%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636797963455131558&amp;sdata=gVlh8VjmNiakVbD9nAy7fTnMy0jK00uZPeFfK3w0pM0%3D&amp;reserved=0

--- 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...

Cheers
  Nick

--
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]