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:  Arithmetic Severity:  3 - Normal
Item Group:  Crash Status:  Fixed
Privacy:  Public Assigned 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
  • -email is unavailable- added by makhlaghi (Submitted the item)

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

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-07-24 makhlaghi StatusIn Progress => Fixed
        Open/ClosedOpen => Closed

    Back to the top

    Powered by Savane 3.3