Jump to content
  • 0

Map-server crash/freeze on pet/homun feed


ArchAngell

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  12/14/13
  • Last Seen:  

I've set up a server that has been working great for a few days. A couple of players have been playing helping us test everything, and we encountered this error when a player try to feed the homunculus or pet. The map-server freezes with no error message, and we can't connect or do anything, and have to kill the process to restart the server.

We're using a version from Dec 07 with client 20151104, SQL dbs and the only source modifications are packet version and obfuscation. I copied the emulator files to my PC and tested on Win 7, and couldn't reproduce the problem.

Anyone have any idea what could I do to fix this?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

Run the map server with gdb and see what gdb says once the server freezes again. 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  4
  • Reputation:   0
  • Joined:  12/14/13
  • Last Seen:  

I got this data after running the map-server with gdb, triggering the freeze and typing bt full on gdb:

#0  0x00007ffff796b6fd in read () from /lib64/libpthread.so.0
No symbol table info available.
#1  0x00007ffff7090a90 in vio_read ()
   from /usr/lib64/mysql/libmysqlclient.so.18
No symbol table info available.
#2  0x00007ffff7090b11 in vio_read_buff ()
   from /usr/lib64/mysql/libmysqlclient.so.18
No symbol table info available.
#3  0x00007ffff7074caa in my_real_read(st_net*, unsigned long*) ()
   from /usr/lib64/mysql/libmysqlclient.so.18
No symbol table info available.
#4  0x00007ffff7075b1c in my_net_read ()
   from /usr/lib64/mysql/libmysqlclient.so.18
No symbol table info available.
#5  0x00007ffff706875c in cli_safe_read ()
   from /usr/lib64/mysql/libmysqlclient.so.18
No symbol table info available.
#6  0x00007ffff7069c56 in cli_read_query_result ()
   from /usr/lib64/mysql/libmysqlclient.so.18
No symbol table info available.
#7  0x00007ffff706ae06 in mysql_real_query ()
   from /usr/lib64/mysql/libmysqlclient.so.18
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#8  0x000000000060143f in Sql_Query(Sql*, char const*, ...) ()
No symbol table info available.
#9  0x00000000004b31da in log_feeding (sd=sd@entry=0x5ccc380,
    type=type@entry=LOG_FEED_PET, nameid=<optimized out>) at log.cpp:560
        target_id = <optimized out>
        intimacy = <optimized out>
        target_class = <optimized out>
        __FUNCTION__ = "log_feeding"
#10 0x0000000000512b25 in pet_food (pd=0x7ffff4b6dec4, sd=0x5ccc380)
    at pet.cpp:1026
        pet_db_ptr = 0x4078888
        i = <optimized out>
        k = <optimized out>
#11 pet_menu (sd=0x5ccc380, menunum=<optimized out>) at pet.cpp:796
        egg_id = <optimized out>
#12 0x0000000000467124 in clif_parse (fd=12) at clif.cpp:20695
        cmd = <optimized out>
        packet_len = 3
        sd = 0x5ccc380
        pnum = 0
        cmd2 = -1836654283
#13 0x000000000040c275 in main ()
No symbol table info available.

I'm still not sure what to do.

Is this enough to track the problem?

 

@Edit

After updating to a new revision the error changed. I'm opening a new topic.

Edited by ArchAngell
Update
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  2
  • Reputation:   0
  • Joined:  12/04/19
  • Last Seen:  

On 12/26/2018 at 6:47 PM, ArchAngell said:

I've set up a server that has been working great for a few days. A couple of players have been playing helping us test everything, and we encountered this error when a player try to feed the homunculus or pet. The map-server freezes with no error message, and we can't connect or do anything, and have to kill the process to restart the server.

We're using a version from Dec 07 with client 20151104, SQL dbs and the only source modifications are packet version and obfuscation. I copied the emulator files to my PC and tested on Win 7, and couldn't reproduce the problem.

Anyone have any idea what could I do to fix this?

Hi buddy, did you get any real fix yet? Following up on the same so asking.

 

Regards,

S.Smith

Link to comment
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.   Paste as plain text instead

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