Bug #42945 Assertion failed: dir_entry <= 255, file storage\maria\ma_blockrec.h, line 124
Submitted: 17 Feb 2009 20:33 Modified: 11 Mar 2009 14:06
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server: Maria storage engine Severity:S2 (Serious)
Version:6.0.10 OS:Any (MS Windows, Linux)
Assigned to: CPU Architecture:Any
Tags: assertion, corruption

[17 Feb 2009 20:33] Shane Bester
Description:
Version: '6.0.10-alpha-debug'  socket: ''  port: 3306  Source distribution
Assertion failed: dir_entry <= 255, file e:\builds\bzr\6.0\storage\maria\ma_blockrec.h, line 124

mysqld.exe!my_sigabrt_handler()[my_thr_init.c:507]
mysqld.exe!raise()[winsig.c:590]
mysqld.exe!abort()[abort.c:71]
mysqld.exe!_wassert()[assert.c:212]
mysqld.exe!ma_recordpos()[ma_blockrec.h:124]
mysqld.exe!delete_head_or_tail()[ma_blockrec.c:3956]
mysqld.exe!_ma_write_abort_block_record()[ma_blockrec.c:3499]
mysqld.exe!maria_write()[ma_write.c:382]
mysqld.exe!ha_maria::write_row()[ha_maria.cc:968]
mysqld.exe!handler::ha_write_row()[handler.cc:5493]
mysqld.exe!write_record()[sql_insert.cc:1610]
mysqld.exe!mysql_insert()[sql_insert.cc:836]
mysqld.exe!mysql_execute_command()[sql_parse.cc:3122]
mysqld.exe!mysql_parse()[sql_parse.cc:5751]
mysqld.exe!dispatch_command()[sql_parse.cc:1009]
mysqld.exe!do_command()[sql_parse.cc:691]
mysqld.exe!handle_one_connection()[sql_connect.cc:1146]
mysqld.exe!pthread_start()[my_winthread.c:61]
mysqld.exe!_callthreadstartex()[threadex.c:348]
mysqld.exe!_threadstartex()[threadex.c:331]
kernel32.dll!FlsSetValue()

How to repeat:
run attached sql against debug server
[17 Feb 2009 20:34] MySQL Verification Team
test

Attachment: bug42945.sql (text/x-sql), 7.72 KiB.

[17 Feb 2009 20:37] MySQL Verification Team
debug server crashes during insert.  release server reports corruption and crc errors after repair table is run on the table2
[17 Feb 2009 22:23] Sveta Smirnova
Thank you for the report.

Verified as described.
[10 Mar 2009 21:30] Guilhem Bichot
Tried this on Linux, latest 6.0-maria (no bugfix for this happened as far as I know), no problem... !?
[11 Mar 2009 8:36] Sveta Smirnova
Does not fail for me on Linux as well. I think should be re-tested on windows to be sure
[11 Mar 2009 13:59] MySQL Verification Team
Can't repeat this anymore using the given testcase on 6.0.11 revision 2743