viewing paste Unknown #6880 | C

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
[Status]: Done reading '2661' entries in 'quest_db.txt'.
[Error]: Memory manager: freed-data is changed. (freed in ? line 6081)
[Error]: 
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x00000064000118a0
0x00007fff831f66b0 in strlen ()
(gdb) bt full
#0  0x00007fff831f66b0 in strlen ()
No symbol table info available.
#1  0x00007fff8327da65 in __vfprintf ()
No symbol table info available.
#2  0x00007fff8327c2fb in vfprintf_l ()
No symbol table info available.
#3  0x00000001001c6942 in VFPRINTF (file=0x7fff730acbc0, fmt=0x1001f85a0 "Memory manager: freed-data is changed. (freed in %s line %d)\n", argptr=0x7fff5fbfd170) at showmsg.c:546
    tempbuf = {
  s_ = '\0' <repeats 2053 times>, 
  d_ = 0x0, 
  v_ = 0x0, 
  l_ = 0
}
#4  0x00000001001c7020 in _vShowMessage (flag=1930087528, string=0x7fff730ab788 "", ap=0x7fff5fbfd410) at showmsg.c:767
    apcopy = {{
    gp_offset = 16, 
    fp_offset = 48, 
    overflow_arg_area = 0x7fff5fbfd410, 
    reg_save_area = 0x7fff5fbfd330
  }}
    prefix = "\033[1;31m[Error]\033[0m:", '\0' <repeats 57 times>, ",r^\006\001\000\000\000\000\000\000\000\001\000\000\000$\000??\001\000\000"
#5  0x00000001001c72fd in ShowError (string=0x7fff730ab788 "") at showmsg.c:875
    ap = {{
    gp_offset = 8, 
    fp_offset = 48, 
    overflow_arg_area = 0x7fff5fbfd410, 
    reg_save_area = 0x7fff5fbfd330
  }}
#6  0x00000001001c5f76 in _mmalloc (size=140734799791136, file=0x7fff5fbfd450 "?Կ_?", line=1606407248, func=0x7fff5fbfd170 "\020") at malloc.c:317
    sz = 192
    block = (struct block *) 0x10586e1b8
#7  0x00000001001c609e in _mrealloc (memblock=0x7fff5fbfc420, size=4296933096, file=0x1001dfee8 "npc.c", line=499, func=0x7fff5fbfd490 "?Կ_?") at malloc.c:361
    p = (void *) 0xffffffff
    old_size = 184
#8  0x00000001000a8054 in npc_timerevent_export (nd=0x1061f4b54, i=1965800) at npc.c:499
    te = (struct npc_timerevent_list *) 0x7fff5fbfc420
    k = 23
    t = 390000
    k = 13
    lname = 0x17 <Address 0x17 out of bounds>
    pos = 2507
