crash with small join_buffer_size

Bug #1058071 reported by sbester on 2012-09-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MariaDB
Fix Committed
Medium
Igor Babaev

Bug Description

Version: '5.5.27-MariaDB' socket: '' port: 3306 MariaDB Server
120928 13:40:55 [ERROR] mysqld got exception 0xc0000005 ;

 mysqld.exe!memcpy()[memcpy.asm:173]
 mysqld.exe!JOIN_CACHE::read_record_field()[sql_join_cache.cc:1837]
 mysqld.exe!JOIN_CACHE::read_all_record_fields()[sql_join_cache.cc:1718]
 mysqld.exe!JOIN_CACHE::get_record_by_pos()[sql_join_cache.cc:1619]
 mysqld.exe!JOIN_CACHE::get_record()[sql_join_cache.cc:1592]
 mysqld.exe!JOIN_CACHE::join_matching_records()[sql_join_cache.cc:2268]
 mysqld.exe!JOIN_CACHE::join_records()[sql_join_cache.cc:2065]
 mysqld.exe!JOIN_CACHE::join_records()[sql_join_cache.cc:2079]
 mysqld.exe!sub_select_cache()[sql_select.cc:15883]
 mysqld.exe!do_select()[sql_select.cc:15763]
 mysqld.exe!JOIN::exec()[sql_select.cc:2397]
 mysqld.exe!mysql_select()[sql_select.cc:3055]
 mysqld.exe!handle_select()[sql_select.cc:316]
 mysqld.exe!execute_sqlcom_select()[sql_parse.cc:4615]
 mysqld.exe!mysql_execute_command()[sql_parse.cc:2182]
 mysqld.exe!mysql_parse()[sql_parse.cc:5735]
 mysqld.exe!dispatch_command()[sql_parse.cc:1058]
 mysqld.exe!do_command()[sql_parse.cc:794]
 mysqld.exe!threadpool_process_request()[threadpool_common.cc:225]
 mysqld.exe!io_completion_callback()[threadpool_win.cc:584]

D:\ade\build\bzr\maria-5.5>bzr revno
3542

Attached testcase. Might have to run mysqld in valgrind.

sbester (sbester) wrote :
Elena Stepanova (elenst) wrote :

Thank you.

Refiled in JIRA as https://mariadb.atlassian.net/browse/MDEV-564

Changed in maria:
milestone: none → 5.3
assignee: nobody → Igor Babaev (igorb-seattle)
importance: Undecided → Medium
Igor Babaev (igorb-seattle) wrote :

The fix was pushed into the 5.3 tree.

Changed in maria:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments