[MDEV-3303] LP:1058071 - crash with small join_buffer_size Created: 2012-09-28  Updated: 2015-02-02  Resolved: 2012-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: sbester Assignee: Igor Babaev
Resolution: Fixed Votes: 0
Labels: Launchpad

Attachments: XML File LPexportBug1058071.xml     File LPexportBug1058071_maria_5.5_crash_with_small_join_buffer_size.sql    

 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.



 Comments   
Comment by sbester [ 2012-09-28 ]

Re: crash with small join_buffer_size

Comment by sbester [ 2012-09-28 ]

testcase
LPexportBug1058071_maria_5.5_crash_with_small_join_buffer_size.sql

Comment by Elena Stepanova [ 2012-09-28 ]

Re: crash with small join_buffer_size
Thank you.

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

Comment by Igor Babaev [ 2012-10-01 ]

Re: crash with small join_buffer_size
The fix was pushed into the 5.3 tree.

Comment by Rasmus Johansson (Inactive) [ 2012-10-01 ]

Launchpad bug id: 1058071

Generated at Thu Feb 08 06:47:41 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.