any idea why i whould get this error when debugging but not when compiling and running
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Debug Assertion Failed!
Program: ...Projects\..\..\..\..\worldserverlocal\EQ2World__Debug_x64.exe
File: f:\dd\vctools\crt\crtw32\time\strftime.c
Line: 256
Expression: ( timeptr != NULL )
For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.
(Press Retry to debug the application)
---------------------------
Abort Retry Ignore
---------------------------
debug assertion failed
Moderator: Team Members
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: debug assertion failed
assert() is debug only so when compiled in release they will be disabled. This is saying timeptr == null, the assert implies that timeptr should never be null. As this is a windows file from the looks of it that would mean something is passed incorrectly to the function or something isn't set up right. No clue what function this would be or what calls it, I never get this on my local machine though.
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: debug assertion failed
the next time it happens ill try to see what is calling it
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: debug assertion failed
so there is the call stack
seems to be something with the packets
seems to be something with the packets
You do not have the required permissions to view the files attached to this post.
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: debug assertion failed
i was able to bypass the error by commenting out the line that has robert at the end of it,in the eqstream.cpp
Code: Select all
#ifdef EQN_DEBUG
LogWrite(PACKET__DEBUG, 1, "Packet", "*** Future packet: Expecting Seq=%i, but got Seq=%i", NextInSeq, seq);
LogWrite(PACKET__DEBUG, 1, "Packet", "[Start]");
//p->DumpRawHeader(seq); // ROBERT
LogWrite(PACKET__DEBUG, 1, "Packet", "[End]");
#endif Who is online
Users browsing this forum: No registered users and 0 guests