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
Item Group:  Crash Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open

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

 

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

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

 

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)
  • -email is unavailable- added by makhlaghi
  •  

    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
    2024-06-14 makhlaghi Attached File- Added table.fits, #56161
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.14-60ba.
    Corresponding source code