bugGNU Astronomy Utilities - Bugs: bug #62070, Segmentation fault in Table's...

 
 

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

bug #62070: Segmentation fault in Table's --tail option with string columns

Submitter:  Mohammad Akhlaghi <makhlaghi>
Submitted:  Thu 17 Feb 2022 01:36:53 AM UTC
   
 
Category:  Table Severity:  3 - Normal
Item Group:  Crash Status:  Fixed
Privacy:  Public Assigned to:  makhlaghi
Open/Closed:  Closed

Thu 17 Feb 2022 01:46:58 AM UTC, comment #1: 

This bug has been fixed in Commit 1ae67c38048. See the commit message for the details of the problem and its fix.

Mohammad Akhlaghi <makhlaghi>
Group administrator
Thu 17 Feb 2022 01:36:53 AM UTC, original submission:  

When Table is called with string columns, and the '--tail' option is called with a value more than half of the table's number of rows, it crashes with a segmentation fault. The code below can be used to reproduce the problem:


$ cat test.txt
# Column 1: test [no, str3]
abc
def
ghi
jkl
mno
pqr

$ asttable test.txt --tail=4
Segmentation fault (core dumped)


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
    2022-02-17 makhlaghi StatusIn Progress Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code