userstat ON prevent using mysql_install_db

Bug #1008609 reported by Olivier Doucet on 2012-06-04
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Percona Server moved to

Bug Description

I have userstat = 1 in my.cnf
Using Percona-Server-5.5.24-rel26.0, launching mysql_install_db leads to error (segfault).

GDB gives me the following :

(gdb) run --defaults-file=/etc/my.cnf --bootstrap --basedir=/usr --datadir=/srv/mysql --log-warnings=1 --loose-skip-innodb --user=mysql --max_allowed_packet=8M --default-storage-engine=myisam --net_buffer_length=16K
Starting program: /usr/sbin/mysqld --defaults-file=/etc/my.cnf --bootstrap --basedir=/usr --datadir=/srv/mysql --log-warnings=1 --loose-skip-innodb --user=mysql --max_allowed_packet=8M --default-storage-engine=myisam --net_buffer_length=16K
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff6b06700 (LWP 5286)]
[Thread 0x7ffff6b06700 (LWP 5286) exited]
120604 19:02:10 [Note] Flashcache bypass: disabled
120604 19:02:10 [Note] Flashcache setup error is : ioctl failed

[New Thread 0x7ffff5c7d700 (LWP 5287)]
[New Thread 0x7ffff5c3c700 (LWP 5288)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff5c3c700 (LWP 5288)]
0x0000000000622f96 in increment_count_by_name (name=0x7fffe8000990 "boot", role_name=0x7fffe8000990 "boot", users_or_clients=0x1060d00, thd=0x10cb4f0)
    at /usr/src/debug/Percona-Server-5.5.24-rel26.0/Percona-Server-5.5.24-rel26.0/sql/
502 if (thd->net.vio->type == VIO_TYPE_SSL)

Disabling userstat when doing mysql_install_db worked.

Related branches

Alexey Kopytov (akopytov) wrote :

This bug is actually a duplicate of bug #1008278.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers