Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-14-2016, 08:26 PM
WIGGMPk
Fire Beetle
 
Join Date: Apr 2011
Posts: 8
Default Zone - Seg Fault

If anyone is will to take a look at this and lend their expertise it would be greatly appreciated.

Launching a specific zone....

Code:
sysadmin@luggs-emu:~/server$ ./zone felwithea peq
[Zone Server] Loading server configuration..
[Zone Server] Connecting to MySQL...
[Status] Starting File Log 'logs/zone_13826.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(0x8efb38)
[Quests] Creating EQEmuIO=HASH(0x8fd7e8)
[Quests] Loading perlemb plugins.
[Quests] Unquoted string "false" may clash with future reserved word at plugins//Expeditions.pl line 375.
[Quests] "my" variable $Item1 masks earlier declaration in same scope at plugins//quest_handin.pl line 19.
[Quests] "my" variable $Item2 masks earlier declaration in same scope at plugins//quest_handin.pl line 21.
[Quests] "my" variable $Item3 masks earlier declaration in same scope at plugins//quest_handin.pl line 23.
[Quests] "my" variable $Item4 masks earlier declaration in same scope at plugins//quest_handin.pl line 25.
[Quests] Subroutine CalcDestFromHeading redefined at plugins//path_tools.pl line 221.
[Quests] Subroutine GetReverseHeading redefined at plugins//spawn_utils.pl line 456.
[Quests] Subroutine ConvertHeadingToDegrees redefined at plugins//spawn_utils.pl line 477.
[Quests] Subroutine MakeTempPet redefined at (eval 54) line 1.
[Quests] Subroutine MakeTempPet redefined at (eval 54) line 1.
[Quests] Subroutine GetSkill redefined at (eval 54) line 1.
[Quests] Subroutine SignalClient redefined at (eval 54) line 1.
[Quests] Subroutine MakeTempPet redefined at (eval 54) line 1.
[Quests] Subroutine MakeTempPet redefined at (eval 54) line 1.
Segmentation fault (core dumped)
And the dump file...

Code:
sysadmin@luggs-emu:~/server$ gdb zone ./core 
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from zone...done.
[New LWP 13826]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
Core was generated by `./zone felwithea peq'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0034ca34 in Embperl::dosub (this=this@entry=0x83bd98, subname=0x68a360 "main::my_eval", args=args@entry=0xbee28e80, mode=mode@entry=42) at /home/sysadmin/server_source/Server/zone/embperl.cpp:292
292		if(SvTRUE(ERRSV))
Failing at ...

Code:
int Embperl::dosub(const char * subname, const std::vector<std::string> * args, int mode)
{
        dSP;
        int ret_value = 0;
        int count;
        std::string error;

        ENTER;
        SAVETMPS;
        PUSHMARK(SP);
        if(args && !args->empty())
        {
                for (auto i = args->begin(); i != args->end(); ++i) {
                        XPUSHs(sv_2mortal(newSVpv(i->c_str(), i->length())));
                }
        }
        PUTBACK;

        count = call_pv(subname, mode);
        SPAGAIN;

        if(SvTRUE(ERRSV))     <-----<-----<-----<-----<-----<-----<-----<-----< Fail!
        {
                error = SvPV_nolen(ERRSV);
                POPs;
        }
        else
        {
                if(count == 1) {
                        SV *ret = POPs;
                        if(SvTYPE(ret) == SVt_IV) {
                                IV v = SvIV(ret);
                                ret_value = v;
                        }
                        PUTBACK;
                }
        }

        FREETMPS;
        LEAVE;

        if(error.length() > 0)
        {
                std::string errmsg = "Perl runtime error: ";
                errmsg += SvPVX(ERRSV);
                throw errmsg.c_str();
        }

        return ret_value;
}

Thank you in advance


EDIT
Kernel: 4.6.3-sunxi
Distro: Ubuntu Xenial (headless)
Arch: Cortex-A7 ARM

Last edited by WIGGMPk; 09-14-2016 at 08:37 PM.. Reason: Additional Info
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:20 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3