Jump to content

Recommended Posts

I have this problem:


root@localhost:~ # gdb
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd".
(gdb) set gnutarget i386-marcel-freebsd
(gdb) cd /usr/game/channel1/
Working directory /usr/game/channel1.
(gdb) file game
Reading symbols from game...done.
(gdb) core game.core
Core was generated by `game'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib32/libmd.so.5...done.
Loaded symbols for /usr/lib32/libmd.so.5
Reading symbols from /usr/lib32/libssl.so.6...done.
Loaded symbols for /usr/lib32/libssl.so.6
Reading symbols from /usr/lib32/libstdc++.so.6...done.
Loaded symbols for /usr/lib32/libstdc++.so.6
Reading symbols from /usr/lib32/libm.so.5...done.
Loaded symbols for /usr/lib32/libm.so.5
Reading symbols from /usr/lib32/libgcc_s.so.1...done.
Loaded symbols for /usr/lib32/libgcc_s.so.1
Reading symbols from /usr/lib32/libthr.so.3...done.
Loaded symbols for /usr/lib32/libthr.so.3
Reading symbols from /usr/lib32/libc.so.7...done.
Loaded symbols for /usr/lib32/libc.so.7
Reading symbols from /usr/lib32/libcrypto.so.6...done.
Loaded symbols for /usr/lib32/libcrypto.so.6
Reading symbols from /usr/lib32/libsupc++.so.1...done.
Loaded symbols for /usr/lib32/libsupc++.so.1
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::find (this=0x40, __k=@0xffff8f5c) at stl_tree.h:493
493 { return static_cast<_Link_type>(this->_M_impl._M_header._M_parent); }
[New Thread 28c0433428c05500 (LWP 100510/game)]
[New Thread 2890af4028c05200 (LWP 100506/game)]
[New Thread 28c0553428c04f00 (LWP 100505/game)]
[New Thread 28c0523428c04300 (LWP 100250/game)]
Cannot find new threads: generic error
(gdb) bt full
#0 std::_Rb_tree, std::_Select1st >, std::less, std::allocator > >::find (this=0x40, __k=@0xffff8f5c) at stl_tree.h:493
__x = 
__y = (class std::_Rb_tree_node, std::allocator >, int> > *) 0x0
#1 0x08218521 in quest::PC::GetFlag (this=0x0, name=@0xffff8f5c) at stl_map.h:542
No locals.
#2 0x0807ef3c in CHARACTER::GetDuel (this=0x3bf8f000, type=0x8455955 "BlockExchange") at char.cpp:7274
No locals.
#3 0x08137100 in CHARACTER::ExchangeStart (this=0x2eabe800, victim=0x3bf8f000, dice=0 '\0') at exchange.cpp:68
dice_system = 
#4 0x08173e4b in CInputMain::Analyze (this=0x51fbac9c, d=0x51fbac00, bHeader=, c_pData=0x477da000 "\033") at input_main.cpp:3542
ch = 0x2eabe800
iExtraLen = 
__FUNCTION__ = "Analyze"
#5 0x08159a2b in CInputProcessor::Process (this=0x51fbac9c, lpDesc=0x51fbac00, c_pvOrig=0x477da000, iBytes=32, r_iBytesProceed=@0xffff94d4) at input.cpp:103
iExtraPacketSize = 
bHeader = 27 '\033'
c_pszName = 0x46fc072c "Exchange"
c_pData = 0x477da000 "\033"
bLastHeader = 
iLastPacketLen = 0
iPacketLen = 16
__FUNCTION__ = "Process"
#6 0x0811bd53 in DESC::ProcessInput (this=0x51fbac00) at desc.cpp:303
iBytesProceed = 0
bytes_read = 32
__FUNCTION__ = "ProcessInput"
#7 0x082a6c34 in io_loop (fdw=0x28fd79a0) at main.cpp:1055
sock_buf_size = 0
ret = 0
iRet = 
num_events = 9
event_idx = 3
__FUNCTION__ = "io_loop"
#8 0x082a7661 in idle () at main.cpp:938
now = {tv_sec = 1538441850, tv_usec = 919132}
passed_pulses = 
t = 1691959
pta = {tv_sec = 1538441850, tv_usec = 38112}
process_time_count = 22
#9 0x082a8d9d in main (argc=1, argv=0xffffcc24) at main.cpp:578
sectree_manager = {> = {_vptr$singleton = 0x847fc20, static ms_singleton = 0xffff9920}, static current_sectree_version = 768,
m_map_pkSectree = {_M_t = {
---Type to continue, or q to quit---

 

Link to comment
https://metin2.dev/topic/19636-crash-core-plz-help/
Share on other sites

Acum 15 ore, WeedHex a spus:

#1 0x08218521 in quest::PC::GetFlag (this=0x0, name=@0xffff8f5c) at stl_map.h:542
 

BOOM

Now i have this

root@localhost:~ # cd /usr/game/channel1/
root@localhost:/usr/game/channel1 # gdb
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd".
(gdb) set gnutarget i386-marcel-freebsd
(gdb) file game
Reading symbols from game...done.
(gdb) core game.core
Core was generated by `game'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib32/libmd.so.5...done.
Loaded symbols for /usr/lib32/libmd.so.5
Reading symbols from /usr/lib32/libssl.so.6...done.
Loaded symbols for /usr/lib32/libssl.so.6
Reading symbols from /usr/lib32/libstdc++.so.6...done.
Loaded symbols for /usr/lib32/libstdc++.so.6
Reading symbols from /usr/lib32/libm.so.5...done.
Loaded symbols for /usr/lib32/libm.so.5
Reading symbols from /usr/lib32/libgcc_s.so.1...done.
Loaded symbols for /usr/lib32/libgcc_s.so.1
Reading symbols from /usr/lib32/libthr.so.3...done.
Loaded symbols for /usr/lib32/libthr.so.3
Reading symbols from /usr/lib32/libc.so.7...done.
Loaded symbols for /usr/lib32/libc.so.7
Reading symbols from /usr/lib32/libcrypto.so.6...done.
Loaded symbols for /usr/lib32/libcrypto.so.6
Reading symbols from /usr/lib32/libsupc++.so.1...done.
Loaded symbols for /usr/lib32/libsupc++.so.1
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x2896a673 in thr_kill () from /usr/lib32/libc.so.7
[New Thread 28c0433428c05500 (LWP 100178/game)]
[New Thread 2890af4028c05200 (LWP 100174/game)]
[New Thread 28c0553428c04f00 (LWP 100173/game)]
[New Thread 28c0523428c04300 (LWP 100132/game)]
Cannot find new threads: generic error
(gdb) bt full
#0  0x2896a673 in thr_kill () from /usr/lib32/libc.so.7
No symbol table info available.
#1  0x288fe9a6 in pthread_sigmask () from /usr/lib32/libthr.so.3
No symbol table info available.
#2  0x288ff1db in raise () from /usr/lib32/libthr.so.3
No symbol table info available.
#3  0x28a147da in abort () from /usr/lib32/libc.so.7
No symbol table info available.
#4  0x08447ffa in checkpointing (sig=Could not find the frame base for "checkpointing(int)".
) at signal.c:30
        __FUNCTION__ = "checkpointing"
