[mlpack-svn] [MLPACK] #174: Crash in NearestNeighbors on initialization of AllkNN

MLPACK Trac trac at coffeetalk-1.cc.gatech.edu
Thu Dec 8 14:09:18 EST 2011


#174: Crash in NearestNeighbors on initialization of AllkNN
--------------------------------------------------------+-------------------
  Reporter:  mamidon                                    |        Owner:     
      Type:  defect                                     |       Status:  new
  Priority:  major                                      |    Milestone:     
 Component:  MLPACK                                     |   Resolution:     
  Keywords:  allkfn allknn nearest neighbors armadillo  |     Blocking:     
Blocked By:                                             |  
--------------------------------------------------------+-------------------
Description changed by mamidon:

Old description:

> When allknn_main tries to initialize it's AllkNN, a failure occurs.
>
> NeighborSearch (AllkNN) initializes an armadillo matrix with a null
> character pointer (see Mat_meat.hpp:197) which results in failure.
>
> This also occurs in allkfn_main.

New description:

 When allknn_main tries to initialize it's AllkNN, a failure occurs.

 NeighborSearch initializes an armadillo matrix with a null character
 pointer (see Mat_meat.hpp:197) which results in failure.

 This also in allkfn_main and allknn_main.
 The error can be reproduced by passing in a valid k, reference file,
 neighbors file, and distances file.

--

-- 
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/174#comment:1>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed by the FASTLAB at Georgia Tech under Dr. Alex Gray.


More information about the mlpack-svn mailing list