g_string_insert_c: assertion `pos <= string->len' failed

Asked by Tom McKenzie on 2013-01-03

When running mydumper 5.2 on Centos 5.8 I received this message

(mydumper:2865): GLib-CRITICAL **: g_string_insert_c: assertion `pos <= string->len' failed

Here's the output from the make

[root@rufus mydumper-0.5.2]# cmake .
-- Using mysql-config: /usr/bin/mysql_config
-- Found MySQL: /usr/include/mysql, /usr/lib64/libmysqlclient_r.so;/usr/lib64/libpthread.so;/usr/lib64/libm.so;/usr/lib64/librt.so;/usr/lib64/libdl.so

WARNINGUnable to find Sphinx documentation generator
-- ------------------------------------------------
-- MYSQL_CONFIG = /usr/bin/mysql_config
-- CMAKE_INSTALL_PREFIX = /usr/local
-- BUILD_DOCS = ON
-- RUN_CPPCHECK = OFF
-- Change a values with: cmake -D<Variable>=<Value>
-- ------------------------------------------------
--
-- Configuring done
-- Generating done
-- Build files have been written to: /mnt/ephemeral/scratch/mydumper-0.5.2
[root@rufus mydumper-0.5.2]# make
[ 20%] Building C object CMakeFiles/mydumper.dir/mydumper.c.o
[ 40%] Building C object CMakeFiles/mydumper.dir/binlog.c.o
[ 60%] Building C object CMakeFiles/mydumper.dir/server_detect.c.o
[ 80%] Building C object CMakeFiles/mydumper.dir/g_unix_signal.c.o
Linking C executable mydumper
[ 80%] Built target mydumper
[100%] Building C object CMakeFiles/myloader.dir/myloader.c.o
Linking C executable myloader
[100%] Built target myloader

Question information

Language:
English Edit question
Status:
Solved
For:
MySQL Data Dumper Edit question
Assignee:
No assignee Edit question
Solved by:
Tom McKenzie
Solved:
2013-01-04
Last query:
2013-01-04
Last reply:
Tom McKenzie (thomaswmckenzie) said : #1

I tested on CentOS 6.2 and it works great, I guess it's time to upgrade.