Warning! This is the old Hercules bugtracker archive, and may not reflect the current state of Hercules. The current bugtracker is on GitHub Issues.
Issue information
Issue ID
#7692
Status
Needs more Info
Severity
None
Started
Igniz
Sep 8, 2013 2:20
Last Post
Ind
Sep 9, 2013 18:01
Confirmation
N/A
Igniz - Sep 8, 2013 2:20
Program received signal SIGSEGV, Segmentation fault.
map_zone_apply (m=654, zone=0x0, start=0xbfffc62f "", buffer=0xbfffc62f "",
filepath=0xbfffc62f "") at map.c:4270
4270 for(i = 0; i < zone->mapflags_count; i++) {
(gdb) bt full
#0 map_zone_apply (m=654, zone=0x0, start=0xbfffc62f "",
buffer=0xbfffc62f "", filepath=0xbfffc62f "") at map.c:4270
i = <value optimized out>
empty = ""
flag = "\327\357\b$\306\377\277\260\277\"\b\370\305\377\277\364\305\377\277\220\241\"\b\260\277\"\b\030\306\377\277\310A#\b\264\214\362\b\364\305\377\277\020\000\000\000L\334", <incomplete sequence \357>
params = "\000\060\216É·\364\305\377\277\260\277\"\b\310\305\377\277\n\300\"\b\364\305\377\277\034\027\276\267\f\000\000\000+A#\b\376\305\377\277\000\000\000\000\002\000\000\000X"
#1 0x08075a41 in map_zone_change2 (m=654, zone=0x0) at map.c:3535
empty = ""
#2 0x0812e043 in buildin_gvgon (st=0xb01d7fc4) at script.c:11085
bl = {next = 0xbfffc698, prev = 0x814d1e6, id = 24, m = -216,
x = -20290, y = 5, type = BL_MOB}
m = 654
str = <value optimized out>
#3 0x081469b1 in run_func (st=0xb01d7fc4) at script.c:3258
data = 0x0
i = 1716096
start_sp = <value optimized out>
end_sp = <value optimized out>
#4 0x08154968 in run_script_main (st=0xb01d7fc4) at script.c:3480
Ind - Sep 9, 2013 18:01
I can see how it'd happen and while it can be easily prevented I'd like to understand why it took place, would it mean your map_zone_db file doesn't have a zone called 'GvG'?
This post has been edited by
Ind
on Sep 9, 2013 18:01