Re: Help! problem running a script.



cche wrote:
Hi all,
I get a dump (shown below) when running a script which occurs randomly
(at least that is my perception until now) and would like some
pointers as to where to start looking for the culprit. I'm using
tcl8.5, sqlite, xotcl and a c library of mine. In summary, I'm
iterating over a bunch of files, performing some analysis and storing
results in a sqlite database. I'm inclined to look into my lib but
the error message is a bit criptic for me. I developped and tested the
script on a ubuntu 32bit machine and the problem shows on a debian
64bit machine.

Any help is much apreciated!

cche

*** glibc detected *** tclsh8.5: free(): invalid next size (normal):
0x000000000246c630 ***<snip>

Looks to me like a double free() somewhere in the C code. Perhaps a malloc() failed or the data is "stale" and is being released twice.

I would assume the library as the culprit too. Good luck.

cplater
.



Relevant Pages