bugGNU Astronomy Utilities - Bugs: bug #65879, Table segmentation fault when...

 
 

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

bug #65879: Table segmentation fault when --range and arithmetic called together

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Fri 14 Jun 2024 09:18:26 AM UTC
   
 
Category:  Table Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Crash
Status:  Confirmed Privacy:  Public
Assigned to:  None Open/Closed:  Open

Discussion

Fri 14 Jun 2024 09:18:26 AM UTC, original submission:  

As of version 0.22, when these features are called together we get a segmentation fault like below ('input.fits' is attached).


asttable table.fits --range=1,10:50 --range=2,10:50 -c'arith $1 -0.1 +','arith $2 0.1 +'


Having a fast look into the code of the Table program, I see that the arithmetic operation (which is done first according to Table's operation precedence) frees the columns that are later used by the '--range' option.

Therefore until this bug is fixed, if someone confronts this problem, a fast fix to this problem is to use '--rowfirst' (so the rows are selected before column arithmetic).

This problem was reported by Teet Kuutma.

Mohammad Akhlaghi <makhlaghi>
Group administrator

 

Attached Files

Attached Files
file #56161:  table.fits added by makhlaghi (8.4KiB - application/fits)

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-06-14 makhlaghi Attached File- Added table.fits, #56161
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.16-598c.
    Corresponding source code