Closed openhpi2 closed 8 years ago
Original comment by: dr_mohan
This bug is related to bugs 1814 and 1871. Main thread needs to wait for the discovery thread before clearing the data structures. When the 1814 and 1871 fixes were checked in, this defect is no longer reproducible. Closing as duplicate.
Original comment by: dr_mohan
On a "HP c-Class system", we observed a crash on a call to oh_ssl_disconnect.
(gdb) bt
0 0x00007f2eeb44a425 in raise () from /lib/x86_64-linux-gnu/libc.so.6
1 0x00007f2eeb44db8b in abort () from /lib/x86_64-linux-gnu/libc.so.6
2 0x00007f2eeb48839e in ?? () from /lib/x86_64-linux-gnu/libc.so.6
3 0x00007f2eeb492b96 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
4 0x00007f2eed017a9d in CRYPTO_free () from /opt/bbee/thirdparty/lib/libcrypto.so.1.0.1
5 0x00007f2eec673d19 in SSL_free () from /opt/bbee/thirdparty/lib/libssl.so.1.0.1
6 0x00007f2eec67ff7d in ssl_free () from /opt/bbee/thirdparty/lib/libssl.so.1.0.1
7 0x00007f2eed0909c8 in BIO_free () from /opt/bbee/thirdparty/lib/libcrypto.so.1.0.1
8 0x00007f2eed091374 in BIO_free_all () from /opt/bbee/thirdparty/lib/libcrypto.so.1.0.1
9 0x00007f2eed393f9f in oh_ssl_disconnect (bio=0x7f2ed8016270, shutdown=shutdown@entry=OH_SSL_UNI) at oh_ssl.c:606
10 0x00007f2eeab95a5b in soap_message (connection=connection@entry=0x156e4e0,
11 0x00007f2eeab96668 in soap_call (connection=connection@entry=0x156e4e0) at oa_soap_callsupport.c:1085
12 0x00007f2eeab936b9 in soap_getPowerCapConfig (con=0x156e4e0, response=response@entry=0x156d970, desired_dynamic_pwr_cap_limit=desired_dynamic_pwr_cap_limit@entry=0x156da34,
13 0x00007f2eeab7d42c in oa_soap_push_power_events (oh_handler=oh_handler@entry=0x1567650, info=info@entry=0x7f2ee8ffcd08, resource_id=37) at oa_soap_ps_event.c:301
14 0x00007f2eeab7dbff in oa_soap_proc_ps_subsys_info (oh_handler=oh_handler@entry=0x1567650, info=info@entry=0x7f2ee8ffcd08) at oa_soap_ps_event.c:532
15 0x00007f2eeab794f4 in process_oa_events (oh_handler=oh_handler@entry=0x1567650, oa=oa@entry=0x156da50, response=response@entry=0x7f2ee8ffce40) at oa_soap_event.c:747
16 0x00007f2eeab7ba7e in oa_soap_event_thread (oa_pointer=0x156da50) at oa_soap_event.c:245
17 0x00007f2eebf6e265 in g_thread_proxy (data=0x15bea80) at gthread.c:798
18 0x00007f2eebcece9a in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
19 0x00007f2eeb507ccd in clone () from /lib/x86_64-linux-gnu/libc.so.6
20 0x0000000000000000 in ?? ()
(gdb)
OpenHPI Version : 3.4.0
I have attached the full backtrace. crash_oh_ssl_disconnect.txt
Reported by: amar-nv