Bug #44805 | crash in vanilla 5.0.67 | ||
---|---|---|---|
Submitted: | 11 May 2009 20:58 | Modified: | 12 May 2009 10:36 |
Reporter: | d di (Basic Quality Contributor) | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.67 | OS: | Windows (Windows Server 2008) |
Assigned to: | CPU Architecture: | Any | |
Tags: | qc |
[11 May 2009 20:58]
d di
[11 May 2009 22:06]
MySQL Verification Team
Thank you for the bug report. Could you please try with latest release 5.0.81 and comment the results?. Thanks in advance.
[11 May 2009 22:18]
d di
I can't even reproduce it on 5.0.67. I thought that perhaps you could look up the addresses in the backtrace...
[11 May 2009 22:24]
MySQL Verification Team
Thank you for the feedback. It is the 32-bit or 64-bit server binary?. Thank you in advance.
[11 May 2009 22:29]
d di
64-bit. 'version%' variables: version 5.0.67-community-nt version_comment MySQL Community Edition (GPL) version_compile_machine unknown version_compile_os Win64
[11 May 2009 23:37]
MySQL Verification Team
Call Stack extracted: 00677B95, MYSQLD-NT.EXE, strdup_root, c:\cygwin\home\mysqldev\build\mysql-5.0.67-winbuild\mysql-community-nt-5.0.67-build\mysys\my_alloc.c line 400 00549B35, MYSQLD-NT.EXE, acl_insert_user, c:\cygwin\home\mysqldev\build\mysql-5.0.67-winbuild\mysql-community-nt-5.0.67-build\sql\sql_acl.cc line 1105 0054A7E5, MYSQLD-NT.EXE, replace_user_table, c:\cygwin\home\mysqldev\build\mysql-5.0.67-winbuild\mysql-community-nt-5.0.67-build\sql\sql_acl.cc line 1955 0055218A, MYSQLD-NT.EXE, mysql_routine_grant, c:\cygwin\home\mysqldev\build\mysql-5.0.67-winbuild\mysql-community-nt-5.0.67-build\sql\sql_acl.cc line 3136 00555FD4, MYSQLD-NT.EXE, sp_grant_privileges, c:\cygwin\home\mysqldev\build\mysql-5.0.67-winbuild\mysql-community-nt-5.0.67-build\sql\sql_acl.cc line 5893 0059CB82, MYSQLD-NT.EXE, mysql_execute_command, c:\cygwin\home\mysqldev\build\mysql-5.0.67-winbuild\mysql-community-nt-5.0.67-build\sql\sql_parse.cc line 4658 005A1899, MYSQLD-NT.EXE, dispatch_command, c:\cygwin\home\mysqldev\build\mysql-5.0.67-winbuild\mysql-community-nt-5.0.67-build\sql\sql_parse.cc line 1900 005A2C47, MYSQLD-NT.EXE, do_command, c:\cygwin\home\mysqldev\build\mysql-5.0.67-winbuild\mysql-community-nt-5.0.67-build\sql\sql_parse.cc line 1595 005A2FC6, MYSQLD-NT.EXE, handle_one_connection, c:\cygwin\home\mysqldev\build\mysql-5.0.67-winbuild\mysql-community-nt-5.0.67-build\sql\sql_parse.cc line 1187 0068B669, MYSQLD-NT.EXE, pthread_start, c:\cygwin\home\mysqldev\build\mysql-5.0.67-winbuild\mysql-community-nt-5.0.67-build\mysys\my_winthread.c line 85 007D5C37, MYSQLD-NT.EXE, _callthreadstart, f:\rtm\vctools\crt_bld\self_64_amd64\crt\src\thread.c line 295 007D5D05, MYSQLD-NT.EXE, _threadstart, f:\rtm\vctools\crt_bld\self_64_amd64\crt\src\thread.c line 275
[12 May 2009 0:00]
d di
Thanks! Is it a null dereference in strlen() in strdup_root() on the str parameter from acl_insert_user()? Looks odd to me, there are no null values in the mysql.user table at least.. The server's SQL mode is: sql_mode=strict_all_tables,no_zero_in_date,no_zero_date Guess I'll add "no_auto_create_user" and hope that takes care of the problem. Haven't found a way to reproduce it. Keep the issue open if you have any good ideas.
[12 May 2009 8:45]
Sveta Smirnova
There is bug #44798 which can be related.
[12 May 2009 8:48]
d di
Ah yes, looks like exactly the same issue. Thanks!
[12 May 2009 10:36]
Sveta Smirnova
Thank you for the feedback. Closed as duplicate of bug #44798