#5  0x288febf0 in pthread_sigmask () from /usr/lib32/libthr.so.3
No symbol table info available.
#6  0x288fed4c in pthread_sigmask () from /usr/lib32/libthr.so.3
No symbol table info available.
#7  0x288ff785 in sigaction () from /usr/lib32/libthr.so.3
No symbol table info available.
#8  0x28902245 in pthread_kill () from /usr/lib32/libthr.so.3
No symbol table info available.
#9  0x28758d7d in dlsym () from /libexec/ld-elf.so.1
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)

 

Link to comment
https://metin2.dev/topic/19636-crash-core-plz-help/#findComment-106890
Share on other sites

I fixed!

Now i have this error:

ch1 

SYSERR: Oct  3 13:35:12 :: Process: UNKNOWN HEADER: 126, LAST HEADER: 0(0), REMAIN BYTES: 258, fd: 18
SYSERR: Oct  3 13:36:58 :: GetQuestFlag: Nullpointer in CHARACTER::GetQuestFlag 0
SYSERR: Oct  3 13:36:58 :: GetQuestFlag: Nullpointer in CHARACTER::GetQuestFlag 0
SYSERR: Oct  3 13:36:58 :: GetQuestFlag: Nullpointer in CHARACTER::GetQuestFlag 0
SYSERR: Oct  3 13:36:58 :: GetQuestFlag: Nullpointer in CHARACTER::GetQuestFlag 0
SYSERR: Oct  3 13:36:58 :: GetQuestFlag: Nullpointer in CHARACTER::GetQuestFlag 0
SYSERR: Oct  3 13:36:58 :: GetQuestFlag: Nullpointer in CHARACTER::GetQuestFlag 0
SYSERR: Oct  3 13:36:58 :: GetQuestFlag: Nullpointer in CHARACTER::GetQuestFlag 0
SYSERR: Oct  3 13:36:58 :: GetQuestFlag: Nullpointer in CHARACTER::GetQuestFlag 0
SYSERR: Oct  3 13:36:58 :: GetQuestFlag: Nullpointer in CHARACTER::GetQuestFlag 0
SYSERR: Oct  3 13:36:58 :: GetQuestFlag: Nullpointer in CHARACTER::GetQuestFlag 0
SYSERR: Oct  3 13:40:39 :: checkpointing: CHECKPOINT shutdown: tics did not updated.

