Bug #54541 MySQL Master replication server craches when SSL is used
Submitted: 16 Jun 2010 5:03 Modified: 16 Jun 2010 6:46
Reporter: Zigmund Bulinsh Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Replication Severity:S2 (Serious)
Version:5.1.47 OS:Windows
Assigned to: CPU Architecture:Any
Tags: master, replication, SSL

[16 Jun 2010 5:03] Zigmund Bulinsh
Description:
100615 22:20:07 - mysqld got exception 0xc0000005 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=16777216
read_buffer_size=262144
max_used_connections=14
max_threads=151
threads_connected=6
It is possible that mysqld could use up to 
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 133315 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd: 0x6223f70
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
006B26D0    mysqld.exe!yaSSL::SSL_SESSION::GetBornOn()[yassl_int.cpp:1522]
006B6893    mysqld.exe!yaSSL::Sessions::Flush()[yassl_int.cpp:1695]
006B69EE    mysqld.exe!yaSSL::Sessions::add()[yassl_int.cpp:1596]
006BEA2C    mysqld.exe!yaSSL::sendFinished()[handshake.cpp:916]
006AC14E    mysqld.exe!yaSSL_accept()[ssl.cpp:371]
006DD8C1    mysqld.exe!ssl_do()[viossl.c:202]
006DD939    mysqld.exe!sslaccept()[viossl.c:256]
0047E339    mysqld.exe!check_connection()[sql_connect.cc:812]
0047E5C6    mysqld.exe!login_connection()[sql_connect.cc:963]
0047E719    mysqld.exe!handle_one_connection()[sql_connect.cc:1126]
0067F67B    mysqld.exe!pthread_start()[my_winthread.c:85]
0065EB53    mysqld.exe!_callthreadstart()[thread.c:293]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 00000000=(null)
thd->thread_id=13738
thd->killed=NOT_KILLED

How to repeat:
I have a master with 3 slaves reading for updates from it and using SSL for securing communications.
[16 Jun 2010 5:03] Zigmund Bulinsh
First time when server crached I ignored that. But this is second time in a month.
[16 Jun 2010 6:46] Sveta Smirnova
Thank you for the report.

This is duplicate of bug #34236