unstable- pointer error

Here you can... report bugs. Open a new thread for each bug, please.
Post Reply
vector
Posts: 449
Joined: Sat Dec 18, 2004 11:26 pm
Location: Australia, Victoria

unstable- pointer error

Post by vector »

Playing a magic game trying to hold on to a team thwart with disaster.

Admin sacked me for missmanagment (which was hardly fair given the circumstances i was in) but anyway I declined the offer of new managment and it certainly ended the game. complete exit and had these errors

Code: Select all

free(): invalid pointer 0x825e6c4!
free(): invalid pointer 0x825e674!
free(): invalid pointer 0x8264e54!
looks like that old dialog box ticking error ?
"There are two ways to score. Dribble it over the line or smash it into the back of the net."
What type are you?
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

dialog box ticking error?

anyway, i'm going to have a look at it, but i don't promise to fix it soon in the cvs because i don't have nice (ie linux) cvs access right now :-?

gyözö
Press any key to continue or any other key to quit.
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

couldn't reproduce. i changed the free functions a bit, but i'm not sure this is going to help :-?

gyözö
Press any key to continue or any other key to quit.
GeoVah
Posts: 50
Joined: Sat Dec 18, 2004 10:38 am
Location: Sophia Antipolis - France

Post by GeoVah »

i'm thinking to use valgrind which can help us to find all free/malloc error.

Have a look at http://valgrind.kde.org/ if you don't know this wonderfull tools :-)
Geovah - geovah@jabber.sk- (yes i'm french...)
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

GeoVah wrote:i'm thinking to use valgrind which can help us to find all free/malloc error.
Have a look at http://valgrind.kde.org/ if you don't know this wonderfull tools :-)
i know of valgrind and cachegrind, but when i used it, it seemed a bit tedious and complicated work to me. but maybe it'd really make sense to use it again.

gyözö
Press any key to continue or any other key to quit.
GeoVah
Posts: 50
Joined: Sat Dec 18, 2004 10:38 am
Location: Sophia Antipolis - France

Post by GeoVah »

Hum, cachegrind is only usefull if you want to tune bygfoot for improve performance.

Just use valgrind for memory leak : "valgrind -v -leak-check=yes ./bygfoot". and look output. As far i can remember, it display where leak are allocated (stack call). I Don't have access to my computer to check this maybe before tommorow night, maybe friday :-(.
Geovah - geovah@jabber.sk- (yes i'm french...)
gyboth
Site Admin
Posts: 1421
Joined: Sat Dec 18, 2004 8:42 am
Location: Passau, Germany
Contact:

Post by gyboth »

problem is, the free error only occurs sometimes. i checked with valgrind (memcheck) in the morning, but i didn't see anything (although this might be my fault; i'm not always sure how to interpret the valgrind output).

gyözö
Press any key to continue or any other key to quit.
Post Reply