db: 

SYSERR: Oct  3 11:31:29 :: DirectQuery: AsyncSQL::DirectQuery : mysql_query error: Table 'account.block_exception' doesn't exist
query: SELECT login FROM block_exception
SYSERR: Oct  3 11:31:29 :: Load:  DirectQuery failed(SELECT login FROM block_exception)
SYSERR: Oct  3 12:44:33 :: ChildLoop: AsyncSQL: query failed: Duplicate entry '10354' for key 'PRIMARY' (query: INSERT INTO safebox  (account_id, size) VALUES(10354, 1) errno: 1062)
SYSERR: Oct  3 13:40:50 :: Process: FDWATCH: peer null in event: ident 21

game.core (CH1)

root@localhost:~ # cd /usr/game/channel1/
root@localhost:/usr/game/channel1 # gdb
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd".
(gdb) set gnutarget i386-marcel-freebsd
(gdb) file game
Reading symbols from game...done.
(gdb) core game.core
Core was generated by `game'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/lib32/libmd.so.5...done.
Loaded symbols for /usr/lib32/libmd.so.5
Reading symbols from /usr/lib32/libssl.so.6...done.
Loaded symbols for /usr/lib32/libssl.so.6
Reading symbols from /usr/lib32/libstdc++.so.6...done.
Loaded symbols for /usr/lib32/libstdc++.so.6
Reading symbols from /usr/lib32/libm.so.5...done.
Loaded symbols for /usr/lib32/libm.so.5
Reading symbols from /usr/lib32/libgcc_s.so.1...done.
Loaded symbols for /usr/lib32/libgcc_s.so.1
Reading symbols from /usr/lib32/libthr.so.3...done.
Loaded symbols for /usr/lib32/libthr.so.3
Reading symbols from /usr/lib32/libc.so.7...done.
Loaded symbols for /usr/lib32/libc.so.7
Reading symbols from /usr/lib32/libcrypto.so.6...done.
Loaded symbols for /usr/lib32/libcrypto.so.6
Reading symbols from /usr/lib32/libsupc++.so.1...done.
Loaded symbols for /usr/lib32/libsupc++.so.1
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x2896a673 in thr_kill () from /usr/lib32/libc.so.7
[New Thread 28c0433428c05500 (LWP 100178/game)]
[New Thread 2890af4028c05200 (LWP 100174/game)]
[New Thread 28c0553428c04f00 (LWP 100173/game)]
[New Thread 28c0523428c04300 (LWP 100132/game)]
Cannot find new threads: generic error
(gdb) bt full
#0 0x2896a673 in thr_kill () from /usr/lib32/libc.so.7
No symbol table info available.
#1 0x288fe9a6 in pthread_sigmask () from /usr/lib32/libthr.so.3
No symbol table info available.
#2 0x288ff1db in raise () from /usr/lib32/libthr.so.3
No symbol table info available.
#3 0x28a147da in abort () from /usr/lib32/libc.so.7
No symbol table info available.
#4 0x08447ffa in checkpointing (sig=Could not find the frame base for "checkpointing(int)".
) at signal.c:30
__FUNCTION__ = "checkpointing"
#5 0x288febf0 in pthread_sigmask () from /usr/lib32/libthr.so.3
No symbol table info available.
#6 0x288fed4c in pthread_sigmask () from /usr/lib32/libthr.so.3
No symbol table info available.
#7 0x288ff785 in sigaction () from /usr/lib32/libthr.so.3
No symbol table info available.
#8 0x28902245 in pthread_kill () from /usr/lib32/libthr.so.3
No symbol table info available.
#9 0x28758d7d in dlsym () from /libexec/ld-elf.so.1
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)

Something....

ch1 sysser more:

SYSERR: Oct  3 12:50:14 :: Click: CQuestManager::Click(pid=10436, target_npc_name=Nakajima) - NOT EXIST NPC RACE VNUM[20364]
SYSERR: Oct  3 12:54:58 :: Cube_request_material_info: [CubeInfo] Too long material info. (NPC: 9010, requestStart: 7, requestCount: 1, length: 18)
SYSERR: Oct  3 12:55:15 :: Process: SEQUENCE 503cc400 mismatch 0x77 != 0xc0 header 12
SYSERR: Oct  3 12:55:15 :: Process: SEQUENCE_LOG [ArDM]-------------
	[002 : 0x50]
	[002 : 0xed]
	[002 : 0x7a]
	[007 : 0xd7]
	[002 : 0x2b]
	[002 : 0xf5]
	[002 : 0xeb]
	[002 : 0xe1]
	[002 : 0x2d]
	[002 : 0xbf]
	[002 : 0xda]
	[002 : 0x19]
	[002 : 0x42]
	[002 : 0x46]
	[002 : 0xa3]
	[002 : 0x60]
	[002 : 0x71]
	[002 : 0xc]
	[002 : 0x8d]
	[002 : 0x9c]
	[012 : 0x77]

I pay 4 it!

Link to comment
https://metin2.dev/topic/19636-crash-core-plz-help/#findComment-106893
Share on other sites

  • Premium

Crashcore

 

In account create a table named block_exception 

SET FOREIGN_KEY_CHECKS=0;

DROP TABLE IF EXISTS `block_exception`;
CREATE TABLE `block_exception` (
  `login` int(11) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=big5;

GetQuestflag crash core fix https://metin2.download/picture/1Ns0fQzdtZ53gM8XK5Qop755bkK3HWRF/.jpg

And disable sequence.

Edited by Metin2 Dev
Core X - External 2 Internal
  • Love 1
Link to comment
https://metin2.dev/topic/19636-crash-core-plz-help/#findComment-106897
Share on other sites

  • Premium

RETSIGTYPE checkpointing(int sig)
{
    if (!tics) 
    {
        sys_log("SYSERR: CHECKPOINT shutdown: tics did not updated.");
        abort();
    } else
        tics = 0;
}

 

RETSIGTYPE checkpointing(int sig)
{
    if (!tics)
    {
        sys_err("CHECKPOINT shutdown: tics did not updated.");
        if (bCheckpointCheck)
            abort();
    }
    else
        tics = 0;
}

 

 

Be carefull abort();

  • Love 1
Link to comment
https://metin2.dev/topic/19636-crash-core-plz-help/#findComment-106900
Share on other sites

Acum 1 oră, WeedHex a spus:

RETSIGTYPE checkpointing(int sig)
{
    if (!tics) 
    {
        sys_log("SYSERR: CHECKPOINT shutdown: tics did not updated.");
        abort();
    } else
        tics = 0;
}

 

RETSIGTYPE checkpointing(int sig)
{
    if (!tics)
    {
        sys_err("CHECKPOINT shutdown: tics did not updated.");
        if (bCheckpointCheck)
            abort();
    }
    else
        tics = 0;
}

 

 

Be carefull abort();

Fix it,

Now game.core

root@localhost:~ # cd /usr/game/channel1/
root@localhost:/usr/game/channel1 # gdb
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd".
(gdb) set gnutarget i386-marcel-freebsd
(gdb) file game
Reading symbols from game...done.
(gdb) core game.core
Core was generated by `game'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib32/libmd.so.5...done.
Loaded symbols for /usr/lib32/libmd.so.5
Reading symbols from /usr/lib32/libssl.so.6...done.
Loaded symbols for /usr/lib32/libssl.so.6
Reading symbols from /usr/lib32/libstdc++.so.6...done.
Loaded symbols for /usr/lib32/libstdc++.so.6
Reading symbols from /usr/lib32/libm.so.5...done.
Loaded symbols for /usr/lib32/libm.so.5
Reading symbols from /usr/lib32/libgcc_s.so.1...done.
Loaded symbols for /usr/lib32/libgcc_s.so.1
Reading symbols from /usr/lib32/libthr.so.3...done.
Loaded symbols for /usr/lib32/libthr.so.3
Reading symbols from /usr/lib32/libc.so.7...done.
Loaded symbols for /usr/lib32/libc.so.7
Reading symbols from /usr/lib32/libcrypto.so.6...done.
Loaded symbols for /usr/lib32/libcrypto.so.6
Reading symbols from /usr/lib32/libsupc++.so.1...done.
Loaded symbols for /usr/lib32/libsupc++.so.1
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  CHARACTER::GetQuestFlag (this=0x0, flag=@0xffff9244) at char.cpp:7149
7149    char.cpp: No such file or directory.
        in char.cpp
