NebbieArcane / Server

Codice del server
Other
4 stars 0 forks source link

3.5.1-0-g9c233c8 (r3.5.1): SIGSEGV in /home/nebbie/Server/release/src/act.move.cpp:170 #400

Open NebbieArcaneBot opened 3 years ago

NebbieArcaneBot commented 3 years ago

Core file: ./lib/core Quick dump: [New LWP 18070] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/home/nebbie/Run/release/myst_release -v6 -D -L -M 4000'. Program terminated with signal SIGSEGV, Segmentation fault.

0 0x0000558b59d29413 in Alarmud::ValidMove (ch=0x558b5d058f30, cmd=5) at /home/nebbie/Server/release/src/act.move.cpp:170

170 if(IS_AFFECTED2((IS_POLY(ch)) ? ch->desc->original : ch,

Thread 1 (Thread 0x7fbc4f6913c0 (LWP 18070)):

0 0x0000558b59d29413 in Alarmud::ValidMove (ch=0x558b5d058f30, cmd=5) at /home/nebbie/Server/release/src/act.move.cpp:170

1 0x0000558b59d2964e in Alarmud::RawMove (ch=0x558b5d058f30, dir=5, bCheckSpecial=1) at /home/nebbie/Server/release/src/act.move.cpp:209

2 0x0000558b59d2a3d2 in Alarmud::MoveOne (ch=0x558b5d058f30, dir=5, bCheckSpecial=1) at /home/nebbie/Server/release/src/act.move.cpp:504

3 0x0000558b59d414df in Alarmud::do_flee (ch=0x558b5d058f30, arg=0x558b5a08ae4e "", cmd=0) at /home/nebbie/Server/release/src/act.off.cpp:915

4 0x0000558b59e25934 in Alarmud::HitCheckDeny (ch=0x558b5d058f30, victim=0x558b5d48a020, type=-1, DistanceWeapon=0) at /home/nebbie/Server/release/src/fight.cpp:3146

5 0x0000558b59e27e38 in Alarmud::root_hit (ch=0x558b5d058f30, orig_victim=0x558b5d48a020, type=-1, dam_func=0x558b59e24662 <Alarmud::damage(Alarmud::char_data, Alarmud::char_data, int, int, int)>, DistanceWeapon=0, location=0) at /home/nebbie/Server/release/src/fight.cpp:3632

6 0x0000558b59e280e5 in Alarmud::hit (ch=0x558b5d058f30, victim=0x558b5d48a020, type=-1) at /home/nebbie/Server/release/src/fight.cpp:3706

7 0x0000558b59e28973 in Alarmud::NPCAttacks (pChar=0x558b5d058f30) at /home/nebbie/Server/release/src/fight.cpp:3893

8 0x0000558b59e293c6 in Alarmud::perform_violence (currentPulse=88896) at /home/nebbie/Server/release/src/fight.cpp:4000

9 0x0000558b59dbeabd in Alarmud::game_loop (s=1) at /home/nebbie/Server/release/src/comm.cpp:559

10 0x0000558b59dbc9cc in Alarmud::run_the_game (port=4000) at /home/nebbie/Server/release/src/comm.cpp:287

11 0x0000558b59dbb990 in Alarmud::run (port=4000, dir=0x7ffce4ea1820 "lib") at /home/nebbie/Server/release/src/comm.cpp:264

12 0x0000558b59eb0537 in Alarmud::main (argc=6, argv=0x7ffce4ea1bb8) at /home/nebbie/Server/release/src/main.cpp:160

13 0x0000558b59eb0c17 in main (argc=6, argv=0x7ffce4ea1bb8) at /home/nebbie/Server/release/src/main.cpp:165

Thread 1 (Thread 0x7fbc4f6913c0 (LWP 18070)):

0 0x0000558b59d29413 in Alarmud::ValidMove (ch=0x558b5d058f30, cmd=5) at /home/nebbie/Server/release/src/act.move.cpp:170

1 0x0000558b59d2964e in Alarmud::RawMove (ch=0x558b5d058f30, dir=5, bCheckSpecial=1) at /home/nebbie/Server/release/src/act.move.cpp:209

2 0x0000558b59d2a3d2 in Alarmud::MoveOne (ch=0x558b5d058f30, dir=5, bCheckSpecial=1) at /home/nebbie/Server/release/src/act.move.cpp:504

3 0x0000558b59d414df in Alarmud::do_flee (ch=0x558b5d058f30, arg=0x558b5a08ae4e "", cmd=0) at /home/nebbie/Server/release/src/act.off.cpp:915

4 0x0000558b59e25934 in Alarmud::HitCheckDeny (ch=0x558b5d058f30, victim=0x558b5d48a020, type=-1, DistanceWeapon=0) at /home/nebbie/Server/release/src/fight.cpp:3146

5 0x0000558b59e27e38 in Alarmud::root_hit (ch=0x558b5d058f30, orig_victim=0x558b5d48a020, type=-1, dam_func=0x558b59e24662 <Alarmud::damage(Alarmud::char_data, Alarmud::char_data, int, int, int)>, DistanceWeapon=0, location=0) at /home/nebbie/Server/release/src/fight.cpp:3632

6 0x0000558b59e280e5 in Alarmud::hit (ch=0x558b5d058f30, victim=0x558b5d48a020, type=-1) at /home/nebbie/Server/release/src/fight.cpp:3706

7 0x0000558b59e28973 in Alarmud::NPCAttacks (pChar=0x558b5d058f30) at /home/nebbie/Server/release/src/fight.cpp:3893

8 0x0000558b59e293c6 in Alarmud::perform_violence (currentPulse=88896) at /home/nebbie/Server/release/src/fight.cpp:4000

9 0x0000558b59dbeabd in Alarmud::game_loop (s=1) at /home/nebbie/Server/release/src/comm.cpp:559

10 0x0000558b59dbc9cc in Alarmud::run_the_game (port=4000) at /home/nebbie/Server/release/src/comm.cpp:287

11 0x0000558b59dbb990 in Alarmud::run (port=4000, dir=0x7ffce4ea1820 "lib") at /home/nebbie/Server/release/src/comm.cpp:264

12 0x0000558b59eb0537 in Alarmud::main (argc=6, argv=0x7ffce4ea1bb8) at /home/nebbie/Server/release/src/main.cpp:160

13 0x0000558b59eb0c17 in main (argc=6, argv=0x7ffce4ea1bb8) at /home/nebbie/Server/release/src/main.cpp:165

Long dump: [New LWP 18070] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/home/nebbie/Run/release/myst_release -v6 -D -L -M 4000'. Program terminated with signal SIGSEGV, Segmentation fault.

0 0x0000558b59d29413 in Alarmud::ValidMove (ch=0x558b5d058f30, cmd=5) at /home/nebbie/Server/release/src/act.move.cpp:170

170 if(IS_AFFECTED2((IS_POLY(ch)) ? ch->desc->original : ch,

Thread 1 (Thread 0x7fbc4f6913c0 (LWP 18070)):

0 0x0000558b59d29413 in Alarmud::ValidMove (ch=0x558b5d058f30, cmd=5) at /home/nebbie/Server/release/src/act.move.cpp:170

1 0x0000558b59d2964e in Alarmud::RawMove (ch=0x558b5d058f30, dir=5, bCheckSpecial=1) at /home/nebbie/Server/release/src/act.move.cpp:209

2 0x0000558b59d2a3d2 in Alarmud::MoveOne (ch=0x558b5d058f30, dir=5, bCheckSpecial=1) at /home/nebbie/Server/release/src/act.move.cpp:504

3 0x0000558b59d414df in Alarmud::do_flee (ch=0x558b5d058f30, arg=0x558b5a08ae4e "", cmd=0) at /home/nebbie/Server/release/src/act.off.cpp:915

4 0x0000558b59e25934 in Alarmud::HitCheckDeny (ch=0x558b5d058f30, victim=0x558b5d48a020, type=-1, DistanceWeapon=0) at /home/nebbie/Server/release/src/fight.cpp:3146

5 0x0000558b59e27e38 in Alarmud::root_hit (ch=0x558b5d058f30, orig_victim=0x558b5d48a020, type=-1, dam_func=0x558b59e24662 <Alarmud::damage(Alarmud::char_data, Alarmud::char_data, int, int, int)>, DistanceWeapon=0, location=0) at /home/nebbie/Server/release/src/fight.cpp:3632

6 0x0000558b59e280e5 in Alarmud::hit (ch=0x558b5d058f30, victim=0x558b5d48a020, type=-1) at /home/nebbie/Server/release/src/fight.cpp:3706

7 0x0000558b59e28973 in Alarmud::NPCAttacks (pChar=0x558b5d058f30) at /home/nebbie/Server/release/src/fight.cpp:3893

8 0x0000558b59e293c6 in Alarmud::perform_violence (currentPulse=88896) at /home/nebbie/Server/release/src/fight.cpp:4000

9 0x0000558b59dbeabd in Alarmud::game_loop (s=1) at /home/nebbie/Server/release/src/comm.cpp:559

10 0x0000558b59dbc9cc in Alarmud::run_the_game (port=4000) at /home/nebbie/Server/release/src/comm.cpp:287

11 0x0000558b59dbb990 in Alarmud::run (port=4000, dir=0x7ffce4ea1820 "lib") at /home/nebbie/Server/release/src/comm.cpp:264

12 0x0000558b59eb0537 in Alarmud::main (argc=6, argv=0x7ffce4ea1bb8) at /home/nebbie/Server/release/src/main.cpp:160

13 0x0000558b59eb0c17 in main (argc=6, argv=0x7ffce4ea1bb8) at /home/nebbie/Server/release/src/main.cpp:165

Thread 1 (Thread 0x7fbc4f6913c0 (LWP 18070)):

0 0x0000558b59d29413 in Alarmud::ValidMove (ch=0x558b5d058f30, cmd=5) at /home/nebbie/Server/release/src/act.move.cpp:170

    rp = 0x558b5ca807a0
    tmp = "\267\251\rZ\213U\000\000\000\000\000\000\000\000\000\000\340\004\352\344\374\177\000\000\344\004\352\344\374\177\000\000\377\377\377\377\000\000\000\000\270~\006Z\213U\000\000\020\006\352\344\374\177\000\000\240/^M\274\177\000\000\300\004\352\344\374\177\000\000\324\377\061M\274\177\000\000\061\254\363Y\213U\000\000\060\217\005]\213U\000\000\217 \004Z\213U\000\000\260\004\352\344\374\177\000\000\324\377\061M\274\177\000\000\035\000\000\000\000\000\000\000\004\000\000\000\000\000\000\000\000\000\000\020\000\000\001\000\226\000\000\000\000\000\000\000\035\000\000\000\000\000\000\000\001", '\000' <repeats 16 times>, "\200\377Y\213U\000\000\226\000\000\000\035\000\000\000\360\004\352\344\374\177\000\000"...
    exitp = 0x558b5ca80cd0
    __PRETTY_FUNCTION__ = "int Alarmud::ValidMove(Alarmud::char_data*, int)"

1 0x0000558b59d2964e in Alarmud::RawMove (ch=0x558b5d058f30, dir=5, bCheckSpecial=1) at /home/nebbie/Server/release/src/act.move.cpp:209

    need_movement = 1
    new_r = 0
    obj = 0x5
    has_boat = false
    from_here = 0x558b5d058f30
    to_here = 0x0

2 0x0000558b59d2a3d2 in Alarmud::MoveOne (ch=0x558b5d058f30, dir=5, bCheckSpecial=1) at /home/nebbie/Server/release/src/act.move.cpp:504

    was_in = 32156

3 0x0000558b59d414df in Alarmud::do_flee (ch=0x558b5d058f30, arg=0x558b5a08ae4e "", cmd=0) at /home/nebbie/Server/release/src/act.off.cpp:915

    i = 1
    attempt = 5
    loose = 1507990075
    die = 21899
    percent = 21899
    charm = 0
    panic = 0
    bonus = 0
    buf = "$n abilmente si ritira verso il basso.\000\000\060\217\005]\213U\000\000\240\006\352\344j\002\000\000\340\006\352\344\374\177\000\000\220\b\352\344\374\177\000\000\360\006\352\344\374\177\000\000\324\377\061M\274\177\000\000\234}\000\000\000\000\000\000 \240H]\213U\000\000O\001\000\000\000\000\000\000 \240H]\213U\000\000\234}\000\000\000\000\000\000\a\000\000\000\000\000\000\000\a\000\000\000\000\000\000\000`\a\352\344\374\177\000\000\324\377\061M\274\177\000\000 \240H]\213U\000\000\a", '\000' <repeats 15 times>, "`\a\352\344\374\177\000\000p\a\352\344\374\177\000\000"...

4 0x0000558b59e25934 in Alarmud::HitCheckDeny (ch=0x558b5d058f30, victim=0x558b5d48a020, type=-1, DistanceWeapon=0) at /home/nebbie/Server/release/src/fight.cpp:3146

    rp = 0x558b5ca809e0
    __PRETTY_FUNCTION__ = "int Alarmud::HitCheckDeny(Alarmud::char_data*, Alarmud::char_data*, int, int)"

5 0x0000558b59e27e38 in Alarmud::root_hit (ch=0x558b5d058f30, orig_victim=0x558b5d48a020, type=-1, dam_func=0x558b59e24662 <Alarmud::damage(Alarmud::char_data, Alarmud::char_data, int, int, int)>, DistanceWeapon=0, location=0) at /home/nebbie/Server/release/src/fight.cpp:3632

    tmp_victim = 0x558b5d48a020
    temp = 0x558b5bfbb9a0
    victim = 0x558b5d48a020
    wielded = 0x0
    w_type = 21899
    tohit = 1565040672

6 0x0000558b59e280e5 in Alarmud::hit (ch=0x558b5d058f30, victim=0x558b5d48a020, type=-1) at /home/nebbie/Server/release/src/fight.cpp:3706

    location = 0

7 0x0000558b59e28973 in Alarmud::NPCAttacks (pChar=0x558b5d058f30) at /home/nebbie/Server/release/src/fight.cpp:3893

    fAttacks = 4
    pVictim = 0x0

8 0x0000558b59e293c6 in Alarmud::perform_violence (currentPulse=88896) at /home/nebbie/Server/release/src/fight.cpp:4000

    rp = 0x558b5ca809e0
    ch = 0x558b5d058f30
    tdir = 0
    cmv = 0
    max_cmv = 1
    caught = 0
    rng = 0
    tdr = 0
    __PRETTY_FUNCTION__ = "void Alarmud::perform_violence(long unsigned int)"
    pNext = 0x558b5cc0b160

9 0x0000558b59dbeabd in Alarmud::game_loop (s=1) at /home/nebbie/Server/release/src/comm.cpp:559

    null_time = {tv_sec = 0, tv_usec = 0}
    lag = {__r = 153}
    input_set = {fds_bits = {0 <repeats 16 times>}}
    output_set = {fds_bits = {655360, 0 <repeats 15 times>}}
    exc_set = {fds_bits = {0 <repeats 16 times>}}
    comm = "dig\000r uomo kill guer\000uerr\000ro\000rin\000\223\272\\\213U\000\000$\000\000\000\000\000\000\000$\000\000\000\000\000\000\000\000&\312\355\354\377\333cXx\265\\\213U\000\000\000&\312\355\354\377\333c\340\021\352\344\374\177\000\000\240O\374[\213U\000\000H\020\352\344\374\177\000\000>\315RN\274\177\000\000\320\021\352\344\374\177\000\000\240O\374[\213U\000\000H\020\352\344\374\177\000\000\235\305JN\274\177\000\000\000\000\000\000\000\000\000\000`\020\352\344\374\177\000"
    promptbuf = "DoctorWho H21 M355 V130 X-222346075 $c0008[$c0007$c0013P$c0007$c0014T$c0007D$c0008]$c0007 $c0001squarciata$c0007/$c0013ferito$c0007>> \000\060\060\061\061C:2776635$$c0007 | */* >>\000c0008]$c0007$$c0007] $$c0011G:19449"...
    point = 0x0
    next_point = 0x0
    next_tick = {__d = {__r = 14278027555838153}}
    __PRETTY_FUNCTION__ = "void Alarmud::game_loop(int)"

10 0x0000558b59dbc9cc in Alarmud::run_the_game (port=4000) at /home/nebbie/Server/release/src/comm.cpp:287

    s = 1
    __PRETTY_FUNCTION__ = "void Alarmud::run_the_game(int)"

11 0x0000558b59dbb990 in Alarmud::run (port=4000, dir=0x7ffce4ea1820 "lib") at /home/nebbie/Server/release/src/comm.cpp:264

    fmt = {items_ = std::vector of length 2, capacity 2 = {{argN_ = 0, res_ = "3.5.1-0-g9c233c8 (r3.5.1)", appendix_ = " rel ", fmtstate_ = {width_ = 0, precision_ = 6, fill_ = 32 ' ', flags_ = 4098, rdstate_ = std::_S_goodbit, exceptions_ = std::_S_goodbit, loc_ = {<boost::optional_detail::optional_base<std::locale>> = {<boost::optional_detail::optional_tag> = {<No data fields>}, m_initialized = false, m_storage = {dummy_ = {data = "eful,\n  ", aligner_ = {<No data fields>}}}}, <No data fields>}}, truncate_ = 9223372036854775807, pad_scheme_ = 0}, {argN_ = 1, res_ = "Merge-pull-request-395-from-NebbieArcane-fix-nylmis-quest-spec-proc-1", appendix_ = " ", fmtstate_ = {width_ = 0, precision_ = 6, fill_ = 32 ' ', flags_ = 4098, rdstate_ = std::_S_goodbit, exceptions_ = std::_S_goodbit, loc_ = {<boost::optional_detail::optional_base<std::locale>> = {<boost::optional_detail::optional_tag> = {<No data fields>}, m_initialized = false, m_storage = {dummy_ = {data = " GNU Gen", aligner_ = {<No data fields>}}}}, <No data fields>}}, truncate_ = 9223372036854775807, pad_scheme_ = 0}}, bound_ = std::vector<bool> of length 0, capacity 0, style_ = 0, cur_arg_ = 2, num_args_ = 2, dumped_ = true, prefix_ = "Release: Starting ", exceptions_ = 255 '\377', buf_ = {<std::basic_streambuf<char, std::char_traits<char> >> = {<No data fields>}, putend_ = 0x558b5bfc19f5 "U", is_allocated_ = true, mode_ = 24, alloc_ = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}}, loc_ = {<boost::optional_detail::optional_base<std::locale>> = {<boost::optional_detail::optional_tag> = {<No data fields>}, m_initialized = false, m_storage = {dummy_ = {data = "\001\000\000\000\000\000\000", aligner_ = {<No data fields>}}}}, <No data fields>}}
    __PRETTY_FUNCTION__ = "int Alarmud::run(int, const char*)"
    fd = 0x558b5c0aaf50

12 0x0000558b59eb0537 in Alarmud::main (argc=6, argv=0x7ffce4ea1bb8) at /home/nebbie/Server/release/src/main.cpp:160

    port = 4000
    dir = "lib"
    server_name = "starting"
    comment = ""
    debug_level = 6
    opt = {static m_default_line_length = 80, m_caption = "Allowed options", m_line_length = 80, m_min_description_length = 40, m_options = std::vector of length 13, capacity 16 = {{px = 0x558b5bfb7b80, pn = {pi_ = 0x558b5bfc0750}}, {px = 0x558b5bfc07d0, pn = {pi_ = 0x558b5bfc0870}}, {px = 0x558b5bfc08c0, pn = {pi_ = 0x558b5bfc0990}}, {px = 0x558b5bfc0a20, pn = {pi_ = 0x558b5bfc0ae0}}, {px = 0x558b5bfc0b20, pn = {pi_ = 0x558b5bfc0bc0}}, {px = 0x558b5bfc0c00, pn = {pi_ = 0x558b5bfc0ca0}}, {px = 0x558b5bfc0ce0, pn = {pi_ = 0x558b5bfc0da0}}, {px = 0x558b5bfc0de0, pn = {pi_ = 0x558b5bfc0ec0}}, {px = 0x558b5bfc0f00, pn = {pi_ = 0x558b5bfc0fd0}}, {px = 0x558b5bfc1010, pn = {pi_ = 0x558b5bfc10d0}}, {px = 0x558b5bfc11e0, pn = {pi_ = 0x558b5bfc1280}}, {px = 0x558b5bfc1380, pn = {pi_ = 0x558b5bfc1450}}, {px = 0x558b5bfc1530, pn = {pi_ = 0x558b5bfc1610}}}, belong_to_group = std::vector<bool> of length 13, capacity 64 = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, groups = std::vector of length 0, capacity 0}
    positional = {m_names = std::vector of length 1, capacity 1 = {"port"}, m_trailing = ""}
    all = {static m_default_line_length = 80, m_caption = "All", m_line_length = 80, m_min_description_length = 40, m_options = std::vector of length 13, capacity 16 = {{px = 0x558b5bfb7b80, pn = {pi_ = 0x558b5bfc0750}}, {px = 0x558b5bfc07d0, pn = {pi_ = 0x558b5bfc0870}}, {px = 0x558b5bfc08c0, pn = {pi_ = 0x558b5bfc0990}}, {px = 0x558b5bfc0a20, pn = {pi_ = 0x558b5bfc0ae0}}, {px = 0x558b5bfc0b20, pn = {pi_ = 0x558b5bfc0bc0}}, {px = 0x558b5bfc0c00, pn = {pi_ = 0x558b5bfc0ca0}}, {px = 0x558b5bfc0ce0, pn = {pi_ = 0x558b5bfc0da0}}, {px = 0x558b5bfc0de0, pn = {pi_ = 0x558b5bfc0ec0}}, {px = 0x558b5bfc0f00, pn = {pi_ = 0x558b5bfc0fd0}}, {px = 0x558b5bfc1010, pn = {pi_ = 0x558b5bfc10d0}}, {px = 0x558b5bfc11e0, pn = {pi_ = 0x558b5bfc1280}}, {px = 0x558b5bfc1380, pn = {pi_ = 0x558b5bfc1450}}, {px = 0x558b5bfc1530, pn = {pi_ = 0x558b5bfc1610}}}, belong_to_group = std::vector<bool> of length 13, capacity 64 = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1}, groups = std::vector of length 1, capacity 1 = {{px = 0x558b5bfa02c0, pn = {pi_ = 0x558b5bfc1760}}}}
    vm = <incomplete type>
    __PRETTY_FUNCTION__ = "int Alarmud::main(int, char**)"
    fd = 0x558b5bfb7950
    dbupdateflag = {_M_once = 2}

13 0x0000558b59eb0c17 in main (argc=6, argv=0x7ffce4ea1bb8) at /home/nebbie/Server/release/src/main.cpp:165

No locals.