Opened 5 years ago

Closed 4 years ago

#2196 closed defect (fixed)

Rasql - server died with clip by Multipolygon

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

Description

Try these rasql commands to reproduce problem (if you don't have the tiff file then download it from http://rasdaman.org/browser/applications/petascope/coverages_example/petascope_insertdemo_data/mean_summer_airtemp/mean_summer_airtemp.tif)

rasql -q 'create collection test GreySet' --user rasadmin --passwd rasadmin
rasql -q 'insert into test values decode($1)' -f /opt/rasdaman/share/rasdaman/petascope/petascope_insertdemo_data/mean_summer_airtemp/mean_summer_airtemp.tif --user rasadmin --passwd rasadmin
rasql -q 'SELECT ENCODE( ( Scale( ( ( extend( clip( c0[100:189, 270:359], MULTIPOLYGON(((36 264,64 518,344 451,338 106,262 99)),((341 118,339 338,522 338,522 154,486 128,470 112,492 98,500 67,482 56,445 55,417 45,383 46,358 49,353 102)),((574 399,848 377,738 609,585 590))) ), [100:189, 270:359]) ) ), [0:255, 0:255] ) ) , "png") FROM test AS c0'

Output of rasql:

Opening database RASBASE at 127.0.0.1:7001... ok.
Executing retrieval query... rasdaman error 0: The client failed to contact the server: Socket closed
aborting transaction... ok.

Rasserver's log before server dies

 [INFO] - 2019-10-28 13:38:31,642: Request: 
'SELECT ENCODE( ( Scale( ( ( extend( clip( c0[100:189, 270:359], MULTIPOLYGON(((36 264,64 518,344 451,338 106,262 99)),((341 118,339 338,522 338,522 154,486 128,470 112,492 98,500 67,482 56,445 55,417 45,383 46,358 49,353 102)),((574 399,848 377,738 609,585 590))) ), [100:189, 270:359]) ) ), [0:255, 0:255] ) ) , "png") FROM test AS c0'... 
parsing... checking semantics... evaluating... 

Change History (2)

comment:1 by apercov, 4 years ago

Status: newaccepted

comment:2 by apercov, 4 years ago

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