openMSX / wxcatapult

23 stars 4 forks source link

[Bug] [MSW] AV crash at m_connectThread.reset() [sf#496] #29

Closed openMSX-import closed 9 years ago

openMSX-import commented 9 years ago

Reported by joxy on 2013-08-17 05:37 UTC (14:19:43) Vampier: _egp: catapult crashes when openMSX is being shut down (14:20:11) Vampier: in openmsxcontroler.cc

(14:20:14) Vampier: #ifdef __WXMSW__
(14:20:14) Vampier:     if (!m_pipeActive) {
(14:20:14) Vampier:         m_connectThread.reset();
(14:20:14) Vampier:     }

(14:20:23) Vampier: m_connectThread.reset() (14:20:32) Vampier: ^^ that's where it crashes (14:20:47) _egp: which crash message? (14:20:56) _egp: what does it tell? (14:21:30) Vampier: First-chance exception at 0xFEEEFEEE in catapult.exe: 0xC0000005: Access violation executing location 0xFEEEFEEE. (14:21:30) Vampier: First-chance exception at 0x75F54B32 in catapult.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000. (14:21:31) Vampier: First-chance exception at 0x75F54B32 in catapult.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000. (14:21:31) Vampier: First-chance exception at 0x75F54B32 in catapult.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000. (14:21:31) Vampier: First-chance exception at 0x75F54B32 in catapult.exe: Microsoft C++ exception: [rethrow] at memory location 0x00000000. (14:21:31) Vampier: Unhandled exception at 0xFEEEFEEE in catapult.exe: 0xC0000005: Access violation executing location 0xFEEEFEEE.

(14:22:06) Vampier: if (!m_pipeActive) {
(14:22:07) Vampier:         std::cout << "fun!" << endl;
(14:22:07) Vampier:         try {m_connectThread.reset();}
(14:22:07) Vampier:         catch (int e)
(14:22:07) Vampier:         {std::cout << "An exception occurred. Exception Nr. " << e << endl;    }
(14:22:07) Vampier:     }

(14:22:12) Vampier: so I did this (14:22:14) Vampier: :P (14:22:18) Vampier: didn't solve it (14:22:18) Vampier: :D

openMSX-import commented 9 years ago

Updated by vampier on 2013-08-21 15:55 UTC