Opened 8 years ago
Closed 8 years ago
#1555 closed defect (fixed)
rasserver crashes or hangs indefinitely when applying min_cells and max_cells to structs with multiple data type sizes
Reported by: | bbell | Owned by: | bbell |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | catalogmgr | Version: | development |
Keywords: | condense, struct, structs | Cc: | Dimitar Misev |
Complexity: | Medium |
Description
prior to a stacktrace and a memory map dump in the terminal, we see a double free or corruption:
$ *** Error in `/opt/rasdaman/bin/rasserver': double free or corruption (out): 0x00007f1b2800da60 ***
other attempts to compute min and max yield similar errors, including invalid pointer errors at times.
Change History (3)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Correction to the comment above:
The file for ingestion has 00000001 for every byte, and so EVERY float should be 2.36943e-38; for some reason, 99.99% of the data points are being printed as 0.000000 when using
select encode(c, "csv") from test_struct as c
I will open another ticket (ticket# 1558) for this problem, as it seems to have something to do with the output of csv encoding, and nothing to do with min & max (which apparently work for structs now).
we have managed to resolve this issue by changing the way offsets were computed; however, the results of this operation sometimes look a bit strange (rather than 0, we might get 2.36943e-38, in a given entry)