openhpi2 / Open-HPI

Open HPI is an open source implementation of the SA Forum's Hardware Platform Interface (HPI). HPI provides an abstracted interface to managing computer hardware, typically for chassis and rack based servers
Other
3 stars 1 forks source link

Core in Daemon 3.4.0 During Discovery #2552

Open openhpi2 opened 10 years ago

openhpi2 commented 10 years ago

Core in OpenHPI Daemon during discovery:

OpenHPI Daemon Info: openhpid: INFO: openhpid-posix.cpp:418: Starting OpenHPI 3.4.0. openhpid: INFO: openhpid-posix.cpp:420: OPENHPI_CONF = /opt/bbee-0.0.3-0/etc/openhpi/openhpi.conf. openhpid: INFO: openhpid-posix.cpp:425: OPENHPI_DAEMON_PORT = 4743. openhpid: INFO: openhpid-posix.cpp:428: Enabled IP versions: IPv4. openhpid: INFO: openhpid-posix.cpp:429: Max threads: -1. openhpid: INFO: openhpid-posix.cpp:430: Socket timeout(sec): 0.

System Info: Ubunt 12.04 Linux cz1 3.8.0-39-generic #58~precise1-Ubuntu SMP Fri May 2 21:33:40 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux Memory: 128 GB CPU: Intel(R) Xeon(R) CPU E5-2640 0 @ 2.50GHz

Stack Trace: GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: http://bugs.launchpad.net/gdb-linaro/... Reading symbols from /opt/bbee-0.0.3-0/thirdparty/sbin/openhpid...done. [New LWP 11135] [New LWP 7578] [New LWP 5488] [New LWP 11136]

warning: Can't read pathname for load map: Input/output error. [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff08902000 Core was generated by `/opt/bbee/thirdparty/sbin/openhpid -c /opt/bbee-0.0.3-0/etc/openhpi/openhpi.con'. Program terminated with signal 11, Segmentation fault.

0 0x00007f7fed5a5f74 in g_hash_table_lookup_node (hash_return=, key=0x7f7fec201888, hash_table=0x600080017001600) at ghash.c:365

365 ghash.c: No such file or directory. (gdb) bt

0 0x00007f7fed5a5f74 in g_hash_table_lookup_node (hash_return=, key=0x7f7fec201888, hash_table=0x600080017001600) at ghash.c:365

1 g_hash_table_lookup (hash_table=0x600080017001600, key=key@entry=0x7f7fec201888) at ghash.c:1076

2 0x00007f7fec1d32d8 in get_oa_soap_info (oh_handler=oh_handler@entry=0x20396e0) at oa_soap_utils.c:161

3 0x00007f7fec1ce164 in build_oa_soap_custom_handler (oh_handler=oh_handler@entry=0x20396e0) at oa_soap.c:177

4 0x00007f7fec1dd1e4 in oa_soap_discover_resources (oh_handler=0x20396e0) at oa_soap_discover.c:226

5 0x0000000000415140 in oh_discovery () at plugin.c:730

6 0x0000000000424461 in discovery_func (data=) at threaded.c:48

7 0x00007f7fed5da265 in g_thread_proxy (data=0x208c800) at gthread.c:798

8 0x00007f7fed358e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0

9 0x00007f7fecb733fd in clone () from /lib/x86_64-linux-gnu/libc.so.6

10 0x0000000000000000 in ?? ()

(gdb) t a a bt

Thread 4 (Thread 0x7f7feb667700 (LWP 11136)):

0 0x00007f7fed35f89c in __lll_lock_wait () from /lib/x86_64-linux-gnu/libpthread.so.0

1 0x00007f7fed35b080 in _L_lock_903 () from /lib/x86_64-linux-gnu/libpthread.so.0

2 0x00007f7fed35af19 in pthread_mutex_lock () from /lib/x86_64-linux-gnu/libpthread.so.0

3 0x00007f7fed58a651 in g_static_rec_mutex_lock (mutex=mutex@entry=0x203a168) at deprecated/gthread-deprecated.c:716

4 0x0000000000414c6c in oh_get_handler (hid=hid@entry=1) at plugin.c:410

5 0x0000000000412e92 in oh_harvest_events () at event.c:198

6 0x0000000000424311 in evtget_func (data=) at threaded.c:81

7 0x00007f7fed5da265 in g_thread_proxy (data=0x208c850) at gthread.c:798

