Ubuntu precise 64bit + Percona = fail

Asked by Cal Leeming

Using the mydumper package from repo fails with this;

[3230741.530652] processqueue[13125]: segfault at 0 ip 00007f784b722336 sp 00007f784a99be60 error 4 in

libglib-2.0.so.0.3200.3[7f784b69f000+f2000]
[3230747.945488] processqueue[13131]: segfault at 0 ip 00007f72bba59336 sp 00007f72bacd2e60 error 4 in

libglib-2.0.so.0.3200.3[7f72bb9d6000+f2000]
[3230758.194969] processqueue[13137]: segfault at 0 ip 00007f0c5aa93336 sp 00007f0c59d0ce60 error 4 in

libglib-2.0.so.0.3200.3[7f0c5aa10000+f2000]
[3230780.686775] processqueue[13141]: segfault at 0 ip 00007f9eb5cec336 sp 00007f9eb4f65e60 error 4 in

libglib-2.0.so.0.3200.3[7f9eb5c69000+f2000]
[3230784.336484] processqueue[13146]: segfault at 0 ip 00007f132641c336 sp 00007f1325695e60 error 4 in

libglib-2.0.so.0.3200.3[7f1326399000+f2000]
[3230794.710549] processqueue[13153]: segfault at 0 ip 00007fb97bac9336 sp 00007fb97ad42e60 error 4 in

libglib-2.0.so.0.3200.3[7fb97ba46000+f2000]

** Message: Connected to a MySQL server
** Message: Started dump at: 2012-10-08 16:53:16

I am using percona libs.

> dpkg -l | grep percona
ii percona-server-client-5.5 5.5.27-rel28.1-296.precise Percona Server database client binaries
ii percona-server-common-5.5 5.5.27-rel28.1-296.precise Percona Server database common files (e.g. /etc/mysql/my.cnf)
ii percona-server-server-5.5 5.5.27-rel28.1-296.precise Percona Server database server binaries
ii percona-toolkit 2.1.4 Advanced MySQL and system command-line tools
ii percona-xtrabackup 2.0.3-470.precise Open source backup tool for InnoDB and XtraDB
ii xtrabackup 2.0.3-470.precise Transitional package for percona-xtrabackup

 > apt-cache showpkg mydumper
Package: mydumper
Versions:
0.5.1-1ubuntu1 (/var/lib/apt/lists/us-east-1.ec2.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-amd64_Packages)
 Description Language:
                 File: /var/lib/apt/lists/us-east-1.ec2.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-amd64_Packages
                  MD5: aeb30b8248c26bc4b50eb2a94783398d
 Description Language: en
                 File: /var/lib/apt/lists/us-east-1.ec2.archive.ubuntu.com_ubuntu_dists_precise_universe_i18n_Translation-en
                  MD5: aeb30b8248c26bc4b50eb2a94783398d

Reverse Depends:
  mydumper:i386,mydumper
Dependencies:
0.5.1-1ubuntu1 - libc6 (2 2.4) libglib2.0-0 (2 2.31.2) libmysqlclient18 (2 5.5.13-1) libpcre3 (2 8.10) zlib1g (2 1:1.2.3.3.dfsg) libjs-sphinxdoc (2 1.0) mydumper:i386 (0 (null))
Provides:
0.5.1-1ubuntu1 -
Reverse Provides:

Attempted to compile the latest development package but got;

> cmake .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- MySQL not found.
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
-- checking for one of the modules 'glib-2.0'
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:350 (message):
  None of the required 'glib-2.0' found
Call Stack (most recent call first):
  cmake/modules/FindGLIB2.cmake:10 (pkg_search_module)
  CMakeLists.txt:10 (find_package)

-- checking for one of the modules 'gthread-2.0'
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:350 (message):
  None of the required 'gthread-2.0' found
Call Stack (most recent call first):
  cmake/modules/FindGLIB2.cmake:11 (pkg_search_module)
  CMakeLists.txt:10 (find_package)

CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:306 (message):
  pkg-config tool not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  cmake/modules/FindPCRE.cmake:25 (pkg_check_modules)
  CMakeLists.txt:11 (find_package)

-- Could NOT find PCRE (missing: PCRE_INCLUDE_DIR PCRE_PCRE_LIBRARY PCRE_PCREPOSIX_LIBRARY)
CMake Warning at docs/CMakeLists.txt:9 (message):
  Unable to find Sphinx documentation generator

CMake Warning at docs/CMakeLists.txt:152 (message):
  Missing python-sphinx documentation tools, docs will not be built

-- ------------------------------------------------
-- MYSQL_CONFIG = MYSQL_CONFIG-NOTFOUND
-- CMAKE_INSTALL_PREFIX = /usr/local
-- BUILD_DOCS = ON
-- RUN_CPPCHECK = OFF
-- Change a values with: cmake -D<Variable>=<Value>
-- ------------------------------------------------
--
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GLIB2_LIBRARIES (ADVANCED)
    linked by target "mydumper" in directory /root/mydumper-0.5.1
    linked by target "myloader" in directory /root/mydumper-0.5.1
GTHREAD2_LIBRARIES (ADVANCED)
    linked by target "mydumper" in directory /root/mydumper-0.5.1
    linked by target "myloader" in directory /root/mydumper-0.5.1
MYSQL_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /root/mydumper-0.5.1
MYSQL_LIBRARIES_mysqlclient
    linked by target "mydumper" in directory /root/mydumper-0.5.1
    linked by target "myloader" in directory /root/mydumper-0.5.1
PCRE_INCLUDE_DIR (ADVANCED)
   used as include directory in directory /root/mydumper-0.5.1
PCRE_PCRE_LIBRARY (ADVANCED)
    linked by target "mydumper" in directory /root/mydumper-0.5.1
    linked by target "myloader" in directory /root/mydumper-0.5.1

-- Configuring incomplete, errors occurred!

Shame because this looked like such a cool little tool :(

Question information

Language:
English Edit question
Status:
Answered
For:
MySQL Data Dumper Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #1063943.

Revision history for this message
Max Bubenick (max-bubenick) said :
#1

is not a mydumper bug, this is because a wrong linked file, to make it work you need to fix

libmysqlclient_r.so linked file as Mischa mention in the above link

Revision history for this message
Max Bubenick (max-bubenick) said :
#2

Can you help with this problem?

Provide an answer of your own, or ask Cal Leeming for more information if necessary.

To post a message you must log in.