Details
Description
Buildbot shows error like this:
http://buildbot.askmonty.org/buildbot/builders/win32-debug2/builds/6217/steps/test/logs/stdio
Error:Run-Time Check Failure #3 - The variable 'role' is being used without being initialized. At c:\bzr\bb-win32\win32-debug2\build\sql\sql_acl.cc:8840 140925 3:47:53 [ERROR] mysqld got exception 0x80000003 ; 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. To report this bug, see http://kb.askmonty.org/en/reporting-bugs 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. Server version: 10.1.1-MariaDB-debug-log key_buffer_size=1048576 read_buffer_size=131072 max_used_connections=2 max_threads=501 thread_count=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 195482 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. Thread pointer: 0x0x6ef6c70 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... mysqld.exe!handle_rtc_failure()[my_init.c:284] mysqld.exe!failwithmessage() mysqld.exe!_RTC_UninitUse() mysqld.exe!handle_grant_struct()[sql_acl.cc:8840] mysqld.exe!handle_grant_data()[sql_acl.cc:9065] mysqld.exe!mysql_create_user()[sql_acl.cc:9262] mysqld.exe!mysql_execute_command()[sql_parse.cc:4443] mysqld.exe!mysql_parse()[sql_parse.cc:7011] mysqld.exe!dispatch_command()[sql_parse.cc:1468] mysqld.exe!do_command()[sql_parse.cc:1092] mysqld.exe!threadpool_process_request()[threadpool_common.cc:233] mysqld.exe!io_completion_callback()[threadpool_win.cc:568] kernel32.dll!GetCPInfoExW() ntdll.dll!WinSqmStartSession() ntdll.dll!TpSetTimer() kernel32.dll!BaseThreadInitThunk() ntdll.dll!RtlInitializeExceptionChain() ntdll.dll!RtlInitializeExceptionChain() Trying to get some variables. Some pointers may be invalid and cause the dump to abort. Query (0x6e2a638): CREATE USER testuser@'::1' identified by '1234'
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
The error is caused by meaningless use of 'role' local variable. It can be fixed by equivalent code change.