Good evening. I was using Valgrind-3.6.1(with the gdbserver patch) to test
the latest sqlite Write Ahead Logging(WAL) release for possible heap
corrption on Centos Linux Release 5.5 when I encounted the valgrind message
- valgrind the impossible happened main() signal was supposed to be fatal
--2159  at 0x3802A4C8: report and quit (m_libcassert.c: 193)
      On Windows XP Professional Version 2002 Service Pack 3 (32 bit) I was
the same latest sqlite WAL release when I got possible heap corruption
error with the following stack trace.
     Could you please advise us what we can do to find the cause of the
possible heap corruption in Centos 5.5 Linux using Valgrind-3.6.1(with the
gdb server patch)? Thank you.


  ntdll.dll!7c90120e()
  [Frames below may be incorrect and/or missing, no symbols loaded for
ntdll.dll]
  ntdll.dll!7c96ee31()
  ntdll.dll!7c94af5a()
  ntdll.dll!7c919c0c()
  ntdll.dll!7c9101db()
  ntdll.dll!7c919ffa()
  ntdll.dll!7c96fb98()
  ntdll.dll!7c94b244()
> mdMatchUp.dll!sqlite3MallocSize(void * p=0x00000000)  Line 17972 + 0xc
bytes C
  mdMatchUp.dll!pcache1Fetch(sqlite3_pcache * p=0x00c3a618, unsigned int
iKey=240875, int createFlag=270220254)  Line 34178 + 0xb bytes C
  mdMatchUp.dll!sqlite3PcacheFetch(PCache * pCache=0x001255f0, unsigned int
pgno=2089871648, int createFlag=2089877984, PgHdr * * ppPage=0xffffffff)
Line 33046 + 0x17 bytes C
  cccccccc()
  msvcr90d.dll!_heap_alloc_base(unsigned int size=54996)  Line 105 + 0x28
bytes C
  msvcr90d.dll!_heap_alloc_dbg_impl(unsigned int nSize=54960, int
nBlockUse=1, const char * szFileName=0x00000000, int nLine=0, int *
errno_tmp=0x00125644)  Line 427 + 0x9 bytes C++
  msvcr90d.dll!_nh_malloc_dbg_impl(unsigned int nSize=54960, int nhFlag=0,
int nBlockUse=1, const char * szFileName=0x00000000, int nLine=0, int *
errno_tmp=0x00125644)  Line 239 + 0x19 bytes C++
  msvcr90d.dll!_nh_malloc_dbg(unsigned int nSize=54960, int nhFlag=0, int
nBlockUse=1, const char * szFileName=0x00000000, int nLine=0)  Line 296 +
0x1d bytes C++
  msvcr90d.dll!malloc(unsigned int nSize=54960)  Line 56 + 0x15 bytes C++
  mdMatchUp.dll!sqlite3MemMalloc(int nByte=54952)  Line 14291 + 0xf bytes C
  mdMatchUp.dll!mallocWithAlarm(int n=54950, void * * pp=0x00125930)  Line
17800 + 0xc bytes C
  mdMatchUp.dll!sqlite3Malloc(int n=54950)  Line 17833 + 0xd bytes C
  mdMatchUp.dll!sqlite3DbMallocRaw(sqlite3 * db=0x00c23030, int n=54950)
Line 18164 + 0x9 bytes C
  mdMatchUp.dll!sqlite3VdbeMemGrow(Mem * pMem=0x00125ddc, int n=54950, int
preserve=0)  Line 54403 + 0xf bytes C
  mdMatchUp.dll!sqlite3VdbeMemFromBtree(BtCursor * pCur=0x00cc98d8, int
offset=12, int amt=54948, int key=0, Mem * pMem=0x00125ddc)  Line 55237 +
0x12 bytes C
  mdMatchUp.dll!sqlite3VdbeExec(Vdbe * p=0x00f2c9f8)  Line 62916 + 0x35
bytes C
  mdMatchUp.dll!sqlite3Step(Vdbe * p=0x00f2c9f8)  Line 59036 + 0x9 bytes C
  mdMatchUp.dll!sqlite3_step(sqlite3_stmt * pStmt=0x00f2c9f8)  Line 59103 +
0x9 bytes C
  mdMatchUp.dll!cIntersectingGroupCache::CreateSubgraph(int CompPos=2, const
char * TableName=0x1026eee4, const char * ConvertName=0x0012e238)  Line 1097
+ 0xf bytes C++
  mdMatchUp.dll!cIntersectingGroupCache::WriteRecord()  Line 1295 C++
  mdMatchUp.dll!mdMUBatchUpdate::WriteRecord()  Line 887 + 0x15 bytes C++
  MatchUpAccurate.exe!TestFile(sPARAMETERS * Parameters_=0x004eff80)  Line
590 + 0xe bytes C++
  MatchUpAccurate.exe!MatchupTest(sPARAMETERS * Parameters_=0x004eff80)
Line 213 + 0x9 bytes C++
  MatchUpAccurate.exe!main(int Argc_=7, char * * Argv_=0x003a3cd0)  Line 199
+ 0xa bytes C++
  MatchUpAccurate.exe!__tmainCRTStartup()  Line 266 + 0x19 bytes C
  MatchUpAccurate.exe!mainCRTStartup()  Line 182 C
  kernel32.dll!7c817077()
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to