[New Thread 28c0433428c05500 (LWP 100223/game)]
[New Thread 2890af4028c05200 (LWP 100219/game)]
[New Thread 28c0553428c04f00 (LWP 100218/game)]
[New Thread 28c0523428c04300 (LWP 100063/game)]
Cannot find new threads: generic error
(gdb) bt full
#0  CHARACTER::GetQuestFlag (this=0x0, flag=@0xffff9244) at char.cpp:7149
        pPC = <value optimized out>
        __FUNCTION__ = "GetQuestFlag"
#1  0x081bb3d1 in pvp_check_disconnect (event=@0xffff94ec, processing_time=25)
    at pvp.cpp:69
        szTableStaticPvP = {0x8455867 "pvp.BlockChangeItem",
  0x845587b "pvp.BlockBuff", 0x8455889 "pvp.BlockPotion",
  0x8455899 "pvp.BlockRide", 0x84558a7 "pvp.BlockPet",
  0x84558b4 "pvp.BlockPoly", 0x84558c2 "pvp.BlockParty",
  0x84558d1 "pvp.BlockExchange", 0x84558e3 "pvp.BetMoney",
  0x84558f0 "pvp.IsFight"}
        betMoney = <value optimized out>
        buf = "\000\b\223▒▒+▒\021\b`y=)▒4\t\000l\232\004\000\000\000\000\000yP▒r                                                                                        ▒▒▒▒▒▒▒▒\001\000\000\000@▒▒▒\020\223▒▒\002\000\000\000▒\235\227\000\232ZI\226r\t                                                                                        ▒▒k\033▒(t▒▒(\r\000\000\000\r\000\000\000(\223▒▒S\035▒(\001\000\000\000\000\210▒                                                                                        ql\000\000\000\000\210▒qb.▒[▒tδ)▒▒\031t▒▒(h\223▒▒\r\000\000\000H\223▒▒L\\\237(\r                                                                                        \000\000\000h\223▒▒.\224▒▒t▒▒(\000\000\000\000▒\001\000\000x\223▒▒▒V\237(\r\000\                                                                                        000\000h\223▒▒c▒h\215\n\000\000\000\000\200▒4\000\200▒4▒\223▒▒*\213\025"...
        chA = 0x0
        chB = 0x0
        __FUNCTION__ = "pvp_check_disconnect"
#2  0x08134521 in event_process (pulse=551581) at event.cpp:140
        pElem = <value optimized out>
---Type <return> to continue, or q <return> to quit---
 

 

Link to comment
https://metin2.dev/topic/19636-crash-core-plz-help/#findComment-106902
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.