[Bug 165] gdc segfault on scope(failure)

via D.gnu d.gnu at puremagic.com
Fri Nov 7 02:20:27 PST 2014


http://bugzilla.gdcproject.org/show_bug.cgi?id=165

Ketmar Dark <ketmar at ketmar.no-ip.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ketmar at ketmar.no-ip.org

--- Comment #1 from Ketmar Dark <ketmar at ketmar.no-ip.org> ---
further info: somehow it fails in Import::semantic(), where it checks for
'aliasdecls'. with 'scope(failure)' is sees *two* aliases, both to the same
imported function, but the second one has it's entry in 'names[]' initialized
to garbage (1, that's it).

this is not the case for 'scope(exit)' and 'scope(success)', as semantic
analyser doesn't even hit this code path (???).

i can just comment out `mod->search_correct(names[i]);`, but it's definitely
not a fix, 'cause the bug is somewhere else. there shouldn't be two aliases
here to start with.

not sure if i'll have time to investigate this thing further.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/d.gnu/attachments/20141107/908baad2/attachment.html>


More information about the D.gnu mailing list