#9  0x00000001000adccc in npc_parse_script [inlined] () at /Users/hennet/Documents/Reps/git/hercules/src/map/npc.c:2486
    pos = {0, 43, 0, 14, 15, 21, 22, 38, 39}
    w2 = "script\000te(#AirshipWarp-1)\000\000@?_?\000\000\000\000\000\000\000\000\000\000??\ns?\000\000<?_?\000\000??\ns?\000\000??\ns?\000\000\000?\ns?\000\000` \000\000@\000\000\000\030\000\000\0000\000\000\000 ?_?\000\000@?_?\000\000\000\000\000\000\000\000\000\000??_?\000\000n?%??\000\000`?_?\000\000?? ??\000\000?!\vs?\000\000(?\ns` \000\000\000?\v\000\000?\v\000\001\000\000\000\000\000\000\000(?\ns?\000\000\0269?XW"...
    pos = {0, 43, 0, 14, 15, 21, 22, 38, 39}
    w2 = "script\000te(#AirshipWarp-1)\000\000@?_?\000\000\000\000\000\000\000\000\000\000??\ns?\000\000<?_?\000\000??\ns?\000\000??\ns?\000\000\000?\ns?\000\000` \000\000@\000\000\000\030\000\000\0000\000\000\000 ?_?\000\000@?_?\000\000\000\000\000\000\000\000\000\000??_?\000\000n?%??\000\000`?_?\000\000?? ??\000\000?!\vs?\000\000(?\ns` \000\000\000?\v\000\000?\v\000\001\000\000\000\000\000\000\000(?\ns?\000\000\0269?XW"...
    w3 = "Domestic_Airship\000\000?P\000\000\000\000\000\000\000\001\000\000\000\002\000\000\000??_?\000\000\000\000\000\000\000\000\000\000wP\037\000\001\000\000\000(?\ns?\000\000??_?\000\000\000\000\000\000\000\000\000\000??\037\000\001\000\000\000\001\000\000\000\000\000\000\000", '?' <repeats 16 times>, "\b\000\000\0000\000\000\000???_?\000\000???_?\000\000", '?' <repeats 15 times>, "X\000\000\000\000\000\000\000\000???????\000(?\ns?\000\000X?_?\000\000\000\000\000\000\000\000\000\000??\037\000\001\000\000\000\001\000\000\000\000\000\000\000"...
    w3 = "Domestic_Airship\000\000?P\000\000\000\000\000\000\000\001\000\000\000\002\000\000\000??_?\000\000\000\000\000\000\000\000\000\000wP\037\000\001\000\000\000(?\ns?\000\000??_?\000\000\000\000\000\000\000\000\000\000??\037\000\001\000\000\000\001\000\000\000\000\000\000\000", '?' <repeats 16 times>, "\b\000\000\0000\000\000\000???_?\000\000???_?\000\000", '?' <repeats 15 times>, "X\000\000\000\000\000\000\000\000???????\000(?\ns?\000\000X?_?\000\000\000\000\000\000\000\000\000\000??\037\000\001\000\000\000\001\000\000\000\000\000\000\000"...
    w1 = "airplane,1,1,0\000,0", '\0' <repeats 1282 times>, "?? ??\000\000\000\000\000\000\000\000\000\000T??_?\000\000P??_?\000\000\000\000\000\000\000\000\000\000??\ns?\000\000L??_?\000\000??\ns?\000\000??\ns?\000\000\000?\ns?\000\000` \000\000@\000\000\000P??_?\000\000(?\ns?\000\0000?\035\000\001", '\0' <repeats 11 times>, "??\ns?\000\000\000\000\000\000\000\000\000\000p??_?\000\000?? ??\000\000p??_?\000\000?\n'?` \000\000\000?\v\000\000?"...
    w4 = "-1,{\0001\000{\000", '?' <repeats 194 times>, "?ڿ_?\000\000\r5'??\000\000\bݿ_?\000\000\001\000\000\000\000\000\000\000????\001\000\000\000\002\000\000\000\000\000\000\000?ܿ_?\000\000\001", '\0' <repeats 15 times>, "???_?\000\000\000\000\000\000\000\000\000\000\025\000\000\000\000\000\000\000\000߿_?\000\0003\v(??\000\000", '?' <repeats 16 times>, "\020ۿ_?\000\000WX'??\000\000`\000\000\000\000\000\000\000(?\ns?\000\000(?\ns?\000\000\0002\000\002\001\000\000\000@ۿ_?\000\000?\n'??\000\000"...
    i = 4
    w1 = "airplane,1,1,0\000,0", '\0' <repeats 1282 times>, "?? ??\000\000\000\000\000\000\000\000\000\000T??_?\000\000P??_?\000\000\000\000\000\000\000\000\000\000??\ns?\000\000L??_?\000\000??\ns?\000\000??\ns?\000\000\000?\ns?\000\000` \000\000@\000\000\000P??_?\000\000(?\ns?\000\0000?\035\000\001", '\0' <repeats 11 times>, "??\ns?\000\000\000\000\000\000\000\000\000\000p??_?\000\000?? ??\000\000p??_?\000\000?\n'?` \000\000\000?\v\000\000?"...
    w4 = "-1,{\0001\000{\000", '?' <repeats 194 times>, "?ڿ_?\000\000\r5'??\000\000\bݿ_?\000\000\001\000\000\000\000\000\000\000????\001\000\000\000\002\000\000\000\000\000\000\000?ܿ_?\000\000\001", '\0' <repeats 15 times>, "???_?\000\000\000\000\000\000\000\000\000\000\025\000\000\000\000\000\000\000\000߿_?\000\0003\v(??\000\000", '?' <repeats 16 times>, "\020ۿ_?\000\000WX'??\000\000`\000\000\000\000\000\000\000(?\ns?\000\000(?\ns?\000\000\0002\000\002\001\000\000\000@ۿ_?\000\000?\n'??\000\000"...
    i = 4
    y = 1
    fp = (FILE *) 0x1061f4bb1
    len = 24
    buffer = 0x102041e30 "//===== Hercules Script ", '=' <repeats 38 times>, "\n//= The Airship System Script\n//===== By: ", '=' <repeats 50 times>, "\n//= Hercules Dev Team\n//===== Description: ="...
    x = 1
