Skip to content

3.5.3-0-g88f2dec (r3.5.3): SIGSEGV in /home/nebbie/Server/release/src/opinion.cpp:269 #429

@NebbieArcaneBot

Description

@NebbieArcaneBot

Core file: ./lib/core
Quick dump:
[New LWP 23044]
[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 0x000055b314098fa5 in Alarmud::Hates (ch=0x55b3174e0010, v=0x55b316cc7060) at /home/nebbie/Server/release/src/opinion.cpp:269
269 if(ch->hates.vnum == mob_index[v->nr].iVNum) {

Thread 1 (Thread 0x7fb3f9b0f3c0 (LWP 23044)):
#0 0x000055b314098fa5 in Alarmud::Hates (ch=0x55b3174e0010, v=0x55b316cc7060) at /home/nebbie/Server/release/src/opinion.cpp:269
#1 0x000055b314083019 in Alarmud::mobile_activity (ch=0x55b3174e0010) at /home/nebbie/Server/release/src/mobact.cpp:608
#2 0x000055b3141b92f9 in Alarmud::TeleportPulseStuff (localPulse=16548) at /home/nebbie/Server/release/src/utility.cpp:7489
#3 0x000055b313f71c64 in Alarmud::game_loop (s=1) at /home/nebbie/Server/release/src/comm.cpp:554
#4 0x000055b313f6fb9e in Alarmud::run_the_game (port=4000) at /home/nebbie/Server/release/src/comm.cpp:287
#5 0x000055b313f6eb62 in Alarmud::run (port=4000, dir=0x7ffd5a4258a0 "lib") at /home/nebbie/Server/release/src/comm.cpp:264
#6 0x000055b314063c16 in Alarmud::main (argc=6, argv=0x7ffd5a425c38) at /home/nebbie/Server/release/src/main.cpp:160
#7 0x000055b3140642f6 in main (argc=6, argv=0x7ffd5a425c38) at /home/nebbie/Server/release/src/main.cpp:165

Thread 1 (Thread 0x7fb3f9b0f3c0 (LWP 23044)):
#0 0x000055b314098fa5 in Alarmud::Hates (ch=0x55b3174e0010, v=0x55b316cc7060) at /home/nebbie/Server/release/src/opinion.cpp:269
#1 0x000055b314083019 in Alarmud::mobile_activity (ch=0x55b3174e0010) at /home/nebbie/Server/release/src/mobact.cpp:608
#2 0x000055b3141b92f9 in Alarmud::TeleportPulseStuff (localPulse=16548) at /home/nebbie/Server/release/src/utility.cpp:7489
#3 0x000055b313f71c64 in Alarmud::game_loop (s=1) at /home/nebbie/Server/release/src/comm.cpp:554
#4 0x000055b313f6fb9e in Alarmud::run_the_game (port=4000) at /home/nebbie/Server/release/src/comm.cpp:287
#5 0x000055b313f6eb62 in Alarmud::run (port=4000, dir=0x7ffd5a4258a0 "lib") at /home/nebbie/Server/release/src/comm.cpp:264
#6 0x000055b314063c16 in Alarmud::main (argc=6, argv=0x7ffd5a425c38) at /home/nebbie/Server/release/src/main.cpp:160
#7 0x000055b3140642f6 in main (argc=6, argv=0x7ffd5a425c38) at /home/nebbie/Server/release/src/main.cpp:165
Long dump:
[New LWP 23044]
[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 0x000055b314098fa5 in Alarmud::Hates (ch=0x55b3174e0010, v=0x55b316cc7060) at /home/nebbie/Server/release/src/opinion.cpp:269
269 if(ch->hates.vnum == mob_index[v->nr].iVNum) {

Thread 1 (Thread 0x7fb3f9b0f3c0 (LWP 23044)):
#0 0x000055b314098fa5 in Alarmud::Hates (ch=0x55b3174e0010, v=0x55b316cc7060) at /home/nebbie/Server/release/src/opinion.cpp:269
#1 0x000055b314083019 in Alarmud::mobile_activity (ch=0x55b3174e0010) at /home/nebbie/Server/release/src/mobact.cpp:608
#2 0x000055b3141b92f9 in Alarmud::TeleportPulseStuff (localPulse=16548) at /home/nebbie/Server/release/src/utility.cpp:7489
#3 0x000055b313f71c64 in Alarmud::game_loop (s=1) at /home/nebbie/Server/release/src/comm.cpp:554
#4 0x000055b313f6fb9e in Alarmud::run_the_game (port=4000) at /home/nebbie/Server/release/src/comm.cpp:287
#5 0x000055b313f6eb62 in Alarmud::run (port=4000, dir=0x7ffd5a4258a0 "lib") at /home/nebbie/Server/release/src/comm.cpp:264
#6 0x000055b314063c16 in Alarmud::main (argc=6, argv=0x7ffd5a425c38) at /home/nebbie/Server/release/src/main.cpp:160
#7 0x000055b3140642f6 in main (argc=6, argv=0x7ffd5a425c38) at /home/nebbie/Server/release/src/main.cpp:165

Thread 1 (Thread 0x7fb3f9b0f3c0 (LWP 23044)):
#0 0x000055b314098fa5 in Alarmud::Hates (ch=0x55b3174e0010, v=0x55b316cc7060) at /home/nebbie/Server/release/src/opinion.cpp:269
i = 0x2fc2f7ddf99ec100
#1 0x000055b314083019 in Alarmud::mobile_activity (ch=0x55b3174e0010) at /home/nebbie/Server/release/src/mobact.cpp:608
tmp_ch = 0x55b316cc7060
k = 6
PRETTY_FUNCTION = "void Alarmud::mobile_activity(Alarmud::char_data*)"
#2 0x000055b3141b92f9 in Alarmud::TeleportPulseStuff (localPulse=16548) at /home/nebbie/Server/release/src/utility.cpp:7489
ch = 0x55b3174e0010
next = 0x55b3174ddbb0
tick = 2
tm = 24
rp = 0x55b316164b80
dest = 0x16d2e5f0
obj_object = 0x7ffd5a4245b0
temp_obj = 0x7fb3f89349d2 <log4cxx::helpers::LocaleCharsetEncoder::encode(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, gnu_cxx::normal_iterator<char const*, std::cxx11::basic_string<char, std::char_traits, std::allocator > >&, log4cxx::helpers::ByteBuffer&)+178>
apTeleportRoom = {0x16d2e5f0, 0x55b316e29a80, 0x55b314792440 <Alarmud::save_obj(Alarmud::char_data*, Alarmud::obj_cost*, int)::st>, 0x55b316e603a0, 0x55b316090ee0, 0x5a4245b0, 0x7ffd5a422c60, 0x55b3140a8c49 <Alarmud::obj_to_store(Alarmud::obj_data*, Alarmud::obj_file_u*, Alarmud::char_data*, int)+271>, 0x16d2e5f0, 0x55b316e29a80, 0x55b314792440 <Alarmud::save_obj(Alarmud::char_data*, Alarmud::obj_cost*, int)::st>, 0x7fb3f77862ac <GI___libc_write+92>, 0x55b316090ee0, 0x61, 0x7ffd5a422cc0, 0x7ffd5a422cc0, 0x7fb3f779afd4 <mcount+52>, 0x24, 0x0, 0x800000000, 0x96, 0x7ffd5a422cf0, 0x7fb3f779afd4 <mcount+52>, 0x27, 0x8, 0x14004000000000, 0x20, 0x27, 0x4000, 0x6c66206f7474654c, 0x55b3141b1523 <Alarmud::MIN(int, int)+14>, 0x2700000020, 0x7ffd5a422d20, 0x55b3140c19ff <Alarmud::SetLine(char const*, int)+76>, 0xd7d5a422d20, 0x2fc2f7ddf99ec100, 0x55b316090ee0, 0x7ffd5a424940, 0x7ffd5a4232f0, 0x55b313fb9d1e <Alarmud::fread_number_int(IO_FILE*, char const*, int, char const*)+1463>, 0x55b3147889c0 Alarmud::curfile, 0xd7df76d1a3a, 0x55b3142416b8, 0x55b3161022f0, 0x55b314242bbc, 0x7c0000000000, 0xc000000, 0x1, 0xffffffffffffffff, 0x100000000, 0x55b30000000a, 0x7ffd5a423277, 0x55b300000000, 0x0, 0x1, 0x55b300000000, 0x55b300000000, 0x0, 0x7ffd5a422e90, 0x55b314242bbc, 0x55b314242bbc, 0x0, 0xd68, 0x55b314242bbd, 0x55b314242bb9, 0x2, 0x55b314792440 <Alarmud::save_obj(Alarmud::char_data*, Alarmud::obj_cost*, int)::st>, 0x7ffd5a422f38, 0xffffffffffffffff, 0x7ffd5a422f50, 0x7ffd5a422f52, 0x3000000018, 0x7ffd5a4234d0, 0x7ffd5a423410, 0x7ffd5a422e50, 0x2fc2f7ddf99ec100, 0x55b316090ee0, 0x5a4245b0, 0x7ffd5a422f4e, 0x3000000010, 0x7ffd5a4234d0, 0x7ffd5a423410, 0x55b314792440 <Alarmud::save_obj(Alarmud::char_data*, Alarmud::obj_cost*, int)::st>, 0x7ffd5a422ee0, 0x7fb3f779afd4 <mcount+52>, 0x24, 0x0, 0x800000000, 0x96, 0x7ffd5a422f10, 0x7fb3f779afd4 <mcount+52>, 0x27, 0x36, 0x14004000000000, 0x20, 0x27, 0x4000, 0x6c66206f7474654c, 0x55b3141b1523 <Alarmud::MIN(int, int)+14>, 0x2700000020, 0x7ffd5a422f40, 0x55b3140c19ff <Alarmud::SetLine(char const*, int)+76>, 0xd7d5a422f40, 0x2fc2f7ddf99ec100, 0x55b316090ee0, 0x7ffd5a424940, 0x7ffd5a423510, 0x55b313fb9d1e <Alarmud::fread_number_int(IO_FILE*, char const*, int, char const*)+1463>, 0x55b3147889c0 Alarmud::curfile, 0xd7dffffff48, 0x55b3142416b8, 0x55b31616fcd0, 0x0, 0x7c0000000000, 0x51800, 0xffffffffffffffff, 0x5b0000006e, 0x0, 0x7ffd5a4236b0, 0xa, 0xffffffff, 0x7ffd5a4236c0, 0x1, 0x7fb3f76e1993 <IO_vfscanf_internal+1763>, 0x55b31609bf80, 0x2fc2f7ddf99ec100, 0x7ffd5a423440, 0x7ffd5a4231c0, 0x1c, 0x7ffd5a423080, 0x7fb3f779afd4 <mcount+52>, 0x7fb3f782ba38 , 0x7ffd5a4237f0, 0x0, 0x0, 0x0, 0x7ffd5a423250, 0x7ffd00000000, 0x0, 0x7fb3f7a5e580 <nl_C_LC_CTYPE>, 0xc, 0x8, 0x0, 0x0, 0x7ffd5a423240, 0x0, 0x7fb300000000, 0xffffffffffffff18, 0x8ffffffff, 0x100000001, 0x7fb3f7a62560 <nl_global_locale>, 0x7ffd00000000, 0x7fb300000001, 0x2, 0x3d, 0x7ffd5a423261, 0x7fb3f76f1ee0 <funlockfile>, 0x7ffd5a4236c0, 0x0, 0x0, 0x32, 0x0, 0x1, 0x3000000020, 0x7ffd5a4238d0, 0x7ffd5a423810, 0x0, 0x55b313fed503 <Alarmud::affect_modify(Alarmud::char_data*, char, long, long, bool)+22>, 0xffffffffffffffff, 0x200000000, 0x7f005a423201, 0x55b300000000, 0x50000, 0xffffffffffffffff, 0x0, 0x0, 0x7ffd5a423880, 0xa, 0xffffffff, 0x7ffd5a423890, 0x1, 0x7fb3f76e1993 <IO_vfscanf_internal+1763>, 0xd68, 0x55b3142429f9, 0x55b3142429f0, 0x2, 0x7fb3f779afd4 <mcount+52>, 0x7ffd5a423250, 0x7fb3f779afd4 <mcount+52>, 0x7fb3f782ba38 , 0x7ffd5a4239c0, 0x0, 0x0, 0x0, 0x7ffd5a423420, 0x7ffd00000000, 0x0, 0x7fb3f7a5e580 <nl_C_LC_CTYPE>, 0xc, 0x3000000010...}
iMaxTeleportRoom = 0
PRETTY_FUNCTION = "void Alarmud::TeleportPulseStuff(long unsigned int)"
#3 0x000055b313f71c64 in Alarmud::game_loop (s=1) at /home/nebbie/Server/release/src/comm.cpp:554
null_time = {tv_sec = 0, tv_usec = 0}
lag = {r = 184}
input_set = {fds_bits = {4194304, 0 <repeats 15 times>}}
output_set = {fds_bits = {21626880, 0 <repeats 15 times>}}
exc_set = {fds_bits = {0 <repeats 16 times>}}
comm = "look\000r ora niente\000e secret?\000r evil\000la verve\000ca\000 ecc\000no un botto\000domani? mi sveglio troppo presto e secondo me faremo abbastanza tardi qui\000\222\370\263\177\000\000\000\000\000\000\000\000\000\000\340PBZ\375\177\000"
promptbuf = "$$c0007H:$$c0009731$$c0007/731 $$c0007M:358/358 V:260/260 Au:4528671 X:-349834689 $c0008[$c0007$c0015S$c0007$c0011I$c0007$c0014T$c0007D$c0008]$c0007 $$c1107*$$c0007:$$c0009*$$c0007/$$c1607*$$c0007:$$c"...
point = 0x0
next_point = 0x0
next_tick = {d = {r = 26996773007857019}}
PRETTY_FUNCTION = "void Alarmud::game_loop(int)"
#4 0x000055b313f6fb9e 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)"
#5 0x000055b313f6eb62 in Alarmud::run (port=4000, dir=0x7ffd5a4258a0 "lib") at /home/nebbie/Server/release/src/comm.cpp:264
fmt = {items
= std::vector of length 2, capacity 2 = {{argN
= 0, res
= "3.5.3-0-g88f2dec (r3.5.3)", appendix
= " rel ", fmtstate
= {width
= 0, precision
= 6, fill = 32 ' ', flags = 4098, rdstate = std::S_goodbit, exceptions = std::S_goodbit, loc = {<boost::optional_detail::optional_basestd::locale> = {boost::optional_detail::optional_tag = {}, m_initialized = false, m_storage = {dummy = {data = "eful,\n ", aligner = {}}}}, }}, truncate = 9223372036854775807, pad_scheme = 0}, {argN = 1, res = "Merge-pull-request-427-from-NebbieArcane-SetAchieFix", appendix = " ", fmtstate = {width = 0, precision = 6, fill = 32 ' ', flags = 4098, rdstate = std::S_goodbit, exceptions = std::S_goodbit, loc = {<boost::optional_detail::optional_basestd::locale> = {boost::optional_detail::optional_tag = {}, m_initialized = false, m_storage = {dummy = {data = " GNU Gen", aligner = {}}}}, }}, truncate_ = 9223372036854775807, pad_scheme_ = 0}}, bound_ = std::vector 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 >> = {}, putend_ = 0x55b316098a24 "\375\177", is_allocated_ = true, mode_ = 24, alloc_ = {<gnu_cxx::new_allocator> = {}, }}, loc = {<boost::optional_detail::optional_basestd::locale> = {boost::optional_detail::optional_tag = {}, m_initialized = false, m_storage = {dummy = {data = "\001\000\000\000\000\000\000", aligner_ = {}}}}, }}
PRETTY_FUNCTION = "int Alarmud::run(int, const char*)"
fd = 0x55b316173ea0
#6 0x000055b314063c16 in Alarmud::main (argc=6, argv=0x7ffd5a425c38) 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 = 0x55b31608ebc0, pn = {pi_ = 0x55b316097790}}, {px = 0x55b316097810, pn = {pi_ = 0x55b3160978b0}}, {px = 0x55b316097900, pn = {pi_ = 0x55b3160979d0}}, {px = 0x55b316097a60, pn = {pi_ = 0x55b316097b20}}, {px = 0x55b316097b60, pn = {pi_ = 0x55b316097c00}}, {px = 0x55b316097c40, pn = {pi_ = 0x55b316097ce0}}, {px = 0x55b316097d20, pn = {pi_ = 0x55b316097de0}}, {px = 0x55b316097e20, pn = {pi_ = 0x55b316097f00}}, {px = 0x55b316097f40, pn = {pi_ = 0x55b316098010}}, {px = 0x55b316098050, pn = {pi_ = 0x55b316098110}}, {px = 0x55b316098220, pn = {pi_ = 0x55b3160982c0}}, {px = 0x55b3160983c0, pn = {pi_ = 0x55b316098490}}, {px = 0x55b316098570, pn = {pi_ = 0x55b316098650}}}, belong_to_group = std::vector 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 = 0x55b31608ebc0, pn = {pi_ = 0x55b316097790}}, {px = 0x55b316097810, pn = {pi_ = 0x55b3160978b0}}, {px = 0x55b316097900, pn = {pi_ = 0x55b3160979d0}}, {px = 0x55b316097a60, pn = {pi_ = 0x55b316097b20}}, {px = 0x55b316097b60, pn = {pi_ = 0x55b316097c00}}, {px = 0x55b316097c40, pn = {pi_ = 0x55b316097ce0}}, {px = 0x55b316097d20, pn = {pi_ = 0x55b316097de0}}, {px = 0x55b316097e20, pn = {pi_ = 0x55b316097f00}}, {px = 0x55b316097f40, pn = {pi_ = 0x55b316098010}}, {px = 0x55b316098050, pn = {pi_ = 0x55b316098110}}, {px = 0x55b316098220, pn = {pi_ = 0x55b3160982c0}}, {px = 0x55b3160983c0, pn = {pi_ = 0x55b316098490}}, {px = 0x55b316098570, pn = {pi_ = 0x55b316098650}}}, belong_to_group = std::vector 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 = 0x55b3160772c0, pn = {pi_ = 0x55b3160987a0}}}}
vm =
PRETTY_FUNCTION = "int Alarmud::main(int, char**)"
fd = 0x55b31608e990
dbupdateflag = {_M_once = 2}
#7 0x000055b3140642f6 in main (argc=6, argv=0x7ffd5a425c38) at /home/nebbie/Server/release/src/main.cpp:165
No locals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions