Created attachment 491797 [details] config.log created from the configure during build Description of problem: After successfully compiling OpenSCAP 0.7.1, the binary is unable to execute and produces a backtrace. Version-Release number of selected component (if applicable): openscap 0.7.1 libxml2-2.6.26-2.1.2.8.el5_5.1 glibc-2.5-58 How reproducible: I built the tool with only one option (attached is the configuration log) ./configure --prefix=/usr make make install /usr/bin/oscap xccdf eval usgcb-rhel5desktop-xccdf.xml Actual results: # oscap xccdf eval usgcb-rhel5desktop-xccdf.xml *** glibc detected *** oscap: munmap_chunk(): invalid pointer: 0x08d94290 *** ======= Backtrace: ========= /lib/libc.so.6(cfree+0x188)[0x1b5c38] /usr/lib/libxml2.so.2[0x957785] /usr/lib/libxml2.so.2[0x960ec9] /usr/lib/libxml2.so.2(xmlSchemaValidateStream+0xb6)[0x961116] /usr/lib/libxml2.so.2(xmlSchemaValidateFile+0x4d)[0x9611fd] /usr/lib/libopenscap.so.0[0xf7f272] /usr/lib/libopenscap.so.0(oscap_validate_document+0xee)[0xf7f56e] oscap[0x804c479] oscap[0x804b18c] oscap[0x804a747] /lib/libc.so.6(__libc_start_main+0xdc)[0x161e9c] oscap[0x804a451] ======= Memory map: ======== 00110000-0014b000 r-xp 00000000 fd:00 929343 /usr/lib/libcurl.so.3.0.0 0014b000-0014c000 rwxp 0003b000 fd:00 929343 /usr/lib/libcurl.so.3.0.0 0014c000-0029f000 r-xp 00000000 fd:00 1115564 /lib/libc-2.5.so 0029f000-002a1000 r-xp 00153000 fd:00 1115564 /lib/libc-2.5.so 002a1000-002a2000 rwxp 00155000 fd:00 1115564 /lib/libc-2.5.so 002a2000-002a5000 rwxp 002a2000 00:00 0 002a5000-002b0000 r-xp 00000000 fd:00 1835023 /lib/libgcc_s-4.1.2-20080825.so.1 002b0000-002b1000 rwxp 0000a000 fd:00 1835023 /lib/libgcc_s-4.1.2-20080825.so.1 002b2000-002b4000 r-xp 00000000 fd:00 1835030 /lib/libcom_err.so.2.1 002b4000-002b5000 rwxp 00001000 fd:00 1835030 /lib/libcom_err.so.2.1 002c8000-002ca000 r-xp 00000000 fd:00 1835026 /lib/libkeyutils-1.2.so 002ca000-002cb000 rwxp 00001000 fd:00 1835026 /lib/libkeyutils-1.2.so 002cb000-002db000 r-xp 00000000 fd:00 1835027 /lib/libresolv-2.5.so 002db000-002dc000 r-xp 0000f000 fd:00 1835027 /lib/libresolv-2.5.so 002dc000-002dd000 rwxp 00010000 fd:00 1835027 /lib/libresolv-2.5.so 002dd000-002df000 rwxp 002dd000 00:00 0 002e4000-002ff000 r-xp 00000000 fd:00 1115563 /lib/ld-2.5.so 002ff000-00300000 r-xp 0001a000 fd:00 1115563 /lib/ld-2.5.so 00300000-00301000 rwxp 0001b000 fd:00 1115563 /lib/ld-2.5.so 00450000-00451000 r-xp 00450000 00:00 0 [vdso] 0045e000-00485000 r-xp 00000000 fd:00 1115571 /lib/libm-2.5.so 00485000-00486000 r-xp 00026000 fd:00 1115571 /lib/libm-2.5.so 00486000-00487000 rwxp 00027000 fd:00 1115571 /lib/libm-2.5.so 00489000-0048c000 r-xp 00000000 fd:00 1115565 /lib/libdl-2.5.so 0048c000-0048d000 r-xp 00002000 fd:00 1115565 /lib/libdl-2.5.so 0048d000-0048e000 rwxp 00003000 fd:00 1115565 /lib/libdl-2.5.so 00490000-004a5000 r-xp 00000000 fd:00 1115566 /lib/libpthread-2.5.so 004a5000-004a6000 r-xp 00015000 fd:00 1115566 /lib/libpthread-2.5.so 004a6000-004a7000 rwxp 00016000 fd:00 1115566 /lib/libpthread-2.5.so 004a7000-004a9000 rwxp 004a7000 00:00 0 004ab000-004bd000 r-xp 00000000 fd:00 946586 /usr/lib/libz.so.1.2.3 004bd000-004be000 rwxp 00011000 fd:00 946586 /usr/lib/libz.so.1.2.3 004c0000-004c7000 r-xp 00000000 fd:00 1115567 /lib/librt-2.5.so 004c7000-004c8000 r-xp 00007000 fd:00 1115567 /lib/librt-2.5.so 004c8000-004c9000 rwxp 00008000 fd:00 1115567 /lib/librt-2.5.so 004cb000-004e1000 r-xp 00000000 fd:00 1835029 /lib/libselinux.so.1 004e1000-004e3000 rwxp 00015000 fd:00 1835029 /lib/libselinux.so.1 004e5000-00520000 r-xp 00000000 fd:00 1835028 /lib/libsepol.so.1 00520000-00521000 rwxp 0003b000 fd:00 1835028 /lib/libsepol.so.1 00521000-0052b000 rwxp 00521000 00:00 0 0052d000-00542000 r-xp 00000000 fd:00 946650 /usr/lib/libelf-0.137.so 00542000-00544000 rwxp 00014000 fd:00 946650 /usr/lib/libelf-0.137.so 00546000-005a5000 r-xp 00000000 fd:00 946648 /usr/lib/librpmio-4.4.so 005a5000-005a8000 rwxp 0005e000 fd:00 946648 /usr/lib/librpmio-4.4.so 005a8000-005ca000 rwxp 005a8000 00:00 0 005cc000-00629000 r-xp 00000000 fd:00 946649 /usr/lib/libsqlite3.so.0.8.6 00629000-0062b000 rwxp 0005d000 fd:00 946649 /usr/lib/libsqlite3.so.0.8.6 0062d000-00740000 r-xp 00000000 fd:00 946651 /usr/lib/librpmdb-4.4.so 00740000-00744000 rwxp 00112000 fd:00 946651 /usr/lib/librpmdb-4.4.so 00744000-00745000 rwxp 00744000 00:00 0 00747000-007a2000 r-xp 00000000 fd:00 946652 /usr/lib/librpm-4.4.so 007a2000-007a5000 rwxp 0005a000 fd:00 946652 /usr/lib/librpm-4.4.so 007a5000-007d8000 rwxp 007a5000 00:00 0 00861000-00891000 r-xp 00000000 fd:00 940728 /usr/lib/libidn.so.11.5.19 00891000-00892000 rwxp 0002f000 fd:00 940728 /usr/lib/libidn.so.11.5.19 008a2000-009ce000 r-xp 00000000 fd:00 946611 /usr/lib/libxml2.so.2.6.26 009ce000-009d3000 rwxp 0012c000 fd:00 946611 /usr/lib/libxml2.so.2.6.26 009d3000-009d4000 rwxp 009d3000 00:00 0 009f9000-00a00000 r-xp 00000000 fd:00 946644 /usr/lib/libpopt.so.0.0.0 00a00000-00a01000 rwxp 00006000 fd:00 946644 /usr/lib/libpopt.so.0.0.0 00eed000-00f0c000 r-xp 00000000 fd:00 1115287 /lib/libpcre.so.0.0.1 00f0c000-00f0d000 rwxp 0001e000 fd:00 1115287 /lib/libpcre.so.0.0.1 00f54000-00fe2000 r-xp 00000000 fd:00 946801 /usr/lib/libopenscap.so.0.0.1 00fe2000-00fe6000 rwxp 0008e000 fd:00 946801 /usr/lib/libopenscap.so.0.0.1 02000000-02010000 r-xp 00000000 fd:00 926197 /usr/lib/libbz2.so.1.0.3 02010000-02011000 rwxp 00010000 fd:00 926197 /usr/lib/libbz2.so.1.0.3 0201a000-0202b000 r-xp 00000000 fd:00 926403 /usr/lib/libexslt.so.0.8.13 0202b000-0202c000 rwxp 00010000 fd:00 926403 /usr/lib/libexslt.so.0.8.13 02034000-02156000 r-xp 00000000 fd:00 946640 /usr/lib/libnss3.so 02156000-0215a000 rwxp 00121000 fd:00 946640 /usr/lib/libnss3.so 0215a000-0215b000 rwxp 0215a000 00:00 0 02217000-0224b000 r-xp 00000000 fd:00 930584 /usr/lib/libxslt.so.1.1.17 0224b000-0224c000 rwxp 00033000 fd:00 930584 /usr/lib/libxslt.so.1.1.17 0224e000-02251000 r-xp 00000000 fd:00 946630 /usr/lib/libgpg-error.so.0.3.0 02251000-02252000 rwxp 00002000 fd:00 946630 /usr/lib/libgpg-error.so.0.3.0 0234e000-023cc000 r-xp 00000000 fd:00 946631 /usr/lib/libgcrypt.so.11.5.2 023cc000-023cf000 rwxp 0007d000 fd:00 946631 /usr/lib/libgcrypt.so.11.5.2 077b9000-078e3000 r-xp 00000000 fd:00 1115573 /lib/libcrypto.so.0.9.8e 078e3000-078f6000 rwxp 00129000 fd:00 1115573 /lib/libcrypto.so.0.9.8e 078f6000-078fa000 rwxp 078f6000 00:00 0 07a55000-07a7b000 r-xp 00000000 fd:00 946627 /usr/lib/libk5crypto.so.3.1 07a7b000-07a7c000 rwxp 00025000 fd:00 946627 /usr/lib/libk5crypto.so.3.1 07a7e000-07a86000 r-xp 00000000 fd:00 946626 /usr/lib/libkrb5support.so.0.1 07a86000-07a87000 rwxp 00007000 fd:00 946626 /usr/lib/libkrb5support.so.0.1 07a89000-07b1d000 r-xp 00000000 fd:00 946628 /usr/lib/libkrb5.so.3.3 07b1d000-07b20000 rwxp 00093000 fd:00 946628 /usr/lib/libkrb5.so.3.3 07b22000-07b4f000 r-xp 00000000 fd:00 946629 /usr/lib/libgssapi_krb5.so.2.2 07b4f000-07b50000 rwxp 0002d000 fd:00 946629 /usr/lib/libgssapi_krb5.so.2.2 07b8a000-07bce000 r-xp 00000000 fd:00 1115574 /lib/libssl.so.0.9.8e 07bce000-07bd2000 rwxp 00043000 fd:00 1115574 /lib/libssl.so.0.9.8e 07f91000-07f94000 r-xp 00000000 fd:00 946637 /usr/lib/libplc4.so 07f94000-07f95000 rwxp 00003000 fd:00 946637 /usr/lib/libplc4.so 07f97000-07fad000 r-xp 00000000 fd:00 946639 /usr/lib/libnssutil3.so 07fad000-07fb0000 rwxp 00016000 fd:00 946639 /usr/lib/libnssutil3.so 07fb2000-07fe8000 r-xp 00000000 fd:00 940803 /usr/lib/libnspr4.so 07fe8000-07fe9000 rwxp 00036000 fd:00 940803 /usr/lib/libnspr4.so 07fe9000-07feb000 rwxp 07fe9000 00:00 0 07fed000-07ff0000 r-xp 00000000 fd:00 946638 /usr/lib/libplds4.so 07ff0000-07ff1000 rwxp 00002000 fd:00 946638 /usr/lib/libplds4.so 08048000-08051000 r-xp 00000000 fd:00 946805 /usr/bin/oscap 08051000-08052000 rw-p 00008000 fd:00 946805 /usr/bin/oscap 08ce0000-08dc8000 rw-p 08ce0000 00:00 0 [heap] b7eeb000-b7f16000 rw-p b7eeb000 00:00 0 b7f24000-b7f25000 rw-p b7f24000 00:00 0 bf8c7000-bf8dc000 rw-p bffe9000 00:00 0 [stack] Aborted Expected results: Additional info:
My operating system is Red Hat Enterprise Linux 5.6
Jamie, I'm very sorry, but this is not a bug in OpenSCAP. There is a problem with validation in libxml2. :( I'm closing this bug as duplicate of #644312 I have introduced new option(--skip-valid) to oscap tool that will allow users to skip validation of the content. Unfortunately there is no official openscap release with that option yet. You can expect one next week. :) If you don't want to wait. You can use the latest sources from upstream repository. *** This bug has been marked as a duplicate of bug 644312 ***