Opened 13 years ago

Closed 12 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: Medium

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@… 13 years ago.
wcps query and segfault details
rasql-scale-issue.txt (1.7 KB ) - added by beccati@… 13 years ago.
queries and collection information

Download all attachments as: .zip

Change History (5)

by beccati@…, 13 years ago

Attachment: wcps-crashes-rasdaman.txt added

wcps query and segfault details

by beccati@…, 13 years ago

Attachment: rasql-scale-issue.txt added

queries and collection information

comment:1 by Dimitar Misev, 12 years ago

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 by barboni@…, 12 years ago

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 by Dimitar Misev, 12 years ago

Resolution: fixed
Status: newclosed

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.