Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Not a Bug
-
10.2(EOL)
-
[openxs@fc23 server]$ uname -a
Linux fc23 4.14.8-300.fc27.x86_64 #1 SMP Wed Dec 20 19:00:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
[openxs@fc23 server]$ gcc --version
gcc (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2)
...
[openxs@fc23 server]$ free
total used free shared buff/cache available
Mem: 8139128 372864 1927988 86692 5838276 7320744
Swap: 0 0 0[ openxs@fc23 server]$ uname -a Linux fc23 4.14.8-300.fc27.x86_64 #1 SMP Wed Dec 20 19:00:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux [ openxs@fc23 server]$ gcc --version gcc (GCC) 7.2.1 20170915 (Red Hat 7.2.1-2) ... [ openxs@fc23 server]$ free total used free shared buff/cache available Mem: 8139128 372864 1927988 86692 5838276 7320744 Swap: 0 0 0
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...