Random randgen test failures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Fix Released
|
Critical
|
Brian Aker | ||
Cherry |
Fix Released
|
Critical
|
Brian Aker |
Bug Description
As of build version 1235, we are getting random test failures with randgen. See http://
On orisndriz05, cd to repos/randgen and then run the script ./f.sh starts drizzled (build 1245) and runs the test. It will fail approximately ever 3rd or 4th try. Build version 1245 has been compiled with debug information.
# 09:07:19 Starting
# 09:07:19 ./gentest.pl \
# 09:07:19 --dsn=dbi:
# 09:07:19 --queries=500 \
# 09:07:19 --threads=10 \
# 09:07:19 --gendata=
# 09:07:19 --grammar=
# 09:07:19 --engine=Innodb
# 09:07:19 Executor initialized, id GenTest:
# 09:07:19 # Creating table table0_
# 09:07:19 # Creating table table1_
# 09:07:19 # Creating table table2_
# 09:07:19 Query: INSERT /*! IGNORE */ INTO table2_
# 09:07:19 # Creating table table10_
# 09:07:19 # Creating table table100_
# 09:07:19 Reporters: ErrorLog, Backtrace
# 09:07:19 Validators: ErrorMessageCor
# 09:07:19 Starting 10 processes, 500 queries each, duration 3600 seconds.
# 09:07:19 Executor initialized, id GenTest:
# 09:07:19 Query: INSERT INTO `table1_
# 09:07:19 Query: UPDATE `table1_
.......lots of output.
# 09:07:20 Executor initialized, id GenTest:
# 09:07:20 Executor initialized, id GenTest:
DBD::drizzle::dr connect warning: drizzle_
# 09:07:20 connect() to dsn dbi:drizzle:
onnection to server (104)
# 09:07:20 Started periodic reporting process...
# 09:07:21 Killing periodic reporting process with pid 19112...
# 09:07:21 Test completed with failure status 34.
One can only use the --user switch if running as root
InnoDB: The InnoDB memory heap is disabled
InnoDB: Mutexes and rw_locks use GCC atomic builtins.
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
091204 9:07:16 InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
091204 9:07:17 InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
091204 9:07:17 InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
091204 9:07:17 InnoDB Plugin 1.0.4 started; log sequence number 0
Listening on 0.0.0.0:9307
Listening on :::9307
Listening on 0.0.0.0:9306
Listening on :::9306
./drizzled/
./drizzled/
Version: '2009.12.1245' Source distribution (staging-
091204 9:07:20 - drizzled got signal 11;
This could be because you hit a bug. It i091204 9:07:21 InnoDB: Shutdown completed; log sequence number 118485
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_
read_buffer_
max_used_
connection_count=6
It is possible that drizzled could use up to
key_buffer_size + (read_buffer_size + sort_buffer_
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
session: 0x21f4510
drizzled: field/varstring
Attempting backtrace. You can use the following information to find out
where drizzled died. If you see no messages after this, something went
terribly wrong...
Fatal signal 6 while backtracing
Related branches
- Brian Aker: Needs Fixing
- Monty Taylor: Pending requested
- Jay Pipes: Pending requested
-
Diff: 183 lines (+61/-14)3 files modifieddrizzled/plugin/info_schema_table.h (+25/-3)
plugin/information_engine/information_cursor.cc (+24/-8)
plugin/information_engine/information_cursor.h (+12/-3)
Changed in drizzle: | |
status: | New → Confirmed |
importance: | Undecided → Critical |
assignee: | nobody → Brian Aker (brianaker) |
Changed in drizzle: | |
assignee: | Brian Aker (brianaker) → Padraig O'Sullivan (posulliv) |
Changed in drizzle: | |
assignee: | Padraig O'Sullivan (posulliv) → Stewart Smith (stewart-flamingspork) |
Changed in drizzle: | |
status: | Confirmed → Fix Committed |
I get this from the core file that is generated:
Core was generated by `/usr/bin/perl ./gentest.pl --dsn=dbi: drizzle: host=localhost: port=9306: user=root' . result_ column_ count (result=0x0) at libdrizzle/ result. c:155 result_ column_ count (result=0x0) at libdrizzle/ result. c:155 ld-linux- x86-64. so.2 ld-linux- x86-64. so.2 ld-linux- x86-64. so.2 ld-linux- x86-64. so.2 libperl. so.5.10 0x2000000000 <Address 0x2000000000 out of bounds>, sqlstate=0x1ed80a6 "HY000") at dbdimp.c:801 st_internal_ execute (h=0x1f23dc0, statement=<value optimized out>, result= 0) at dbdimp.c:1955 _drizzle_ _st_execute (my_perl=<value optimized out>, cv=<value optimized out>) at drizzle.xsi:588 libperl. so.5.10 standard () from /usr/lib/ libperl. so.5.10 libperl. so.5.10
Program terminated with signal 11, Segmentation fault.
[New process 6232]
#0 drizzle_
155 {
(gdb) where
#0 drizzle_
#1 0x00000010fcb53730 in ?? ()
#2 0x00000000017fd010 in ?? ()
#3 0x0000000001810200 in ?? ()
#4 0x00000000017fd010 in ?? ()
#5 0x0000000001f0b110 in ?? ()
#6 0x0000000001f2be90 in ?? ()
#7 0x000000004e1bc0b2 in ?? ()
#8 0x0000003000000018 in ?? ()
#9 0x00007fff0655b600 in ?? ()
#10 0x00007fff0655b540 in ?? ()
#11 0x0000000000000028 in ?? ()
#12 0x00000000000202b0 in ?? ()
#13 0x0000000001f4ed50 in ?? ()
#14 0x00007fadfd925a00 in ?? () from /lib/libc.so.6
#15 0x00007fadfd63453f in calloc () from /lib/libc.so.6
#16 0x00007fadfe553670 in ?? ()
#17 0x0000000000000005 in ?? ()
#18 0x0000000000000008 in ?? ()
#19 0x00000000be582cf9 in ?? ()
#20 0x00007fadfe347c2c in ?? () from /lib64/
#21 0x00007fadfe3480e0 in ?? () from /lib64/
#22 0x00007fadfe34832e in ?? () from /lib64/
#23 0x00007fadfe34c70a in ?? () from /lib64/
#24 0x0000000001e77300 in ?? ()
#25 0x0000000001e77300 in ?? ()
#26 0x00007fadfd63aa05 in memmove () from /lib/libc.so.6
#27 0x00007fadfe093fcb in Perl_sv_setpvn () from /usr/lib/
#28 0x00007fadfbefcf9f in drizzle_dr_error (h=<value optimized out>, rc=<value optimized out>,
what=
#29 0x00007fadfbefedc0 in drizzle_
attribs=<value optimized out>, num_params=0, params=0x0, result=0x1f30460, con=0x1f30890, unbuffered_
#30 0x00007fadfbeff4d8 in drizzle_st_execute (sth=0x1f23dc0, imp_sth=0x1f303a0) at dbdimp.c:2048
#31 0x00007fadfbf06f77 in XS_DBD_
#32 0x00007fadfcb51a2e in XS_DBI_dispatch (my_perl=0x17fd010, cv=0x1b3a840) at DBI.xs:3292
#33 0x00007fadfe07c6d0 in Perl_pp_entersub () from /usr/lib/
#34 0x00007fadfe07a972 in Perl_runops_
#35 0x00007fadfe078d5f in perl_run () from /usr/lib/
#36 0x0000000000400d4c in main ()