Comment 5 for bug 532481

Revision history for this message
David Shrewsbury (dshrews) wrote :

Just reproduced this on my OS X 10.6 machine with revno 1509:

main.subselect_notembedded [ fail ]
drizzletest: At line 42: query '$start $end' failed with wrong errno 20: 'drizzle_state_read:lost connection to server (EOF)', instead of 0...

The result from queries just before the failure was:
< snip >
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3

More results from queries before failure can be found in /Users/david/Devel/ignore/repos/drizzle/my_copy/tests/var/log/subselect_notembedded.log

Aborting: main.subselect_notembedded failed in default mode.
To continue, re-run with '--force'.
Stopping All Servers

Looks like the server may be crashing within InnoDB code:

Davids-iMac:tests david$ ./test-run --gdb subselect_notembedded

Version: '2010.04.1509' Source distribution (my_copy)
[Switching to process 71716]

Breakpoint 1, drizzled::mysql_parse (session=0x10202b400, inBuf=0x10af7ba68 "create table t1(a int,b int,key(a),key(b))", length=42) at drizzled/sql_parse.cc:718
718 lex_start(session);
(gdb) c
Continuing.

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x000000010cb65ff8
0x0000000100353844 in page_cur_search_with_match (block=0x102b102c0, index=0x10af82e90, tuple=0xcf61012d00000000, mode=10955007193116212510, iup_matched_fields=0x18969010001d4, iup_matched_bytes=0xd2f3d70001cf2001, ilow_matched_fields=0x10cb667c8, ilow_matched_bytes=0x10cb667c0, cursor=0x10cb687b8) at plugin/innobase/page/page0cur.c:269
269 {
(gdb)