Jump to content

  •  

loki

Member Since 30 Mar 2017
Offline Last Active May 12 2017 03:28 AM
-----

Posts I've Made

In Topic: Linux: Map Server crash on @autotrade

30 April 2017 - 09:08 PM

 

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?


In Topic: Linux: Map Server crash on @autotrade

30 April 2017 - 05:00 AM

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) {

In Topic: Linux: Map Server crash on @autotrade

29 April 2017 - 06:07 PM

@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.


In Topic: Clientinfo: multiple servers

28 April 2017 - 03:37 AM

Hello?


In Topic: Hat Preview in item description & Description link mouse over

31 March 2017 - 02:11 AM

Hmm. Any plans to support > 2016's clients?

 

Thanks for the attention, man.