Page 1 of 1

map/set iterator not dereferencable

Posted: Tue Oct 16, 2007 4:58 pm
by John Adams
1st post!
Ok now that that's out of the way... do you want to see things like this in this forum? I am not sure this is a "bug" because others seem to be able to run the alpha ok. Since creating my first toon on my server (local), I cannot get into the game - VS2005 keeps catching a crash. This time (using WorldDebug.exe instead of World.exe), I got this:
Image
Call Stack:

Code: Select all

>	WorldDebug.exe!std::_Debug_message(const wchar_t * message=0x00864b98, const wchar_t * file=0x00863d50, unsigned int line=245)  Line 24	C++
 	WorldDebug.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,EQStream *,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,EQStream *> >,0> >::const_iterator::operator*()  Line 245 + 0x14 bytes	C++
 	WorldDebug.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,EQStream *,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,EQStream *> >,0> >::iterator::operator*()  Line 452	C++
 	WorldDebug.exe!std::_Tree<std::_Tmap_traits<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,EQStream *,std::less<std::basic_string<char,std::char_traits<char>,std::allocator<char> > >,std::allocator<std::pair<std::basic_string<char,std::char_traits<char>,std::allocator<char> > const ,EQStream *> >,0> >::iterator::operator->()  Line 457	C++
 	WorldDebug.exe!EQStreamFactory::ReaderLoop()  Line 176 + 0xb bytes	C++
 	WorldDebug.exe!EQStreamFactoryReaderLoop(void * eqfs=0x00a021e0)  Line 34	C++
 	WorldDebug.exe!_callthreadstart()  Line 293 + 0xf bytes	C
 	WorldDebug.exe!_threadstart(void * ptd=0x00fd1aa0)  Line 277	C
OS Info:
Windows XP SP2
Duo Core 2 6400
2GB RAM
World running on localhost w/Client
I see the server in the list, can create chars all day, just cannot get into the server itself. The World.exe version simply crashes and I get a JIT message to launch VS2005.
If this is TMI, delete or move the post, and let me know where/what to provide you to help debug issues. While I do not consider myself a novice to running emulators, this one is kicking my butt. :)
-J

Posted: Tue Oct 16, 2007 5:34 pm
by John Adams
Strangest thing... I deleted every file, unpacked the World from SF, and even moved to another VM. Tried logging in with my first account I made, and any chars I create or try to log in generate the crash.
I made a new Player account in the registration (this website) and I am now logged into my own server. Could be coincidence. Just FYI.

Posted: Tue Oct 16, 2007 6:12 pm
by John Adams
I hope you do not mind if I just talk to myself a little here...
So the problem (I think) might have been related to a few things. 1) I work from home on occasion via VPN. My VPN apparently was still connected while performing these trials (duh) which would definitely have blocked incoming access to my local XP box. This explains why I was able to connect to my own server once I moved the World to a VM.
Why it crashed, I do not know. That might still be something worth looking into.
Second thing, I found that if I use a FQDN for my worldaddress= setting, I get to "connecting to zone server..." and it sits there. Once I replace the FQDN with my IP octets, all is fine. Do you think this will be resolvable later? Some of us still live in Dynamic IP (No-IP.org) world. :)
Lastly, I moved the SVN files to my old Linux FC4 server, typed "make", and ran ./world, PERFECTLY the first time. Logged in and everything. BRAVO! Linux is where I prefer to host all my servers, so even at this young stage, EQ2Emu runs on Linux. /bounces all around the forum
Ok, so bottom line is - I do not think I actually have an issue... so if any of the info above is helpful, great. If not, I am going to go run around Antonica naked.

Posted: Wed Oct 17, 2007 9:24 am
by techguy84
John Adams wrote:I hope you do not mind if I just talk to myself a little here...
Yes John, we do mind it when you solve problems, we like buggy stuff and things that just dont work the way they are supposed to... lol
Grats to see that you got it working.