Package: minc
Version: 1.4-4

minc produces a floating point exception on Alpha when I compile
it with a snapshot of GCC 4.2.  I'm not entirely sure whether this is
a compiler bug or one in your package, but from other cases like these
it is likely that your package is doing something wrong and that newer
optimizations exhibit the problem.

Maybe you or your upstream can investigate.  I'm also CCing Falk
Hueffner who knows about Alpha and GCC.

I've done some preliminary investigation which shows where the error
is:

in : short, out : double, norm : true, imgmax : true, valid : false

Program received signal SIGFPE, Arithmetic exception.
MI_convert_type (number_of_values=1, intype=NC_SHORT, insign=1, 
invalues=0x11faed910,
    outtype=NC_DOUBLE, outsign=1, outvalues=0x12001d350, icvp=0x1200141b0)
    at libsrc/value_conversion.c:585
585           do_scale=icvp->do_scale;
(gdb) where
#0  MI_convert_type (number_of_values=1, intype=NC_SHORT, insign=1, 
invalues=0x11faed910,
    outtype=NC_DOUBLE, outsign=1, outvalues=0x12001d350, icvp=0x1200141b0)
    at libsrc/value_conversion.c:585
#1  0x00000200000901ac in MI_var_action (ndims=<value optimized out>, 
var_start=0x11fae5610,
    var_count=0x11fae4610, nvalues=1, var_buffer=0x12001d350, 
caller_data=0x11fae76e8)
    at libsrc/value_conversion.c:294
#2  0x000002000008fdcc in MI_var_loop (ndims=1, start=0x11fae8800, count=<value 
optimized out>,
    value_size=<value optimized out>, bufsize_step=<value optimized out>,
    max_buffer_size=<value optimized out>, caller_data=0x1,
    action_func=0x2000008ff80 <MI_var_action>) at libsrc/value_conversion.c:431
#3  0x000002000009042c in MI_varaccess (operation=11, cdfid=6, varid=0, 
start=0x11fae8800,
    count=0x11fae7800, datatype=NC_SHORT, sign=1, values=0x11faed910, 
bufsize_step=0x0,
    icvp=0x1200141b0) at libsrc/value_conversion.c:231
#4  0x00000200000860a0 in MI_icv_access (operation=11, icvp=0x1200141b0,
    start=<value optimized out>, count=0x20000093340, values=<value optimized 
out>)
    at libsrc/image_conversion.c:1352
#5  0x0000020000086c98 in miicv_put (icvid=0, start=0x120012410, 
count=0x120012300,
    values=0x11faed910) at libsrc/image_conversion.c:1242
#6  0x0000000120000ef0 in main () at icv_range.c:83
(gdb)


> Automatic build of minc_1.4-4 on juist by sbuild/alpha 0.44
...
> make[3]: Entering directory `/build/tbm/minc-1.4/testdir'
> Testing minc_types
> Testing icv_range
> Floating point exception
> FAIL: run_tests.csh
> PASS: xfmconcat_01.sh
> PASS: xfmconcat_02.sh
> =======================================
> 1 of 3 tests failed
> Please report to [EMAIL PROTECTED]
> =======================================
> make[3]: *** [check-TESTS] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to