Opened 4 years ago

Closed 16 months ago

#2372 closed defect (fixed)

rasql - rasserver killed with casting to complex number

Reported by: Bang Pham Huu Owned by: nivlev@…
Priority: major Milestone: 10.0
Component: rasserver Version: 9.8
Keywords: Cc:
Complexity: Trivial

Description (last modified by Dimitar Misev)

 [INFO] - 2020-10-16 14:16:53,169: Request: 'SELECT (CInt16) 1 FROM test_mean_summer_airtemp AS c

'... parsing... checking semantics... evaluating... [ERROR] - 2020-10-16 14:16:53,173, server/rasserver_main.cc:117: Interrupted by signal SIGSEGV (Invalid memory access at address 0)... stacktrace:
 [1] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x45a6a5]
 [2] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x46997b]
 [3] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x485c9c]
 [4] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x46cc1d]
 [5] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x44b400]
 [6] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x423e66]
 [7] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x758736]
 [8] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7088a6]
 [9] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x718374]
[10] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x7217d1]
[11] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x85d31e]
[12] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x85f78b]
[13] /home/rasdaman/rasdaman_community/install/bin/rasserver() [0x85f89c]
[14] /lib64/libstdc++.so.6(+0xb5070) [0x7fa65f199070]
[15] /lib64/libpthread.so.0(+0x7dd5) [0x7fa65f5f6dd5]
[16] ??:0 in clone+0x6d [0x7fa659f5502d]

[ERROR] - 2020-10-16 14:16:53,201, server/rasserver_main.cc:120: Shutting down... rasserver terminated.

It should return an error instead saying "Cannot cast argument to complex".

To reproduce:

rasql -q 'SELECT (CInt16) 1' --out string

Change History (4)

comment:1 by Dimitar Misev, 4 years ago

Complexity: MediumTrivial
Description: modified (diff)

comment:2 by Dimitar Misev, 4 years ago

Description: modified (diff)

comment:3 by Dimitar Misev, 16 months ago

Cc: Vlad Merticariu removed
Description: modified (diff)
Owner: changed from Dimitar Misev to nivlev@…

comment:4 by Dimitar Misev, 16 months ago

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