> On 16 Nov 2015, at 17:22, Zachary McGibbon <[email protected]> wrote: > > Ok I tried it a few more times with gdb and got it to crash, I'll open a > ticket with this. Thanks
Mh. Please install the package icinga2-debuginfo and re-run it to generate a more verbose backtrace. Thanks, Michael > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0x7fffee2cc700 (LWP 5570)] > 0x00000038ef609420 in pthread_mutex_lock () from /lib64/libpthread.so.0 > Missing separate debuginfos, use: debuginfo-install > icinga2-bin-2.4.0-1.el6.x86_64 > (gdb) bt full > #0 0x00000038ef609420 in pthread_mutex_lock () from /lib64/libpthread.so.0 > No symbol table info available. > #1 0x00007fffefa8f9b8 in boost::unique_lock<boost::mutex>::lock() () from > /usr/lib64/icinga2/libicinga.so > No symbol table info available. > #2 0x00007fffef9cff91 in > icinga::Checkable::RegisterDowntime(boost::intrusive_ptr<icinga::Downtime> > const&) () from /usr/lib64/icinga2/libicinga.so > No symbol table info available. > #3 0x00007fffefa6c2f9 in icinga::Downtime::Start(bool) () from > /usr/lib64/icinga2/libicinga.so > No symbol table info available. > #4 0x00007ffff738c18e in icinga::ConfigObject::Activate(bool) () from > /usr/lib64/icinga2/libbase.so > No symbol table info available. > #5 0x00007ffff739062a in icinga::WorkQueue::WorkerThreadProc() () from > /usr/lib64/icinga2/libbase.so > No symbol table info available. > #6 0x00007ffff7de85c3 in ?? () from /usr/lib64/libboost_thread.so.1.53.0 > No symbol table info available. > #7 0x00000038ef607a51 in start_thread () from /lib64/libpthread.so.0 > No symbol table info available. > #8 0x00000038ef2e893d in clone () from /lib64/libc.so.6 > > > On Mon, Nov 16, 2015 at 11:20 AM, Michael Friedrich > <[email protected]> wrote: > > > On 16 Nov 2015, at 17:14, Zachary McGibbon <[email protected]> > > wrote: > > > > Hi Michael, when running icinga2 daemon with gdb it doesn't crash, it only > > crashes when i start it with the 'service' command. > > How exactly does it look like? > > > > And since 'service' is a shell script it won't run through gdb… > > Please create a ticket and attach all information collected so far. > > Kind regards, > Michael > > > > > Any other ideas? > > > > On Mon, Nov 16, 2015 at 11:06 AM, Michael Friedrich > > <[email protected]> wrote: > > > > > On 16 Nov 2015, at 16:35, Zachary McGibbon <[email protected]> > > > wrote: > > > > > > I'm getting a segfault on 2.4.0 running on redhat 6.7: > > > > > > [root@icinga-dev1 conf.d]# service icinga2 restart > > > Checking configuration: /etc/init.d/icinga2: line 115: 9857 Segmentation > > > fault $DAEMON daemon -c $ICINGA2_CONFIG_FILE -C > > > > $ICINGA2_STARTUP_LOG 2>&1 > > > > Please run it with gdb and generate a full back trace > > > > gdb —args /usr/lib64/icinga2/sbin/icinga2 daemon > > r > > bt full > > > > and attach it. > > > > > > > Not restarting Icinga 2 due to configuration errors. Check > > > '/var/log/icinga2/startup.log' for details. > > > > > > ... and no errors in the statup.log file > > > > > > [root@icinga-dev1 conf.d]# grep -i error /var/log/icinga2/startup.log | wc > > > 0 0 0 > > > > > > [root@icinga-dev1 conf.d]# icinga2 --version > > > icinga2 - The Icinga 2 network monitoring daemon (version: v2.4.0) > > > > > > Copyright (c) 2012-2015 Icinga Development Team (https://www.icinga.org) > > > License GPLv2+: GNU GPL version 2 or later > > > <http://gnu.org/licenses/gpl2.html> > > > This is free software: you are free to change and redistribute it. > > > There is NO WARRANTY, to the extent permitted by law. > > > > > > Application information: > > > Installation root: /usr > > > Sysconf directory: /etc > > > Run directory: /var/run > > > Local state directory: /var > > > Package data directory: /usr/share/icinga2 > > > State path: /var/lib/icinga2/icinga2.state > > > Modified attributes path: /var/lib/icinga2/modified-attributes.conf > > > Objects path: /var/cache/icinga2/icinga2.debug > > > Vars path: /var/cache/icinga2/icinga2.vars > > > PID path: /var/run/icinga2/icinga2.pid > > > > > > System information: > > > Operating system: Linux > > > Operating system version: 2.6.32-504.23.4.el6.x86_64 > > > Architecture: x86_64 > > > Distribution: "Red Hat Enterprise Linux Server release 6.7 (Santiago)" > > > > > > _______________________________________________ > > > icinga-users mailing list > > > [email protected] > > > https://lists.icinga.org/mailman/listinfo/icinga-users > > > > > > -- > > Michael Friedrich, DI (FH) > > Senior Developer > > > > NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg > > Tel: +49 911 92885-0 | Fax: +49 911 92885-77 > > GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 > > http://www.netways.de | [email protected] > > > > ** OSMC 2015 - November - netways.de/osmc ** > > ** OSDC 2016 - April – netways.de/osdc ** > > _______________________________________________ > > icinga-users mailing list > > [email protected] > > https://lists.icinga.org/mailman/listinfo/icinga-users > > > > _______________________________________________ > > icinga-users mailing list > > [email protected] > > https://lists.icinga.org/mailman/listinfo/icinga-users > > > -- > Michael Friedrich, DI (FH) > Senior Developer > > NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg > Tel: +49 911 92885-0 | Fax: +49 911 92885-77 > GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 > http://www.netways.de | [email protected] > > ** OSMC 2015 - November - netways.de/osmc ** > ** OSDC 2016 - April – netways.de/osdc ** > _______________________________________________ > icinga-users mailing list > [email protected] > https://lists.icinga.org/mailman/listinfo/icinga-users > > _______________________________________________ > icinga-users mailing list > [email protected] > https://lists.icinga.org/mailman/listinfo/icinga-users -- Michael Friedrich, DI (FH) Senior Developer NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg Tel: +49 911 92885-0 | Fax: +49 911 92885-77 GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461 http://www.netways.de | [email protected] ** OSMC 2015 - November - netways.de/osmc ** ** OSDC 2016 - April – netways.de/osdc ** _______________________________________________ icinga-users mailing list [email protected] https://lists.icinga.org/mailman/listinfo/icinga-users
