mysqld crashes at start when I enable log_bin

Bug #1644667 reported by Serge Shakhov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Invalid
Undecided
Unassigned

Bug Description

Percona mysqld 5.7.13-6 on Ubuntu 16.04.1 LTS
crashes if I try to enable log_bin option:

stack_bottom = 0 thread_stack 0x30000
/usr/sbin/mysqld(my_print_stacktrace+0x2c)[0xec564c]
/usr/sbin/mysqld(handle_fatal_signal+0x461)[0x79cbc1]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x113d0)[0x7f2b63d433d0]
/usr/sbin/mysqld(_Z6ER_THDPK3THDi+0x1)[0x7d0751]
/usr/sbin/mysqld(_Z21generate_new_log_namePcPmPKcb+0xad)[0xe5567d]
/usr/sbin/mysqld(_ZN13MYSQL_BIN_LOG26init_and_set_log_file_nameEPKcS1_+0x2f)[0xe5579f]
/usr/sbin/mysqld(_ZN13MYSQL_BIN_LOG11open_binlogEPKcS1_mbbbP28Format_description_log_event+0x56)[0xe57b96]
/usr/sbin/mysqld[0x795e7f]
/usr/sbin/mysqld(_Z11mysqld_mainiPPc+0x61e)[0x796a7e]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f2b630e8830]

Running apparmor on the server.
Binlog folder is listed in allowed list.
Folder owned by mysql user.

Revision history for this message
Nickolay Ihalainen (ihanick) wrote :

Hi Serge,

Could you
check datadir and binary logging related system variables:

 mysqld --help --verbose 2>&1|egrep -i 'datadir|log'

There is a stack trace, so if the issue is easy to reproduce, please obtain a core dump and provide full stack trace:
https://www.percona.com/blog/2015/08/17/mysql-is-crashing-a-support-engineers-point-of-view/

Changed in percona-server:
status: New → Incomplete
Revision history for this message
Serge Shakhov (rideamus) wrote :

Hi Nickolay

Unfortunately it's too late, I don't use that server and database anymore so it's impossible to reproduce.
Feel free to close the case.
Thanks.

Changed in percona-server:
status: Incomplete → Invalid
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-3610

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.