Bug #3953 Valgrind reports error for fulltext.test
Submitted: 1 Jun 2004 19:12 Modified: 25 Jun 2004 12:15
Reporter: Sergey Petrunya Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:5.0-bk OS:
Assigned to: Sergei Golubchik CPU Architecture:Any

[1 Jun 2004 19:12] Sergey Petrunya
Description:
Running fulltext.test on 5.0 compiled with valgrind produces valgrind errors. 
The test passes though.

How to repeat:
Run ./mysql-test-run --valgrind t/fulltext.test and see the following in  var/log/master.err:

Conditional jump or move depends on uninitialised value(s)
at 0x83D0643: walk_and_match (ft_nlq_search.c:92)
    by 0x83F1DF3: tree_walk_left_root_right (tree.c:540)
    by 0x83F1D65: tree_walk (tree.c:528)
    by 0x83D0D38: ft_init_nlq_search (ft_nlq_search.c:233)
    by 0x83CE01B: ft_init_search (ft_static.c:64)
    by 0x81FE122: ha_myisam::ft_init_ext(unsigned, unsigned, char const*, unsigned) (ha_myisam.h:95)
    by 0x810B6C8: Item_func_match::init_search(bool) (sql_string.h:80)
    by 0x819F483: init_ftfuncs(THD*, st_select_lex*, bool) (sql_base.cc:2782)
    by 0x81A4800: JOIN::optimize() (sql_select.cc:939)
    by 0x81A6985: _Z12mysql_selectP3THDPPP4ItemP13st_table_listjR4ListIS1_ES2_jP8st_orderSB_S2_SB_mP13select_resultP18st_select_lex_unitP13st_select_lex (sql_select.cc:1652)
    by 0x81A2E10: handle_select(THD*, st_lex*, select_result*) (sql_select.cc:203)
    by 0x817AEC8: mysql_execute_command(THD*) (sql_parse.cc:1981)
    by 0x818014B: mysql_parse(THD*, char*, unsigned) (sql_parse.cc:4181)
    by 0x8179B7C: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1475)
    by 0x8179533: do_command(THD*) (sql_parse.cc:1290)
    by 0x8178A48: handle_one_connection (sql_parse.cc:1028)
[25 Jun 2004 12:15] Sergei Golubchik
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html