Package: ftools-pow
Version: 5.5+dfsg-1
Severity: serious

When starting fv with almost any file and trying to display the content,
fv crashes. Backtrace:

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007ffff708a535 in __GI_abort () at abort.c:79
#2  0x00007ffff70e1508 in __libc_message (action=action@entry=do_abort,
fmt=fmt@entry=0x7ffff71ec28d "%s\n")
    at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007ffff70e7c1a in malloc_printerr (str=str@entry=0x7ffff71edff8
"double free or corruption (out)") at malloc.c:5341
#4  0x00007ffff70e9730 in _int_free (av=0x7ffff7223c40 <main_arena>,
p=0x555556518dc0, have_lock=<optimized out>) at malloc.c:4306
#5  0x00007ffff5e25ee1 in wcsinit (alloc=alloc@entry=1, naxis=2,
wcs=wcs@entry=0x555556518440, npvmax=64, npvmax@entry=-1, npsmax=8,
    npsmax@entry=-1, ndpmax=ndpmax@entry=-1) at wcs.c:173
#6  0x00007ffff5e27241 in wcsini (alloc=alloc@entry=1, naxis=<optimized
out>, wcs=wcs@entry=0x555556518440) at wcs.c:141
#7  0x00007ffff4cc74c3 in PowInitWCS (WCS=0x555556518440, n=<optimized
out>) at PowWCS.c:31
#8  0x00007ffff4cc7975 in PowParseWCS
(interp=interp@entry=0x555555570070, WCS=WCS@entry=0x555556518440,
argc=argc@entry=5,
    argv=0x555556293cd0) at PowWCS.c:113
#9  0x00007ffff4cc85e1 in PowWCSInitCurve (clientData=<optimized out>,
interp=0x555555570070, argc=7, argv=<optimized out>) at PowWCS.c:362
[...]

The problem is that PowWCS.c:31 the wrong field is initialized.

Reply via email to