bugGNU Astronomy Utilities - Bugs: bug #51476, Crashes on 32-bit and big-endian...

 
 

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

bug #51476: Crashes on 32-bit and big-endian systems

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  Sat 15 Jul 2017 09:38:12 PM UTC  
 
Category: MakeProfilesSeverity: 5 - Blocker
Item Group: CrashStatus: Fixed
Privacy: PublicAssigned to: Mohammad Akhlaghi <makhlaghi>
Open/Closed: Closed

Sat 15 Jul 2017 10:11:51 PM UTC, comment #1:

The problem was corrected and checked (on a 32-bit and 64-bit little-endian) system. It has been pushed to the main repo.

It will be submitted to Debian to see if it (hopefully) builds correctly on all architectures (except `sh4').

Mohammad Akhlaghi <makhlaghi>
Project AdministratorIn charge of this item.
Sat 15 Jul 2017 09:38:12 PM UTC, original submission:

Gnuastro 0.3.31 (fix to bug #51467) was approved and uploaded onto Debian a few hours ago and almost immediately several crashes were reported in the tests (they are still ongoing, but already 12 architectures have failed!):

https://buildd.debian.org/status/package.php?p=gnuastro

A summary of the results is:

Except for the `sh4' architecture, the rest are all in MakeProfiles and appear related.

After trying the build on a 32-bit virtual machine, I was able to find the cause of the problem: the `mode' element of the `mkprofparams' (defined in MakeProfile's `main.h') was defined as uint8_t, but in the `ui_parse_coordinate_mode', it was being read as an `int'! Francly it is strange for me why this didn't cause a crash on my own system!?!

This maybe one of the problems with compilers becoming "smarter" (and hiding problems)!

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)
  •  

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 15 Jul 2017 10:11:51 PM UTCmakhlaghiStatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1