Opened 7 years ago

Closed 7 years ago

#1687 closed defect (fixed)

Server killed with condenser count_cells

Reported by: Bang Pham Huu Owned by: Dimitar Misev
Priority: major Milestone: 9.7
Component: rasql Version: development
Keywords: Cc: bbell
Complexity: Medium

Description

it works if select 1 band from 3 bands collection

rasql -q 'SELECT encode(MARRAY n in [0:255] 
VALUES  count_cells(c.0 = n[0]) , "text/csv" ) 
FROM test_rgb AS c'

but without specific 1 band, server killed

'SELECT encode(MARRAY n in [0:255] VALUES 
 count_cells(c = n[0]) , "text/csv" ) 
FROM test_rgb AS c'...

 [INFO] - 18/01/2018 13:51:48.291617: parsing...
 [INFO] - 18/01/2018 13:51:48.291754: checking semantics...
 [INFO] - 18/01/2018 13:51:48.291901: evaluating...
 [INFO] - 18/01/2018 13:51:48.300928: Segmentation fault caught, stacktrace:
 [INFO] - 18/01/2018 13:51:48.309085: [bt]: (1) /home/rasdaman/rasdaman_community/install/bin/rasserver (??:0) - NullValuesHandler::setNullValues(r_Minterval*)+0x11b [0xa2dfcf]
 [INFO] - 18/01/2018 13:51:48.312318: [bt]: (2) /home/rasdaman/rasdaman_community/install/bin/rasserver (??:0) - QtBinaryInduce::computeUnaryMDDOp(QtMDD*, QtScalarData*, BaseType const*, int)+0x1fd [0x8db617]
 [INFO] - 18/01/2018 13:51:48.315476: [bt]: (3) /home/rasdaman/rasdaman_community/install/bin/rasserver (??:0) - QtBinaryInduce::computeOp(QtData*, QtData*)+0x20d [0x8db123]
 [INFO] - 18/01/2018 13:51:49.36826: [bt]: (4) /home/rasdaman/rasdaman_community/install/bin/rasserver (nullvalues.cc:68) - QtBinaryInduce::evaluate(std::vector<QtData*, std::allocator<QtData*> >*)+0x6e [0x8dcf62]
 [INFO] - 18/01/2018 13:51:49.40253: [bt]: (5) /home/rasdaman/rasdaman_community/install/bin/rasserver (??:0) - QtCondense::computeFullCondense(std::vector<QtData*, std::allocator<QtData*> >*, r_Minterval&)+0x5a [0x91d5ca]
 [INFO] - 18/01/2018 13:51:49.54679: [bt]: (6) /home/rasdaman/rasdaman_community/install/bin/rasserver (qtbinaryinduce.cc:179) - QtCountCells::evaluate(std::vector<QtData*, std::allocator<QtData*> >*)+0x47 [0x91f551]
 [INFO] - 18/01/2018 13:51:49.57785: [bt]: (7) /home/rasdaman/rasdaman_community/install/bin/rasserver (??:0) - QLMarrayOp::operator()(char*, r_Point const&)+0xa0 [0xa4dd9e]
 [INFO] - 18/01/2018 13:51:49.71893: [bt]: (8) /home/rasdaman/rasdaman_community/install/bin/rasserver (qtbinaryinduce.cc:100) - Tile::execMarrayOp(MarrayOp*, r_Minterval const&, r_Minterval const&)+0x133 [0xa1f7bf]
 [INFO] - 18/01/2018 13:51:49.75058: [bt]: (9) /home/rasdaman/rasdaman_community/install/bin/rasserver (??:0) - QtMarrayOp::evaluate(std::vector<QtData*, std::allocator<QtData*> >*)+0x30e [0x9461ee]
 [INFO] - 18/01/2018 13:51:49.89000: [bt]: (10) /home/rasdaman/rasdaman_community/install/bin/rasserver (qtbinaryinduce.cc:465) - QtConversion::evaluate(std::vector<QtData*, std::allocator<QtData*> >*)+0x1a1 [0x925cb7]
 [INFO] - 18/01/2018 13:51:49.92104: [bt]: (11) /home/rasdaman/rasdaman_community/install/bin/rasserver (??:0) - QtOperationIterator::next()+0x177 [0x8d805d]
 [INFO] - 18/01/2018 13:51:49.106507: [bt]: (12) /home/rasdaman/rasdaman_community/install/bin/rasserver (qtcondense.cc:115) - QueryTree::evaluateRetrieval()+0x67b [0x94ed9d]
 [INFO] - 18/01/2018 13:51:49.109597: [bt]: (13) /home/rasdaman/rasdaman_community/install/bin/rasserver (??:0) - ServerComm::executeQuery(unsigned long, char const*, ExecuteQueryRes&)+0x5de [0x87237c]
 [INFO] - 18/01/2018 13:51:49.122805: [bt]: (14) /home/rasdaman/rasdaman_community/install/bin/rasserver (qtcondense.cc:613) - RasServerEntry::compat_executeQueryRpc(char const*, ExecuteQueryRes&)+0x54 [0x85f3ca]
 [INFO] - 18/01/2018 13:51:49.125511: [bt]: (15) /home/rasdaman/rasdaman_community/install/bin/rasserver (??:0) - RasnetServerComm::ExecuteQuery(grpc::ServerContext*, rasnet::service::ExecuteQueryReq const*, rasnet::service::ExecuteQueryRepl*)+0xac [0xae353c]
 [INFO] - 18/01/2018 13:51:49.140691: [bt]: (16) /home/rasdaman/rasdaman_community/install/bin/rasserver (algebraops.cc:81) - grpc::Status std::_Mem_fn<grpc::Status (rasnet::service::ClientRassrvrService::Service::*)(grpc::ServerContext*, rasnet::service::ExecuteQueryReq const*, rasnet::service::ExecuteQueryRepl*)>::operator()<grpc::ServerContext*, rasnet::service::ExecuteQueryReq const*, rasnet::service::ExecuteQueryRepl*, void>(rasnet::service::ClientRassrvrService::Service*, grpc::ServerContext*&&, rasnet::service::ExecuteQueryReq const*&&, rasnet::service::ExecuteQueryRepl*&&) const+0xb2 [0xb17686]
 [INFO] - 18/01/2018 13:51:49.144047: [bt]: (17) /home/rasdaman/rasdaman_community/install/bin/rasserver (??:0) - std::_Function_handler<grpc::Status (rasnet::service::ClientRassrvrService::Service*, grpc::ServerContext*, rasnet::service::ExecuteQueryReq const*, rasnet::service::ExecuteQueryRepl*), std::_Mem_fn<grpc::Status (rasnet::service::ClientRassrvrService::Service::*)(grpc::ServerContext*, rasnet::service::ExecuteQueryReq const*, rasnet::service::ExecuteQueryRepl*)> >::_M_invoke(std::_Any_data const&, rasnet::service::ClientRassrvrService::Service*, grpc::ServerContext*, rasnet::service::ExecuteQueryReq const*, rasnet::service::ExecuteQueryRepl*)+0x8a [0xb0e1e4]
 [INFO] - 18/01/2018 13:51:49.159387: [bt]: (18) /home/rasdaman/rasdaman_community/install/bin/rasserver (tile.cc:461) - std::function<grpc::Status (rasnet::service::ClientRassrvrService::Service*, grpc::ServerContext*, rasnet::service::ExecuteQueryReq const*, rasnet::service::ExecuteQueryRepl*)>::operator()(rasnet::service::ClientRassrvrService::Service*, grpc::ServerContext*, rasnet::service::ExecuteQueryReq const*, rasnet::service::ExecuteQueryRepl*) const+0x96 [0xb3d15e]
 [INFO] - 18/01/2018 13:51:49.162124: [bt]: (19) /home/rasdaman/rasdaman_community/install/bin/rasserver (??:0) - grpc::RpcMethodHandler<rasnet::service::ClientRassrvrService::Service, rasnet::service::ExecuteQueryReq, rasnet::service::ExecuteQueryRepl>::RunHandler(grpc::MethodHandler::HandlerParameter const&)+0xc5 [0xb295c9]
 [INFO] - 18/01/2018 13:51:49.175230: [bt]: (20) /home/rasdaman/rasdaman_community/install/bin/rasserver (qtmarrayop.cc:209) - grpc::Server::SyncRequestThreadManager::DoWork(void*, bool)+0x169 [0xbd5339]
 [INFO] - 18/01/2018 13:51:49.177938: [bt]: (21) /home/rasdaman/rasdaman_community/install/bin/rasserver (??:0) - grpc::ThreadManager::MainWorkLoop()+0xeb [0xbd739b]
 [INFO] - 18/01/2018 13:51:49.190856: [bt]: (22) /home/rasdaman/rasdaman_community/install/bin/rasserver (qtconversion.cc:191) - grpc::ThreadManager::WorkerThread::Run()+0xc [0xbd740c]
 [INFO] - 18/01/2018 13:51:49.193583: [bt]: (23) /lib64/libstdc++.so.6 (??:0) - +0xb52b0 [0x7f35c441b2b0]
 [INFO] - 18/01/2018 13:51:49.205852: [bt]: (24) /lib64/libpthread.so.0 (qtoperationiterator.cc:253 (discriminator 1)) - +0x7e25 [0x7f35c9adbe25]
 [INFO] - 18/01/2018 13:51:49.208602: [bt]: (25) /lib64/libc.so.6 (??:0) - clone+0x6d [0x7f35c3b8334d]
 [INFO] - 18/01/2018 13:51:49.208624: rasserver terminated.

Change History (3)

comment:1 by Vlad Merticariu, 7 years ago

Milestone: 9.5Future

comment:2 by Dimitar Misev, 7 years ago

Milestone: Future9.7

Patch submitted

comment:3 by Dimitar Misev, 7 years ago

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