Opened 6 years ago

Closed 6 years ago

#1849 closed defect (fixed)

segfault on exporting 6.6GB array

Reported by: Dimitar Misev Owned by: Dimitar Misev
Priority: major Milestone: 9.7
Component: tilemgr Version: development
Keywords: Cc: Peter Baumann
Complexity: Medium

Description

Attached is a script that establishes the array. The issue afterwards can be reproduced with

directql -q 'select encode(c, "jpeg") from test_coll_7GB_rgb as c' --out file

segfault stacktrace:

#0  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:455
#1  0x0000555555c4a6a3 in Tile::copyTile (this=0x5555566f47c0, areaRes=..., opTile=0x555556636f80, areaOp=...) at tilemgr/tile.cc:731
#2  0x0000555555d1d3a8 in Tile::Tile<boost::shared_ptr<Tile> > (this=0x5555566f47c0, tilesVec=0x55555662cb60, resDom=...) at tilemgr/tile.hh:408
#3  0x0000555555d1b16e in QtConversion::evaluate (this=0x555556626400, inputList=0x555556624e80) at qlparser/qtconversion.cc:238
#4  0x0000555555d50471 in QtOperationIterator::next (this=0x55555661fff0) at qlparser/qtoperationiterator.cc:253
#5  0x0000555555d7d5cd in QueryTree::evaluateRetrieval (this=0x55555661ff00) at qlparser/querytree.cc:174
#6  0x0000555555c6ede2 in ServerComm::executeQuery (this=0x5555565f3af0, callingClientId=1000000, query=0x5555565fe1f0 "select encode(c, \"jpeg\") from test_coll_7GB_rgb as c", returnStructure=...)
    at servercomm/servercomm2.cc:1662

Query without encode also fails, at a different point but still in copyTile:

directql -q 'select c from test_coll_7GB_rgb as c' --out file
...
#0  __memmove_avx_unaligned_erms () at ../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:455
#1  0x0000555555c4a6a3 in Tile::copyTile (this=0x555556678520, areaRes=..., opTile=0x555556637270, areaOp=...) at /home/dimitar/rasdaman/community/src/tilemgr/tile.cc:731
#2  0x0000555555c48135 in Tile::Tile (this=0x555556678520, tilesVec=0x555556668f80) at /home/dimitar/rasdaman/community/src/tilemgr/tile.cc:130
#3  0x0000555555add93d in printOutput (status=0, result=0x7fffffffd2b0) at /home/dimitar/rasdaman/community/src/applications/directql/directql.cc:823

Attachments (1)

import.sh (755 bytes ) - added by Dimitar Misev 6 years ago.

Download all attachments as: .zip

Change History (2)

by Dimitar Misev, 6 years ago

Attachment: import.sh added

comment:1 by Dimitar Misev, 6 years ago

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