ElektraInitiative / libelektra

Elektra serves as a universal and secure framework to access configuration settings in a global, hierarchical key database.
https://www.libelektra.org
BSD 3-Clause "New" or "Revised" License
208 stars 123 forks source link

KDB & tests raising errors although compiled without any warnings #992

Closed Namoshek closed 7 years ago

Namoshek commented 7 years ago

Describe what you wanted to do

I've got a freshly compiled installation of Elektra (no fork, master branch of this repo, all old Elektra files removed before), but I ran into several issues that I can't explain.

It happens also with root privilegues.

Describe what you expected

The output of make test after successful compile:

Test project /home/marvin/Schreibtisch/libelektra-upstream/build
        Start   1: testmod_type
  1/120 Test   #1: testmod_type .......................   Passed    0.00 sec
        Start   2: testtool_mergingkdb
  2/120 Test   #2: testtool_mergingkdb ................   Passed    0.30 sec
        Start   3: testtool_comparison
  3/120 Test   #3: testtool_comparison ................   Passed    0.00 sec
        Start   4: testtool_backendbuilder
  4/120 Test   #4: testtool_backendbuilder ............***Failed    0.02 sec
        Start   5: testtool_keyhelper
  5/120 Test   #5: testtool_keyhelper .................   Passed    0.00 sec
        Start   6: testtool_automergestrategy
  6/120 Test   #6: testtool_automergestrategy .........   Passed    0.01 sec
        Start   7: testtool_onesidestrategy
  7/120 Test   #7: testtool_onesidestrategy ...........   Passed    0.01 sec
        Start   8: testtool_backend
  8/120 Test   #8: testtool_backend ...................   Passed    0.01 sec
        Start   9: testtool_mergeresult
  9/120 Test   #9: testtool_mergeresult ...............   Passed    0.00 sec
        Start  10: testtool_metamergestrategy
 10/120 Test  #10: testtool_metamergestrategy .........   Passed    0.00 sec
        Start  11: testtool_umount
 11/120 Test  #11: testtool_umount ....................   Passed    0.00 sec
        Start  12: testtool_samemountpoint
 12/120 Test  #12: testtool_samemountpoint ............   Passed    0.01 sec
        Start  13: testtool_specreader
 13/120 Test  #13: testtool_specreader ................***Exception: SegFault  0.00 sec
        Start  14: testtool_backendparser
 14/120 Test  #14: testtool_backendparser .............   Passed    0.01 sec
        Start  15: testtool_pluginspec
 15/120 Test  #15: testtool_pluginspec ................   Passed    0.00 sec
        Start  16: testtool_newkeystrategy
 16/120 Test  #16: testtool_newkeystrategy ............   Passed    0.00 sec
        Start  17: testtool_mergecases
 17/120 Test  #17: testtool_mergecases ................   Passed    0.00 sec
        Start  18: test_fork
 18/120 Test  #18: test_fork ..........................   Passed    0.01 sec
        Start  19: test_context
 19/120 Test  #19: test_context .......................   Passed    0.01 sec
        Start  20: test_getenv
 20/120 Test  #20: test_getenv ........................   Passed    0.02 sec
        Start  21: testcpp_iter_name
 21/120 Test  #21: testcpp_iter_name ..................   Passed    0.00 sec
        Start  22: testcpp_contextual_nocontext
 22/120 Test  #22: testcpp_contextual_nocontext .......   Passed    0.00 sec
        Start  23: testcpp_contextual_basic
 23/120 Test  #23: testcpp_contextual_basic ...........   Passed    0.01 sec
        Start  24: testcpp_meta
 24/120 Test  #24: testcpp_meta .......................   Passed    0.00 sec
        Start  25: testcpp_ks
 25/120 Test  #25: testcpp_ks .........................   Passed    0.02 sec
        Start  26: testcpp_iter
 26/120 Test  #26: testcpp_iter .......................   Passed    0.00 sec
        Start  27: testcpp_ksget
 27/120 Test  #27: testcpp_ksget ......................   Passed    0.00 sec
        Start  28: testcpp_contextual_policy
 28/120 Test  #28: testcpp_contextual_policy ..........   Passed    0.00 sec
        Start  29: testcpp_contextual_update
 29/120 Test  #29: testcpp_contextual_update ..........   Passed    0.00 sec
        Start  30: testcpp_kdb
 30/120 Test  #30: testcpp_kdb ........................   Passed    0.02 sec
        Start  31: testcpp_contextual_thread
 31/120 Test  #31: testcpp_contextual_thread ..........   Passed    0.26 sec
        Start  32: testcpp_key
 32/120 Test  #32: testcpp_key ........................   Passed    0.00 sec
        Start  33: testmod_augeas
 33/120 Test  #33: testmod_augeas .....................   Passed    0.03 sec
        Start  34: testmod_boolean
 34/120 Test  #34: testmod_boolean ....................   Passed    0.00 sec
        Start  35: testmod_ccode
 35/120 Test  #35: testmod_ccode ......................   Passed    0.00 sec
        Start  36: testmod_conditionals
 36/120 Test  #36: testmod_conditionals ...............   Passed    0.00 sec
        Start  37: testmod_csvstorage
 37/120 Test  #37: testmod_csvstorage .................***Exception: SegFault  0.00 sec
        Start  38: testmod_dbus
 38/120 Test  #38: testmod_dbus .......................   Passed    0.00 sec
        Start  39: testmod_dpkg
 39/120 Test  #39: testmod_dpkg .......................   Passed    0.00 sec
        Start  40: testmod_dump
 40/120 Test  #40: testmod_dump .......................   Passed    0.00 sec
        Start  41: testmod_enum
 41/120 Test  #41: testmod_enum .......................   Passed    0.00 sec
        Start  42: testmod_filecheck
 42/120 Test  #42: testmod_filecheck ..................   Passed    0.00 sec
        Start  43: testmod_fstab
 43/120 Test  #43: testmod_fstab ......................   Passed    0.00 sec
        Start  44: testmod_glob
 44/120 Test  #44: testmod_glob .......................   Passed    0.00 sec
        Start  45: testmod_hexcode
 45/120 Test  #45: testmod_hexcode ....................   Passed    0.00 sec
        Start  46: testmod_hosts
 46/120 Test  #46: testmod_hosts ......................   Passed    0.00 sec
        Start  47: testmod_iconv
 47/120 Test  #47: testmod_iconv ......................   Passed    0.00 sec
        Start  48: testmod_ini
 48/120 Test  #48: testmod_ini ........................***Exception: SegFault  0.00 sec
        Start  49: testmod_keytometa
 49/120 Test  #49: testmod_keytometa ..................   Passed    0.00 sec
        Start  50: testmod_line
 50/120 Test  #50: testmod_line .......................   Passed    0.00 sec
        Start  51: testmod_lineendings
 51/120 Test  #51: testmod_lineendings ................   Passed    0.00 sec
        Start  52: testmod_list
 52/120 Test  #52: testmod_list .......................***Failed    0.00 sec
        Start  53: testmod_mathcheck
 53/120 Test  #53: testmod_mathcheck ..................   Passed    0.00 sec
        Start  54: testmod_network
 54/120 Test  #54: testmod_network ....................   Passed    0.00 sec
        Start  55: testmod_ni
 55/120 Test  #55: testmod_ni .........................   Passed    0.00 sec
        Start  56: testmod_profile
 56/120 Test  #56: testmod_profile ....................   Passed    0.01 sec
        Start  57: testmod_rename
 57/120 Test  #57: testmod_rename .....................   Passed    0.00 sec
        Start  58: testmod_resolver
 58/120 Test  #58: testmod_resolver ...................   Passed    0.00 sec
        Start  59: testmod_shell
 59/120 Test  #59: testmod_shell ......................   Passed    0.00 sec
        Start  60: testmod_spec
 60/120 Test  #60: testmod_spec .......................   Passed    0.00 sec
        Start  61: testmod_uname
 61/120 Test  #61: testmod_uname ......................   Passed    0.00 sec
        Start  62: testmod_validation
 62/120 Test  #62: testmod_validation .................   Passed    0.01 sec
        Start  63: testmod_xmltool
 63/120 Test  #63: testmod_xmltool ....................   Passed    0.00 sec
        Start  64: testmod_yajl
 64/120 Test  #64: testmod_yajl .......................   Passed    0.01 sec
        Start  65: testscr_check_external
 65/120 Test  #65: testscr_check_external .............***Failed    0.74 sec
        Start  66: testscr_check_race
 66/120 Test  #66: testscr_check_race .................   Passed    0.04 sec
        Start  67: testscr_check_resolver
 67/120 Test  #67: testscr_check_resolver .............***Failed    2.23 sec
        Start  68: testscr_check_import
