Menu

#438 Invalid Read :compareIntVal( ) (DataType.cxx:828)

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

i run agg1.sql under the directory ( tools / csql / ) using -s option
with valgrind tool as
valgrind --tool=memcheck --leak-check=yes --show-reachable=yes csql -u
root
-p manager -s agg1.sql
and found Memory leak

Error Summary :
==20406== Invalid read of size 4
==20406== at 0x4026D76: AllDataType::compareIntVal(void*, void*, ComparisionOp) (DataType.cxx:828)
==20406== by 0x4028BE7: AllDataType::compareVal(void*, void*, ComparisionOp, DataType, long) (DataType.cxx:769)
==20406== by 0x403B49D: AggTableImpl::execute() (AggTableImpl.cxx:135)
==20406== by 0x405CB35: SelStatement::execute(int&) (SelStatement.cxx:89)
==20406== by 0x4065888: SqlStatement::execute(int&) (SqlStatement.cxx:105)
==20406== by 0x80495C5: getInput(bool) (isql.cxx:311)
==20406== by 0x8049B11: main (isql.cxx:109)

Discussion

  • Nihar Ranjan paital

    • assigned_to: nobody --> niharlcp1
     
  • Nihar Ranjan paital

    refer csql / test /tools/ csql / test029.ksh

     

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.