bugGNU Astronomy Utilities - Bugs: bug #51559, Arithmetic with one file and no...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #51559: Arithmetic with one file and no operators

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Mon 24 Jul 2017 02:54:29 PM UTC  
 
Category: ArithmeticSeverity: 3 - Normal
Item Group: CrashStatus: Fixed
Privacy: PublicAssigned to: Mohammad Akhlaghi <makhlaghi>
Open/Closed: Closed

Mon 24 Jul 2017 03:16:58 PM UTC, comment #1:

This bug is fixed and has been pushed to the main repo.

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.
Mon 24 Jul 2017 02:54:29 PM UTC, original submission:

When Arithmetic is run with only one image and no operators it crashes. This is because of the behavior we have defined for efficiency: an image is only actually read into memory when it is ready to be operated on by an operator, not when it is confronted. In this way, when processing a large number of files, at any moment only the ones that are actually being operated on are in memory.

So when there is no operator, the contents of the image are not read into memory and we get a segmentation fault. I am now working on a solution to this problem.

Cases like this (when there is only one file operand and no operator) can happen in scripts.

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by makhlaghi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 24 Jul 2017 03:16:58 PM UTCmakhlaghiStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1