proposed-migration for iraf-fitsutil 2018.07.06-6build1

Bug #2058985 reported by Steve Langasek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
iraf-fitsutil (Debian)
Fix Released
Unknown
iraf-fitsutil (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

iraf-fitsutil 2018.07.06-6build1 is built in -proposed but not on armhf. This will not block migration because armhf binaries are being removed from the release pocket, but unless addressed will regress armhf availability of this package in 24.04 LTS.

The tests fail[1] due to segmentation fault in fgread/fgwrite functions:
---
Program received signal SIGSEGV, Segmentation fault.
0x0040284e in sprintf (__fmt=0x405160 "%d-%2.2d-%2.2dT%2.2d:%2.2d:%2.2d", __s=0xfffef18c "2024-04-10T23:34:55")
    at /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30
warning: Source file is more recent than executable.
30 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
(gdb) where
#0 0x0040284e in sprintf (__fmt=0x405160 "%d-%2.2d-%2.2dT%2.2d:%2.2d:%2.2d", __s=0xfffef18c "2024-04-10T23:34:55")
    at /usr/include/arm-linux-gnueabihf/bits/stdio2.h:30
#1 fgfileout (fname=fname@entry=0xfffef77d "pix.fits", out=1, ftype=6, path=path@entry=0x405318 "", level=level@entry=1)
    at fgwrite.c:695
#2 0x00400f7e in main (argc=<optimized out>, argv=<optimized out>) at fgwrite.c:360
(gdb) down
Bottom (innermost) frame selected; you cannot go down.
(gdb) up
#1 fgfileout (fname=fname@entry=0xfffef77d "pix.fits", out=1, ftype=6, path=path@entry=0x405318 "", level=level@entry=1)
    at fgwrite.c:695
warning: 695 fgwrite.c: No such file or directory
(gdb) print tm
$1 = (struct tm *) 0x0
---
Structure fheader uses long to represent timestamps causing a failure to obtain theproper timestamp.

[1] https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-noble/noble/armhf/i/iraf-fitsutil/20240408_131637_f974b@/log.gz

Vladimir Petko (vpa1977)
description: updated
Changed in iraf-fitsutil (Debian):
status: Unknown → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package iraf-fitsutil - 2018.07.06-7ubuntu1

---------------
iraf-fitsutil (2018.07.06-7ubuntu1) noble; urgency=medium

  * d/p/use-time-t.patch: use time_t instead of long for
    timestamps (LP: #2058985).

 -- Vladimir Petko <email address hidden> Thu, 11 Apr 2024 11:54:47 +1200

Changed in iraf-fitsutil (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.