Comment 1 for bug 1040007

Revision history for this message
Slava (volga629-d) wrote :

Here what I my case

mysql> SET GLOBAL wsrep_provider_options='/usr/lib64/galera/libgalera_smm.so';
ERROR 1210 (HY000): Incorrect arguments to SET

31209 5:27:30 [Note] WSREP: Initial position: 16943531-605f-11e3-82ee-972076c0eb77:1
131209 5:27:30 [Note] WSREP: wsrep_load(): loading provider library '/usr/lib64/galera/libgalera_smm.so'
131209 5:27:30 [Note] WSREP: wsrep_load(): Galera 3.2(rXXXX) by Codership Oy <email address hidden> loaded successfully.
131209 5:27:30 [Note] WSREP: CRC-32C: using hardware acceleration.
131209 5:27:30 [ERROR] WSREP: Key without value: '/usr/lib64/galera/libgalera_smm.so' at position '0' in parameter list.: 22 (Invalid argument)
  at galerautils/src/gu_config.cpp:parse():41
131209 5:27:30 [ERROR] WSREP: wsrep::init() failed: 7, must shutdown
04:27:30 UTC - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.

key_buffer_size=8388608
read_buffer_size=131072
max_used_connections=1
max_threads=151
thread_count=1
connection_count=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 338576 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x2312be0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 7f025ed9ae48 thread_stack 0x40000
/usr/libexec/mysqld(my_print_stacktrace+0x35)[0x7cf8c5]
/usr/libexec/mysqld(handle_fatal_signal+0x4a4)[0x6a57f4]
/lib64/libpthread.so.0(+0xf500)[0x7f027e41b500]
/usr/libexec/mysqld[0x662c34]
/usr/libexec/mysqld(_Z21wsrep_provider_updateP7sys_varP3THD13enum_var_type+0x159)[0x663829]
/usr/libexec/mysqld(_ZN7sys_var6updateEP3THDP7set_var+0x8a)[0x52c72a]
/usr/libexec/mysqld(_ZN7set_var6updateEP3THD+0x17)[0x52d8b7]
/usr/libexec/mysqld(_Z17sql_set_variablesP3THDP4ListI12set_var_baseE+0x89)[0x52cd29]
/usr/libexec/mysqld(_Z21mysql_execute_commandP3THD+0x1590)[0x5921c0]
/usr/libexec/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x188)[0x596658]
/usr/libexec/mysqld[0x596742]
/usr/libexec/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x22cc)[0x59997c]
/usr/libexec/mysqld(_Z10do_commandP3THD+0x127)[0x59a5e7]
/usr/libexec/mysqld(_Z24do_handle_one_connectionP3THD+0x13f)[0x634b0f]
/usr/libexec/mysqld(handle_one_connection+0x51)[0x634cb1]
/lib64/libpthread.so.0(+0x7851)[0x7f027e413851]
/lib64/libc.so.6(clone+0x6d)[0x7f027d69994d]

Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (7f0250008f40): is an invalid pointer
Connection ID (thread ID): 3
Status: NOT_KILLED

The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
131209 05:27:30 mysqld_safe Number of processes running now: 0
131209 05:27:30 mysqld_safe mysqld restarted
131209 05:27:30 mysqld_safe WSREP: Running position recovery with --log_error='/var/lib/mysql/wsrep_recovery.bBGFPw' --pid-file='/var/lib/mysql/xmpp02.networklab.loc-recover.pid'
131209 05:27:33 mysqld_safe WSREP: Recovered position 16943531-605f-11e3-82ee-972076c0eb77:1
131209 5:27:33 [Note] WSREP: wsrep_start_position var submitted: '16943531-605f-11e3-82ee-972076c0eb77:1'
131209 5:27:33 [Note] WSREP: Read nil XID from storage engines, skipping position init
131209 5:27:33 [Note] WSREP: wsrep_load(): loading provider library '/usr/lib64/galera/libgalera_smm.so'
131209 5:27:33 [Note] WSREP: wsrep_load(): Galera 3.2(rXXXX) by Codership Oy <email address hidden> loaded successfully.
131209 5:27:33 [Note] WSREP: CRC-32C: using hardware acceleration.
131209 5:27:33 [Note] WSREP: Found saved state: 00000000-0000-0000-0000-000000000000:-1
131209 5:27:33 [ERROR] WSREP: File preallocation failed: 0 (Success)
  at galerautils/src/gu_fdesc.cpp:prealloc():203
131209 5:27:33 [ERROR] WSREP: wsrep::init() failed: 7, must shutdown
131209 5:27:33 [ERROR] Aborting

131209 5:27:33 [Note] /usr/libexec/mysqld: Shutdown complete

131209 05:27:33 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
[root@xmpp02 ~]#