bugGNU Astronomy Utilities - Bugs: bug #49588, Segfault in mesh interpolation

 
 

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

bug #49588: Segfault in mesh interpolation

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Fri 11 Nov 2016 08:25:04 PM UTC  
 
Category: NoiseChiselSeverity: 4 - Important
Item Group: CrashStatus: Fixed
Privacy: PublicAssigned to: Mohammad Akhlaghi <makhlaghi>
Open/Closed: Closed

Fri 11 Nov 2016 08:43:44 PM UTC, comment #1:

The issue was fixed and has been pushed to the main repo.

Just to complete the explanation, the sample image was 30x30 pixels wide while the small mesh size was 32x32 pixels (the default value). So ultimately, the mesh library (through NoiseChisel in this case) will abort, but there will be an explanation to explain why it didn't complete.

In such cases, it might be useful to allow no interpolation when the mesh and image size are roughly similar (only one mesh) and the mesh could be given a value (task #14218).

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.
Fri 11 Nov 2016 08:25:04 PM UTC, original submission:

This bug was reported by Nicolas Bouché.

When the input image is very small (about the same size as the mesh grid), then there will only be one mesh and NoiseChisel (which uses the mesh library) gives a segmentation fault:

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 11 Nov 2016 08:43:44 PM UTCmakhlaghiStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Fri 11 Nov 2016 08:25:04 PM UTCmakhlaghiCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1