Giter VIP home page Giter VIP logo

Comments (3)

calcitem avatar calcitem commented on May 28, 2024
template <typename T, size_t BlockSize>
inline void
MemoryPool<T, BlockSize>::deleteElement(pointer p)
{
  if (p != nullptr) {
    p->~value_type(); // bug
    deallocate(p);
  }
}
 	ntdll.dll!00007ff9c47a63b6()	Unknown
 	ntdll.dll!00007ff9c4761467()	Unknown
 	ntdll.dll!00007ff9c470fd85()	Unknown
 	KernelBase.dll!00007ff9c20f5d4b()	Unknown
 	ucrtbased.dll!00007ff9623737d1()	Unknown
 	ucrtbased.dll!00007ff962371b85()	Unknown
 	ucrtbased.dll!00007ff9623751c5()	Unknown
 	NineChess.exe!operator delete(void * block) Line 38	C++
 	NineChess.exe!operator delete(void * block, unsigned __int64 __formal) Line 32	C++
 	NineChess.exe!std::_Deallocate<16,0>(void * _Ptr, unsigned __int64 _Bytes) Line 193	C++
 	NineChess.exe!std::_Default_allocator_traits<std::allocator<std::_Container_proxy> >::deallocate(std::allocator<std::_Container_proxy> & __formal, std::_Container_proxy * const _Ptr, const unsigned __int64 _Count) Line 757	C++
 	NineChess.exe!std::_Deallocate_plain<std::allocator<std::_Container_proxy> >(std::allocator<std::_Container_proxy> & _Al, std::_Container_proxy * const _Ptr) Line 1080	C++
 	NineChess.exe!std::_Delete_plain<std::allocator<std::_Container_proxy> >(std::allocator<std::_Container_proxy> & _Al, std::_Container_proxy * const _Ptr) Line 1107	C++
 	NineChess.exe!std::vector<NineChessAi_ab::Node *,std::allocator<NineChessAi_ab::Node *> >::~vector<NineChessAi_ab::Node *,std::allocator<NineChessAi_ab::Node *> >() Line 629	C++
 	NineChess.exe!NineChessAi_ab::Node::~Node()	C++
 	NineChess.exe!NineChessAi_ab::Node::`scalar deleting destructor'(unsigned int)	C++
>	NineChess.exe!MemoryPool<NineChessAi_ab::Node,4096>::deleteElement(NineChessAi_ab::Node * p) Line 226	C++
 	NineChess.exe!NineChessAi_ab::deleteTree(NineChessAi_ab::Node * node) Line 466	C++
 	NineChess.exe!NineChessAi_ab::deleteTree(NineChessAi_ab::Node * node) Line 457	C++
 	NineChess.exe!NineChessAi_ab::deleteTree(NineChessAi_ab::Node * node) Line 457	C++
 	NineChess.exe!NineChessAi_ab::deleteTree(NineChessAi_ab::Node * node) Line 457	C++
 	NineChess.exe!NineChessAi_ab::deleteTree(NineChessAi_ab::Node * node) Line 457	C++
 	NineChess.exe!NineChessAi_ab::deleteTree(NineChessAi_ab::Node * node) Line 457	C++
 	NineChess.exe!NineChessAi_ab::deleteTree(NineChessAi_ab::Node * node) Line 457	C++
 	NineChess.exe!NineChessAi_ab::deleteTree(NineChessAi_ab::Node * node) Line 457	C++
 	NineChess.exe!NineChessAi_ab::deleteTree(NineChessAi_ab::Node * node) Line 457	C++
 	NineChess.exe!NineChessAi_ab::setChess(const NineChess & chess) Line 493	C++
 	NineChess.exe!AiThread::setAi(const NineChess & chess) Line 74	C++
 	NineChess.exe!GameController::setEngine2(bool arg) Line 298	C++
 	NineChess.exe!GameController::qt_static_metacall(QObject * _o, QMetaObject::Call _c, int _id, void * * _a) Line 218	C++
 	[External Code]	
 	NineChess.exe!NineChessWindow::on_actionNew_N_triggered() Line 530	C++
 	NineChess.exe!NineChessWindow::qt_static_metacall(QObject * _o, QMetaObject::Call _c, int _id, void * * _a) Line 146	C++
 	NineChess.exe!NineChessWindow::qt_metacall(QMetaObject::Call _c, int _id, void * * _a) Line 197	C++
 	[External Code]	
 	NineChess.exe!main(int argc, char * * argv) Line 34	C++
 	[External Code]	

自对弈时点 New Game 可能出现.

from sanmill.

calcitem avatar calcitem commented on May 28, 2024

下到一半点 new game 是容易挂

from sanmill.

calcitem avatar calcitem commented on May 28, 2024

出现..., 不会挂

from sanmill.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.