Bug #40790 Falcon assertion (bdb->buffer->pageNumber == pageNumber) in Bdb*Cache::fetchPage
Submitted: 17 Nov 2008 16:11 Modified: 2 Feb 2012 10:17
Reporter: Philip Stoev Email Updates:
Status: Unsupported Impact on me:
None 
Category:MySQL Server: Falcon storage engine Severity:S3 (Non-critical)
Version:6.0.8 OS:Any
Assigned to: Anitha Gopi CPU Architecture:Any

[17 Nov 2008 16:11] Philip Stoev
Description:
When executing iuds6 with falcon on tor03 (solaris sparc T2), Falcon asserted as follows:

[Falcon] Error: assertion (bdb->buffer->pageNumber == pageNumber) failed at line 283 in file Cache.cpp

05881ec void Error::debugBreak() (100aee7ec, ffffffff7a93aaa8, 1018eae98, 0, 100e9d000, 100e9d) + 4
058813c void Error::error(const char*,...) (100aee000, 100aee, 100800, 1018ead70, 1018ea000, 1018ea) + 84
05881a0 void Error::assertionFailed(const char*,const char*,int) (100afab44, 100afab6a, 11b, 8c1b000, 100aee000, 100aee) + 1c
05d5d28 Bdb*Cache::fetchPage(Dbb*,int,PageType,LockType) (101bb75b8, 101bead10, 10b00ca08, 4, 1, 8c1b) + 288
05853e8 Bdb*Dbb::fetchPage(int,PageType,LockType) (101bead10, 8c1b, 4, 1, 100af5000, 8d2a503f) + 20
05854f0 Bdb*Dbb::handoffPage(Bdb*,int,PageType,LockType) (101bead10, 10dd06fc0, 8c1b, 4, 1, 0) + 10
059fd84 int Section::insertStub(unsigned) (101c88a90, c9e0c3, 3fa, 8c1b, 21cd, 7e811) + 248
058560c int Dbb::insertStub(Section*,Transaction*) (101bead10, 101c88a90, 19257c1c0, 1019b8fc4, 8, c9e0c3) + 14
05b933c unsigned Table::insert(Transaction*,Stream*) (18de78300, 19257c1c0, 21474cab0, ffffffffffffffff, 21474cad0, 19257c1c0) + a0
063c3ac int StorageDatabase::insert(Connection*,Table*,Stream*) (101bb6678, 19a065218, 18de78300, 21474cab0, ffffffffffffffff, 100c00) + 14
06418fc int StorageTable::insert() (214747510, 101c80fe8, 1aa2041b8, 55a0, 5400, 100afa167) + 24
05ccaf0 int StorageInterface::write_row(unsigned char*) (19a8ffa90, 100d7fc98, 214747510, 0, 19a8ed250, 5) + e8
0498a80 int handler::ha_write_row(unsigned char*) (19a8ffa90, 19a8ff5e8, 1, 19a8ed250, 1005cca08, 100d71908) + 18
049dd48 int ha_partition::write_row(unsigned char*) (19a8ff280, 19a8ff5e8, 0, 80044e00, 0, 0) + 160
0498a80 int handler::ha_write_row(unsigned char*) (19a8ff280, 19a8ff5e8, 0, ffffffff7a93b4b8, 10049dbe8, 100d4e0e0) + 18
0431954 int write_record(THD*,TABLE*,st_copy_info*) (1ac1e61c0, 19a8ed250, ffffffff7a93b810, 19a8ed358, 1000, 0) + 60
0430d28 bool mysql_insert(THD*,TABLE_LIST*,List<Item>&,List<List<Item> >&,List<Item>&,List<Item>&,enum_duplicates,bool) (1ac1e61c0, 1a80f0158, 1a732ff80, 1a732ffc8, 100d3db40, 1800) + 738
03c0c64 int mysql_execute_command(THD*) (1ac1e61c0, 1018f37f0, 100aca359, 1a732f590, 1a732fa90, 1a732f630) + 1c38
04f9008 int sp_instr_stmt::exec_core(THD*,unsigned*) (1a7331ef8, 1ac1e61c0, ffffffff7a93d514, 1018eb864, ffffffff7a505200, 1a732f630) + 4
04f8bf0 int sp_lex_keeper::reset_lex_and_exec_core(THD*,unsigned*,bool,sp_instr*) (1a7331f38, 1ac1e61c0, ffffffff7a93d514, 1360, 1a7331ef8, 1000) + e4
04f8e78 int sp_instr_stmt::execute(THD*,unsigned*) (1a7331ef8, 1ac1e61c0, ffffffff7a93d514, 0, 27, 1a80dc708) + c8
04f6e48 bool sp_head::execute(THD*) (1a732a5d8, 1ac1e61c0, 18e0, 1a7331ef8, 1004f8db0, 1800) + 2b0
04f7d14 bool sp_head::execute_procedure(THD*,List<Item>*) (1a732a5d8, 1ac1e61c0, 1ac1e85c8, 1568, 0, 1a80fa750) + 3b8
03c3070 int mysql_execute_command(THD*) (1ac1e61c0, 1018f37f0, 100aca359, 1ac1e7bc0, ffffffffffffffff, 0) + 4044
03c5528 void mysql_parse(THD*,const char*,unsigned,const char**) (1ac1e61c0, 1a80dc708, 0, ffffffff7a93fc48, 1ac1e7bc0, 1800) + 154
03bdac4 bool dispatch_command(enum_server_command,THD*,char*,unsigned) (3, 1ac1e61c0, 1a80dc72f, 18c0, 1018eb000, 1800) + 628
03bd258 bool do_command(THD*) (1ac1e61c0, 27, 15d0, 1400, 7080, 1ac1e7bc0) + c8
03bb580 handle_one_connection (f42, 7e, 1, 18c0, 1ac1e62d8, 100cef8a0) + 14c

How to repeat:
If this happens again, a repeatable test case will be provided.