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!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Strange crash on custom iterator Date: Sat, 30 Jun 2018 12:32:13 +0100 Organization: A noiseless patient Spider Message-ID: References: <70c11a71-3832-4f57-8127-f3f1c48a052f@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="b23009edf2eaee529bf927e1c0a9ec62"; logging-data="25802"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+UQjfzoMT9JHW72WdqKJPEa+yO9RfD24g=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (darwin) Cancel-Lock: sha1:s04DkGqRGfqDkrCV6J01xDAsaAY= sha1:pt2SbjgxrvhkK4zvSkNgkrldOZg= Xref: reader02.eternal-september.org comp.lang.ada:53473 Date: 2018-06-30T12:32:13+01:00 List-Id: Lucretia writes: > I finally got around to getting back to my iterator and on a first > test implementation, i.e. to just iterate over each element of the > array, the thing crashes in the Element function when accessing the > array through the cursor. > > The source is https://bpaste.net/show/6c5fca4c0ffd and the gdb session > is https://bpaste.net/show/5b0cf9d2be79 UCA.Encoding missing?