sparse([0 0],1) crashes scilab (regression)
Reported by Stéphane MOTTELET (@mottelet)
BUG DESCRIPTION:
----------------
sparse([0 0],1) crashes scilab, more precisely, in the sparse(ij,v) syntax, strict positivity of ij values are not checked
ERROR LOG:
----------
-> sparse([0 0],1)
A fatal error has been detected by Scilab.
Please check your user-defined functions (or external module ones) should they appear in the stack trace.
Otherwise you can report a bug on http://bugzilla.scilab.org/ with:
* a sample code which reproduces the issue
* the result of [a, b] = getdebuginfo()
* the following information:
[macmottelet-cr-0:41385] Signal: Segmentation fault: 11 (11)
[macmottelet-cr-0:41385] Signal code: Address not mapped (1)
[macmottelet-cr-0:41385] Failing at address: 0xfffffffffffffffc
Call stack:
1: ? ? (?)
2: 0x652e9d <_ZN5Eigen12SparseMatrixIdLi1EiE15setFromTripletsINSt3__111__wrap_iterIPNS_7TripletIdiEEEEEEvRKT_SB_> (/Users/mottelet/git/scilab_6.0/scilab/modules/ast/.libs/libsciast.6.dylib)
HOW TO REPRODUCE THE BUG:
-------------------------
OTHER INFORMATION:
------------------