*** Error in `/home/marvin/Schreibtisch/libelektra-upstream/build/bin/kdb-full': free(): invalid pointer: 0x00000000014385d0 ***
*** Error in `/home/marvin/Schreibtisch/libelektra-upstream/build/bin/kdb-full': free(): invalid pointer: 0x0000000001b4a5d0 ***
 68/120 Test  #68: testscr_check_import ...............***Failed    2.13 sec
        Start  69: testscr_check_export
 69/120 Test  #69: testscr_check_export ...............***Failed    0.97 sec
        Start  70: testscr_check_error
 70/120 Test  #70: testscr_check_error ................***Failed    0.21 sec
        Start  71: testscr_check_real_world
 71/120 Test  #71: testscr_check_real_world ...........***Failed    1.32 sec
        Start  72: testscr_check_spec
 72/120 Test  #72: testscr_check_spec .................   Passed    0.19 sec
        Start  73: testscr_check_merge
 73/120 Test  #73: testscr_check_merge ................***Failed    0.11 sec
        Start  74: testscr_check_kdb_internal_check
 74/120 Test  #74: testscr_check_kdb_internal_check ...   Passed    0.71 sec
        Start  75: testscr_generate_data
 75/120 Test  #75: testscr_generate_data ..............   Passed    0.01 sec
        Start  76: testscr_check_formatting
 76/120 Test  #76: testscr_check_formatting ...........   Passed    0.05 sec
        Start  77: testscr_check_get_set
 77/120 Test  #77: testscr_check_get_set ..............***Failed    3.54 sec
        Start  78: testscr_check_basic
 78/120 Test  #78: testscr_check_basic ................   Passed    0.10 sec
        Start  79: testscr_check_plugins
 79/120 Test  #79: testscr_check_plugins ..............   Passed    0.48 sec
        Start  80: testscr_check_kdb_internal_suite
 80/120 Test  #80: testscr_check_kdb_internal_suite ...   Passed   13.40 sec
        Start  81: testscr_check_distribution
 81/120 Test  #81: testscr_check_distribution .........***Failed    3.46 sec
        Start  82: testscr_check_mount
 82/120 Test  #82: testscr_check_mount ................***Failed    0.27 sec
        Start  83: testshell_listtest
 83/120 Test  #83: testshell_listtest .................***Failed    0.17 sec
        Start  84: testshell_profiletest
