Comment 14 for bug 1267507

Revision history for this message
Axel (ajurak) wrote :

Hi Alex,

you are right.
Thats what I said. Somehow the my.cnf file is NOT fully loaded. See #9.

When I start the server without the init script like this:
/usr/sbin/mysqld --wsrep_provider=/usr/lib/galera/libgalera_smm.so --wsrep_cluster_address=gcomm://

With this setup the wsrep provider is loaded and working (checked it with: show status like 'wsrep%'; )
OK, fine.

But the question remains why the SAME config is working with percona-56 but not with "your" binaries.
I tried your init script & the one from percona - both do not work with your binary, the my.cnf is only partially read...

Then the import is NOT working:

2014-01-11 13:55:04 26168 [Note] WSREP: Created page /var/lib/mysql/gcache.page.000000 of size 134217728 bytes
2014-01-11 13:55:20 26168 [Note] WSREP: Deleted page /var/lib/mysql/gcache.page.000000
2014-01-11 14:00:54 26168 [Note] WSREP: Created page /var/lib/mysql/gcache.page.000001 of size 134217728 bytes
13:00:59 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=268435456
read_buffer_size=268435456
max_used_connections=4
max_threads=250
thread_count=3
connection_count=3
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 196873675 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

Thread pointer: 0x7fde80000990
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 = 7fde9669da70 thread_stack 0x80000
/usr/sbin/mysqld(my_print_stacktrace+0x2e)[0x8d52ce]
/usr/sbin/mysqld(handle_fatal_signal+0x481)[0x6adba1]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7fdec0fa8cb0]
/usr/lib/galera/libgalera_smm.so(_ZN6galera13Certification16purge_for_trx_v3EPNS_9TrxHandleE+0x27d)[0x7fdea104cf7d]
/usr/lib/galera/libgalera_smm.so(_ZNK6galera13Certification15PurgeAndDiscardclERSt4pairIKlPNS_9TrxHandleEE+0xc0)[0x7fdea1054cb0]
/usr/lib/galera/libgalera_smm.so(_ZSt8for_eachISt17_Rb_tree_iteratorISt4pairIKlPN6galera9TrxHandleEEENS3_13Certification15PurgeAndDiscardEET0_T_SB_SA_+0x2c)[0x7fdea1054edc]
/usr/lib/galera/libgalera_smm.so(_ZN6galera13Certification16purge_trxs_upto_Elb+0x72)[0x7fdea104e722]
/usr/lib/galera/libgalera_smm.so(_ZN6galera13Certification15purge_trxs_uptoElb+0x4b)[0x7fdea107c2bb]
/usr/lib/galera/libgalera_smm.so(_ZN6galera13ReplicatorSMM18process_commit_cutEll+0x94)[0x7fdea1076864]
/usr/lib/galera/libgalera_smm.so(_ZN6galera15GcsActionSource8dispatchEPvRK10gcs_actionRb+0x43d)[0x7fdea105a8ad]
/usr/lib/galera/libgalera_smm.so(_ZN6galera15GcsActionSource7processEPvRb+0x5b)[0x7fdea105b4eb]
/usr/lib/galera/libgalera_smm.so(_ZN6galera13ReplicatorSMM10async_recvEPv+0x63)[0x7fdea107ad03]
/usr/lib/galera/libgalera_smm.so(galera_recv+0x23)[0x7fdea108aeb3]
/usr/sbin/mysqld[0x609215]
/usr/sbin/mysqld(start_wsrep_THD+0x34a)[0x5f343a]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7fdec0fa0e9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7fdebf4233fd]

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

----

going back to percona-5.5