Log in

View Full Version : zone.exe crashes when trying to load perl commands


Randymarsh9
08-01-2012, 11:13 PM
Ok, I've been running servers for a while, but I recently switched from Windows XP 32-bit to Windows 7 64-bit, so I have had to completely reinstall everything for running a server. I have everything set up correctly, I think, but whenever i try to start the server, zone.exe crashes.

---------------------------------------------
[08.01. - 23:09:22] Starting Log: logs/eqemu_quest_zone_3708.log
[08.01. - 23:09:22] Tying perl output to eqemu logs
[08.01. - 23:09:22] Creating EQEmuIO=HASH(0x311f22c)
[08.01. - 23:09:22] Creating EQEmuIO=HASH(0x311abac)
[08.01. - 23:09:22] Loading perlemb plugins.
[08.01. - 23:09:22] Subroutine Cwd::fastcwd redefined at C:/Perl/lib/Cwd.pm line 819.
[08.01. - 23:09:22] Subroutine Cwd::getcwd redefined at C:/Perl/lib/Cwd.pm line 819.
[08.01. - 23:09:22] Subroutine Cwd::abs_path redefined at C:/Perl/lib/Cwd.pm line 819.
[08.01. - 23:09:22] Subroutine CalcDestFromHeading redefined at plugins/path_tools.pl line 222.
[08.01. - 23:09:22] "my" variable $Item1 masks earlier declaration in same scope at plugins/quest_handin.pl line 19.
[08.01. - 23:09:22] "my" variable $Item2 masks earlier declaration in same scope at plugins/quest_handin.pl line 21.
[08.01. - 23:09:22] "my" variable $Item3 masks earlier declaration in same scope at plugins/quest_handin.pl line 23.
[08.01. - 23:09:22] "my" variable $Item4 masks earlier declaration in same scope at plugins/quest_handin.pl line 25.
[08.01. - 23:09:22] Subroutine GetReverseHeading redefined at plugins/spawn_utils.pl line 456.
[08.01. - 23:09:22] Subroutine ConvertHeadingToDegrees redefined at plugins/spawn_utils.pl line 477.
[08.01. - 23:09:22] Subroutine Whisper redefined at plugins/whisper.pl line 3.
[08.01. - 23:09:22] Subroutine vtell redefined at plugins/whisper.pl line 17.
[08.01. - 23:09:22] Loading perl commands...


When it gets to loading perl commands, it crashes and just keeps restarting itself. I compiled the source code myself while using Perl 5.14.2.1402. Does anyone have any ideas about this?

Randymarsh9
08-01-2012, 11:37 PM
In case more information is needed, I followed the recompile guide at http://www.eqemulator.net/wiki/wikka.php?wakka=VS2008, so I have 32-bit versions of Perl and Mysql. Also, I am using Microsoft Visual 2010

Maze_EQ
08-02-2012, 11:07 AM
Put a debugger on it and give us the call stack.


Here is the a howto

http://msdn.microsoft.com/en-us/library/a3694ts5%28v=vs.80%29.aspx

Randymarsh9
08-02-2012, 11:54 AM
I'm not sure if I am doing it right, but when I try to do start debugging, it says EmuShareMem is out of date and asks to build it again. After i do, it says build succeeded but an error pops up saying EmuShareMem.dll cannot be started.

Maze_EQ
08-02-2012, 11:55 AM
Are you using the latest revision to compile?

Randymarsh9
08-02-2012, 02:40 PM
Yeah, I'm using the latest source code and updated the DB accordingly

lerxst2112
08-02-2012, 05:41 PM
I don't remember all the details, but there is a known issue with perl 5.14 and some combination of build type and compiler used. I'd switch to 5.12, adjust the two places in the code that reference the library and move on.

Randymarsh9
08-03-2012, 04:00 PM
Thank you, Lerxst. I downgraded, recompiled, and everything is working now.

Randymarsh9
08-03-2012, 04:17 PM
Nevermind, spoke too soon haha. Now I can get in the game, but interacting with an NPC in any way (hailing or right clicking) causes the zone to crash.

Born2rot
08-08-2012, 04:40 PM
Having the same thing happen with my test server. Last few update have made the zone crash with almost any interaction. I've reinstalled everything and redownloaded all the sources.


Goregut

joligario
08-08-2012, 05:37 PM
And applied all the SQL updates?

lerxst2112
08-08-2012, 07:11 PM
Dunno if it applies: http://www.eqemulator.org/forums/showthread.php?p=210530

Born2rot
08-08-2012, 10:25 PM
Thanks lerxst2112 that's what I get for trying to save some time by copying over the old quest directory. :)

Goregut