Issue information

Issue ID
#4986
Status
Unable to Reproduce
Severity
None
Started
Hercules Elf Bot
Jul 1, 2011 7:22
Last Post
Hercules Elf Bot
Jun 23, 2012 9:23
Confirmation
N/A

Hercules Elf Bot - Jul 1, 2011 7:22

Originally posted by [b]AllHailToTheKing[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=4986

CODE
Core was generated by `./char-server_sql'.
Program terminated with signal 11, Segmentation fault.
[New process 9608]
#0  0x0805c404 in parse_char (fd=7) at char.c:3097
3097                cp->sex = sd->sex;
(gdb) bt full
#0  0x0805c404 in parse_char (fd=7) at char.c:3097
    char_dat = {char_id = 0, account_id = 0, partner_id = 0, father = 0,
  mother = 0, child = 0, base_exp = 0, job_exp = 0, zeny = 0, class_ = 0,
  status_point = 0, skill_point = 0, hp = 0, max_hp = 0, sp = 0, max_sp = 0,
  option = 0, manner = 0, karma = 0 '\0', hair = 0, hair_color = 0,
  clothes_color = 0, party_id = 0, guild_id = 0, pet_id = 0, hom_id = 0,
  mer_id = 0, fame = 0, arch_faith = 0, arch_calls = 0, spear_faith = 0,
  spear_calls = 0, sword_faith = 0, sword_calls = 0, weapon = 0, shield = 0,
  head_top = 0, head_mid = 0, head_bottom = 0, name = '\0' <repeats 23 times>,
  base_level = 0, job_level = 0, str = 0, agi = 0, vit = 0, int_ = 0, dex = 0,
  luk = 0, slot = 0 '\0', sex = 0 '\0', mapip = 0, mapport = 0, last_point = {
    map = 0, x = 0, y = 0}, save_point = {map = 0, x = 0, y = 0},
  memo_point = {{map = 0, x = 0, y = 0}, {map = 0, x = 0, y = 0}, {map = 0,
      x = 0, y = 0}}, inventory = {{id = 0, nameid = 0, amount = 0, equip = 0,
      identify = 0 '\0', refine = 0 '\0', attribute = 0 '\0', card = {0, 0, 0,
        0}, expire_time = 0} <repeats 100 times>}, cart = {{id = 0,
      nameid = 0, amount = 0, equip = 0, identify = 0 '\0', refine = 0 '\0',
      attribute = 0 '\0', card = {0, 0, 0, 0},
      expire_time = 0} <repeats 100 times>}, storage = {storage_amount = 0,
    items = {{id = 0, nameid = 0, amount = 0, equip = 0, identify = 0 '\0',
        refine = 0 '\0', attribute = 0 '\0', card = {0, 0, 0, 0},
        expire_time = 0} <repeats 600 times>}}, skill = {{id = 0, lv = 0,
      flag = 0} <repeats 1020 times>}, friends = {{account_id = 0,
---Type <return> to continue, or q <return> to quit---
      char_id = 0, name = '\0' <repeats 23 times>} <repeats 40 times>},
  hotkeys = {{id = 0, lv = 0, type = 0 '\0'} <repeats 27 times>},
  show_equip = 0 '\0', rename = 0}
    data = 0x9a2fdb0 "\003"
    slot = 5
    cp = (struct mmo_charstatus *) 0x0
    char_id = 181489
    i = <value optimized out>
    ch = <value optimized out>
    email = " TAOK\000\000\000\003\000\000\000\003\000\000\000�O��(\000\000\000$�3�\001\000\000\000H����z\a\b"
    cmd = <value optimized out>
    map_fd = <value optimized out>
    sd = (struct char_session_data *) 0xf719b5a4
    ipl = 3032436694
    __FUNCTION__ = "parse_char"
#1  0x08072004 in do_sockets (next=<value optimized out>) at socket.c:775
    rfd = {__fds_bits = {128, 0 <repeats 31 times>}}
    timeout = {tv_sec = 0, tv_usec = 104264}
    ret = <value optimized out>
    i = 7
#2  0x08070a85 in main (argc=1, argv=0xffcba7d4) at core.c:254
    next = 0
(gdb)


can someone know how to fix this? i dont know if this is the right section. Thank you

This post has been edited by theultramage: Jul 1 2011, 05:28 AM

Hercules Elf Bot - Dec 6, 2011 17:02

Originally posted by [b]Ind[/b]
there was a character error load according to the dump provided, there was meant to be a DB error message right before it -- but it wasn't posted. cannot reproduce without it.