Opened 6 years ago

Closed 6 years ago

#1873 closed defect (fixed)

Rasserver_segfault when MDD domain is not intersected

Reported by: Bang Pham Huu Owned by: ahambasan
Priority: major Milestone: 9.7
Component: server Version: development
Keywords: Cc: Dimitar Misev, Vlad Merticariu
Complexity: Medium

Description

Request: 'SELECT encode(c[6,0:17999,-3600:719], "json" ) FROM test_import_order_descending_irregular_time_netcdf AS c'... parsing... checking semantics... evaluating... 
[WARNING] - 2018-09-03 17:00:38,600, specified domain [6:6,0:17999,-3600:719] does not intersect with the MDD spatial domain [-6:0,0:17999,-3600:719], returning empty result.
 [INFO] - 2018-09-03 17:00:39,909: Segmentation fault caught, stacktrace:
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (1) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x649347]
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (2) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x63c2ab]
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (3) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x52140d]
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (4) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x51889d]
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (5) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x549ee7]
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (6) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x57b69d]
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (7) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x488c0b]
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (8) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x471159]
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (9) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x425eb8]
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (10) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x70f8a8]
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (11) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x733516]
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (12) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x74ba94]
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (13) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x769719]
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (14) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7b74de]
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (15) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7b993b]
 [INFO] - 2018-09-03 17:00:39,909: [bt]: (16) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7b9a4c]
 [INFO] - 2018-09-03 17:00:40,049: [bt]: (17) /lib64/libstdc++.so.6 (??:0) - +0xb52b0 [0x7fcaa2e8c2b0]
 [INFO] - 2018-09-03 17:00:40,206: [bt]: (18) /lib64/libpthread.so.0 (??:?) - +0x7e25 [0x7fcaa3500e25]
 [INFO] - 2018-09-03 17:00:40,315: [bt]: (19) /lib64/libc.so.6 (??:0) - clone+0x6d [0x7fcaa25f434d]
 [INFO] - 2018-09-03 17:00:40,315: rasserver terminated.

Change History (6)

comment:1 by Dimitar Misev, 6 years ago

I can't reproduce this with test_grey3d, can you check if it still happens?

rasql -q 'SELECT encode(c[*:*,*:*,-4], "json" ) FROM test_grey3d AS c'
rasql: rasdaman query tool v1.0, rasdaman 9.7.0.
Opening database RASBASE at localhost:7001... ok.
Executing retrieval query... rasdaman error 201: Exception: The result is no interval.
aborting transaction... ok.
rasql done.

in reply to:  1 comment:2 by Bang Pham Huu, 6 years ago

Replying to dmisev:

I can't reproduce this with test_grey3d, can you check if it still happens?

rasql -q 'SELECT encode(c[*:*,*:*,-4], "json" ) FROM test_grey3d AS c'
rasql: rasdaman query tool v1.0, rasdaman 9.7.0.
Opening database RASBASE at localhost:7001... ok.
Executing retrieval query... rasdaman error 201: Exception: The result is no interval.
aborting transaction... ok.
rasql done.

I built a new rasdaman community and the error is same on this test coverage

 [INFO] - 2018-10-02 08:45:02,692: Request: 'SELECT encode(c[6,0:17999,-3600:719], "json" ) FROM test_import_order_descending_irregular_time_netcdf AS c'... parsing... checking semantics... evaluating... [WARNING] - 2018-10-02 08:45:02,692, /home/rasdaman/rasdaman_community/tmp/rasdaman/qlparser/qtvariable.cc:283: specified domain [6:6,0:17999,-3600:719] does not intersect with the MDD spatial domain [-6:0,0:17999,-3600:719], returning empty result.
 [INFO] - 2018-10-02 08:45:03,212: Segmentation fault caught, stacktrace:
 [INFO] - 2018-10-02 08:45:03,212: [bt]: (1) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x64cca7]
 [INFO] - 2018-10-02 08:45:03,212: [bt]: (2) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x63f5cb]
 [INFO] - 2018-10-02 08:45:03,212: [bt]: (3) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x52441d]
 [INFO] - 2018-10-02 08:45:03,212: [bt]: (4) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x51ba9d]
 [INFO] - 2018-10-02 08:45:03,212: [bt]: (5) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x54cef7]
 [INFO] - 2018-10-02 08:45:03,212: [bt]: (6) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x57e6cd]
 [INFO] - 2018-10-02 08:45:03,212: [bt]: (7) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x48817b]
 [INFO] - 2018-10-02 08:45:03,212: [bt]: (8) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x422efb]
 [INFO] - 2018-10-02 08:45:03,212: [bt]: (9) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x719198]
 [INFO] - 2018-10-02 08:45:03,212: [bt]: (10) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x73dd06]
 [INFO] - 2018-10-02 08:45:03,212: [bt]: (11) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x756dc4]
 [INFO] - 2018-10-02 08:45:03,212: [bt]: (12) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7768e9]
 [INFO] - 2018-10-02 08:45:03,212: [bt]: (13) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7c231e]
 [INFO] - 2018-10-02 08:45:03,212: [bt]: (14) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7c477b]
 [INFO] - 2018-10-02 08:45:03,212: [bt]: (15) /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7c488c]
 [INFO] - 2018-10-02 08:45:03,265: [bt]: (16) /lib64/libstdc++.so.6 (??:?) - +0xb52b0 [0x7fe95c4092b0]
 [INFO] - 2018-10-02 08:45:03,289: [bt]: (17) /lib64/libpthread.so.0 (??:0) - +0x7e25 [0x7fe95ca7de25]
 [INFO] - 2018-10-02 08:45:03,317: [bt]: (18) /lib64/libc.so.6 (??:?) - clone+0x6d [0x7fe95bb7134d]
 [INFO] - 2018-10-02 08:45:03,317: rasserver terminated.
[rasdaman@localhost log]$ 

comment:3 by Bang Pham Huu, 6 years ago

Owner: changed from bbell to Dimitar Misev
Status: newassigned

comment:4 by Dimitar Misev, 6 years ago

Owner: changed from Dimitar Misev to ahambasan

@bphamhuu: Alex fixed the problem, but needs to add a WCPS test. Can you post an equivalent WCPS query (just please make it select a small spatial area, in the rasql query it's quite big).

in reply to:  4 comment:5 by Bang Pham Huu, 6 years ago

Replying to dmisev:

@bphamhuu: Alex fixed the problem, but needs to add a WCPS test. Can you post an equivalent WCPS query (just please make it select a small spatial area, in the rasql query it's quite big).

Could not produce a WCPS for it as the error grid domains are not valid for WCPS (out of coverage's geo boxes), smaller grid domains return no error in rasql.

Long:"CRS:1"(15000:16000), Lat:"CRS:1"(-3600:-1000)]

comment:6 by Dimitar Misev, 6 years ago

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