Opened 5 months ago

Closed 4 months 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: dmisev
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 Changed 5 months ago by bbell

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)

comment:2 Changed 5 months ago by bbell

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).

Last edited 5 months ago by bbell (previous) (diff)

comment:3 Changed 4 months ago by bbell

  • Resolution set to fixed
  • Status changed from new to closed

resolved by ticket #1547

Note: See TracTickets for help on using tickets.