{
  "id": 101837,
  "title": "XGBoost Error 0xC0000409?",
  "url": "/competitions/champs-scalar-coupling/discussion/101837",
  "author_name": "",
  "post_date": "2019-07-29T01:38:46.783751100Z",
  "votes": 1,
  "comment_count": 5,
  "views": 0,
  "content": "<p>Please does anyone know what might cause XGBoost to crash with an error 0xC0000409?  It crashes on the fit function.  I've checked for properly sized data structures.  I get the error code in PyCharm; in a terminal window or Jupyter all I get is a program stop with no information.  There is no stack trace to help out.  It crashes even if I remove the eval set.</p>\n\n<p>reg.fit(X_tr, y_tr, eval_set=[(X_val, y_val)])</p>\n\n<p>Thanks,\nVetteJeep</p>",
  "messages": [
    {
      "id": "586307",
      "postDate": "07/29/2019 01:38:46",
      "content": "<p>Please does anyone know what might cause XGBoost to crash with an error 0xC0000409?  It crashes on the fit function.  I've checked for properly sized data structures.  I get the error code in PyCharm; in a terminal window or Jupyter all I get is a program stop with no information.  There is no stack trace to help out.  It crashes even if I remove the eval set.</p>\n\n<p>reg.fit(X_tr, y_tr, eval_set=[(X_val, y_val)])</p>\n\n<p>Thanks,\nVetteJeep</p>",
      "rawMarkdown": "Please does anyone know what might cause XGBoost to crash with an error 0xC0000409?  It crashes on the fit function.  I've checked for properly sized data structures.  I get the error code in PyCharm; in a terminal window or Jupyter all I get is a program stop with no information.  There is no stack trace to help out.  It crashes even if I remove the eval set.\n\nreg.fit(X_tr, y_tr, eval_set=[(X_val, y_val)])\n\nThanks,\nVetteJeep",
      "votes": null
    },
    {
      "id": "586493",
      "postDate": "07/29/2019 08:36:26",
      "content": "<p>Check your evalset and try agin </p>",
      "rawMarkdown": "Check your evalset and try agin",
      "votes": null
    },
    {
      "id": "586514",
      "postDate": "07/29/2019 09:00:14",
      "content": "<p>I found these two hits when googling for it.  Maybe it can help:</p>\n\n<p><a href=\"https://stackoverflow.com/questions/51768403/xgboost-crashing-kernel-in-jupyter-notebook\">https://stackoverflow.com/questions/51768403/xgboost-crashing-kernel-in-jupyter-notebook</a></p>\n\n<p><a href=\"https://github.com/dmlc/xgboost/issues/1984\">https://github.com/dmlc/xgboost/issues/1984</a></p>\n\n<p>There is a xgboost forum where you can ask as well: <a href=\"https://discuss.xgboost.ai/\">https://discuss.xgboost.ai/</a></p>\n\n<p>In any case, cut and pasting the full error message is very helpful.  It usually contains a stack of the calls that led to the issue.</p>",
      "rawMarkdown": "I found these two hits when googling for it.  Maybe it can help:\n\nhttps://stackoverflow.com/questions/51768403/xgboost-crashing-kernel-in-jupyter-notebook\n\nhttps://github.com/dmlc/xgboost/issues/1984\n\nThere is a xgboost forum where you can ask as well: https://discuss.xgboost.ai/\n\nIn any case, cut and pasting the full error message is very helpful.  It usually contains a stack of the calls that led to the issue.",
      "votes": null
    },
    {
      "id": "588270",
      "postDate": "07/30/2019 11:06:57",
      "content": "<p>I will try the XGBoost forum.  Sadly, there is no stack trace or full error message.  Just the 409 error code &amp; only in PyCharm.  In the terminal it dies silently.</p>",
      "rawMarkdown": "I will try the XGBoost forum.  Sadly, there is no stack trace or full error message.  Just the 409 error code &amp; only in PyCharm.  In the terminal it dies silently.",
      "votes": null
    },
    {
      "id": "588271",
      "postDate": "07/30/2019 11:10:52",
      "content": "<p>It dies even without the eval set.  Also, the eval set is a simple split of the test set in standard style 5 fold CV code.  But I will recheck it for size and features.</p>",
      "rawMarkdown": "It dies even without the eval set.  Also, the eval set is a simple split of the test set in standard style 5 fold CV code.  But I will recheck it for size and features.",
      "votes": null
    },
    {
      "id": "588842",
      "postDate": "07/31/2019 06:16:22",
      "content": "<p>Did you check this <a href=\"https://stackoverflow.com/questions/50562192/process-finished-with-exit-code-1073740791-0xc0000409-pycharm-error\">https://stackoverflow.com/questions/50562192/process-finished-with-exit-code-1073740791-0xc0000409-pycharm-error</a> ?</p>",
      "rawMarkdown": "Did you check this https://stackoverflow.com/questions/50562192/process-finished-with-exit-code-1073740791-0xc0000409-pycharm-error ?",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 586493,
      "author_name": "isuranimalasiri",
      "author_url": "",
      "post_date": "07/29/2019 08:36:26",
      "content": "<p>Check your evalset and try agin </p>",
      "votes": null,
      "replies": [
        {
          "id": 588271,
          "author_name": "vettejeep",
          "author_url": "",
          "post_date": "07/30/2019 11:10:52",
          "content": "<p>It dies even without the eval set.  Also, the eval set is a simple split of the test set in standard style 5 fold CV code.  But I will recheck it for size and features.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 586514,
      "author_name": "cpmpml",
      "author_url": "",
      "post_date": "07/29/2019 09:00:14",
      "content": "<p>I found these two hits when googling for it.  Maybe it can help:</p>\n\n<p><a href=\"https://stackoverflow.com/questions/51768403/xgboost-crashing-kernel-in-jupyter-notebook\">https://stackoverflow.com/questions/51768403/xgboost-crashing-kernel-in-jupyter-notebook</a></p>\n\n<p><a href=\"https://github.com/dmlc/xgboost/issues/1984\">https://github.com/dmlc/xgboost/issues/1984</a></p>\n\n<p>There is a xgboost forum where you can ask as well: <a href=\"https://discuss.xgboost.ai/\">https://discuss.xgboost.ai/</a></p>\n\n<p>In any case, cut and pasting the full error message is very helpful.  It usually contains a stack of the calls that led to the issue.</p>",
      "votes": null,
      "replies": [
        {
          "id": 588270,
          "author_name": "vettejeep",
          "author_url": "",
          "post_date": "07/30/2019 11:06:57",
          "content": "<p>I will try the XGBoost forum.  Sadly, there is no stack trace or full error message.  Just the 409 error code &amp; only in PyCharm.  In the terminal it dies silently.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 588842,
      "author_name": "harshit92",
      "author_url": "",
      "post_date": "07/31/2019 06:16:22",
      "content": "<p>Did you check this <a href=\"https://stackoverflow.com/questions/50562192/process-finished-with-exit-code-1073740791-0xc0000409-pycharm-error\">https://stackoverflow.com/questions/50562192/process-finished-with-exit-code-1073740791-0xc0000409-pycharm-error</a> ?</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "586307": "Please does anyone know what might cause XGBoost to crash with an error 0xC0000409?  It crashes on the fit function.  I've checked for properly sized data structures.  I get the error code in PyCharm; in a terminal window or Jupyter all I get is a program stop with no information.  There is no stack trace to help out.  It crashes even if I remove the eval set.\n\nreg.fit(X_tr, y_tr, eval_set=[(X_val, y_val)])\n\nThanks,\nVetteJeep",
    "586493": "Check your evalset and try agin",
    "586514": "I found these two hits when googling for it.  Maybe it can help:\n\nhttps://stackoverflow.com/questions/51768403/xgboost-crashing-kernel-in-jupyter-notebook\n\nhttps://github.com/dmlc/xgboost/issues/1984\n\nThere is a xgboost forum where you can ask as well: https://discuss.xgboost.ai/\n\nIn any case, cut and pasting the full error message is very helpful.  It usually contains a stack of the calls that led to the issue.",
    "588270": "I will try the XGBoost forum.  Sadly, there is no stack trace or full error message.  Just the 409 error code &amp; only in PyCharm.  In the terminal it dies silently.",
    "588271": "It dies even without the eval set.  Also, the eval set is a simple split of the test set in standard style 5 fold CV code.  But I will recheck it for size and features.",
    "588842": "Did you check this https://stackoverflow.com/questions/50562192/process-finished-with-exit-code-1073740791-0xc0000409-pycharm-error ?"
  },
  "source": "meta"
}