Skip to content

Check fails on armv7 #13

@ggardet

Description

@ggardet

Check fails on armv7.

Log:

[   35s] + make check -C build
[   35s] make: Entering directory '/home/abuild/rpmbuild/BUILD/drpm-0.5.0/build'
[   35s] /usr/bin/cmake -S/home/abuild/rpmbuild/BUILD/drpm-0.5.0 -B/home/abuild/rpmbuild/BUILD/drpm-0.5.0/build --check-build-system CMakeFiles/Makefile.cmake 0
[   35s] make  -f CMakeFiles/Makefile2 check
[   35s] make[1]: Entering directory '/home/abuild/rpmbuild/BUILD/drpm-0.5.0/build'
[   35s] /usr/bin/cmake -S/home/abuild/rpmbuild/BUILD/drpm-0.5.0 -B/home/abuild/rpmbuild/BUILD/drpm-0.5.0/build --check-build-system CMakeFiles/Makefile.cmake 0
[   35s] /usr/bin/cmake -E cmake_progress_start /home/abuild/rpmbuild/BUILD/drpm-0.5.0/build/CMakeFiles 0
[   35s] make  -f CMakeFiles/Makefile2 CMakeFiles/check.dir/all
[   35s] make[2]: Entering directory '/home/abuild/rpmbuild/BUILD/drpm-0.5.0/build'
[   35s] make  -f CMakeFiles/check.dir/build.make CMakeFiles/check.dir/depend
[   35s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/drpm-0.5.0/build'
[   35s] cd /home/abuild/rpmbuild/BUILD/drpm-0.5.0/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/abuild/rpmbuild/BUILD/drpm-0.5.0 /home/abuild/rpmbuild/BUILD/drpm-0.5.0 /home/abuild/rpmbuild/BUILD/drpm-0.5.0/build /home/abuild/rpmbuild/BUILD/drpm-0.5.0/build /home/abuild/rpmbuild/BUILD/drpm-0.5.0/build/CMakeFiles/check.dir/DependInfo.cmake
[   35s] make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/drpm-0.5.0/build'
[   35s] make  -f CMakeFiles/check.dir/build.make CMakeFiles/check.dir/build
[   35s] make[3]: Entering directory '/home/abuild/rpmbuild/BUILD/drpm-0.5.0/build'
[   35s] /usr/bin/ctest --output-on-failure
[   35s] Test project /home/abuild/rpmbuild/BUILD/drpm-0.5.0/build
[   35s]     Start 1: drpm_api_tests
[   35s] 1/3 Test #1: drpm_api_tests ...................   Passed    0.19 sec
[   35s]     Start 2: drpm_cmp_files
[   35s] 2/3 Test #2: drpm_cmp_files ...................   Passed    0.05 sec
[   35s]     Start 3: drpm_memcheck
[   36s] 3/3 Test #3: drpm_memcheck ....................***Exception: SegFault  0.23 sec
[   36s] ==1610== Memcheck, a memory error detector
[   36s] ==1610== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
[   36s] ==1610== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
[   36s] ==1610== Command: ./drpm_api_tests
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x40014E4: _dl_start (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea837e4 is on thread 1's stack
[   36s] ==1610==  72 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x400C7FC: _dl_setup_hash (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x400178F: _dl_start (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea837f8 is on thread 1's stack
[   36s] ==1610==  8 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401A098: _dl_sysdep_start (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0xFFFFFFFF: ???
[   36s] ==1610==  Address 0xfea8377c is on thread 1's stack
[   36s] ==1610==  104 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x40193EC: __GI___tunables_init (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0xFFFFFFFF: ???
[   36s] ==1610==  Address 0xfea8371c is on thread 1's stack
[   36s] ==1610==  96 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x4011DEC: _dl_strtoul (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0xFEA83A7F: ???
[   36s] ==1610==  Address 0xfea836ec is on thread 1's stack
[   36s] ==1610==  48 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401DA64: sbrk (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x401A4DB: _dl_sysdep_start (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x40017D3: _dl_start (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea83780 is on thread 1's stack
[   36s] ==1610==  16 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x4001F40: dl_main (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea83554 is on thread 1's stack
[   36s] ==1610==  536 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x400C988: _dl_new_object (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0xFFFFFFFF: ???
[   36s] ==1610==  Address 0xfea83534 is on thread 1's stack
[   36s] ==1610==  48 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401AB00: rtld_calloc (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x400C9EF: _dl_new_object (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x4002963: dl_main (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea83538 is on thread 1's stack
[   36s] ==1610==  16 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401AB6C: rtld_malloc (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0xFFFFFFFF: ???
[   36s] ==1610==  Address 0xfea83534 is on thread 1's stack
[   36s] ==1610==  24 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x400C8AC: _dl_add_to_namespace_list (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x400298F: dl_main (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea83568 is on thread 1's stack
[   36s] ==1610==  16 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x400C7FC: _dl_setup_hash (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x4002D83: dl_main (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea83578 is on thread 1's stack
[   36s] ==1610==  8 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401A81C: _dl_discover_osversion (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0xFEA83DB5: ???
[   36s] ==1610==  Address 0xfea83374 is on thread 1's stack
[   36s] ==1610==  496 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x4007CC4: _dl_init_paths (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea8352c is on thread 1's stack
[   36s] ==1610==  56 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401BE78: _dl_important_hwcaps (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea834ac is on thread 1's stack
[   36s] ==1610==  120 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401C940: _dl_hwcaps_split_masked (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x401BF2F: _dl_important_hwcaps (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea834c8 is on thread 1's stack
[   36s] ==1610==  8 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401C940: _dl_hwcaps_split_masked (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x401BF77: _dl_important_hwcaps (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea834c8 is on thread 1's stack
[   36s] ==1610==  8 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401C830: _dl_hwcaps_split (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x401C94F: _dl_hwcaps_split_masked (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x401BF77: _dl_important_hwcaps (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea834b0 is on thread 1's stack
[   36s] ==1610==  16 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401AB6C: rtld_malloc (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x6C37: ???
[   36s] ==1610==  Address 0xfea834b4 is on thread 1's stack
[   36s] ==1610==  24 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401C940: _dl_hwcaps_split_masked (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x401C067: _dl_important_hwcaps (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea834c8 is on thread 1's stack
[   36s] ==1610==  8 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401C830: _dl_hwcaps_split (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x401C94F: _dl_hwcaps_split_masked (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x401C067: _dl_important_hwcaps (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea834b0 is on thread 1's stack
[   36s] ==1610==  16 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401AB6C: rtld_malloc (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x403731B: ??? (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea83494 is on thread 1's stack
[   36s] ==1610==  24 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401BDBC: copy_hwcaps (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0xFEA83FF9: ???
[   36s] ==1610==  Address 0xfea8347c is on thread 1's stack
[   36s] ==1610==  40 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401C940: _dl_hwcaps_split_masked (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x401BE4F: copy_hwcaps (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x401C3F7: _dl_important_hwcaps (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea83480 is on thread 1's stack
[   36s] ==1610==  8 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401C940: _dl_hwcaps_split_masked (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x401BE4F: copy_hwcaps (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x401C40F: _dl_important_hwcaps (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea83480 is on thread 1's stack
[   36s] ==1610==  8 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x401C830: _dl_hwcaps_split (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x401C94F: _dl_hwcaps_split_masked (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x401BE4F: copy_hwcaps (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==    by 0x401C40F: _dl_important_hwcaps (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea83468 is on thread 1's stack
[   36s] ==1610==  16 bytes below stack pointer
[   36s] ==1610== 
[   36s] ==1610== Invalid write of size 4
[   36s] ==1610==    at 0x4001E18: handle_preload_list (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  Address 0xfea82564 is not stack'd, malloc'd or (recently) free'd
[   36s] ==1610== 
[   36s] ==1610== 
[   36s] ==1610== Process terminating with default action of signal 11 (SIGSEGV)
[   36s] ==1610==  Access not within mapped region at address 0xFEA82564
[   36s] ==1610==    at 0x4001E18: handle_preload_list (in /usr/lib/ld-linux-armhf.so.3)
[   36s] ==1610==  If you believe this happened as a result of a stack
[   36s] ==1610==  overflow in your program's main thread (unlikely but
[   36s] ==1610==  possible), you can try to increase the size of the
[   36s] ==1610==  main thread stack using the --main-stacksize= flag.
[   36s] ==1610==  The main thread stack size used in this run was 8388608.
[   36s] ==1610== 
[   36s] ==1610== HEAP SUMMARY:
[   36s] ==1610==     in use at exit: 0 bytes in 0 blocks
[   36s] ==1610==   total heap usage: 0 allocs, 0 frees, 0 bytes allocated
[   36s] ==1610== 
[   36s] ==1610== All heap blocks were freed -- no leaks are possible
[   36s] ==1610== 
[   36s] ==1610== For lists of detected and suppressed errors, rerun with: -s
[   36s] ==1610== ERROR SUMMARY: 30 errors from 27 contexts (suppressed: 0 from 0)
[   36s] 
[   36s] 
[   36s] 67% tests passed, 1 tests failed out of 3
[   36s] 
[   36s] Total Test time (real) =   0.47 sec
[   36s] 
[   36s] The following tests FAILED:
[   36s] 	  3 - drpm_memcheck (SEGFAULT)
[   36s] Errors while running CTest

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions