MDEV-7550 TokuDB crashes in build tests on Launchpad
When compiled with "-Wl,-Bsymbolic-functions" flags (e.g. when building a .deb package on Ubuntu) with TokuDB and jemalloc, mysqld crashed in toku_get_processor_frequency_cpuinfo() when free()-ing a buffer returned by getline(). getline() uses libc malloc() internally, while free() is aliased to jemalloc's free() in this configuration. Fixing not to use getline(). Using a static buffer instead.
Showing
Please register or sign in to comment