OpenNebula 5.2 segfault

Hello,

I’m using OpenNebula 5.2 and CentOS 7.2. Today I got oned crash. I want to report to dev team.

The message from syslog:

kernel: oned[95742]: segfault at 54 ip 0000000000000054 sp 00007f4f02fd31c8 error 14 in oned[400000+2b9000]

Regards,

We need more information about this, please follow these instructions:

  • Install debuginfo and gdb
yum install opennebula-debuginfo gdb
  • Search for the pid of the last oned core with systemd-corectl
systemd-corectl list
  • Run gdb and get stack trace
systemd-corectl gdb <pid>
(gdb) thread apply all bt

Send us the output if this last command

Hello,

Thank you for your help. Oned is working correctly up to now from last restart. Maybe some functions from sunstone made oned crash. I can’t simulate this issue again. I will run oned with gdb when it happen again.

Javi Fontán opennebula@discoursemail.com writes:

We need more information about this, please follow these instructions:

We found a 100% reproductible way to crash oned[1], it may be related.

Regards.

Footnotes:
[1] https://dev.opennebula.org/issues/4964