#10 0x00000001000adccc in npc_parsesrcfile (filepath=0x7fff5fbffa50 "???_?", runOnInit=false) at npc.c:3651
    pos = {0, 43, 0, 14, 15, 21, 22, 38, 39}
    w2 = "script\000te(#AirshipWarp-1)\000\000@?_?\000\000\000\000\000\000\000\000\000\000??\ns?\000\000<?_?\000\000??\ns?\000\000??\ns?\000\000\000?\ns?\000\000` \000\000@\000\000\000\030\000\000\0000\000\000\000 ?_?\000\000@?_?\000\000\000\000\000\000\000\000\000\000??_?\000\000n?%??\000\000`?_?\000\000?? ??\000\000?!\vs?\000\000(?\ns` \000\000\000?\v\000\000?\v\000\001\000\000\000\000\000\000\000(?\ns?\000\000\0269?XW"...
    pos = {0, 43, 0, 14, 15, 21, 22, 38, 39}
    w2 = "script\000te(#AirshipWarp-1)\000\000@?_?\000\000\000\000\000\000\000\000\000\000??\ns?\000\000<?_?\000\000??\ns?\000\000??\ns?\000\000\000?\ns?\000\000` \000\000@\000\000\000\030\000\000\0000\000\000\000 ?_?\000\000@?_?\000\000\000\000\000\000\000\000\000\000??_?\000\000n?%??\000\000`?_?\000\000?? ??\000\000?!\vs?\000\000(?\ns` \000\000\000?\v\000\000?\v\000\001\000\000\000\000\000\000\000(?\ns?\000\000\0269?XW"...
    w3 = "Domestic_Airship\000\000?P\000\000\000\000\000\000\000\001\000\000\000\002\000\000\000??_?\000\000\000\000\000\000\000\000\000\000wP\037\000\001\000\000\000(?\ns?\000\000??_?\000\000\000\000\000\000\000\000\000\000??\037\000\001\000\000\000\001\000\000\000\000\000\000\000", '?' <repeats 16 times>, "\b\000\000\0000\000\000\000???_?\000\000???_?\000\000", '?' <repeats 15 times>, "X\000\000\000\000\000\000\000\000???????\000(?\ns?\000\000X?_?\000\000\000\000\000\000\000\000\000\000??\037\000\001\000\000\000\001\000\000\000\000\000\000\000"...
    w3 = "Domestic_Airship\000\000?P\000\000\000\000\000\000\000\001\000\000\000\002\000\000\000??_?\000\000\000\000\000\000\000\000\000\000wP\037\000\001\000\000\000(?\ns?\000\000??_?\000\000\000\000\000\000\000\000\000\000??\037\000\001\000\000\000\001\000\000\000\000\000\000\000", '?' <repeats 16 times>, "\b\000\000\0000\000\000\000???_?\000\000???_?\000\000", '?' <repeats 15 times>, "X\000\000\000\000\000\000\000\000???????\000(?\ns?\000\000X?_?\000\000\000\000\000\000\000\000\000\000??\037\000\001\000\000\000\001\000\000\000\000\000\000\000"...
    w1 = "airplane,1,1,0\000,0", '\0' <repeats 1282 times>, "?? ??\000\000\000\000\000\000\000\000\000\000T??_?\000\000P??_?\000\000\000\000\000\000\000\000\000\000??\ns?\000\000L??_?\000\000??\ns?\000\000??\ns?\000\000\000?\ns?\000\000` \000\000@\000\000\000P??_?\000\000(?\ns?\000\0000?\035\000\001", '\0' <repeats 11 times>, "??\ns?\000\000\000\000\000\000\000\000\000\000p??_?\000\000?? ??\000\000p??_?\000\000?\n'?` \000\000\000?\v\000\000?"...
    w4 = "-1,{\0001\000{\000", '?' <repeats 194 times>, "?ڿ_?\000\000\r5'??\000\000\bݿ_?\000\000\001\000\000\000\000\000\000\000????\001\000\000\000\002\000\000\000\000\000\000\000?ܿ_?\000\000\001", '\0' <repeats 15 times>, "???_?\000\000\000\000\000\000\000\000\000\000\025\000\000\000\000\000\000\000\000߿_?\000\0003\v(??\000\000", '?' <repeats 16 times>, "\020ۿ_?\000\000WX'??\000\000`\000\000\000\000\000\000\000(?\ns?\000\000(?\ns?\000\000\0002\000\002\001\000\000\000@ۿ_?\000\000?\n'??\000\000"...
    i = 4
    w1 = "airplane,1,1,0\000,0", '\0' <repeats 1282 times>, "?? ??\000\000\000\000\000\000\000\000\000\000T??_?\000\000P??_?\000\000\000\000\000\000\000\000\000\000??\ns?\000\000L??_?\000\000??\ns?\000\000??\ns?\000\000\000?\ns?\000\000` \000\000@\000\000\000P??_?\000\000(?\ns?\000\0000?\035\000\001", '\0' <repeats 11 times>, "??\ns?\000\000\000\000\000\000\000\000\000\000p??_?\000\000?? ??\000\000p??_?\000\000?\n'?` \000\000\000?\v\000\000?"...
    w4 = "-1,{\0001\000{\000", '?' <repeats 194 times>, "?ڿ_?\000\000\r5'??\000\000\bݿ_?\000\000\001\000\000\000\000\000\000\000????\001\000\000\000\002\000\000\000\000\000\000\000?ܿ_?\000\000\001", '\0' <repeats 15 times>, "???_?\000\000\000\000\000\000\000\000\000\000\025\000\000\000\000\000\000\000\000߿_?\000\0003\v(??\000\000", '?' <repeats 16 times>, "\020ۿ_?\000\000WX'??\000\000`\000\000\000\000\000\000\000(?\ns?\000\000(?\ns?\000\000\0002\000\002\001\000\000\000@ۿ_?\000\000?\n'??\000\000"...
    i = 4
    y = 1
    fp = (FILE *) 0x1061f4bb1
    len = 24
    buffer = 0x102041e30 "//===== Hercules Script ", '=' <repeats 38 times>, "\n//= The Airship System Script\n//===== By: ", '=' <repeats 50 times>, "\n//= Hercules Dev Team\n//===== Description: ="...
    x = 1
#11 0x00000001000aeb2b in do_init_npc () at npc.c:3992
No locals.
#12 0x0000000100014e75 in do_init (argc=1606417152, argv=0x100d4b918) at map.c:5412
No locals.
#13 0x00000001001bd1eb in main (argc=1, argv=0x730acb2800000000) at core.c:340
No locals.
(gdb) 
 
Viewed 1126 times, submitted by Guest.