8 0x00007f7fed358e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0

9 0x00007f7fecb733fd in clone () from /lib/x86_64-linux-gnu/libc.so.6

10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7fe17fa700 (LWP 5488)):

0 0x00007f7fed35d0fe in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/x86_64-linux-gnu/libpthread.so.0

1 0x00007f7fed5f5d55 in g_cond_wait_until (cond=cond@entry=0x203deb8, mutex=mutex@entry=0x203deb0, end_time=end_time@entry=317300044057) at gthread-posix.c:859

2 0x00007f7fed58c581 in g_async_queue_pop_intern_unlocked (queue=queue@entry=0x203deb0, wait=wait@entry=1, end_time=end_time@entry=317300044057) at gasyncqueue.c:424

3 0x00007f7fed58cbca in g_async_queue_timeout_pop (queue=0x203deb0, timeout=timeout@entry=15000000) at gasyncqueue.c:545

4 0x00007f7fed5daa62 in g_thread_pool_wait_for_new_pool () at gthreadpool.c:169

5 g_thread_pool_thread_proxy (data=) at gthreadpool.c:366

6 0x00007f7fed5da265 in g_thread_proxy (data=0x208cc50) at gthread.c:798

7 0x00007f7fed358e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0

8 0x00007f7fecb733fd in clone () from /lib/x86_64-linux-gnu/libc.so.6

9 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7fef248740 (LWP 7578)):

0 0x00007f7fecb6c763 in select () from /lib/x86_64-linux-gnu/libc.so.6

1 0x00007f7feea075f5 in oh_ssl_read (bio=, buf=buf@entry=0x7fff0888ed70 "d", size=size@entry=3999, timeout=40) at oh_ssl.c:720

2 0x00007f7fec1ff615 in soap_message (connection=connection@entry=0x2055bd0,

request=request@entry=0x2055d48 "<?xml version=\"1.0\"?>\n<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://www.w3.org/2003/05/soap-envelope\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xml"..., doc=doc@entry=0x2055d40) at oa_soap_callsupport.c:696

3 0x00007f7fec2003b8 in soap_call (connection=connection@entry=0x2055bd0) at oa_soap_callsupport.c:1085

4 0x00007f7fec20077b in soap_logout (connection=0x2055bd0) at oa_soap_callsupport.c:906

5 soap_close (connection=0x2055bd0) at oa_soap_callsupport.c:573

6 0x00007f7fec1cea15 in oa_soap_close (oh_handler=0x203e890) at oa_soap.c:384

7 0x0000000000414735 in oh_close_handlers () at plugin.c:81

8 0x00000000004139ee in oh_finit () at init.c:204

9 0x0000000000407e75 in main (argc=1, argv=0x7fff0888ff38) at openhpid-posix.cpp:442

Thread 1 (Thread 0x7f7febe68700 (LWP 11135)):

0 0x00007f7fed5a5f74 in g_hash_table_lookup_node (hash_return=, key=0x7f7fec201888, hash_table=0x600080017001600) at ghash.c:365

1 g_hash_table_lookup (hash_table=0x600080017001600, key=key@entry=0x7f7fec201888) at ghash.c:1076

2 0x00007f7fec1d32d8 in get_oa_soap_info (oh_handler=oh_handler@entry=0x20396e0) at oa_soap_utils.c:161

3 0x00007f7fec1ce164 in build_oa_soap_custom_handler (oh_handler=oh_handler@entry=0x20396e0) at oa_soap.c:177

4 0x00007f7fec1dd1e4 in oa_soap_discover_resources (oh_handler=0x20396e0) at oa_soap_discover.c:226

5 0x0000000000415140 in oh_discovery () at plugin.c:730

6 0x0000000000424461 in discovery_func (data=) at threaded.c:48

---Type to continue, or q to quit---

7 0x00007f7fed5da265 in g_thread_proxy (data=0x208c800) at gthread.c:798

8 0x00007f7fed358e9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0

9 0x00007f7fecb733fd in clone () from /lib/x86_64-linux-gnu/libc.so.6

10 0x0000000000000000 in ?? ()

Reported by: sayan-c

openhpi2 commented 10 years ago

Steps to reproduce:

Start/stop OpenHPI Daemon continually.

Original comment by: sayan-c

openhpi2 commented 9 years ago

Original comment by: dr_mohan