Issue information

Issue ID
#1298
Status
Fixed
Severity
Medium
Started
Hercules Elf Bot
Mar 30, 2008 10:47
Last Post
pan
Jul 9, 2014 3:20
Confirmation
Yes (2)
No (0)

Hercules Elf Bot - Mar 30, 2008 10:47

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

CODE
Exception:
0xc0000005 EXCEPTION_ACCESS_VIOLATION at location 0x00683117 writing to location 0x00000000

Registers:
eax=00000000 ebx=7ffda000 ecx=00000000 edx=00000000 esi=00000064 edi=00128ff0
eip=00683117 esp=00128ee0 ebp=00128ff0 iopl=0         nv up ei pl zr na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00010246

Stacktrace:
#0  0x00683117 in status_calc_regen+0x2D7 (bl=<symtag not found>, status=<symtag not found>, regen=<symtag not found>) at status.c:2568
2568            sregen->hp = cap_value(val, 0, SHRT_MAX);
    sregen = <symtag not found>
    val = (int)0
    sd = <symtag not found>
    skill = (int)0

#1  0x0067D5E1 in status_calc_misc+0x311 (bl=<symtag not found>, status=<symtag not found>, level=(int)99) at status.c:1330
1330            status_calc_regen(bl, status, status_get_regen_data(bl));

#2  0x00680577 in status_calc_pc+0x1B37 (sd=<symtag not found>, first=(int)0) at status.c:2121
2121        status_calc_misc(&sd->bl, status, sd->status.base_level);
    sc = <symtag not found>
    status = <symtag not found>
    b_weight = (int)-600
    b_max_weight = (int)0
    b_status = <symtag not found>
    b_skill = <symtag not found>
    index = (int)43
    i = (int)890
    skill = (int)0
    refinedef = (int)0

#3  0x006126E3 in pc_unequipitem+0x383 (sd=<symtag not found>, n=(int)14, flag=(int)3) at pc.c:6414
6414            status_calc_pc(sd,0);
    i = (int)11

#4  0x006040F0 in pc_delitem+0x120 (sd=<symtag not found>, n=(int)14, amount=(int)1, type=(int)3) at pc.c:2813
2813                pc_unequipitem(sd,n,3);

#5  0x00612AFA in pc_checkitem+0x11A (sd=<symtag not found>) at pc.c:6461
6461                pc_delitem(sd,i,sd->status.inventory[i].amount,3);
    j = (int)13
    k = (int)-858993460
    calc_flag = (int)0
    i = (int)14
    id = (int)2365
    it = <symtag not found>

#6  0x005FB069 in pc_authok+0x269 (sd=<symtag not found>, login_id2=(int)18837, connect_until_time=(long long)0, st=<symtag not found>) at pc.c:661
661        pc_checkitem(sd);
    tick = (unsigned long)6803421
    i = (int)100

#7  0x0056B24F in chrif_authreq+0xBF (sd=<symtag not found>) at chrif.c:522
522            if (!pc_authok(sd, node->login_id2, node->connect_until_time, node->char_dat))
    node = <symtag not found>

#8  0x00593CEA in clif_parse_WantToConnection+0x51A (fd=(int)32, sd=<symtag not found>) at clif.c:7765
7765        chrif_authreq(sd);
    node = <symtag not found>
    sex = (int)1
    account_id = (int)2014800
    packet_ver = (int)22
    login_id1 = (int)26300
    bl = <symtag not found>
    client_tick = (unsigned int)486539366
    cmd = (int)155
    char_id = (int)221580

#9  0x005A60BB in clif_parse+0x70B (fd=(int)32) at clif.c:11834
11834            dump = 1;
    err = (int)0
    packet_ver = (int)22
    sd = <symtag not found>
    cmd = (int)155
    packet_len = (int)26
    pnum = (int)0

pan - Jul 9, 2014 3:20

Fixed [url="https://github.com/HerculesWS/Hercules/commit/29de937a2d8b485498fa9ce573efebfb64e8d669"]https://github.com/HerculesWS/Hercules/commit/29de937a2d8b485498fa9ce573efebfb64e8d669[/url]