Menu

#1927 core dumps getting Cert and process events

3.7.0
closed-fixed
Shyamala
HPE Synergy plugin
5
2017-04-26
2017-04-12
dr_mohan
No

This bug has two different core dumps.
During testing with portforwarding, there was a core dump observed when taking the strlen of SSLCert. It came from
ov_rest_event.c: SSLCert_len = strlen(result.SSLCert);

The second part is little more difficult as it happened while running against an enclosure in which we did not have much control. The stack backtrace is

(gdb) backtrace
#0 0x00007fafb1f2ffb6 in ov_rest_json_parse_enclosure (jvalue=<optimized out="">, response=response@entry=0x7fafa6216080)
at ov_rest_parser_calls.c:981

1 0x00007fafb1f39859 in ov_rest_proc_int_status (oh_handler=oh_handler@entry=0x77d800, ov_event=ov_event@entry=0x7fafa62169b0)

at ov_rest_interconnect_event.c:1273

2 0x00007fafb1f33aeb in ov_rest_process_alerts (oh_handler=0x77d800, scmb_resource=<optimized out="">, event=0x7fafa62169b0)

at ov_rest_event.c:1774

3 0x00007fafb1f33dfe in process_ov_events (oh_handler=oh_handler@entry=0x77d800, scmb_resource=0x7faf7a2018b0) at ov_rest_event.c:1684

4 0x00007fafb1f3434f in ov_rest_scmb_listner (handler=handler@entry=0x77d800) at ov_rest_event.c:1327

5 0x00007fafb1f34768 in ov_rest_event_thread (ov_pointer=0x77d800) at ov_rest_event.c:1644

6 0x00007fafb332ee15 in ?? () from /usr/lib64/libglib-2.0.so.0

7 0x00007fafb30aa0a4 in start_thread () from /lib64/libpthread.so.0

8 0x00007fafb28c804d in clone () from /lib64/libc.so.6

Discussion

  • dr_mohan

    dr_mohan - 2017-04-18

    One more backtrace is
    Core was generated by `/usr/sbin/openhpid -c /etc/openhpi/openhpi.conf.ov_rest_104_name'.
    Program terminated with signal 11, Segmentation fault.

    0 0x00007fa43c0c01b6 in ov_rest_json_parse_enclosure (jvalue=<optimized out="">, response=response@entry=0x7fa432ffc410) at ov_rest_parser_calls.c:981

    981 json_object_object_foreach(jvalue, key, val){
    Missing separate debuginfos, use: debuginfo-install cyrus-sasl-lib-2.1.26-19.2.el7.x86_64 glib2-2.42.2-5.el7.x86_64 glibc-2.17-105.el7.x86_64 json-c-0.11-4.el7_0.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.13.2-10.el7.x86_64 libcom_err-1.42.9-7.el7.x86_64 libcurl-7.29.0-25.el7.x86_64 libgcc-4.8.5-4.el7.x86_64 libidn-1.28-4.el7.x86_64 librabbitmq-0.8.0-1.fc24.x86_64 libselinux-2.2.2-6.el7.x86_64 libssh2-1.4.3-10.el7.x86_64 libstdc++-4.8.5-4.el7.x86_64 nspr-4.10.8-2.el7_1.x86_64 nss-3.19.1-18.el7.x86_64 nss-softokn-3.16.2.3-13.el7_1.x86_64 nss-softokn-freebl-3.16.2.3-13.el7_1.x86_64 nss-sysinit-3.19.1-18.el7.x86_64 nss-util-3.19.1-4.el7_1.x86_64 openldap-2.4.40-8.el7.x86_64 openssl-libs-1.0.1e-42.el7_1.9.x86_64 pcre-8.32-15.el7.x86_64 sqlite-3.7.17-8.el7.x86_64 xz-libs-5.1.2-12alpha.el7.x86_64 zlib-1.2.7-15.el7.x86_64
    (gdb) backtrace
    0 0x00007fa43c0c01b6 in ov_rest_json_parse_enclosure (jvalue=<optimized out="">, response=response@entry=0x7fa432ffc410) at ov_rest_parser_calls.c:981
    1 0x00007fa43c0c1619 in process_active_and_locked_alerts (handler=handler@entry=0xbc8300, event_response=event_response@entry=0x7fa432ffcd40) at ov_rest_event.c:505
    2 0x00007fa43c0c489e in ov_rest_event_thread (ov_pointer=0xbc8300) at ov_rest_event.c:1618
    3 0x00007fa43e8b04e5 in g_thread_proxy () from /lib64/libglib-2.0.so.0
    4 0x00007fa43e62cdc5 in start_thread () from /lib64/libpthread.so.0
    5 0x00007fa43de421cd in clone () from /lib64/libc.so.6

     
  • Shyamala

    Shyamala - 2017-04-26
    • status: open --> closed-fixed
     
  • Shyamala

    Shyamala - 2017-04-26

    Fixed in revision 7686.