pwyq / Fill-Game

Two Player (Adversarial) Version of Fillomino | (Depth-First) Proof Number Search, Monte Carlo Tree Search, Minimax, Negamax, Alpha-beta pruning
GNU General Public License v3.0
2 stars 0 forks source link

seg fault when exiting app #6

Closed pwyq closed 1 year ago

pwyq commented 1 year ago

https://stackoverflow.com/questions/29578354/qt-raise-segmentation-fault-core-dumped-when-qapplication-exit

pwyq commented 1 year ago

after I play aorund, now becaomes munmap_chunk: invalid pointer when nothing is played (but still seg fault when played sth then exit)

https://wiki.seas.harvard.edu/geos-chem/index.php/Other_less-common_errors#:~:text=Memory%20error%3A%20%22munmap_chunk%3A%20invalid%20pointer%22,-The%20following%20error&text=The%20bottom%20line%20is%20that,realloc()%20and%20their%20friends.&text=This%20can%20happen%20if%20you,already%20been%20deallocated%20or%20modified.

This can happen if you are trying to deallocate or nullify a pointer variable that has already been deallocated or modified.