Deleting BITMAPs results in segfault
Bug #568851 reported by
Patrik Schönfeldt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hexwars |
Won't Fix
|
Medium
|
Patrik Schönfeldt |
Bug Description
The destructor of class GraphicSet (as well as GraphicSet:
(gdb) info stack
#0 0x00007ffff7ae8b42 in destroy_bitmap () from /usr/lib/
#1 0x000000000040c21c in GraphicSet:
#2 0x000000000040afd1 in ~GraphicSet (this=0x652c70, __in_chrg=<value optimized out>) at src/shared/
#3 0x000000000040f0f5 in main () at src/shared/
Related branches
To post a comment you must log in.
I worked around this problems by setting unused BITMAP*s to NULL. Since all BITMAP*s are (re)defined later this should not be required but it helped with the problem. I consider not to fix it and to live with this solution.