Opened 5 years ago

Closed 5 years ago

#2193 closed defect (fixed)

Rasql - segfault for switch case with scale

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

Description

Try this query on test grey collection

SELECT encode( ( CASE WHEN ( SCALE(el[0:10,0:10], [0:10,0:10]) > 25 and SCALE(el[0:10,0:10], [0:10,0:10]) < 40 and SCALE(lc[0:10,0:10], [0:10,0:10]) = 221 ) THEN ( {(char) 255,(char) 255,(char) 0} ) ELSE ( (char) oi[0:10,0:10] overlay {(char) 0,(char) 0,(char) 0} ) END ) , "png" , "{\"geoReference\":{\"crs\":\"EPSG:25831\",\"bbox\":{\"xmin\":480000,\"ymin\":4650250,\"xmax\":481500,\"ymax\":4651500}}}") FROM test_mr AS el, test_mr AS lc, test_mr AS ir, test_mr AS oi

return error

[ERROR] - 2019-10-21 21:19:42,967, server/rasserver_main.cc:119: Interrupted by signal SIGABRT (Abnormal termination: Raised internally by this process)... stacktrace:
 [1] /lib64/libpthread.so.0(+0xf5d0) [0x7f954abae5d0]
 [2] ??:0 in gsignal+0x37 [0x7f9549bcf2c7]
 [3] ??:0 in abort+0x148 [0x7f9549bd09b8]
 [4] /lib64/libc.so.6(+0x2f0e6) [0x7f9549bc80e6]
 [5] /lib64/libc.so.6(+0x2f192) [0x7f9549bc8192]
 [6] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x5128c9]
 [7] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x50dfb1]
 [8] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x50f614]
 [9] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x53e65f]
[10] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x5781b6]
[11] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x5a8066]
[12] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x4a09e9]
[13] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x419332]
[14] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x739f7b]
[15] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7ce79e]
[16] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7c4046]
[17] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7f551a]
[18] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7e31fc]
[19] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7f554f]
[20] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7e32cb]
[21] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x8a78fe]
[22] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x8a9d3b]
[23] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x8a9e4c]
[24] /lib64/libstdc++.so.6(+0xb5070) [0x7f954a533070]
[25] /lib64/libpthread.so.0(+0x7dd5) [0x7f954aba6dd5]
[26] ??:0 in clone+0x6d [0x7f9549c9702d]

[ERROR] - 2019-10-21 21:19:43,028, server/rasserver_main.cc:122: Shutting down... rasserver terminated.

Change History (3)

comment:1 by apercov, 5 years ago

Status: newaccepted

comment:2 by apercov, 5 years ago

After patch 2190(case evaluation model update) I tested the query multiple times, and the problem seems to be resolved. I propose to close this ticket as resolved.

comment:3 by apercov, 5 years ago

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