GNU Astronomy Utilities - Bugs: bug #57101, Crop segmentation fault when no...
You are not allowed to post comments on this tracker with your current authentication level.
bug #57101: Crop segmentation fault when no overlap exists in image-mode
Submitter: | Mohammad Akhlaghi <makhlaghi> | ||
Submitted: | Tue 22 Oct 2019 04:16:34 PM UTC | ||
Category: | Crop | Severity: | 3 - Normal |
Item Group: | Crash | Status: | Fixed |
Privacy: | Public | Assigned to: | makhlaghi |
Open/Closed: | Closed |
Jump to the original submission
Sat 07 Mar 2020 04:00:22 PM UTC, comment #6: |
Mohammad Akhlaghi <makhlaghi> |
Sat 07 Mar 2020 11:02:06 AM UTC, comment #5: astcrop --mode=img -h0 --section=6000:7000,6000:7000 hlsp_xdf_hst_wfc3ir-60mas_hudf_f160w_v1_sci.fits
|
madhav_bansal <madhav_bansal> |
Sat 07 Mar 2020 10:55:00 AM UTC, comment #4: when I tried to crop the area which is present in the image but has value=0, then the cropped action is done without any error and when I requested the region completely outside the crop then also no error showed but also no file created |
madhav_bansal <madhav_bansal> |
Sat 07 Mar 2020 10:34:07 AM UTC, comment #3: I am having problem difficulty in reproducing the bug ,can you tell more details on how the segmentation-fault is occurring
|
madhav_bansal <madhav_bansal> |
Sun 23 Feb 2020 07:43:06 PM UTC, comment #2: That would be great ;-)!
|
Mohammad Akhlaghi <makhlaghi> |
Sun 23 Feb 2020 05:51:10 PM UTC, comment #1: i can resolve this issue
|
madhav_bansal <madhav_bansal> |
Tue 22 Oct 2019 04:16:34 PM UTC, original submission:
When the requested region in image mode is fully outside of the input data set, Crop crashes with a segmentation fault. |
Mohammad Akhlaghi <makhlaghi> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
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 |
---|---|---|---|---|---|
2020-03-07 | makhlaghi | Status | In Progress | Fixed | |
Open/Closed | Open | Closed |
Powered by Savane 3.13-02a9.
Corresponding source code
You are right! I just checked and it didn't give any segmentation fault for me either!!! Then I looked into the commits around that date and noticed that I fixed this bug and pushed it to the main repository on the same day! I had forgot to close the bug here.
I am very sorry for this! This was my mistake. There are many other bugs/tasks you can choose to continue working on ;-). All the programs and libraries use similar constructs, so don't worry, what you have done for this bug so far, can easily be used in other aspects of Gnuastro also ;-).