[pdal] Intermittent crash calling LasReader::execute( PointTable )
Andrew Bell
andrew.bell.ia at gmail.com
Sat May 1 07:11:40 PDT 2021
On Sat, May 1, 2021 at 9:28 AM Peder Axensten <Peder.Axensten at slu.se> wrote:
> I followed your advice and found a couple of issues that I’m happy I
> identified and fixed, one of which was related to the problem I had. In OS
> X all now compiles and runs without any error or warning, even with
> saitizers on. Also in Ubuntu under Docker if I compile without sanitizers.
> So thank you Andrew for the advice, my problem is solved.
>
> However, if I compile in Ubuntu with sanitizers on there are things
> flagged that seem unrelated to my code.
>
> ==9474==ERROR: LeakSanitizer: detected memory leaks
> Direct leak of 15 byte(s) in 1 object(s) allocated from:
> #0 0x7f8275f9f9f7 in __interceptor_strdup
> ../../../../src/libsanitizer/asan/asan_interceptors.cpp:454
> #1 0x7f82741c2fb7 in __static_initialization_and_destruction_0
> /tmp/PDAL/vendor/kazhdan/Ply.h:206
> SUMMARY: AddressSanitizer: 15 byte(s) leaked in 1 allocation(s).
>
I'll look at this if I remember, but it's 15 bytes. ;)
Also, reading a file that it reads with sanitizers off, I get an exception
> from pdal:
> 'Invalid VLR offset - exceeds file size’.
>
This says that you have a bad VLR and a corrupt LAS file. You should
contact the provider of your file and request a valid file.
--
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20210501/40d66fdd/attachment.html>
More information about the pdal
mailing list