Bug #8116 | calling simple stored procedure twice in a row results in server crash | ||
---|---|---|---|
Submitted: | 24 Jan 2005 18:58 | Modified: | 18 Feb 2005 18:05 |
Reporter: | Matthew Murphy | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 5.0.2 | OS: | Linux (Linux 2.6.9) |
Assigned to: | Per-Erik Martin | CPU Architecture: | Any |
[24 Jan 2005 18:58]
Matthew Murphy
[24 Jan 2005 19:01]
Matthew Murphy
I modified the sp so that the query included an actual integer in the where clause instead of using the sp argument, and the error remains.
[24 Jan 2005 19:14]
Matthew Murphy
Turns out that changing the userid column to int(11) instead of bigint(20) makes the crashing stop. Before realizing this I tried the table as InnoDB and MyISAM and the error happened in both.
[24 Jan 2005 21:56]
MySQL Verification Team
Verified with 5.0.3-alpha-debug-log
[10 Mar 2005 16:51]
Christopher Hubrich
Ive got the same problem with the bigint field in a simple procedure. Trace: 0x8140e33 handle_segfault + 423 0x4004e12b _end + 933031427 0x81089bc fix_fields__9Item_funcP3THDP13st_table_listPP4Item + 120 0x8172cfc setup_conds__FP3THDP13st_table_listT1PP4Item + 172 0x8177ec3 prepare__4JOINPPP4ItemP13st_table_listUiP4ItemUiP8st_orderT6T4T6P13st_select_lexP18st_select_lex_unit + 455 0x817b503 mysql_select__FP3THDPPP4ItemP13st_table_listUiRt4List1Z4ItemP4ItemUiP8st_orderT7T5T7UlP13select_resultP18st_select_lex_unitP13s + 723 0x8177ca3 handle_select__FP3THDP6st_lexP13select_result + 179 0x815129a mysql_execute_command__FP3THD + 1206 0x82174c0 exec_stmt__13sp_instr_stmtP3THDP6st_lex + 120 0x82173c7 execute__13sp_instr_stmtP3THDPUi + 107 0x8215644 execute__7sp_headP3THD + 220 0x8215cdf execute_procedure__7sp_headP3THDPt4List1Z4Item + 811 0x8154cc6 mysql_execute_command__FP3THD + 16098 0x8156471 mysql_parse__FP3THDPcUi + 261 0x814fc28 dispatch_command__F19enum_server_commandP3THDPcUi + 1608 0x814f5d3 do_command__FP3THD + 223 0x814ecea handle_one_connection + 730 0x4004b1b0 _end + 933019272 0x4018fe4a _end + 934349602 Version: 5.0.2 Same workarround: dont use bigint! :)