Opened 4 years ago

Closed 4 years ago

#2378 closed defect (duplicate)

rasql - segfault with binary operator from 2 decoded files with multiple bands

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

Description

This decode() + decode() operator works with mr file with 1 band:

SELECT encode(decode(<[0:0] 1c>, "GDAL", "{\"filePaths\":[\"/home/rasdaman/rasdaman_community/rasdaman/systemtest/testcases_services/test_all_wcst_import/testdata/wcps_mr/mr_1.png\"]}") + decode(<[0:0] 1c>, "GDAL", "{\"filePaths\":[\"/home/rasdaman/rasdaman_community/rasdaman/systemtest/testcases_services/test_all_wcst_import/testdata/wcps_mr/mr_1.png\"]}"), "png")

but segfault with rgb file with 3 bands:

'SELECT encode(decode(<[0:0] 1c>, "GDAL", "{\"filePaths\":[\"/home/rasdaman/rasdaman_community/rasdaman/systemtest/testcases_services/test_all_wcst_import/testdata/wcps_rgb/rgb.png\"]}") + decode(<[0:0] 1c>, "GDAL", "{\"filePaths\":[\"/home/rasdaman/rasdaman_community/rasdaman/systemtest/testcases_services/test_all_wcst_import/testdata/wcps_rgb/rgb.png\"]}"), "png")'... parsing... checking semantics... evaluating... [ERROR] - 2020-10-30 15:25:15,563, server/rasserver_main.cc:117: Interrupted by signal SIGSEGV (Invalid memory access at address 0)... stacktrace:
 [1] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x61b537]
 [2] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x6022b7]
 [3] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x51d6aa]
 [4] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x51e383]
 [5] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x51efc6]
 [6] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x51f2d3]
 [7] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x4b0c3d]
 [8] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x485c9c]
 [9] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x46cc1d]
[10] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x44b400]
[11] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x423e66]
[12] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x758736]
[13] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7088a6]
[14] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x718374]
[15] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7217d1]
[16] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x85d31e]
[17] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x85f78b]
[18] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x85f89c]
[19] /lib64/libstdc++.so.6(+0xb5070) [0x7fdbad376070]
[20] /lib64/libpthread.so.0(+0x7dd5) [0x7fdbad7d3dd5]
[21] ??:0 in clone+0x6d [0x7fdba813202d]

[ERROR] - 2020-10-30 15:25:15,573, server/rasserver_main.cc:120: Shutting down... rasserver terminated.

Change History (1)

comment:1 by Dimitar Misev, 4 years ago

Resolution: duplicate
Status: assignedclosed

It looks like duplicate to #2377 (yes it's a different query but same issue with multiband).

Note: See TracTickets for help on using tickets.