rathena
rathena copied to clipboard
Program received signal SIGSEGV
- rAthena Hash: https://github.com/rathena/rathena/commit/9acb50006a7f00d55a7373143fde52933df2ffdf
- Client Date: 20211103
- Server Mode: RE
-
Description of Issue:
- Result:
- Expected Result:
- How to Reproduce: Change value on db_roulette, enable roulette on conf, reloaditemdb, reloadbattleconf, test roulette (using script open_roulette) then server crash. but normal after restart server.
- Official Information:
GDB
Program received signal SIGSEGV, Segmentation fault.
clif_roulette_info (sd=0x104c1800) at clif.cpp:20534
20534 p.ItemInfo[count].ItemId = client_nameid( rd.nameid[i][j] );
Missing separate debuginfos, use: debuginfo-install MariaDB-shared-10.2.43-1.el7.centos.x86_64 glibc-2.17-325.el7_9.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-51.el7_9.x86_64 libcom_err-1.42.9-19.el7.x86_64 libgcc-4.8.5-44.el7.x86_64 libselinux-2.5-15.el7.x86_64 libstdc++-4.8.5-44.el7.x86_64 openssl-libs-1.0.2k-25.el7_9.x86_64 pcre-8.32-17.el7.x86_64 zlib-1.2.7-19.el7_9.x86_64
(gdb) bt full
#0 clif_roulette_info (sd=0x104c1800) at clif.cpp:20534
j = 0
i = 0
count = 0
p = {PacketType = 2588, PacketLength = 512, RouletteSerial = 1, ItemInfo = {{Row = 0,
Position = 0, ItemId = 0, Count = 0, unused = 0}, {Row = 0, Position = 0,
ItemId = 6637178, Count = 0, unused = 0}, {Row = 0, Position = 0, ItemId = 0,
Count = 0, unused = 0}, {Row = 0, Position = 0, ItemId = 0, Count = 0, unused = 0}, {
Row = 253, Position = 0, ItemId = 0, Count = 52080, unused = 5272}, {Row = 0,
Position = 0, ItemId = 0, Count = 0, unused = 0}, {Row = 253, Position = 0,
ItemId = 0, Count = 0, unused = 0}, {Row = 0, Position = 0, ItemId = 253, Count = 0,
unused = 0}, {Row = 20178, Position = 101, ItemId = 0, Count = 253, unused = 0}, {
Row = 0, Position = 0, ItemId = 6640821, Count = 0, unused = 0}, {Row = 609,
Position = 37323, ItemId = 1, Count = 0, unused = 0}, {Row = 0, Position = 0,
ItemId = 4294958032, Count = 32767, unused = 0}, {Row = 52080, Position = 5272,
ItemId = 0, Count = 300, unused = 0}, {Row = 0, Position = 0, ItemId = 345557872,
Count = 0, unused = 0}, {Row = 52112, Position = 5272, ItemId = 0, Count = 1628,
unused = 37323}, {Row = 1, Position = 0, ItemId = 345557872, Count = 0, unused = 0},
{Row = 55451, Position = 105, ItemId = 0, Count = 609, unused = 37323}, {Row = 1,
Position = 0, ItemId = 4866688, Count = 0, unused = 1}, {Row = 0, Position = 0,
ItemId = 253, Count = 253, unused = 0}, {Row = 0, Position = 0, ItemId = 0,
Count = 0, unused = 0}, {Row = 15948, Position = 6033, ItemId = 0, Count = 1169,
unused = 37323}, {Row = 1, Position = 0, ItemId = 345557904, Count = 0, unused = 0},
{Row = 11904, Position = 1175, ItemId = 0, Count = 11888, unused = 1175}, {Row = 0,
Position = 0, ItemId = 0, Count = 0, unused = 0}, {Row = 52080, Position = 5272,
ItemId = 0, Count = 253, unused = 0}, {Row = 0, Position = 0, ItemId = 77016688,
Count = 0, unused = 0}, {Row = 56464, Position = 65535, ItemId = 32767,
Count = 14893, unused = 63105}, {Row = 32767, Position = 0, ItemId = 253, Count = 0,
unused = 0}, {Row = 23457, Position = 111, ItemId = 0, Count = 56296, unused = 102},
{Row = 0, Position = 0, ItemId = 33878718, Count = 0, unused = 0}, {Row = 56464,
Position = 65535, ItemId = 32767, Count = 65034, unused = 110}, {Row = 0,
Position = 0, ItemId = 395395752, Count = 0, unused = 0}, {Row = 15948,
Position = 6033, ItemId = 0, Count = 2, unused = 0}, {Row = 0, Position = 0,
ItemId = 0, Count = 253, unused = 0}, {Row = 0, Position = 0, ItemId = 0,
---Type <return> to continue, or q <return> to quit---
Count = 52112, unused = 5272}, {Row = 0, Position = 0, ItemId = 345557872,
Count = 0, unused = 0}, {Row = 609, Position = 37323, ItemId = 1, Count = 10,
unused = 0}, {Row = 0, Position = 0, ItemId = 100, Count = 1, unused = 0}, {
Row = 63386, Position = 1681, ItemId = 0, Count = 0, unused = 0}, {Row = 0,
Position = 0, ItemId = 345557872, Count = 0, unused = 0}, {Row = 17931,
Position = 101, ItemId = 0, Count = 56608, unused = 65535}, {Row = 32767,
Position = 0, ItemId = 253, Count = 0, unused = 0}}}
#1 0x000000000047f43b in clif_parse (fd=29) at clif.cpp:23580
cmd = <optimized out>
packet_len = 2
sd = 0x104c1800
pnum = 0
cmd2 = 0
#2 0x00000000006f5605 in do_sockets (next=<optimized out>) at socket.cpp:1024
rfd = {fds_bits = {536870912, 0 <repeats 15 times>}}
timeout = {tv_sec = 0, tv_usec = 12108}
ret = <optimized out>
i = 29
#3 0x000000000040eb05 in main (argc=1, argv=0x7fffffffde98) at core.cpp:382
next = <optimized out>
(gdb)
- Modifications that may affect results: