Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-14902

Crash while building TokuDB on Fedora 27

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.2
    • N/A

    Description

      I get segmentation fault while linking libtokuportability_static_conv.a:

      [ 74%] Building CXX object storage/spider/CMakeFiles/spider.dir/hs_client/string_util.cpp.o
      [ 74%] Linking CXX shared module ha_spider.so
      [ 74%] Built target spider
      Scanning dependencies of target test_sql_discovery
      [ 74%] Building CXX object storage/test_sql_discovery/CMakeFiles/test_sql_discovery.dir/test_sql_discovery.cc.o
      [ 74%] Linking CXX shared module ha_test_sql_discovery.so
      [ 74%] Built target test_sql_discovery
      [ 74%] Linking CXX static library libtokuportability_static_conv.a
      Error running link command: Segmentation fault
      make[2]: *** [storage/tokudb/PerconaFT/portability/CMakeFiles/tokuportability_static_conv.dir/build.make:330: storage/tokudb/PerconaFT/portability/libtokuportability_static_conv.a] Error 1
      make[1]: *** [CMakeFiles/Makefile2:7743: storage/tokudb/PerconaFT/portability/CMakeFiles/tokuportability_static_conv.dir/all] Error 2
      make: *** [Makefile:163: all] Error 2
      

      It happened to me last week and still happens with current code:

      [openxs@fc23 server]$ git branch
      * 10.3
      [openxs@fc23 server]$ git log -1
      commit fe79ac5b0e48395e55a4fb78196198b8542cc3d5 (HEAD -> 10.3, origin/HEAD, origin/10.3)
      Author: Marko Mäkelä <marko.makela@mariadb.com>
      Date:   Tue Jan 9 13:45:39 2018 +0200
       
          MDEV-14837 Duplicate primary keys are allowed after ADD COLUMN / UPDATE
       
          This bug affected tables where the PRIMARY KEY contains variable-length
          columns, and ROW_FORMAT is COMPACT or DYNAMIC.
       
          rec_init_offsets_comp_ordinary(): Do not short-cut the parsing
          of the record header for records that contain explicit values
          for instantly added columns.
       
          rec_copy_prefix_to_buf(): Copy more header for records that
          contain explicit values for instantly added columns.
      

      cmake command line was (from fc -l):

      1001     git pull
      1002     git submodule update
      1003     make clean
      1004     ls -l CMake*.txt
      1005     rm CMakeCache.txt
      1006     cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DWITH_SSL=system -DWITH_ZLIB=bundled -DENABLED_LOCAL_INFILE=1 -DWITH_JEMALLOC=system -DWITH_WSREP=ON -DWITH_INNODB_DISALLOW_WRITES=ON -DPLUGIN_MROONGA=NO -DCMAKE_INSTALL_PREFIX=/home/openxs/dbs/maria10.3
      1007     time make -j 4
      1008     make
      

      make -j 4 failed with MyRocks, but it may be a topic for other bug report...

      Attachments

        Activity

          People

            Unassigned Unassigned
            valerii Valerii Kravchuk
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.