Opened 5 years ago

Closed 4 years ago

#2309 closed defect (fixed)

rasql - server killed with importing wrong grid domains for netCDF / HDF5

Reported by: Bang Pham Huu Owned by: apercov
Priority: major Milestone: 10.0
Component: rasserver Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

To reproduce, download this netCDF file from here

and runs these rasql commands:

CREATE COLLECTION test_sentinel_5P FloatSet
INSERT INTO test_sentinel_5P VALUES <[0:0,0:0] 0f> TILING ALIGNED [0:1023, 0:1023]

# Change path to the netCDF file .nc accordingly to your system

UPDATE test_sentinel_5P SET test_sentinel_5P[0:371,0:449] ASSIGN decode(<[0:0] 1c>, "GDAL", "{\"variables\":[0],\"filePaths\":[\"HDF5:/home/osboxes/temp/Sentinel_5-P/S5P_NRTI_L2__AER_AI_20200429T113948_20200429T114448_13181_01_010302_20200429T121702.nc://PRODUCT/aerosol_index_354_388\"]}")

Error:
... parsing... checking semantics... evaluating... [ERROR] - 2020-05-06 07:35:17,006, qlparser/qtupdate.cc:541: source domain [0:449,0:371] isn't within the target domain [0:371,0:449]


[ERROR] - 2020-05-06 07:35:17,006, qlparser/qtdata.icc:132: Internal Error: QtData::decRef() - 
decrease of a zero reference counter
[ERROR] - 2020-05-06 07:35:17,006, server/rasserver_main.cc:114: 
Interrupted by signal SIGSEGV (Invalid memory access at address 0xb1)

Change History (2)

comment:1 by apercov, 4 years ago

Status: assignedaccepted

comment:2 by apercov, 4 years ago

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.