Jump to content
  • 0
MikZ

MAP CRASHES

Question

Hi! I've been having MAP-CRASHES


and here's the crash logs, how will i determine the cause of it? and fix it?
Please help me please.

thank you!

 

$ cd Hercules
$ gdb map-server core.10366
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-83.el6)
Copyright © 2010 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 "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/trans/Hercules/map-server...done.
[New Thread 10366]
[New Thread 10368]

warning: Ignoring non-absolute filename: <plugins/HPMHooking_map.so>
Missing separate debuginfo for plugins/HPMHooking_map.so
Try: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/eb/f0e8916e1f5e9608e36a9183eba045de3543ef

warning: Ignoring non-absolute filename: <plugins/statusmes.so>
Missing separate debuginfo for plugins/statusmes.so
Try: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/19/32f902ff2cd7a9ecac26870da89c0415da91d9

warning: Ignoring non-absolute filename: <plugins/chat_timestamp.so>
Missing separate debuginfo for plugins/chat_timestamp.so
Try: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/e9/2484a263d9acc00f16350427297fc3453886b5

warning: Ignoring non-absolute filename: <plugins/fcp_bypass.so>
Missing separate debuginfo for plugins/fcp_bypass.so
Try: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/84/04c52af2600a3476776dd657c15889deba5f72

warning: Ignoring non-absolute filename: <plugins/security.so>
Missing separate debuginfo for plugins/security.so
Try: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/f8/d98369df41fea64ed97aa49edf74e507e07ebf

warning: Ignoring non-absolute filename: <plugins/autoattack.so>
Missing separate debuginfo for plugins/autoattack.so
Try: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/cc/74efa1e462c65c56723f720ad836d86e45273c

