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: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2012-06-23 01:33 UTC by bugs
Modified: 2023-01-19 13:52 UTC (History)
1 user (show)

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.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-01-19 13:52:52 UTC
Package removed.