Valgrind errors - DRIZZLEparse

Bug #437702 reported by Lee Bieber
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Drizzle
Fix Released
High
Stewart Smith

Bug Description

Found in several tests cases, a few examples are below:

count_distinct3.test
=10792== 240 bytes in 10 blocks are definitely lost in loss record 5 of 9
==10792== at 0x4A06D9C: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:250)
==10792== by 0x541A96: DRIZZLEparse(void*) (sql_yacc.yy:4402)
==10792== by 0x51447F: mysql_parse(Session*, char const*, unsigned int, char const**) (sql_parse.cc:1851)
==10792== by 0x514EB0: dispatch_command(enum_server_command, Session*, char*, unsigned int) (sql_parse.cc:217)
==10792== by 0x4DD68E: Session::executeStatement() (session.cc:728)
==10792== by 0x4DE626: Session::run() (session.cc:600)
==10792== by 0x6EFA21: session_thread (multi_thread.cc:102)
==10792== by 0x3895A06869: start_thread (in /lib64/libpthread-2.10.1.so)
==10792== by 0x38952DE25C: clone (in /lib64/libc-2.10.1.so)

innodb.test
==11906== 2,424 bytes in 101 blocks are definitely lost in loss record 7 of 13
==11906== at 0x4A06D9C: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:250)
==11906== by 0x5419FD: DRIZZLEparse(void*) (sql_yacc.yy:4424)
==11906== by 0x51447F: mysql_parse(Session*, char const*, unsigned int, char const**) (sql_parse.cc:1851)
==11906== by 0x514EB0: dispatch_command(enum_server_command, Session*, char*, unsigned int) (sql_parse.cc:217)
==11906== by 0x4DD68E: Session::executeStatement() (session.cc:728)
==11906== by 0x4DE626: Session::run() (session.cc:600)
==11906== by 0x6EFA21: session_thread (multi_thread.cc:102)
==11906== by 0x3895A06869: start_thread (in /lib64/libpthread-2.10.1.so)
==11906== by 0x38952DE25C: clone (in /lib64/libc-2.10.1.so)

==11906== 2,616 bytes in 109 blocks are definitely lost in loss record 9 of 13
==11906== at 0x4A06D9C: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:250)
==11906== by 0x541A96: DRIZZLEparse(void*) (sql_yacc.yy:4402)
==11906== by 0x51447F: mysql_parse(Session*, char const*, unsigned int, char const**) (sql_parse.cc:1851)
==11906== by 0x514EB0: dispatch_command(enum_server_command, Session*, char*, unsigned int) (sql_parse.cc:217)
==11906== by 0x4DD68E: Session::executeStatement() (session.cc:728)
==11906== by 0x4DE626: Session::run() (session.cc:600)
==11906== by 0x6EFA21: session_thread (multi_thread.cc:102)
==11906== by 0x3895A06869: start_thread (in /lib64/libpthread-2.10.1.so)
==11906== by 0x38952DE25C: clone (in /lib64/libc-2.10.1.so)

innodb_notembedded.test
==19571== 792 bytes in 33 blocks are definitely lost in loss record 6 of 10
==19571== at 0x4A06D9C: operator new(unsigned long, std::nothrow_t const&) (vg_replace_malloc.c:250)
==19571== by 0x541A96: DRIZZLEparse(void*) (sql_yacc.yy:4402)
==19571== by 0x51447F: mysql_parse(Session*, char const*, unsigned int, char const**) (sql_parse.cc:1851)
==19571== by 0x514EB0: dispatch_command(enum_server_command, Session*, char*, unsigned int) (sql_parse.cc:
217)
==19571== by 0x4DD68E: Session::executeStatement() (session.cc:728)
==19571== by 0x4DE626: Session::run() (session.cc:600)
==19571== by 0x6EFA21: session_thread (multi_thread.cc:102)
==19571== by 0x3895A06869: start_thread (in /lib64/libpthread-2.10.1.so)
==19571== by 0x38952DE25C: clone (in /lib64/libc-2.10.1.so)
==19571==

Related branches

Changed in drizzle:
importance: Undecided → High
milestone: none → bell
status: New → Confirmed
assignee: nobody → Stewart Smith (stewart-flamingspork)
Changed in drizzle:
status: Confirmed → Fix Released
status: Fix Released → Confirmed
Stewart Smith (stewart)
Changed in drizzle:
status: Confirmed → Fix Committed
Stewart Smith (stewart)
Changed in drizzle:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.