From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: storage error: stack overflow Date: Thu, 13 Aug 2015 08:19:25 +0100 Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="701e1a91696e79a9574ebe874fee72d6"; logging-data="25847"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5HhxJgOTixlEVfhZKxOyFuMFBlXL0/yQ=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:o+bzL1kSL9jDhprPu4/+qenGkDU= sha1:9ySn/YeoTaEld1TlTZGq93LU9HQ= Xref: news.eternal-september.org comp.lang.ada:27432 Date: 2015-08-13T08:19:25+01:00 List-Id: hreba writes: > ==4823== Invalid read of size 4 > ==4823== at 0x66FF1A0: ada__strings__unbounded__reference (in > /usr/lib/x86_64-linux-gnu/libgnat-4.6.so.1) > ==4823== by 0x6703851: ada__strings__unbounded___assign__2 (in > /usr/lib/x86_64-linux-gnu/libgnat-4.6.so.1) There's no Assign in the code of Ada.Strings.Unbounded, so I expect it's a subprogram generated by the compiler to manage assignment. It could be from the finalize of the 'dest' object prior to assignment, but I think it's from the adjust after the bitwise copy of the 'source' object; Adjust does contain a call to Reference. Given that, is it possible that something has corrupted the 'source' object? (at least 'source.name')