Description:
Running iuds6.tst crashes Falcon
How to repeat:
Use latest sources from mysql-6.0-falcon bzr tree and build MySQL with Falcon.
Run iuds6.tst
Stack trace of assertion:
[Falcon] Error: assertion (!active) failed at line 164 in file Record.cpp
081120 22:30:12 - mysqld got signal 6 ;
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.
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.
key_buffer_size=1048576
read_buffer_size=131072
max_used_connections=54
max_threads=151
thread_count=53
connection_count=51
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 60607 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
thd: 0x2aaab6746840
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...
stack_bottom = 0x4a811190 thread_stack 0x40000
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(my_print_stacktrace+0x24) [0xa80b74]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(handle_segfault+0x33b) [0x64ab9b]
/lib64/libpthread.so.0 [0x2b9fce87cc10]
/lib64/libpthread.so.0(raise+0x2d) [0x2b9fce87cabd]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(Error::error(char const*, ...)+0x102) [0x8867b2]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(Record::~Record()+0x2a) [0x8b162a]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(RecordVersion::~RecordVersion()+0x3b) [0x8b206b]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(StorageDatabase::nextRow(StorageTable*, int, bool)+0x16a) [0x83979a
]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(StorageInterface::rnd_next(unsigned char*)+0x79) [0x8343b9]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(ha_partition::rnd_next(unsigned char*)+0x43) [0x74e3f3]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(rr_sequential(READ_RECORD*)+0x21) [0x73d2f1]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(sub_select(JOIN*, st_join_table*, bool)+0x8c) [0x6b90ec]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld [0x6b96bd]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(JOIN::exec()+0x911) [0x6cf9e1]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List<Item>&,
Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_lex
_unit*, st_select_lex*)+0x1b0) [0x6d15d0]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(handle_select(THD*, LEX*, select_result*, unsigned long)+0x169) [0x
6d1fa9]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld [0x6560a9]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(mysql_execute_command(THD*)+0x1a21) [0x65ada1]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(mysql_parse(THD*, char const*, unsigned int, char const**)+0x22c) [
0x65ef8c]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int)+0x
908) [0x65f8a8]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(do_command(THD*)+0xc7) [0x660367]
/data0/fsqa/cb/mysql-6.0.9-alpha/sql/mysqld(handle_one_connection+0xf4) [0x653574]
/lib64/libpthread.so.0 [0x2b9fce875143]
/lib64/libc.so.6(__clone+0x6d) [0x2b9fcefaa74d]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x252f038 = SELECT ROUND(RAND() * MAX(i1)), MAX(i1), MIN(i1), CONNECTION_ID()
INTO @next_val, @max_val, @min_val, @connection_id
FROM systest1.tb1_eng1
thd->thread_id=17675
thd->killed=NOT_KILLED
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.
Writing a core file