loadwiki commented on issue #12438: core dump in macosx using big model
URL: 
https://github.com/apache/incubator-mxnet/issues/12438#issuecomment-421056450
 
 
   This core dump issue causes by the bug from other code. But I do find some 
core dump bug which can be repeat very easily: create a infer handle by load a 
model, then the thread exit immediately. Then core dump happens, something like 
this:
   `  // Create Predictor
     MXPredCreate(static_cast<const char*>(json_data.GetBuffer()),
                  static_cast<const char*>(param_data.GetBuffer()),
                  static_cast<int>(param_data.GetLength()),
                  dev_type,
                  dev_id,
                  num_input_nodes,
                  input_keys,
                  input_shape_indptr,
                  input_shape_data,
                  &pred_hnd);
     assert(pred_hnd);
     exit(0);`
   However, if insert a sleep() statement before exit(), the issue doesn't 
exist.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to