gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #58833] Segment crashes when detetion map has blank pixels


From: Mohammad Akhlaghi
Subject: [bug #58833] Segment crashes when detetion map has blank pixels
Date: Sun, 26 Jul 2020 16:59:20 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

URL:
  <https://savannah.gnu.org/bugs/?58833>

                 Summary: Segment crashes when detetion map has blank pixels
                 Project: GNU Astronomy Utilities
            Submitted by: makhlaghi
            Submitted on: Sun 26 Jul 2020 09:59:18 PM BST
                Category: Segment
                Severity: 3 - Normal
              Item Group: Crash
                  Status: In Progress
                 Privacy: Public
             Assigned to: makhlaghi
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The input detection map in Segment is interpreted as a signed 32-bit integer
type. So when it has blank values, they are stored as the smallest possible
number in this format (a huge negative number).

However, the checks at the start of Segment don't account for this, so when
there are blank elements in the detection map, Segment crashes, by saying that
there are negative pixel values in the detection map (which should be only
positive).

This bug was reported by Zahra Sharbaf.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58833>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]