Glibc detected?

Hi,

I have a little problem with my script:

When I run my script everything works fine until it reaches the end… i.e. return;.
But before that root crashes and gives me:
"*** glibc detected *** free(): invalid pointer: 0x09b3f100 ***"

As far as I know this happens, when a variable is deleted twice.
However, I’m not deleting anything in my script! :blush:

Has anybody an idea?

Thanks a lot,
Stephan

[quote]As far as I know this happens, when a variable is deleted twice. [/quote]Well, you might be doing so indirectly :slight_smile:
Anyway, your best bet to diagnose this problem is to use a tool named valgrind which will pin point the location of the double delete.

Cheers,
Philippe