Jump to content
  • 0
KohakuSan

@time crashes map server

Question

No errors on console, only "Map-server #0 disconnected"

 

As soon as I type @time and hit enter I get the time and a window saying Disconnected from server as well as the entire map server crashing...

 

Any ideas what it could be? Something related to timezone perhaps?

Edited by KohakuSan

Share this post


Link to post
Share on other sites

11 answers to this question

Recommended Posts

  • 0
  On 1/13/2015 at 8:46 PM, KohakuSan said:

No errors on console, only "Map-server #0 disconnected"

 

As soon as I type @time and hit enter I get the time and a window saying Disconnected from server as well as the entire map server crashing...

 

Any ideas what it could be? Something related to timezone perhaps?

If map server is crashing, try to get a gdb coredump report.

Share this post


Link to post
Share on other sites
  • 0

I'm trying to, but the core file isn't generated...
Already followed the instructions on http://herc.ws/wiki/GDB but nothing.

./configure --enable-debug=gdb

 

Recompiled, even tried again with make clean, no changes.

 

There is actually a console "error". It says map-server sent a crash signal and will be closed, saving all characters.

 

Sorry I never worked on linux and gdb.

Share this post


Link to post
Share on other sites
  • 0
  On 1/14/2015 at 4:00 AM, KohakuSan said:

./configure --enable-debug=gdb

 

this just enables it

after the crash, there is a file "core.xxxx" (example, core.5213)

simply check with dir, then:

gdb map-server core.xxxxbt full
Edited by Ridley

Share this post


Link to post
Share on other sites
  • 0
  On 1/15/2015 at 11:19 PM, Ridley said:

 

  On 1/14/2015 at 4:00 AM, KohakuSan said:

./configure --enable-debug=gdb

 

this just enables it

after the crash, there is a file "core.xxxx" (example, core.5213)

simply check with dir, then:

gdb map-server core.xxxxbt full

 

As I said, there is no core file generated after the crash.

Share this post


Link to post
Share on other sites
  • 0
  On 1/16/2015 at 12:39 AM, KohakuSan said:

 

  On 1/15/2015 at 11:19 PM, Ridley said:

 

  On 1/14/2015 at 4:00 AM, KohakuSan said:

 

./configure --enable-debug=gdb

 

 

this just enables it

after the crash, there is a file "core.xxxx" (example, core.5213)

simply check with dir, then:

gdb map-server core.xxxxbt full
 

As I said, there is no core file generated after the crash.

Run map server via gdb from:
gdb map-serverrun
And then it will display the dump when it crashes,

Share this post


Link to post
Share on other sites
  • 0

Thank you, now it worked however the core file isn't generated there is a new message on the map-server console

It seems I need to install this stuff it's saying but I tried using debuginfo-install glibc-2.12-1.149.el6.i686 but there's no debuginfo-install command...

 

Program received signal SIGSEGV, Segmentation fault.0xb7a4d9ef in __strlen_ia32 () from /lib/libc.so.6Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.149.el6.i686 keyutils-libs-1.4-5.el6.i686 krb5-libs-1.10.3-33.el6.i686 libcom_err-1.41.12-21.el6.i686 libselinux-2.0.94-5.8.el6.i686 mysql-libs-5.1.73-3.el6_5.i686 nss-softokn-freebl-3.14.3-18.el6_6.i686 openssl-1.0.1e-30.el6_6.4.i686 pcre-7.8-6.el6.i686 zlib-1.2.3-29.el6.i686

Share this post


Link to post
Share on other sites
  • 0
  On 1/16/2015 at 3:24 AM, KohakuSan said:

Thank you, now it worked however the core file isn't generated there is a new message on the map-server console

It seems I need to install this stuff it's saying but I tried using debuginfo-install glibc-2.12-1.149.el6.i686 but there's no debuginfo-install command...

 

 

Program received signal SIGSEGV, Segmentation fault.0xb7a4d9ef in __strlen_ia32 () from /lib/libc.so.6Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.149.el6.i686 keyutils-libs-1.4-5.el6.i686 krb5-libs-1.10.3-33.el6.i686 libcom_err-1.41.12-21.el6.i686 libselinux-2.0.94-5.8.el6.i686 mysql-libs-5.1.73-3.el6_5.i686 nss-softokn-freebl-3.14.3-18.el6_6.i686 openssl-1.0.1e-30.el6_6.4.i686 pcre-7.8-6.el6.i686 zlib-1.2.3-29.el6.i686
After crash appear, you should use

bt full

So that it get full dump, and copy paste whole dump here.

Share this post


Link to post
Share on other sites
  • 0

There we go.

 

  Reveal hidden contents

 

Edited by KohakuSan

Share this post


Link to post
Share on other sites
  • 0
  On 1/16/2015 at 3:42 AM, KohakuSan said:

There we go.

 

  Reveal hidden contents

 

I believe its conf/messages.conf problem

Can you search for

 

224: 

search that 224 number, and please say the output of that line here :)

Normally it should be like

 

224: %d minutes

If there's %s or %(Anything Here except d) , it would most likely be crashed.

Share this post


Link to post
Share on other sites
  • 0

Oh I forgot I used the import to edit it, there's a %s in there... and all the others around it for hours, days etc

I copied it from cronus I believe for the portuguese translation...

 

I'll fix it using the hercules one as template.

 

EDIT: It worked! Thank you very much Dastgir.

Edited by KohakuSan

Share this post


Link to post
Share on other sites
  • 0
  On 1/16/2015 at 11:54 AM, KohakuSan said:

Oh I forgot I used the import to edit it, there's a %s in there... and all the others around it for hours, days etc

I copied it from cronus I believe for the portuguese translation...

 

I'll fix it using the hercules one as template.

 

EDIT: It worked! Thank you very much Dastgir.

Its nice to know that the crash is solved :D

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.


×
×
  • Create New...

Important Information

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