Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 423031

Summary: games-puzzle/mindless-1.6 crash in generating sealed deck
Product: Gentoo Linux Reporter: bugs
Component: Current packagesAssignee: Gentoo Games <games>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description bugs 2012-06-23 01:33:34 UTC
I didn't look at it too much, but my suspicion is a change in GTK.
The crash was on line 187 of sealed.c
    free(both->S->store);free(both->S->selected);

Which is immediately after:
gtk_widget_destroy(both->win);

If I comment out all the frees, the game is fine (might be leaking, but no more double free).

    gtk_widget_destroy(both->win);                                                                                                          
/* Remove the frees due to a crasher.
free(both->S->store);free(both->S->selected);
free(both->B->store);free(both->B->selected);
free(both->S);free(both->B);free(both);
*/

Might be the destroy cleans things up better now.