Jump to content

Can't start server after upgrade to gcc49


Recommended Posts

  • Management

Hello

After upgrading from gcc to gcc49 I can't start the server...

db starts, auth starts, channel1/first starts (doesn't have any kind o map, maps start at channel1/game1)

gdb:

Spoiler

root@source:~ # gdb /usr/home/game/share/bin/game /usr/home/game/cores/channel1/game1/game.core
GNU gdb (GDB) 7.12 [GDB v7.12 for FreeBSD]
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 "i386-portbld-freebsd9.3".
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 /usr/home/game/share/bin/game...done.
[New LWP 100130]
[New LWP 100136]
[New LWP 100134]
[New LWP 100133]
Core was generated by `game'.
Program terminated with signal SIGBUS, Bus error.
#0  lzo1x_decompress_safe (in=0xbfbe93e8 "\005\001", in_len=469, out=0x2b184000 "\001", out_len=0xbfbfa488, wrkmem=0x28ca0000) at minilzo.c:2875
2875                                            COPY4(op,m_pos);
[Current thread is 1 (LWP 100130)]
(gdb) bt
#0  lzo1x_decompress_safe (in=0xbfbe93e8 "\005\001", in_len=469, out=0x2b184000 "\001", out_len=0xbfbfa488, wrkmem=0x28ca0000) at minilzo.c:2875
#1  0x0818aadd in LZOManager::Decompress (this=0xbfbfb410, src=src@entry=0xbfbe93e8 "\005\001", srcsize=469, dest=0x2b184000 "\001", puiDestSize=puiDestSize@entry=0xbfbfa488) at lzo_manager.cpp:34
#2  0x08212a8b in SECTREE_MANAGER::LoadAttribute (this=this@entry=0xbfbfb8dc, pkMapSectree=pkMapSectree@entry=0x2b3338c0, c_pszFileName=c_pszFileName@entry=0xbfbfa51b "locale/portugal/map/metin2_map_a1/server_attr", r_setting=...)
    at sectree_manager.cpp:525
#3  0x08218784 in SECTREE_MANAGER::Build (this=0xbfbfb8dc, c_pszListFileName=c_pszListFileName@entry=0xbfbfad7c "locale/portugal/map/index", c_pszMapBasePath=0x28c0d46c "locale/portugal/map") at sectree_manager.cpp:806
#4  0x0815a6b0 in CInputDB::Boot (this=this@entry=0x293ceb48, data=<optimized out>, data@entry=0x2a800009 "l\377#") at input_db.cpp:1143
#5  0x0815ba9c in CInputDB::Analyze (this=0x293ceb48, d=0x293ce600, bHeader=43 '+', c_pData=0x2a800009 "l\377#") at input_db.cpp:2499
#6  0x0815484f in CInputDB::Process (this=0x293ceb48, d=d@entry=0x293ce600, orig=0x2a800000, bytes=bytes@entry=2360275, r_iBytesProceed=@0xbfbfb2e8: 0) at input_db.cpp:2910
#7  0x08115cc9 in DESC::ProcessInput (this=0x293ce600) at desc.cpp:313
#8  0x08290e95 in io_loop (fdw=0x293f8580) at main.cpp:1143
#9  0x08290fc7 in idle () at main.cpp:1030
#10 0x08056425 in main (argc=1, argv=0xbfbfed1c) at main.cpp:676
(gdb) bt full
#0  lzo1x_decompress_safe (in=0xbfbe93e8 "\005\001", in_len=469, out=0x2b184000 "\001", out_len=0xbfbfa488, wrkmem=0x28ca0000) at minilzo.c:2875
        op = <optimized out>
        ip = 0xbfbe94e9 " "
        t = <optimized out>
        m_pos = <optimized out>
        ip_end = 0xbfbe95bd ""
        op_end = 0x2b1c810c ""
#1  0x0818aadd in LZOManager::Decompress (this=0xbfbfb410, src=src@entry=0xbfbe93e8 "\005\001", srcsize=469, dest=0x2b184000 "\001", puiDestSize=puiDestSize@entry=0xbfbfa488) at lzo_manager.cpp:34
        ret = <optimized out>
#2  0x08212a8b in SECTREE_MANAGER::LoadAttribute (this=this@entry=0xbfbfb8dc, pkMapSectree=pkMapSectree@entry=0x2b3338c0, c_pszFileName=c_pszFileName@entry=0xbfbfa51b "locale/portugal/map/metin2_map_a1/server_attr", r_setting=...)
    at sectree_manager.cpp:525
        tree = 0x2b333e00
        x = 1
        y = <optimized out>
        fp = <optimized out>
        __FUNCTION__ = "LoadAttribute"
        maxMemSize = <optimized out>
        abComp = 0xbfbe93e8 "\005\001"
        iWidth = 16
        iHeight = 20
        uiSize = 469
        uiDestSize = 0
#3  0x08218784 in SECTREE_MANAGER::Build (this=0xbfbfb8dc, c_pszListFileName=c_pszListFileName@entry=0xbfbfad7c "locale/portugal/map/index", c_pszMapBasePath=0x28c0d46c "locale/portugal/map") at sectree_manager.cpp:806
        pkMapSectree = 0x2b3338c0
        setting = {iIndex = 1, iCellScale = 200, iBaseX = 409600, iBaseY = 896000, iWidth = 102400, iHeight = 128000, posSpawn = {x = 469300, y = 964200, z = 0}}
        fp = 0x288d2448
        buf = "1 metin2_map_a1\000\000\260%\301(H\247\277\277\203\247\277\277`\020\215(\207\036\210(`\020\215(\203\247\277\277\320W\213(\257W\213(\017\000\000\000\020\000\000\000\f\000\000\000\240\363x(\313\247\277\277`\020\215(\t\000\000\000_a\212(\003\000\000\000\000@\001)N\000\000\000t\245\213(\000\000\000\000t\245\213(\310\247\277\277\t`\212(\300\037\215(\000@\001)N\000\000\000\240\363x(\030 \215(\032\000\000\000[l\211(t\245\213(\000\000\000\000\"\207\001\000\000\000\000\000t\245\213(\300\037\215(\300\037\215(\350\247\277\277\021V\212(\030 \215(\000@\001)N\000\000\000t\245\213(t\245\213"...
        szFilename = "locale/portugal/map/metin2_map_a1/server_attr\000\377\377\377\000\000\000\000\347\377\377\377\377\377\377\377", '\000' <repeats 12 times>, "\377\377\377\377\360Q\026rt\245\213\000\354\245\277\277\330\247\277\277\230\245\277\277\215Z\210(\354\245\277\277\300\313\213(\274\242\212(\330\245\277\277IZ\210(t\245\213(\310\245\277\277>K\210(\354\245\061\071\274\242\212(\330\245\277\277\360Q\026r\000\000\000)@\031\203\b[l\211(t\245\213(\300\313\213(\203\247\277\277\300\037\215(\330\245\277\277\000\000\000\000\000\000\000\000\300\037\215(\350\245\277\277\000\000\000\000\000\000\000\000"...
        __FUNCTION__ = "Build"
        szMapName = "metin2_map_a1", '\000' <repeats 36 times>, "\030\250\277\277", '\000' <repeats 12 times>, "H\250\277\277", '\000' <repeats 120 times>, "\360Q\026rt\245\213(\203\247\277\277"...
        iIndex = 1
#4  0x0815a6b0 in CInputDB::Boot (this=this@entry=0x293ceb48, data=<optimized out>, data@entry=0x2a800009 "l\377#") at input_db.cpp:1143
        dwPacketSize = <optimized out>
        __FUNCTION__ = "Boot"
        ChunkSize = <optimized out>
        p = <optimized out>
        szSpecialItemGroupFileName = "locale/portugal/special_item_group.txt\000\000\000\000\000\000R\256\277\277\002\000\000\000[\255\277\277\r\000\000\000u\a\213(\000\020t(", '\000' <repeats 12 times>, "\204k\213(\250\255\277\277\f\256\277\277\320W\213(\f\256\277\277\f\256\277\277dk\213(\304\257\277\277tk\213(\000\000\000\000\030\000\000\000\a\000\000\000\031\000\000\000\204\261\277\277HW\213(\300\313\213(\020\260\277\277\r\000\000\000\000\000\000\000?\255\277\277\004\000\000\000kW\213(\353\261\277\277\004\000\000\000\031\000\000\000\004\000\000\000\364\037\213(\001\000\000\000t\245\213(\000\000\000\000"...
        rangespare = <optimized out>
        szMapIndexFileName = "locale/portugal/map/index\000\377\377\060\361\277\277\001\000\000\000@\360\277\277\340\255\277\277\003\000\000\000\063K\000\000\276\261\351v^\314X\212[\n\212(t\245\213(\r\000\000\000@\360\277\277\370\255\277\277C\f\212(t\245\213(\000\000\000\000\370\255\277\277lg\211(\307\243BY\366d\370`\301\276`\260t\245\213(8\256\277\277\r\000\000\000\030\256\277\277\274I\210(\r\000\000\000\004\000\000\000\004\000\000\000JJ\212(\026@\001)\a\000\000\000\a\000\000\000JJ\212(B@\001)\255\261\277\277\a\000\000\000\000\260\277\277\000\000\000\000\000\000\000\000\255\261\277\277\030\260\277\277\000\000\000\000\000\000\000\000"...
        szItemVnumMaskTableFileName = "locale/portugal/ori_to_new_table.txt\000\200\000\000\000@\002)\375\377\377\177\204k\213(\210\257\277\277\377\377\377\177\000\000\000\000\230O\212(\n\000\000\000\320\256\277\277\244\261\277\277\000\000\000\000F\000\000\000$\017a\000\244\201\001\000\000\000\000\000\351\003\000\000\000\000\000\000\353\340\201(t\245\213(\000\200\000\000\220!\215(8\257\277\277Y\b\202(", '\000' <repeats 17 times>, "\200\000\000\000\000\000\000\067\216\354l\000\000\000\000\307\243BY\000\000\000\000\000\000\000\000t\245\213(\220!\215(\002\000\000\000\002\000\000\000JJ\212(m@\002)"...
        adminsize = <optimized out>
        szDropItemGroupFileName = "locale/portugal/drop_item_group.txt", '\000' <repeats 13 times>, "\200\000\000\000\300\242\212(R\256\277\277\200\000\000\000\002\000\000\000\002\000\000\000\364\037\213(\001\000\000\000\002", '\000' <repeats 15 times>, "\021\000\000\000\375\377\377\377\000\000\000\000\000\000\000\000\377\377\377\377\002\000\000\000\002\000\000\000\000\000\000\000\002", '\000' <repeats 19 times>, "\375\377\377\377", '\000' <repeats 16 times>, "\001\000\000\000\347\377\377\177\265G\212(\273\261\277\277kW\213(\001", '\000' <repeats 15 times>...
        CandidacyCount = <optimized out>
        szDragonSoulTableFileName = "locale/portugal/dragon_soul_table.txt\000\000\000\060\361\277\277\274\242\212(\370\257\277\277IZ\210(t\245\213(\350\257\277\277>K\210(\f\260\061\067\274\242\212(\370\257\277\277\360Q\026r\300\313\213(\223\261\277\277[l\211(\204k\213(\270\260\277\277\034\261\277\277\300\037\215(\370\257\277\277\034\261\277\277dk\213(\324\262\277\277\b\260\277\277\000\000\000\000o\000\000\000IlX\bm\000\000\000\234\263\277\277@\024G\b\300\313\213(\220!\215(\243\261\277\277\377\377\377\177\000\000\000\000\000\000\000\000\256\024G\b\322\262\277\277\000\000\000\000o\000\000\000\000\000\000\000"...
        range = <optimized out>
        HostSize = <optimized out>
        CandidacySize = <optimized out>
        szCommonDropItemFileName = "locale/portugal/common_drop_item.txt\000\000\000\000\364\037\213(\001\000\000\000t\245\213(\000\000\000\000\001\000\000\000\000\000\000\000\a\000\000\000\230\251\277\277\374\251\277\277\000\000\000\000---Type <return> to continue, or q <return> to quit---q
Quit
(gdb)

 

I have no errors while compiling the game...

Thanks

raw

raw

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.