Menu

#427 Invalid Read :addVal( ) (DataType.cxx:551)

V2.1 Beta
open
leak (188)
5
2009-02-05
2009-01-30
No

i have run ( sql / Aggregate / aggregate5.sql ) with valgrind tool as
valgrind --tool=memcheck --leak-check=yes --show-reachable=yes csql -s
createt1t2.sql
valgrind --tool=memcheck --leak-check=yes --show-reachable=yes csql -s
aggregate5.sql
and found memory leakage as follows.

Error==16251== Invalid read of size 4
==16251== at 0x40258AD: AllDataType::addVal(void*, void*, DataType) (DataType.cxx:551)
==16251== by 0x403B4FD: AggTableImpl::execute() (AggTableImpl.cxx:142)
==16251== by 0x405CB35: SelStatement::execute(int&) (SelStatement.cxx:89)
==16251== by 0x4065888: SqlStatement::execute(int&) (SqlStatement.cxx:105)
==16251== by 0x80495C5: getInput(bool) (isql.cxx:311)
==16251== by 0x8049B11: main (isql.cxx:109) Summary :

Discussion

  • Nihar Ranjan paital

    refer test/sql / Aggregate / test005.ksh

     
  • Nihar Ranjan paital

    • assigned_to: nobody --> niharlcp1
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.