*** Error in `/home/marvin/Schreibtisch/libelektra-upstream/build/bin/kdb': free(): invalid pointer: 0x000000000161fe80 ***
 84/120 Test  #84: testshell_profiletest ..............***Failed    0.88 sec
        Start  85: testshell_hosts
 85/120 Test  #85: testshell_hosts ....................***Failed    0.19 sec
        Start  86: testshell_db_changes
 86/120 Test  #86: testshell_db_changes ...............***Failed    0.16 sec
        Start  87: testshell_mathcheck
 87/120 Test  #87: testshell_mathcheck ................***Failed    0.92 sec
        Start  88: testshell_globaltest
*** Error in `/home/marvin/Schreibtisch/libelektra-upstream/build/bin/kdb': free(): invalid pointer: 0x0000000000b714a0 ***
 88/120 Test  #88: testshell_globaltest ...............***Failed    0.53 sec
        Start  89: testshell_script
 89/120 Test  #89: testshell_script ...................***Failed    0.24 sec
        Start  90: testabi_ks
 90/120 Test  #90: testabi_ks .........................***Exception: SegFault  0.02 sec
        Start  91: testabi_key
 91/120 Test  #91: testabi_key ........................   Passed    0.00 sec
        Start  92: testabi_rel
 92/120 Test  #92: testabi_rel ........................   Passed    0.00 sec
        Start  93: testabi_meta
 93/120 Test  #93: testabi_meta .......................   Passed    0.00 sec
        Start  94: test_size
 94/120 Test  #94: test_size ..........................   Passed    0.00 sec
        Start  95: test_array
 95/120 Test  #95: test_array .........................   Passed    0.00 sec
        Start  96: test_keyname
 96/120 Test  #96: test_keyname .......................   Passed    0.00 sec
        Start  97: test_namespace
 97/120 Test  #97: test_namespace .....................   Passed    0.00 sec
        Start  98: test_backend
 98/120 Test  #98: test_backend .......................***Failed    0.00 sec
        Start  99: test_splitset
 99/120 Test  #99: test_splitset ......................***Exception: SegFault  0.00 sec
        Start 100: test_operation
100/120 Test #100: test_operation .....................   Passed    0.00 sec
        Start 101: test_proposal
101/120 Test #101: test_proposal ......................   Passed    0.00 sec
        Start 102: test_spec
102/120 Test #102: test_spec ..........................   Passed    0.00 sec
        Start 103: test_ks
103/120 Test #103: test_ks ............................   Passed    0.00 sec
        Start 104: test_order
104/120 Test #104: test_order .........................   Passed    0.00 sec
        Start 105: test_args
105/120 Test #105: test_args ..........................   Passed    0.00 sec
        Start 106: test_opmphm_vheap
106/120 Test #106: test_opmphm_vheap ..................***Exception: Other  0.00 sec
        Start 107: test_split
107/120 Test #107: test_split .........................   Passed    0.00 sec
        Start 108: test_key
108/120 Test #108: test_key ...........................   Passed    0.03 sec
        Start 109: test_splitget
109/120 Test #109: test_splitget ......................***Exception: SegFault  0.00 sec
        Start 110: test_opmphm_vstack
110/120 Test #110: test_opmphm_vstack .................***Exception: Other  0.00 sec
        Start 111: test_trie
