Opened 5 years ago

Closed 5 years ago

#148 closed defect (fixed)

rasql scale operation issue - segmentation fault

Reported by: beccati@… Owned by:
Priority: major Milestone: 8.4
Component: rasserver Version: 8.3
Keywords: Cc: barboni@…
Complexity:

Description

We heave a 3d collection that, when accessed with certain scale operator values causes the rasdaman server to segment. Other scale operator values do not cause the issue.

Attached are the details of the segfault observed performing a wcps query on the collection (wcps-crashes-rasdaman.txt) and details about the performed queries and collection (rasql-scale-issue.txt)

Attachments (2)

wcps-crashes-rasdaman.txt (6.9 KB) - added by beccati@… 5 years ago.
wcps query and segfault details
rasql-scale-issue.txt (1.7 KB) - added by beccati@… 5 years ago.
queries and collection information

Download all attachments as: .zip

Change History (5)

Changed 5 years ago by beccati@…

wcps query and segfault details

Changed 5 years ago by beccati@…

queries and collection information

comment:1 Changed 5 years ago by dmisev

I can not reproduce this bug on the latest rasdaman from git, with these commands:

$RASQL -q "insert into $COLL values marray x in [0:832,0:19305,148289:148303] values 1.0"
$RASQL -q "select sdom(scale(m[458:535,5499:5654,148290:148290], [0:300,0:500,0:0] )) from $COLL as m" --out string

comment:2 Changed 5 years ago by barboni@…

hello Dimitar

Unfortunately now I have not enough information to help you reproduce the problem.

I have observed that the segmentation fault usually happens with collection composed by float data. With char or RGB collection it seems that rescale works well.

I'm sorry but now i have not other additional info.

Damiano

comment:3 Changed 5 years ago by dmisev

  • Resolution set to fixed
  • Status changed from new to closed

As I was fixing #144 I managed to reproduce the segfault as well, so a patch is pending that should fix this.

Note: See TracTickets for help on using tickets.