lp:~percona-core/percona-server/release-5.6.5-60.0
- Get this branch:
- bzr branch lp:~percona-core/percona-server/release-5.6.5-60.0
Branch merges
- Stewart Smith (community): Approve
- Diff: 0 lines
Branch information
- Owner:
- Percona core
- Status:
- Development
Recent revisions
- 269. By Stewart Smith
-
some documentation updates for Percona Server 5.6: include only RN for 5.6, add a warning about alpha quality software
- 267. By Ignacio Nin
-
Add a --nohs parameter to the binary builder.
Change default CXX to g++.
Add a --quiet parameter to the binary builder. - 265. By Ignacio Nin
-
Update versions to 5.6.5
Adjust handlersocket paths
Update percona version to 60.0 (temporary)
Disable handlersocket (temporary) - 264. By Stewart Smith
-
fix funcs_1.
processlist_ val_no_ prot test for addition of TIME_MS column in SHOW PROCESSLIST and I_S.PROCESSLIST - 263. By Stewart Smith
-
Fix http://
bugs.mysql. com/bug. php?id= 65946 (reported by me) IF you are really lucky (or unlucky), the order in which things are
initialized on server startup goes a bit diferent than you'd expect. I
managed to get this to reproduce by always LD_PRELOADING
libeatmydata. This may also occur if LD_PRELOADING other libraries, but
I haven't tested.Namely, we get the Sid_map::Sid_map constructor firing before
my_thread_global_ init() is run. What happens here is that
Sid_map::Sid_map calls a DBUG function, which will try to get a thread
specific variable for THR_KEY_mysys, but the thread key hasn't yet been
initialized, so instead we get a wonderful pile of garbage.The end result, a crash:
#0 0x0000000000b8e825 in _db_enter_ (
_func_=<error reading variable: Cannot access memory at address 0xc>,
_file_=0xcbe490 "dno, const rpl_sid *)", _line_=27,
_stack_frame_= 0x7fff2d95d1f0)
at dbug/dbug.c:1112
#1 0x000000000084741b in Sid_map::Sid_map (this=0x140e2e0,
_sid_lock=<optimized out>)
at sql/rpl_gtid_sid_ map.cc: 27
#2 0x0000000000847252 in __static_initialization_ and_destruction _0 (
__priority=65535, __initialize_p=1)
at sql/rpl_gtid_misc. cc:34
#3 _GLOBAL__sub_I_ rpl_gtid_ misc.cc( void) ()
at sql/rpl_gtid_misc. cc:174
#4 0x0000000000bf481d in __do_global_ctors_aux () Running under Valgrind gives you instead:
==3390== Invalid read of size 1
==3390== at 0x636D1D2: internal_fnmatch (fnmatch_loop.c:69)
==3390== by 0x636E9EC: fnmatch@@GLIBC_ 2.2.5 (fnmatch.c:460)
==3390== by 0xB8D804: InList (dbug.c:1501)followed by:
==3390== General Protection Fault
==3390== at 0x636D1D2: internal_fnmatch (fnmatch_loop.c:69)
==3390== by 0x636E9EC: fnmatch@@GLIBC_ 2.2.5 (fnmatch.c:460)
==3390== by 0xB8D804: InList (dbug.c:1501)
==3390== by 0xB8D871: DoTrace (dbug.c:1670)
==3390== by 0xB8E84C: _db_enter_ (dbug.c:1115)
==3390== by 0x84741A: Sid_map::Sid_map( Checkable_ rwlock* ) (rpl_gtid_ sid_map. cc:27)
==3390== by 0x847251: _GLOBAL__sub_I_ rpl_gtid_ misc.cc (rpl_gtid_ misc.cc: 34)
==3390== by 0xBF47CC: __libc_csu_init (in /home/stewart/percona- server/ 5.6/Percona- Server/ build/sql/ mysqld- debug)
==3390== by 0x62C96FF: (below main) (libc-start.c:185)Clearly, this isn't ideal. basically, it prevents even mtr from starting
the debug server to find what version it is.The following patch solves the problem for me, basicall, if the thread
specific value hasn't been inited, let's do the right thing and return
NULL. Everything seems to work okay and I believe this to be correct.Another option could be to not have the global_sid_map in
rpl_gtid_misc.cc be inited as part of setup, or have it not use
DBUG... but this is possibly undesirable and could hide the problem in
the future.How to repeat:
eatmydata ./mysql-test-run.pl --debug-server(will crash on getting version number. This is basically it calling ./mysqld-debug --help --verbose)
- 260. By Stewart Smith
-
fix up perfschema test suite post show_temp patch (increases performance_
schema_ max_statement_ classes)
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:percona-server/5.5