111/120 Test #111: test_trie ..........................   Passed    0.00 sec
        Start 112: test_mountsplit
112/120 Test #112: test_mountsplit ....................***Exception: SegFault  0.00 sec
        Start 113: test_meta
113/120 Test #113: test_meta ..........................   Passed    0.00 sec
        Start 114: test_internal
114/120 Test #114: test_internal ......................   Passed    0.00 sec
        Start 115: test_plugin
115/120 Test #115: test_plugin ........................   Passed    0.00 sec
        Start 116: test_mount
116/120 Test #116: test_mount .........................***Failed    0.00 sec
        Start 117: testkdb_simple
117/120 Test #117: testkdb_simple .....................***Failed    0.61 sec
        Start 118: testkdb_nested
118/120 Test #118: testkdb_nested .....................***Failed    0.33 sec
        Start 119: testkdb_allplugins
119/120 Test #119: testkdb_allplugins .................   Passed    0.05 sec
        Start 120: testkdb_conflict
120/120 Test #120: testkdb_conflict ...................   Passed    0.28 sec

73% tests passed, 32 tests failed out of 120

Label Time Summary:
kdbtests    =  34.32 sec
memleak     =  33.04 sec

Total Test time (real) =  35.34 sec

The following tests FAILED:
      4 - testtool_backendbuilder (Failed)
     13 - testtool_specreader (SEGFAULT)
     37 - testmod_csvstorage (SEGFAULT)
     48 - testmod_ini (SEGFAULT)
     52 - testmod_list (Failed)
     65 - testscr_check_external (Failed)
     67 - testscr_check_resolver (Failed)
     68 - testscr_check_import (Failed)
     69 - testscr_check_export (Failed)
     70 - testscr_check_error (Failed)
     71 - testscr_check_real_world (Failed)
     73 - testscr_check_merge (Failed)
     77 - testscr_check_get_set (Failed)
     81 - testscr_check_distribution (Failed)
     82 - testscr_check_mount (Failed)
     83 - testshell_listtest (Failed)
     84 - testshell_profiletest (Failed)
     85 - testshell_hosts (Failed)
     86 - testshell_db_changes (Failed)
     87 - testshell_mathcheck (Failed)
     88 - testshell_globaltest (Failed)
     89 - testshell_script (Failed)
     90 - testabi_ks (SEGFAULT)
     98 - test_backend (Failed)
     99 - test_splitset (SEGFAULT)
    106 - test_opmphm_vheap (OTHER_FAULT)
    109 - test_splitget (SEGFAULT)
    110 - test_opmphm_vstack (OTHER_FAULT)
    112 - test_mountsplit (SEGFAULT)
    116 - test_mount (Failed)
    117 - testkdb_simple (Failed)
    118 - testkdb_nested (Failed)
Errors while running CTest
Makefile:137: recipe for target 'test' failed
make: *** [test] Error 8

The output after adding a mountpoint:

> kdb ls system
3 Warnings were issued:
 Warning number: 14
    Description: given mountpoint not valid
    Ingroup: kdb
    Module: 
    At: /home/marvin/Schreibtisch/libelektra-upstream/src/libs/elektra/backend.c:87
    Reason: Could not find mountpoint within root (null)
    Mountpoint: 
    Configfile: kdbOpen(): mountOpen
 Warning number: 25
    Description: Backend has no mountpoint
    Ingroup: trie
    Module: 
    At: /home/marvin/Schreibtisch/libelektra-upstream/src/libs/elektra/mount.c:76
    Reason: no mountpoint
    Mountpoint: 
    Configfile: kdbOpen(): mountOpen
 Warning number: 93
    Description: Initial loading of trie did not work
    Ingroup: kdb
    Module: 
    At: /home/marvin/Schreibtisch/libelektra-upstream/src/libs/elektra/kdb.c:341
    Reason: Initial loading of trie did not work
    Mountpoint: 
    Configfile: kdbOpen(): mountOpen

System Information

A list of installed software (only relevant stuff, ask for more):

    Name                                   Version                              Architektur  Beschreibung
