MOON
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
System: Linux vps.panamaemb.org.sg 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64
User: panama (500)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/2/cwd/usr/share/mysql-test/t/bug12969156.test
--source include/have_daemon_example_plugin.inc
--source include/not_embedded.inc
# TODO: the windows emulation of pthreads doesn't behave predictably
--source include/not_windows.inc

--echo #
--echo # Bug #12969156 : SEGMENTATION FAULT ON UNINSTALLING
--echo #  DAEMON_EXAMPLE PLUGIN
--echo #

let $counter= 0;
while ($counter < 10)
{
--replace_result $DAEMONEXAMPLE DAEMONEXAMPLE
  eval INSTALL PLUGIN daemon_example SONAME '$DAEMONEXAMPLE';
  UNINSTALL PLUGIN daemon_example;
  inc $counter;
}