Opened 7 years ago

Closed 7 years ago

#1739 closed defect (fixed)

subsetting by nonintersecting sdom crashes rasserver

Reported by: bbell Owned by: Dimitar Misev
Priority: critical Milestone: 9.6
Component: qlparser Version: development
Keywords: segfault, subset, qtdomainoperation Cc: Dimitar Misev
Complexity: Easy

Description

When running sdom© from test_grey3d, we get [0:99,0:99,0:4]; however, when trying to subset something outside of this domain, rasserver crashes, whereas it should instead throw an error or exception.

Current behaviour:

$ rasql -q 'select c[*:*,*:*,13:15] from test_grey3d as c'
rasql: rasdaman query tool v1.0, rasdaman 9.6.0.
opening database RASBASE at localhost:7001...ok
Executing retrieval query...[ERROR] - Client failed with error:Endpoint read failed
rasdaman error 0: The client failed to contact the server.
aborting transaction...[ERROR] - The client failed to connect to rasserver.
ok
[ERROR] - The client failed to connect to rasserver.
rasql done.

Using a backtrace in 'gdb directql' to track the origins of the segfault causing the server crash, the issue is most likely occurring around either qlparser/qtvariable.cc:196 or qlparser/qtdomainoperation.cc:508.

Change History (3)

comment:1 by Dimitar Misev, 7 years ago

Owner: changed from bbell to Dimitar Misev
Priority: majorcritical
Status: newassigned

comment:2 by Dimitar Misev, 7 years ago

patch submitted

comment:3 by Dimitar Misev, 7 years ago

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