+++-======================================-====================================-============-================================================================================================
ii  cmake                                  3.0.2-1                              amd64        cross-platform, open-source make system
ii  cmake-data                             3.0.2-1                              all          CMake data files (modules, templates and documentation)
ii  cmake-qt-gui                           3.0.2-1                              amd64        Qt4 based user interface for CMake (cmake-gui)
ii  cpio                                   2.11+dfsg-4.1+deb8u1                 amd64        GNU cpio -- a program to manage archives of files
ii  cpp                                    4:4.9.2-2                            amd64        GNU C preprocessor (cpp)
ii  cpp-4.8                                4.8.4-1                              amd64        GNU C preprocessor
ii  cpp-4.9                                4.9.2-10                             amd64        GNU C preprocessor
ii  doxygen                                1.8.8-5                              amd64        Documentation system for C, C++, Java, Python and other languages
ii  doxygen-latex                          1.8.8-5                              all          Documentation system for C, C++, Java, Python and other languages
ii  g++                                    4:4.9.2-2                            amd64        GNU C++ compiler
ii  g++-4.9                                4.9.2-10                             amd64        GNU C++ compiler
ii  gawk                                   1:4.1.1+dfsg-1                       amd64        GNU awk, a pattern scanning and processing language
ii  gcc                                    4:4.9.2-2                            amd64        GNU C compiler
ii  gcc-4.8                                4.8.4-1                              amd64        GNU C compiler
ii  gcc-4.8-base:amd64                     4.8.4-1                              amd64        GCC, the GNU Compiler Collection (base package)
ii  gcc-4.9                                4.9.2-10                             amd64        GNU C compiler
ii  gcc-4.9-base:amd64                     4.9.2-10                             amd64        GCC, the GNU Compiler Collection (base package)
ii  libboost-all-dev                       1.55.0.2                             amd64        Boost C++ Libraries development files (ALL) (default version)
ii  libboost-atomic-dev:amd64              1.55.0.2                             amd64        atomic data types, operations, and memory ordering constraints (default version)
ii  libboost-atomic1.55-dev:amd64          1.55.0+dfsg-3                        amd64        atomic data types, operations, and memory ordering constraints
ii  libboost-atomic1.55.0:amd64            1.55.0+dfsg-3                        amd64        atomic data types, operations, and memory ordering constraints
ii  libboost-chrono-dev:amd64              1.55.0.2                             amd64        C++ representation of time duration, time point, and clocks (default version)
ii  libboost-chrono1.55-dev:amd64          1.55.0+dfsg-3                        amd64        C++ representation of time duration, time point, and clocks
ii  libboost-chrono1.55.0:amd64            1.55.0+dfsg-3                        amd64        C++ representation of time duration, time point, and clocks
ii  libboost-context-dev:amd64             1.55.0.2                             amd64        provides a sort of cooperative multitasking on a single thread (default version)
ii  libboost-context1.55-dev:amd64         1.55.0+dfsg-3                        amd64        provides a sort of cooperative multitasking on a single thread
ii  libboost-context1.55.0:amd64           1.55.0+dfsg-3                        amd64        provides a sort of cooperative multitasking on a single thread
ii  libboost-coroutine-dev                 1.55.0.2                             amd64        provides a sort of cooperative multitasking on a single thread (default version)
ii  libboost-coroutine1.55-dev:amd64       1.55.0+dfsg-3                        amd64        provides a sort of cooperative multitasking on a single thread
ii  libboost-date-time-dev:amd64           1.55.0.2                             amd64        set of date-time libraries based on generic programming concepts (default version)
ii  libboost-date-time1.55-dev:amd64       1.55.0+dfsg-3                        amd64        set of date-time libraries based on generic programming concepts
ii  libboost-date-time1.55.0:amd64         1.55.0+dfsg-3                        amd64        set of date-time libraries based on generic programming concepts
ii  libboost-dev:amd64                     1.55.0.2                             amd64        Boost C++ Libraries development files (default version)
ii  libboost-exception-dev:amd64           1.55.0.2                             amd64        library to help write exceptions and handlers (default version)
ii  libboost-exception1.55-dev:amd64       1.55.0+dfsg-3                        amd64        library to help write exceptions and handlers
ii  libboost-filesystem-dev:amd64          1.55.0.2                             amd64        filesystem operations (portable paths, iteration over directories, etc) in C++ (default version)
ii  libboost-filesystem1.55-dev:amd64      1.55.0+dfsg-3                        amd64        filesystem operations (portable paths, iteration over directories, etc) in C++
ii  libboost-filesystem1.55.0:amd64        1.55.0+dfsg-3                        amd64        filesystem operations (portable paths, iteration over directories, etc) in C++
ii  libboost-graph-dev:amd64               1.55.0.2                             amd64        generic graph components and algorithms in C++ (default version)
ii  libboost-graph-parallel-dev            1.55.0.2                             amd64        generic graph components and algorithms in C++ (default version)
ii  libboost-graph-parallel1.55-dev        1.55.0+dfsg-3                        amd64        generic graph components and algorithms in C++
ii  libboost-graph-parallel1.55.0          1.55.0+dfsg-3                        amd64        generic graph components and algorithms in C++
ii  libboost-graph1.55-dev:amd64           1.55.0+dfsg-3                        amd64        generic graph components and algorithms in C++
ii  libboost-graph1.55.0:amd64             1.55.0+dfsg-3                        amd64        generic graph components and algorithms in C++
ii  libboost-iostreams-dev:amd64           1.55.0.2                             amd64        Boost.Iostreams Library development files (default version)
ii  libboost-iostreams1.55-dev:amd64       1.55.0+dfsg-3                        amd64        Boost.Iostreams Library development files
ii  libboost-iostreams1.55.0:amd64         1.55.0+dfsg-3                        amd64        Boost.Iostreams Library
ii  libboost-locale-dev:amd64              1.55.0.2                             amd64        C++ facilities for localization (default version)
ii  libboost-locale1.55-dev:amd64          1.55.0+dfsg-3                        amd64        C++ facilities for localization
ii  libboost-locale1.55.0:amd64            1.55.0+dfsg-3                        amd64        C++ facilities for localization
ii  libboost-log-dev                       1.55.0.2                             amd64        C++ logging library (default version)
ii  libboost-log1.55-dev                   1.55.0+dfsg-3                        amd64        C++ logging library
ii  libboost-log1.55.0                     1.55.0+dfsg-3                        amd64        C++ logging library
ii  libboost-math-dev:amd64                1.55.0.2                             amd64        Boost.Math Library development files (default version)
ii  libboost-math1.55-dev:amd64            1.55.0+dfsg-3                        amd64        Boost.Math Library development files
ii  libboost-math1.55.0:amd64              1.55.0+dfsg-3                        amd64        Boost.Math Library
ii  libboost-mpi-dev                       1.55.0.2                             amd64        C++ interface to the Message Passing Interface (MPI) (default version)
ii  libboost-mpi-python-dev                1.55.0.2                             amd64        C++ interface to the Message Passing Interface (MPI), Python Bindings (default version)
ii  libboost-mpi-python1.55-dev            1.55.0+dfsg-3                        amd64        C++ interface to the Message Passing Interface (MPI), Python Bindings
ii  libboost-mpi-python1.55.0              1.55.0+dfsg-3                        amd64        C++ interface to the Message Passing Interface (MPI), Python Bindings
ii  libboost-mpi1.55-dev                   1.55.0+dfsg-3                        amd64        C++ interface to the Message Passing Interface (MPI)
ii  libboost-mpi1.55.0                     1.55.0+dfsg-3                        amd64        C++ interface to the Message Passing Interface (MPI)
ii  libboost-program-options-dev:amd64     1.55.0.2                             amd64        program options library for C++ (default version)
ii  libboost-program-options1.55-dev:amd64 1.55.0+dfsg-3                        amd64        program options library for C++
ii  libboost-program-options1.55.0:amd64   1.55.0+dfsg-3                        amd64        program options library for C++
ii  libboost-python-dev                    1.55.0.2                             amd64        Boost.Python Library development files (default version)
ii  libboost-python1.55-dev                1.55.0+dfsg-3                        amd64        Boost.Python Library development files
ii  libboost-python1.55.0                  1.55.0+dfsg-3                        amd64        Boost.Python Library
ii  libboost-random-dev:amd64              1.55.0.2                             amd64        Boost Random Number Library (default version)
ii  libboost-random1.55-dev:amd64          1.55.0+dfsg-3                        amd64        Boost Random Number Library
ii  libboost-random1.55.0:amd64            1.55.0+dfsg-3                        amd64        Boost Random Number Library
ii  libboost-regex-dev:amd64               1.55.0.2                             amd64        regular expression library for C++ (default version)
ii  libboost-regex1.55-dev:amd64           1.55.0+dfsg-3                        amd64        regular expression library for C++
ii  libboost-regex1.55.0:amd64             1.55.0+dfsg-3                        amd64        regular expression library for C++
ii  libboost-serialization-dev:amd64       1.55.0.2                             amd64        serialization library for C++ (default version)
ii  libboost-serialization1.55-dev:amd64   1.55.0+dfsg-3                        amd64        serialization library for C++
ii  libboost-serialization1.55.0:amd64     1.55.0+dfsg-3                        amd64        serialization library for C++
ii  libboost-signals-dev:amd64             1.55.0.2                             amd64        managed signals and slots library for C++ (default version)
ii  libboost-signals1.55-dev:amd64         1.55.0+dfsg-3                        amd64        managed signals and slots library for C++
ii  libboost-signals1.55.0:amd64           1.55.0+dfsg-3                        amd64        managed signals and slots library for C++
ii  libboost-system-dev:amd64              1.55.0.2                             amd64        Operating system (e.g. diagnostics support) library (default version)
ii  libboost-system1.55-dev:amd64          1.55.0+dfsg-3                        amd64        Operating system (e.g. diagnostics support) library
ii  libboost-system1.55.0:amd64            1.55.0+dfsg-3                        amd64        Operating system (e.g. diagnostics support) library
ii  libboost-test-dev:amd64                1.55.0.2                             amd64        components for writing and executing test suites (default version)
ii  libboost-test1.55-dev:amd64            1.55.0+dfsg-3                        amd64        components for writing and executing test suites
ii  libboost-test1.55.0:amd64              1.55.0+dfsg-3                        amd64        components for writing and executing test suites
ii  libboost-thread-dev:amd64              1.55.0.2                             amd64        portable C++ multi-threading (default version)
ii  libboost-thread1.55-dev:amd64          1.55.0+dfsg-3                        amd64        portable C++ multi-threading
ii  libboost-thread1.55.0:amd64            1.55.0+dfsg-3                        amd64        portable C++ multi-threading
ii  libboost-timer-dev:amd64               1.55.0.2                             amd64        C++ wall clock and CPU process timers (default version)
ii  libboost-timer1.55-dev:amd64           1.55.0+dfsg-3                        amd64        C++ wall clock and CPU process timers
ii  libboost-timer1.55.0:amd64             1.55.0+dfsg-3                        amd64        C++ wall clock and CPU process timers
ii  libboost-tools-dev                     1.55.0.2                             amd64        Boost C++ Libraries development tools (default version)
ii  libboost-wave-dev:amd64                1.55.0.2                             amd64        C99/C++ preprocessor library (default version)
ii  libboost-wave1.55-dev:amd64            1.55.0+dfsg-3                        amd64        C99/C++ preprocessor library
ii  libboost-wave1.55.0:amd64              1.55.0+dfsg-3                        amd64        C99/C++ preprocessor library
ii  libboost1.55-dev:amd64                 1.55.0+dfsg-3                        amd64        Boost C++ Libraries development files
ii  libboost1.55-tools-dev                 1.55.0+dfsg-3                        amd64        Boost C++ Libraries development tools
ii  libbotan-1.10-0                        1.10.8-2+deb8u1                      amd64        multiplatform crypto library
ii  libbotan1.10-dev                       1.10.8-2+deb8u1                      amd64        multiplatform crypto library (development)
ii  libgc1c2:amd64                         1:7.2d-6.4                           amd64        conservative garbage collector for C and C++
ii  libgcc-4.8-dev:amd64                   4.8.4-1                              amd64        GCC support library (development files)
ii  libgcc-4.9-dev:amd64                   4.9.2-10                             amd64        GCC support library (development files)
ii  libgcc1:amd64                          1:4.9.2-10                           amd64        GCC support library
ii  libpython-dev:amd64                    2.7.9-1                              amd64        header files and a static library for Python (default)
ii  libpython-stdlib:amd64                 2.7.9-1                              amd64        interactive high-level object-oriented language (default python version)
ii  libpython2.7:amd64                     2.7.9-2+deb8u1                       amd64        Shared Python runtime library (version 2.7)
ii  libpython2.7-dev:amd64                 2.7.9-2+deb8u1                       amd64        Header files and a static library for Python (v2.7)
ii  libpython2.7-minimal:amd64             2.7.9-2+deb8u1                       amd64        Minimal subset of the Python language (version 2.7)
ii  libpython2.7-stdlib:amd64              2.7.9-2+deb8u1                       amd64        Interactive high-level object-oriented language (standard library, version 2.7)
ii  libpython3-dev:amd64                   3.4.2-2                              amd64        header files and a static library for Python (default)
ii  libpython3-stdlib:amd64                3.4.2-2                              amd64        interactive high-level object-oriented language (default python3 version)
ii  libpython3.4:amd64                     3.4.2-1                              amd64        Shared Python runtime library (version 3.4)
ii  libpython3.4-dev:amd64                 3.4.2-1                              amd64        Header files and a static library for Python (v3.4)
ii  libpython3.4-minimal:amd64             3.4.2-1                              amd64        Minimal subset of the Python language (version 3.4)
ii  libpython3.4-stdlib:amd64              3.4.2-1                              amd64        Interactive high-level object-oriented language (standard library, version 3.4)
ii  libqt4-dbus:amd64                      4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64        Qt 4 D-Bus module
ii  libqt4-xml:amd64                       4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64        Qt 4 XML module
ii  libqt5core5a:amd64                     5.3.2+dfsg-4+deb8u1                  amd64        Qt 5 core module
ii  libqt5dbus5:amd64                      5.3.2+dfsg-4+deb8u1                  amd64        Qt 5 D-Bus module
ii  libqtcore4:amd64                       4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64        Qt 4 core module
ii  libqtdbus4:amd64                       4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64        Qt 4 D-Bus module library
ii  libqtgui4:amd64                        4:4.8.6+git64-g5dc8b2b+dfsg-3+deb8u1 amd64        Qt 4 GUI module
ii  libssl-dev:amd64                       1.0.1t-1+deb8u5                      amd64        Secure Sockets Layer toolkit - development files
ii  libssl-doc                             1.0.1t-1+deb8u2                      all          Secure Sockets Layer toolkit - development documentation
ii  libssl1.0.0:amd64                      1.0.1t-1+deb8u5                      amd64        Secure Sockets Layer toolkit - shared libraries
ii  libstdc++-4.9-dev:amd64                4.9.2-10                             amd64        GNU Standard C++ Library v3 (development files)
ii  libstdc++6:amd64                       4.9.2-10                             amd64        GNU Standard C++ Library v3
ii  libyajl-dev:amd64                      2.1.0-2                              amd64        Yet Another JSON Library - development files
ii  libyajl2:amd64                         2.1.0-2                              amd64        Yet Another JSON Library
ii  libyaml-0-2:amd64                      0.1.6-3                              amd64        Fast YAML 1.1 parser and emitter library
ii  libyaml-tiny-perl                      1.64-1                               all          Perl module for reading and writing YAML files
ii  lightsoff                              1:3.14.1-1                           amd64        Light puzzle game
ii  linux-base                             3.5                                  all          Linux image base package
ii  linux-compiler-gcc-4.8-x86             3.16.36-1+deb8u1                     amd64        Compiler for Linux on x86 (meta-package)
ii  linux-headers-3.16.0-4-amd64           3.16.36-1+deb8u1                     amd64        Header files for Linux 3.16.0-4-amd64
ii  linux-headers-3.16.0-4-common          3.16.36-1+deb8u1                     amd64        Common header files for Linux 3.16.0-4
ii  linux-headers-amd64                    3.16+63                              amd64        Header files for Linux amd64 configuration (meta-package)
ii  linux-image-3.16.0-4-amd64             3.16.36-1+deb8u1                     amd64        Linux 3.16 for 64-bit PCs
ii  linux-image-amd64                      3.16+63                              amd64        Linux for 64-bit PCs (meta-package)
ii  linux-kbuild-3.16                      3.16.7-ckt20-1                       amd64        Kbuild infrastructure for Linux 3.16
ii  linux-libc-dev:amd64                   3.16.36-1+deb8u1                     amd64        Linux support headers for userspace development
ii  llvm-3.5                               1:3.5-10                             amd64        Modular compiler and toolchain technologies
ii  llvm-3.5-dev                           1:3.5-10                             amd64        Modular compiler and toolchain technologies, libraries and headers
ii  llvm-3.5-runtime                       1:3.5-10                             amd64        Modular compiler and toolchain technologies, IR interpreter
ii  lua-lgi:amd64                          0.8.0-2                              amd64        Lua bridge to GObject based libraries
ii  lua5.2                                 5.2.3-1.1                            amd64        Simple, extensible, embeddable programming language
ii  luatex                                 2014.20140926.35254-6                all          TeX Live: transitional dummy package
ii  make                                   4.0-8.1                              amd64        utility for directing compilation
ii  man-db                                 2.7.0.2-5                            amd64        on-line manual pager
ii  manpages                               3.74-1                               all          Manual pages about using a GNU/Linux system
ii  manpages-dev                           3.74-1                               all          Manual pages about using GNU/Linux for development
ii  mawk                                   1.3.3-17                             amd64        a pattern scanning and text processing language
ii  openssl                                1.0.1t-1+deb8u5                      amd64        Secure Sockets Layer toolkit - cryptographic utility
ii  pkg-config                             0.28-1                               amd64        manage compile and link flags for libraries
markus2330 commented 7 years ago

