Issue information

Issue ID
#8454
Status
Fixed
Severity
None
Started
Zer Wildblood
Nov 25, 2014 22:25
Last Post
Ind
Jan 18, 2015 17:31
Confirmation
N/A

Zer Wildblood - Nov 25, 2014 22:25

[size=3][font=tahoma, geneva, sans-serif]I tot its one of my customs, but i guess not.[/font][/size][code=auto:0] Program received signal SIGSEGV, Segmentation fault. 0x0813759d in map_getcellp (m=0xa359f378, x=10, y=391, cellchk=CELL_CHKNOPASS) at map.c:2701 2701 cell = m->cell[x + y*m->xs]; (gdb) bt full #0 0x0813759d in map_getcellp (m=0xa359f378, x=10, y=391, cellchk=CELL_CHKNOPASS) at map.c:2701 cell = <value optimized out> #1 0x08158e94 in npc_setcells (nd=0xae534f3c) at npc.c:3235 m = <value optimized out> x = <value optimized out> y = <value optimized out> xs = <value optimized out> ys = <value optimized out> i = 391 j = 10 #2 0x08162a5a in npc_parse_duplicate (w1=0x82e0b00 "0003@tower,12,393,0", w2=0x82e0ac0 "duplicate(51FGate102tower)", w3=0x82e0a80 "51FGate102tower::dup_0_110001924", w4=0x82e0a40 "45,2,2", start=0x82883a4 "- call from instancing subsystem -\n", buffer=0x82883a4 "- call from instancing subsystem -\n", filepath=0x828645f "INSTANCING", options=0, retval=0x0) at npc.c:3100 x = 12 y = 393 dir = 0 m = 914 xs = 2 ys = 2 ---Type <return> to continue, or q <return> to quit--- [/code]

[size=3][font=tahoma, geneva, sans-serif]map.c line[/font][/size]
[code=auto:0] cell = m->cell[x + y*m->xs]; [/code]

[size=3][font=tahoma, geneva, sans-serif]Some people are doing some instances, when that happens. Dont know how to reproduce it 100%[/font][/size]

Zer Wildblood - Nov 25, 2014 22:37

[size=3][font=tahoma, geneva, sans-serif]I just found some duplicates.[/font][/size]
[size=3][font=tahoma, geneva, sans-serif][url="http://herc.ws/board/tracker/issue-8438-cell-nostack-and-instances-crash/"]http://herc.ws/board/tracker/issue-8438-cell-nostack-and-instances-crash/[/url][/font][/size]

[size=3][font=tahoma, geneva, sans-serif]Hope it gets fixed.[/font][/size]

Ind - Jan 18, 2015 17:31

Fixed in [url="https://github.com/HerculesWS/Hercules/commit/83077740c7c996d198617d45a1916cd31ff38e9a"]https://github.com/HerculesWS/Hercules/commit/83077740c7c996d198617d45a1916cd31ff38e9a[/url]