If you want to know who destroyed the selection:
A simple violation, as the message prompts you for clues.
If you want to know who created the selection:
Although you can also do this from the command line using malloc logging, this can be a milder introduction to using the tools. Run the program with the selection record included in the tools, reproduce the problem, then find the address in the tools double free - it will show you the reverse side of creating the distribution. then indicate why this distribution was released twice.
source share