Advertisement

Enet crashing only in release mode?

Started by June 02, 2005 12:28 AM
0 comments, last by timmay314 19 years, 8 months ago
I have an app using ENet and it works fine. My client app can connect and send a packet, then disconnect. However, if I try to make my server do the same thing, the app crashes when I call enet_packet_create(). Even more interesting, it works fine when in debug mode, but in release mode it won't work. I check the values of the parameters to enet_packet_create using message boxes and they all seem valid. The problem seems to be in a call to malloc by enet. Any idea what could be going on here?
Fixed the problem, I had a buffer overflow elsewhere that somehow caused it, I'm just surprised the debugger didn't catch it.

This topic is closed to new replies.

Advertisement