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

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Mon 24 Jul 2017 02:54:29 PM UTC
Category:  Arithmetic Severity:  3 - Normal
Item Group:  Crash Status:  Fixed
Privacy:  Public Assigned to:  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>
Group administrator
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>
Group administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    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.13-b921.
    Corresponding source code