Thank you for reporting! What was your cmake invocation? Did you maybe use ENABLE_DEBUG? Unfortunately most unit tests fail then at the moment: #988.

Help in fixing these problems is highly appreciated. It seems like there is a ELEKTRA_ASSERT that has a side-effect. (Because not every test case fails because of failed assertion)

markus2330 commented 7 years ago

I fixed the most important problem in efc4445bdc9c83b3cb9840e389369083793308a7 now "only":

         43 - testglib_key (OTHER_FAULT)
         97 - testscr_check_export (Failed)
        108 - testscr_check_get_set (Failed)
        131 - test_opmphm_vstack (OTHER_FAULT)
        134 - test_opmphm_vheap (OTHER_FAULT)

should fail.

markus2330 commented 7 years ago

And all functionality except within glib binding and ini plugin should work. Sorry for the inconvenience, I hope you still activate ENABLE_DEBUG.

Namoshek commented 7 years ago

For the moment I disabled ENABLE_DEBUG and ENABLE_LOGGER (tracer is really annoying). I'm not sure if I want to rebase my project branch again already (or is a merge of master fine?).

kdb` is now working as expected and only test_csvstorage (already handled in #987) fails. I think I'm good now and thank you for the fast fix!

markus2330 commented 7 years ago

I disabled the tracer in ac79a14238db6bb78b58f7389837638397c8a931 and hopefully you can activate at least ENABLE_LOGGER again.

The dysfunctional unit tests in ENABLE_DEBUG are also annoying, the first bug #741 for it is already ancient. Hopefully @manuelm finds some time to fix it.

I added a build job that will check it so that new PRs do not break it again.

Namoshek commented 7 years ago

Thank you, I'll have a look!