mohandev2 / openhpi_old

Other
0 stars 0 forks source link

Fix all the issue in below core dumps. #1923

Closed mohandev2 closed 6 years ago

mohandev2 commented 7 years ago

core_dump_during_remove_applicance:

Program terminated with signal 11, Segmentation fault.

0 0x00007f065ddc7da6 in ov_rest_json_parse_server_fan_sensors (jvalue=, response=0x7f065969c530)

at ov_rest_parser_calls.c:1281

1281 response->CurrentReading = json_object_get_int(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 libgcrypt-1.5.3-12.el7_1.1.x86_64 libgpg-error-1.12-3.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) bt

0 0x00007f065ddc7da6 in ov_rest_json_parse_server_fan_sensors (jvalue=, response=0x7f065969c530)

at ov_rest_parser_calls.c:1281

1 0x000000000239e2e0 in ?? ()

2 0x00007f065969cf70 in ?? ()

3 0x00000000023a8390 in ?? ()

4 0x00007f065969c530 in ?? ()

5 0x00007f065969c830 in ?? ()

6 0x00007f065969dae0 in ?? ()

7 0x00007f065ddcca65 in build_inserted_server_rdr (oh_handler=0x0, resource_id=1500106608, response=0x7f0648000078, build_sensors=0)

at ov_rest_server_event.c:576

8 0x0000000000000000 in ?? ()

(gdb)

======================================================================================================= Core dump during composer modifications: 1. Program terminated with signal 11, Segmentation fault.

0 0x00007f3ecefec2d1 in __strlen_sse2 () from /lib64/libc.so.6

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 libgcrypt-1.5.3-12.el7_1.1.x86_64 libgpg-error-1.12-3.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) bt

0 0x00007f3ecefec2d1 in __strlen_sse2 () from /lib64/libc.so.6

1 0x00007f3ecd0d899d in ov_rest_re_discover (handler=0x23ef160) at ov_rest_event.c:1490

2 0x00000009cd0c8aa8 in ?? ()

3 0x00007f3ec0c33270 in ?? ()

4 0x00007f3ec0c0abd0 in ?? ()

5 0x0000000000000000 in ?? ()

(gdb)

2.

0 0x00007f3cf48c8da6 in ov_rest_json_parse_server_fan_sensors (jvalue=, response=0x7f3cebffd530)

at ov_rest_parser_calls.c:1281

1281 response->CurrentReading = json_object_get_int(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 libgcrypt-1.5.3-12.el7_1.1.x86_64 libgpg-error-1.12-3.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) bt

0 0x00007f3cf48c8da6 in ov_rest_json_parse_server_fan_sensors (jvalue=, response=0x7f3cebffd530)

at ov_rest_parser_calls.c:1281

1 0x0000000001d69160 in ?? ()

2 0x00007f3cebffdf70 in ?? ()

3 0x0000000001d73390 in ?? ()

4 0x00007f3cebffd530 in ?? ()

5 0x00007f3cebffd830 in ?? ()

6 0x00007f3cebffeae0 in ?? ()

7 0x00007f3cf48cde25 in build_inserted_server_rdr (oh_handler=0x7f3cdc208ca0, resource_id=2534, response=0x0, build_sensors=0)

at ov_rest_server_event.c:591

8 0x0000000000000000 in ?? ()

(gdb)

Reported by: HemanthBeecherla

Original Ticket: openhpi/bugs/1923

mohandev2 commented 7 years ago

Original comment by: HemanthBeecherla

mohandev2 commented 7 years ago

Fixed in revision 7678.

Original comment by: HemanthBeecherla

mohandev2 commented 7 years ago

Original comment by: mohandev2