Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423031 - games-puzzle/mindless-1.6 crash in generating sealed deck
Summary: games-puzzle/mindless-1.6 crash in generating sealed deck
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-23 01:33 UTC by bugs
Modified: 2012-08-27 12:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.