Comment 3 for bug 347730

Revision history for this message
In , Sylvestre-ledru (sylvestre-ledru) wrote :

a = 1:1:10000;
b = a';
kron(a,b);

=> seg fault

#0 0x00007fffeece1407 in dcopy_ () from /usr/lib/libblas.so.3gf
#1 0x00007ffff53db070 in kronr (a=..., ia=1, ma=1, na=<optimized out>, b=...,
    ib=10000, mb=10000, nb=1, pk=..., ik=10000) at src/fortran/kronr.f:43
#2 0x00007ffff539140e in intkron (id=<optimized out>)
    at sci_gateway/fortran/sci_f_kron.f:163
#3 0x00007ffff5381810 in sci_kron (fname=<optimized out>,
    fname_len=<optimized out>) at sci_gateway/c/sci_kron.c:20
#4 0x00007ffff5381735 in gw_elementary_functions ()
    at sci_gateway/c/gw_elementary_functions.c:76
#5 0x00007ffff7a8cf94 in callinterf_ (k=0x7ffff7d1ffbc)
    at src/c/callinterf.c:142
#6 0x00007ffff7a9943c in scirun_ (startupCode=<optimized out>,
    startupCode_len=<optimized out>) at src/c/scirun.c:127
#7 0x00007ffff7a8783d in realmain (no_startup_flag_l=<optimized out>,
    initial_script=0x0, initial_script_type=SCILAB_SCRIPT, memory=8000000)
    at src/c/realmain.c:154
#8 0x00000000004020cd in main (argc=2, argv=0x7fffffffe1f8)
    at ./modules/console/src/c/others/mainscic.c:175

reported initially here:
https://bugs.launchpad.net/ubuntu/+source/scilab/+bug/347730