warning: Ignoring non-absolute filename: <plugins/whosell.so>
Missing separate debuginfo for plugins/whosell.so
Try: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/68/738ee9d2c301608fafe9648086df0202f69fe5
Missing separate debuginfo for
Try: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/e1/d673a7b29794ead2d30095cd97d9ce31c02c38
Reading symbols from /lib64/libpcre.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libpcre.so.0
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/lib64/mysql/libmysqlclient.so.16...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/mysql/libmysqlclient.so.16
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /usr/lib64/libssl.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssl.so.10
Reading symbols from /usr/lib64/libcrypto.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libcrypto.so.10
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libfreebl3.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libfreebl3.so
Reading symbols from /lib64/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgssapi_krb5.so.2
Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5.so.3
Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libk5crypto.so.3
Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from plugins/HPMHooking_map.so...done.
Loaded symbols for plugins/HPMHooking_map.so
Reading symbols from plugins/statusmes.so...done.
Loaded symbols for plugins/statusmes.so
Reading symbols from plugins/chat_timestamp.so...done.
Loaded symbols for plugins/chat_timestamp.so
Reading symbols from plugins/fcp_bypass.so...done.
Loaded symbols for plugins/fcp_bypass.so
Reading symbols from plugins/security.so...done.
Loaded symbols for plugins/security.so
Reading symbols from plugins/autoattack.so...done.
Loaded symbols for plugins/autoattack.so
Reading symbols from plugins/whosell.so...done.
Loaded symbols for plugins/whosell.so
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_files.so.2

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff93600000
Core was generated by `./map-server'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000590d59 in pop_stack (st=0x7f6a35ce4b94, start=0, end=0)
    at script.c:3542
3542            struct script_stack* stack = st->stack;
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.166.el6_7.3.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-42.el6.x86_64 libcom_err-1.41.12-22.el6.x86_64 libselinux-2.0.94-5.8.el6.x86_64 mysql-libs-5.1.73-5.el6_6.x86_64 nss-softokn-freebl-3.14.3-23.el6_7.x86_64 openssl-1.0.1e-42.el6.x86_64 pcre-7.8-7.el6.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt full
#0  0x0000000000590d59 in pop_stack (st=0x7f6a35ce4b94, start=0, end=0)
    at script.c:3542
        stack = 0x0
        data = <value optimized out>
        i = <value optimized out>
        __func__ = "pop_stack"
#1  0x00000000005859dd in run_func (st=0x7f6a35ce4b94) at script.c:4215
        data = <value optimized out>
        i = <value optimized out>
        start_sp = <value optimized out>
        end_sp = <value optimized out>
        func = 235
#2  0x00000000005981c0 in run_script_main (st=0x7f6a35ce4b94) at script.c:4450
        c = C_FUNC
        cmdcount = 655351
        gotocount = 2048
        sd = <value optimized out>
        stack = 0x7f6a32a69ab4
        nd = <value optimized out>
#3  0x0000000000563a32 in run_script_timer (tid=<value optimized out>,
    tick=<value optimized out>, id=151632, data=<value optimized out>)
    at script.c:4301
        sd = <value optimized out>
---Type <return> to continue, or q <return> to quit---

 

Share this post


Link to post
Share on other sites

8 answers to this question

Recommended Posts

  • 0

So, you are using Debian.

Did you compiled your server before running it?

Share this post


Link to post
Share on other sites
  • 0

So, you are using Debian.

Did you compiled your server before running it?

im using centos

 

yup. i did make clean && make all && ./configure

Share this post


Link to post
Share on other sites
  • 0

Well, first of all, 

./configure should go first in this... body of commands

 

then are you using the latest rev?

Share this post


Link to post
Share on other sites
  • 0

This is probably known issue.

Mostly this happens if there's autotrader near npc having OnTouch label

Share this post


Link to post
Share on other sites
  • 0

Well, first of all,

./configure should go first in this... body of commands

 

then are you using the latest rev?

I also did that ./configure && make clean && make all. Still the same

 

Im using the latest just downloaded yesterday.

 

@dastgir: i see. So how will i fix this? /sob

Share this post


Link to post
Share on other sites
  • 0

Figure out where npc with OnTouch and vendors are near, mark those cells as novending cells

Share this post


Link to post
Share on other sites
  • 0

Figure out where npc with OnTouch and vendors are near, mark those cells as novending cells

Hi dastgir I don't have OnTouch npc onlye OnTalk . is that make sense? hehe

 

im still getting this crashes and getting worse

 

 

GNU gdb (GDB) Red Hat Enterprise Linux (7.2-83.el6)
Copyright © 2010 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 "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/trans/Hercules/map-server...done.
[New Thread 13756]
[New Thread 13758]
Missing separate debuginfo for
Try: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/e1/d673a7b29794ead2d30095cd97d9ce31c02c38
Reading symbols from /lib64/libpcre.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libpcre.so.0
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/lib64/mysql/libmysqlclient.so.16...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/mysql/libmysqlclient.so.16
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /usr/lib64/libssl.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssl.so.10
Reading symbols from /usr/lib64/libcrypto.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libcrypto.so.10
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libfreebl3.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libfreebl3.so
Reading symbols from /lib64/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgssapi_krb5.so.2
Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5.so.3
Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libk5crypto.so.3
Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_files.so.2

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fff45200000
Core was generated by `./map-server'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000590d59 in pop_stack (st=0x7f2b5992e1c4, start=0, end=0)
    at script.c:3542
3542            struct script_stack* stack = st->stack;
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.166.el6_7.3.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-42.el6.x86_64 libcom_err-1.41.12-22.el6.x86_64 libselinux-2.0.94-5.8.el6.x86_64 mysql-libs-5.1.73-5.el6_6.x86_64 nss-softokn-freebl-3.14.3-23.el6_7.x86_64 openssl-1.0.1e-42.el6.x86_64 pcre-7.8-7.el6.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt full
#0  0x0000000000590d59 in pop_stack (st=0x7f2b5992e1c4, start=0, end=0)
    at script.c:3542
        stack = 0x0
        data = <value optimized out>
        i = <value optimized out>
        __func__ = "pop_stack"
#1  0x00000000005859dd in run_func (st=0x7f2b5992e1c4) at script.c:4215
        data = <value optimized out>
        i = <value optimized out>
        start_sp = <value optimized out>
        end_sp = <value optimized out>
        func = 234
#2  0x00000000005981c0 in run_script_main (st=0x7f2b5992e1c4) at script.c:4450
        c = C_FUNC
        cmdcount = 655351
        gotocount = 2048
        sd = <value optimized out>
        stack = 0x7f2b577c38cc
        nd = <value optimized out>
