Jump to page: 1 2
Thread overview
[Issue 15779] DWARF EH fails when using stack stomping (-gx)
[Issue 15779] Program exits with dwarfeh(316) fatal error
Mar 08, 2016
Mathias Lang
Mar 08, 2016
Marenz
Mar 08, 2016
Marenz
Mar 08, 2016
Marenz
Mar 08, 2016
Marenz
Mar 18, 2016
Puneet Goel
Mar 23, 2016
Martin Nowak
Mar 24, 2016
Walter Bright
Mar 25, 2016
Martin Nowak
Mar 25, 2016
Martin Nowak
Aug 20, 2016
Brad Roberts
March 08, 2016
https://issues.dlang.org/show_bug.cgi?id=15779

Mathias Lang <mathias.lang@sociomantic.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mathias.lang@sociomantic.co
                   |                            |m

--
March 08, 2016
https://issues.dlang.org/show_bug.cgi?id=15779

--- Comment #1 from Marenz <dmdtracker@supradigital.org> ---
Okay, I managed a minimal test case now:


import core.thread;

void main()
{
    new Fiber({ throw new Exception("fly"); }).call();
}

--
March 08, 2016
https://issues.dlang.org/show_bug.cgi?id=15779

--- Comment #2 from Marenz <dmdtracker@supradigital.org> ---
I want to add that I am quite annoyed that a bug like this makes it into a release. This cost me at least 2 days of production time.

--
March 08, 2016
https://issues.dlang.org/show_bug.cgi?id=15779

--- Comment #3 from Marenz <dmdtracker@supradigital.org> ---
I forgot: You need to compile with    -gx

--
March 08, 2016
https://issues.dlang.org/show_bug.cgi?id=15779

--- Comment #4 from Marenz <dmdtracker@supradigital.org> ---
Und die Moral von der Geschicht, einen Zwerg, den wirft man nicht.

--
March 18, 2016
https://issues.dlang.org/show_bug.cgi?id=15779

Puneet Goel <puneet@coverify.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |puneet@coverify.org

--
March 23, 2016
https://issues.dlang.org/show_bug.cgi?id=15779

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |code@dawg.eu
            Summary|Program exits with          |DWARF EH fails when using
                   |dwarfeh(316) fatal error    |stack stomping (-gx)

--- Comment #5 from Martin Nowak <code@dawg.eu> ---
(In reply to Marenz from comment #4)
> Und die Moral von der Geschicht, einen Zwerg, den wirft man nicht.

Stack stomping (-gx) is a weird (and complex) feature and apparently wasn't
fully tested in combination w/ the new dwarf EH.
Note that you shouldn't run any production code w/ -gx.

--
March 24, 2016
https://issues.dlang.org/show_bug.cgi?id=15779

Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla@digitalmars.com

--- Comment #6 from Walter Bright <bugzilla@digitalmars.com> ---
https://github.com/D-Programming-Language/dmd/pull/5569

--
March 25, 2016
https://issues.dlang.org/show_bug.cgi?id=15779

--- Comment #7 from Martin Nowak <code@dawg.eu> ---
Quick debugging of this program
---
void main()
{
    try
    {
    bar();
    }
    catch (Exception e)
    {
    }
}

void bar()
{
    throw new Exception("msg");
}
---
reveals that CallSiteRange for bar() is too small (66 instead of 70) and
therefor scanLSDA fails.
https://github.com/D-Programming-Language/druntime/blob/ff4faa40d88bdd974102105aa17c2851629c8f9a/src/rt/dwarfeh.d#L627

--
March 25, 2016
https://issues.dlang.org/show_bug.cgi?id=15779

Martin Nowak <code@dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #8 from Martin Nowak <code@dawg.eu> ---
https://github.com/D-Programming-Language/dmd/pull/5579

--
« First   ‹ Prev
1 2