# Netdata crashed during update and eBPF plugin also crashed according to entries in /var/crash

**URL:** <https://community.netdata.cloud/t/netdata-crashed-during-update-and-ebpf-plugin-also-crashed-according-to-entries-in-var-crash/634>\
**Category:** Help\
**Tags:** agent, agent-health\
**Created:** [December 14, 2020, 10:25pm UTC](https://community.netdata.cloud/t/netdata-crashed-during-update-and-ebpf-plugin-also-crashed-according-to-entries-in-var-crash/634 "2020-12-14T22:25:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris.pollock](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/chris.pollock/32/193_2.png) [@chris.pollock](https://community.netdata.cloud/u/chris.pollock)\
**Post date:** [December 14, 2020, 10:25pm UTC](https://community.netdata.cloud/t/netdata-crashed-during-update-and-ebpf-plugin-also-crashed-according-to-entries-in-var-crash/634/1 "2020-12-14T22:25:23Z")

</div>

Two entries in my Ubuntu 20.04.1LTS /var/crash folder today. One on Netdata itself apparently when the nightly updates were being run and the other on the eBPF plugin again. I see nothing wrong in Netdatas operation. I’ve attached links to the two crash reports and the Netdata error log.

EDIT: Moderator removed pastebin links due to 404

---

<div class="post-metadata">

**Author:** ![OdysLam](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/odyslam/32/98_2.png) [@OdysLam](https://community.netdata.cloud/u/OdysLam)\
**Post date:** [December 15, 2020, 10:36am UTC](https://community.netdata.cloud/t/netdata-crashed-during-update-and-ebpf-plugin-also-crashed-according-to-entries-in-var-crash/634/2 "2020-12-15T10:36:28Z")

</div>

Thanks @chris.pollock for bringing this up. Pinging @Thiago_Marques_0 since he is the brains 🧠 behind our eBPF collector.

---

<div class="post-metadata">

**Author:** ![Thiago\_Marques\_0](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/thiago_marques_0/32/281_2.png) [@Thiago\_Marques\_0](https://community.netdata.cloud/u/Thiago_Marques_0)\
**Post date:** [December 15, 2020, 12:39pm UTC](https://community.netdata.cloud/t/netdata-crashed-during-update-and-ebpf-plugin-also-crashed-according-to-entries-in-var-crash/634/3 "2020-12-15T12:39:18Z")

</div>

Hi @chris.pollock,

Thank you to give us the link, this is helping me to understand the whole situation.

Best regards!

---

<div class="post-metadata">

**Author:** ![Thiago\_Marques\_0](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/thiago_marques_0/32/281_2.png) [@Thiago\_Marques\_0](https://community.netdata.cloud/u/Thiago_Marques_0)\
**Post date:** [December 15, 2020, 2:33pm UTC](https://community.netdata.cloud/t/netdata-crashed-during-update-and-ebpf-plugin-also-crashed-according-to-entries-in-var-crash/634/4 "2020-12-15T14:33:54Z")

</div>

Hi @chris.pollock,

Thanks the paste bin I could create all the necessary conditions to crash ebpf.plugin, I made the PR [invalid\_addr\_cleanup: Initialize variables by thiagoftsm · Pull Request #10395 · netdata/netdata · GitHub](https://github.com/netdata/netdata/pull/10395) that is bringing a fix for the reported problem.

Thank you!

---

<div class="post-metadata">

**Author:** ![chris.pollock](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/chris.pollock/32/193_2.png) [@chris.pollock](https://community.netdata.cloud/u/chris.pollock)\
**Post date:** [December 15, 2020, 3:18pm UTC](https://community.netdata.cloud/t/netdata-crashed-during-update-and-ebpf-plugin-also-crashed-according-to-entries-in-var-crash/634/5 "2020-12-15T15:18:32Z")

</div>

Good morning @Thiago_Marques_0, glad I could be of some help. I assume the fix you created will be included in tonight’s nightly update?

---

<div class="post-metadata">

**Author:** ![Thiago\_Marques\_0](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/thiago_marques_0/32/281_2.png) [@Thiago\_Marques\_0](https://community.netdata.cloud/u/Thiago_Marques_0)\
**Post date:** [December 15, 2020, 5:00pm UTC](https://community.netdata.cloud/t/netdata-crashed-during-update-and-ebpf-plugin-also-crashed-according-to-entries-in-var-crash/634/6 "2020-12-15T17:00:56Z")

</div>

Hello @chris.pollock, you are right, we merged the PR few hours ago. I expect that you will have another core dump during the update, but tomorrow you should not have them.

Best regards!

---

<div class="post-metadata">

**Author:** ![chris.pollock](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/chris.pollock/32/193_2.png) [@chris.pollock](https://community.netdata.cloud/u/chris.pollock)\
**Post date:** [December 16, 2020, 2:28pm UTC](https://community.netdata.cloud/t/netdata-crashed-during-update-and-ebpf-plugin-also-crashed-according-to-entries-in-var-crash/634/7 "2020-12-16T14:28:52Z")

</div>

Good morning @Thiago_Marques_0, the nightly update went well this morning, no crash report. 😃, thank you.

---

<div class="post-metadata">

**Author:** ![Thiago\_Marques\_0](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/thiago_marques_0/32/281_2.png) [@Thiago\_Marques\_0](https://community.netdata.cloud/u/Thiago_Marques_0)\
**Post date:** [December 16, 2020, 4:05pm UTC](https://community.netdata.cloud/t/netdata-crashed-during-update-and-ebpf-plugin-also-crashed-according-to-entries-in-var-crash/634/8 "2020-12-16T16:05:06Z")

</div>

Hello @chris.pollock,

I am very happy with this news!

I also need to thank you for the logs you gave us, without any doubt, this was a bug fix that we made together 😃 !

Please, let us know if you have any other problem.

Best wishes!
