EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Linux Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=588)
-   -   zone coredump reproducible (https://www.eqemulator.org/forums/showthread.php?t=40750)

eqrage 07-12-2016 08:48 AM

zone coredump reproducible
 
Server is 3.2 Linux kernel Debian box.

- Pull fresh git
- cmake .
- make
- set up the server directory as instructed
- ./world
- ./zone dynamic_01 zone

This works perfectly on another box (happens to be a VPS, but I want to set up eqemu on my personal comp).


But on this box, it coredumps:
xxx@pok(srv)$ ./zone dynamic_01 zone
Code:

[Zone Server] Loading server configuration..
[Zone Server] Connecting to MySQL...
[Status] Starting File Log 'logs/zone_7944.log'
[Zone Server] CURRENT_VERSION: 1.1.3
[Zone Server] Mapping Incoming Opcodes
[Zone Server] Loading Variables
[Zone Server] Loading zone names
[Zone Server] Loading items
[Zone Server] Loading npc faction lists
[Zone Server] Loading loot tables
[Zone Server] Loading skill caps
[Zone Server] Loading spells
[Zone Server] Loading base data
[Zone Server] Loading guilds
[Zone Server] Loading factions
[Zone Server] Loading titles
[Zone Server] Loading tributes
[Zone Server] Loading corpse timers
[Zone Server] Loading commands
[Zone Server] 254 commands loaded
[Zone Server] Loaded default rule set 'default'
[Zone Server] Loading Perl Event Export Settings...
[Zone Server] Loading quests
[Quests] Tying perl output to eqemu logs
[Quests] Creating EQEmuIO=HASH(0xa1673f0)
[Quests] Creating EQEmuIO=HASH(0xa1679a4)
[Quests] Loading perlemb plugins.
[Quests] Unable to read perl file 'plugin.pl'
[Quests] Unquoted string "false" may clash with future reserved word at plugins//Expeditions.pl line 375.
[Quests] Subroutine moelib_spawn_block redefined at plugins//spawn_utils.pl line 2.
[Quests] Subroutine moelib_spawn_block_center redefined at plugins//spawn_utils.pl line 23.
[Quests] Subroutine moelib_spawn_circle redefined at plugins//spawn_utils.pl line 45.
[Quests] Subroutine GetMaxLoSDistFromHeading redefined at plugins//spawn_utils.pl line 71.
[Quests] Subroutine FaceBestHeading redefined at plugins//spawn_utils.pl line 134.
[Quests] Subroutine HeadingToShortestLoS redefined at plugins//spawn_utils.pl line 204.
[Quests] Subroutine MoveAwayFromWall redefined at plugins//spawn_utils.pl line 268.
[Quests] Subroutine MoveToFirstBestZ redefined at plugins//spawn_utils.pl line 340.
[Quests] Subroutine SpawnZone redefined at plugins//spawn_utils.pl line 373.
[Quests] Subroutine GetReverseHeading redefined at plugins//formation_tools.pl line 980.
[Quests] Subroutine ConvertHeadingToDegrees redefined at plugins//formation_tools.pl line 995.
[Quests] Subroutine QCreditAccountCheck redefined at plugins//Quest_Credit2.pl line 3.
[Quests] Subroutine QCreditPull redefined at plugins//Quest_Credit2.pl line 18.
[Quests] Subroutine QCreditAccountPull redefined at plugins//Quest_Credit2.pl line 54.
[Quests] Subroutine QCreditGive redefined at plugins//Quest_Credit2.pl line 93.
[Quests] Subroutine QCreditAccountGive redefined at plugins//Quest_Credit2.pl line 119.
[Quests] Subroutine CreditStatusAccount redefined at plugins//Quest_Credit2.pl line 146.
[Quests] Subroutine CreditStatusAccountGive redefined at plugins//Quest_Credit2.pl line 180.
[Quests] Subroutine CreditStatusAccountTake redefined at plugins//Quest_Credit2.pl line 220.
[Quests] Subroutine RandomRange redefined at plugins//random_range.pl line 3.

Program received signal SIGSEGV, Segmentation fault.
0xb7ba9084 in Perl_sv_tainted () from /usr/lib/libperl.so.5.14

- gdb ./zone
- run dynamic_01 zone
- bt

output:

Code:

(gdb) bt
#0  0xb7ba9084 in Perl_sv_tainted () from /usr/lib/libperl.so.5.14
#1  0xb7baae64 in Perl_sv_setsv_flags () from /usr/lib/libperl.so.5.14
#2  0xb7bac3fb in Perl_sv_mortalcopy () from /usr/lib/libperl.so.5.14
#3  0xb7be3951 in Perl_pp_leaveloop () from /usr/lib/libperl.so.5.14
#4  0xb7b9d328 in Perl_runops_standard () from /usr/lib/libperl.so.5.14
#5  0xb7b2c36c in Perl_call_sv () from /usr/lib/libperl.so.5.14
#6  0xb7b2c696 in Perl_call_pv () from /usr/lib/libperl.so.5.14
#7  0x0851b45e in Embperl::dosub (this=this@entry=0x8cc94c8, subname=subname@entry=0x8a209ae "main::my_eval", args=args@entry=0xbfffeb94, mode=mode@entry=42)
    at /home/xxx/rage/eqemu/zone/embperl.cpp:289
#8  0x0851c911 in Embperl::eval (this=0x8cc94c8,
    code=0x8a1d76c "{package quest;&boot_quest;package Mob;&boot_Mob;package Client;our @ISA = qw(Mob);&boot_Mob;&boot_Client;package NPC;our @ISA = qw(Mob);&boot_Mob;&boot_NPC;package Corpse;our @ISA = qw(Mob);&boot_Mob"...) at /home/xxx/rage/eqemu/zone/embperl.cpp:327
#9  0x084f5d52 in PerlembParser::MapFunctions (this=this@entry=0x8c49ce0) at /home/xxx/rage/eqemu/zone/embparser.cpp:839
#10 0x084f6f2d in PerlembParser::ReloadQuests (this=0x8c49ce0) at /home/xxx/rage/eqemu/zone/embparser.cpp:139
#11 0x0882d86b in QuestParserCollection::ReloadQuests (this=0x8c4a3e8, reset_timers=true) at /home/xxx/rage/eqemu/zone/quest_parser_collection.cpp:86
#12 0x0829eda1 in main (argc=3, argv=0xbfffef24) at /home/xxx/rage/eqemu/zone/net.cpp:376
(gdb)


Any hints are welcome.
Thanks.

eqrage 07-12-2016 08:55 AM

Code:

$ ldd ./zone

        linux-gate.so.1 =>  (0xb7757000)
        /lib/snoopy.so (0xb7752000)
        libmysqlclient.so.18 => /usr/lib/i386-linux-gnu/libmysqlclient.so.18 (0xb740b000)
        libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb73f2000)
        libperl.so.5.14 => /usr/lib/libperl.so.5.14 (0xb7268000)
        liblua5.1.so.0 => /usr/lib/i386-linux-gnu/liblua5.1.so.0 (0xb723b000)
        libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xb7237000)
        librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xb722e000)
        libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb7214000)
        libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb7128000)
        libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb7102000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb70e5000)
        libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb6f7d000)
        libcrypt.so.1 => /lib/i386-linux-gnu/i686/cmov/libcrypt.so.1 (0xb6f4a000)
        /lib/ld-linux.so.2 (0xb7758000)


eqrage 07-12-2016 09:09 AM

Looks like this guy was also having this problem but didn't seem to be able to fix it:
http://www.eqemulator.org/forums/showthread.php?t=38262


All times are GMT -4. The time now is 12:27 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.