#3  0x0000000000563a32 in run_script_timer (tid=<value optimized out>,
    tick=<value optimized out>, id=150945, data=<value optimized out>)
    at script.c:4301
        sd = <value optimized out>
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) quit


GNU gdb (GDB) Red Hat Enterprise Linux (7.2-83.el6)
Copyright © 2010 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 "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/trans/Hercules/map-server...done.
[New Thread 13223]
[New Thread 13225]
Missing separate debuginfo for
Try: yum --enablerepo='*-debug*' install /usr/lib/debug/.build-id/e1/d673a7b29794ead2d30095cd97d9ce31c02c38
Reading symbols from /lib64/libpcre.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libpcre.so.0
Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/librt.so.1
Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libm.so.6
Reading symbols from /lib64/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libz.so.1
Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libdl.so.2
Reading symbols from /usr/lib64/mysql/libmysqlclient.so.16...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/mysql/libmysqlclient.so.16
Reading symbols from /lib64/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcrypt.so.1
Reading symbols from /lib64/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnsl.so.1
Reading symbols from /usr/lib64/libssl.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libssl.so.10
Reading symbols from /usr/lib64/libcrypto.so.10...(no debugging symbols found)...done.
Loaded symbols for /usr/lib64/libcrypto.so.10
Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib64/libc.so.6
Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Loaded symbols for /lib64/libpthread.so.0
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /lib64/libfreebl3.so...(no debugging symbols found)...done.
Loaded symbols for /lib64/libfreebl3.so
Reading symbols from /lib64/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libgssapi_krb5.so.2
Reading symbols from /lib64/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5.so.3
Reading symbols from /lib64/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libcom_err.so.2
Reading symbols from /lib64/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib64/libk5crypto.so.3
Reading symbols from /lib64/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkrb5support.so.0
Reading symbols from /lib64/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libkeyutils.so.1
Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libresolv.so.2
Reading symbols from /lib64/libselinux.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib64/libselinux.so.1
Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/libnss_files.so.2

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7ffff9848000
Core was generated by `./map-server'.
Program terminated with signal 11, Segmentation fault.
#0  0x0000000000590d59 in pop_stack (st=0x7fcdb903df9c, start=0, end=0)
    at script.c:3542
3542            struct script_stack* stack = st->stack;
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.166.el6_7.3.x86_64 keyutils-libs-1.4-5.el6.x86_64 krb5-libs-1.10.3-42.el6.x86_64 libcom_err-1.41.12-22.el6.x86_64 libselinux-2.0.94-5.8.el6.x86_64 mysql-libs-5.1.73-5.el6_6.x86_64 nss-softokn-freebl-3.14.3-23.el6_7.x86_64 openssl-1.0.1e-42.el6.x86_64 pcre-7.8-7.el6.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) t full
No symbol "full" in current context.
(gdb) bt full
#0  0x0000000000590d59 in pop_stack (st=0x7fcdb903df9c, start=0, end=0)
    at script.c:3542
        stack = 0x0
        data = <value optimized out>
        i = <value optimized out>
        __func__ = "pop_stack"
#1  0x00000000005859dd in run_func (st=0x7fcdb903df9c) at script.c:4215
        data = <value optimized out>
        i = <value optimized out>
        start_sp = <value optimized out>
        end_sp = <value optimized out>
        func = 234
#2  0x00000000005981c0 in run_script_main (st=0x7fcdb903df9c) at script.c:4450
        c = C_FUNC
        cmdcount = 655351
        gotocount = 2048
        sd = <value optimized out>
        stack = 0x7fcdb6ed37bc
        nd = <value optimized out>
#3  0x0000000000563a32 in run_script_timer (tid=<value optimized out>,
    tick=<value optimized out>, id=151330, data=<value optimized out>)
    at script.c:4301
        sd = <value optimized out>
        st = 0x7fcdb903df9c
#4  0x000000000063318a in do_timer (tick=171872771) at timer.c:489
        tid = 481
        diff = -1
        __func__ = "do_timer"
#5  0x000000000063749b in main (argc=<value optimized out>,
---Type <return> to continue, or q <return> to quit---

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.