• 0
loki

Linux: Map Server crash on @autotrade

Question

Map Server crash on @autotrade.

 

- Fresh ubuntu 16.04 with gcc 5.4

- Latest Herc - no plugins

- The exact same setup works with windows 10. I assume its something with gcc compiling.

 

 

The only thing I receive is:

[Error]: Server received crash signal! Attempting to save all online characters!

 

@Edit

Remove the ExtVend from the post details because I tested without it and the same thing occurs.

Edited by loki

Share this post


Link to post
Share on other sites

6 answers to this question

  • 0

@edit

I just tested without the ExtVend and the same thing accurs.

 

 

Try to get gdb dump and post it here.

http://herc.ws/wiki/GDB

 

(If you are using old ExtVending, be sure to update it, I have updated it a month ago I guess.)

 

So.. I had some problems with the instructions.

 

Installed GDB, but the "ulimit -u unlimited" didnt work.

-bash: ulimit: max user cesses: cannot modify limit: Operation not permitted

 

Tried ignoring it and running "gdb map-server map-server.core". Dindn

GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright © 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 "x86_64-linux-gnu".
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 map-server...done.
/home/ubuntu/server/map-server.core: No such file or directory.

 

Tried also "gdb map-server core" and didnt work also. Same thing but

/home/ubuntu/server/core: No such file or directory.

And yes, i compiled with gdb flags.

./configure --enable-debug=gdb --disable-lto
make clean && make sql plugins

 

Tried to ignore everything and run the server until it crashes. "bt full" command only print No stack, even after the bug happend.

Edited by loki

Share this post


Link to post
Share on other sites
  • 0

1) install gdb

2) run login/char-server normally.

3) run map-server by typing following commands

gdb map-server
run

4) Reproduce the bug and let the server crash

5) Check the ssh console, it might show the report

6) type 'bt full' and show all the output here.

Share this post


Link to post
Share on other sites
  • 0

1) install gdb

2) run login/char-server normally.

3) run map-server by typing following commands

gdb map-server
run

4) Reproduce the bug and let the server crash

5) Check the ssh console, it might show the report

6) type 'bt full' and show all the output here.

 

You're a live saver.

 

Seems that the Hercules Battleground from Smoke is the issue.

I thought i wasn't running any plugins because I disabled everything in /conf/plugins.conf, but seems I was wrong. I remove hBG and its working fine.

Its still strange because it works on Windows, but thats ok for now.

 

Thanks Dastgir, today I learned something!

 

Here's the dump:

Thread 1 "map-server" received signal SIGSEGV, Segmentation fault.
0x00007ffff3f4c159 in hBG_statistics_parsefromchar (fd=9) at hBG.c:4014
4014            if ((hBGsd = getFromMSD(sd, 1)) == NULL) {
Edited by loki

Share this post


Link to post
Share on other sites
  • 0

 

1) install gdb

2) run login/char-server normally.

3) run map-server by typing following commands

gdb map-server
run

4) Reproduce the bug and let the server crash

5) Check the ssh console, it might show the report

6) type 'bt full' and show all the output here.

 

You're a live saver.

 

Seems that the Hercules Battleground from Smoke is the issue.

I thought i wasn't running any plugins because I disabled everything in /conf/plugins.conf, but seems I was wrong. I remove hBG and its working fine.

Its still strange because it works on Windows, but thats ok for now.

 

Thanks Dastgir, today I learned something!

 

Here's the dump:

Thread 1 "map-server" received signal SIGSEGV, Segmentation fault.
0x00007ffff3f4c159 in hBG_statistics_parsefromchar (fd=9) at hBG.c:4014
4014            if ((hBGsd = getFromMSD(sd, 1)) == NULL) {

Would it be possible for you to provide the full dump? please and thanks.

Share this post


Link to post
Share on other sites
  • 0

 

 

1) install gdb

2) run login/char-server normally.

3) run map-server by typing following commands

gdb map-server
run

4) Reproduce the bug and let the server crash

5) Check the ssh console, it might show the report

6) type 'bt full' and show all the output here.

 

You're a live saver.

 

Seems that the Hercules Battleground from Smoke is the issue.

I thought i wasn't running any plugins because I disabled everything in /conf/plugins.conf, but seems I was wrong. I remove hBG and its working fine.

Its still strange because it works on Windows, but thats ok for now.

 

Thanks Dastgir, today I learned something!

 

Here's the dump:

Thread 1 "map-server" received signal SIGSEGV, Segmentation fault.
0x00007ffff3f4c159 in hBG_statistics_parsefromchar (fd=9) at hBG.c:4014
4014            if ((hBGsd = getFromMSD(sd, 1)) == NULL) {

Would it be possible for you to provide the full dump? please and thanks.

 

That was the full dump. Is there any way I can get more infos?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now