Issue information

Issue ID
#5705
Status
New
Severity
None
Started
Hercules Elf Bot
May 6, 2012 15:26
Last Post
Hercules Elf Bot
May 8, 2012 3:04
Confirmation
Yes (1)
No (0)

Hercules Elf Bot - May 6, 2012 15:26

Originally posted by [b]Siberian[/b]
I have this Problem.

[CODE]
Program terminated with signal 11, Segmentation fault.
#0 0x080e6c29 in get_com (
script=0xc0850002 <Address 0xc0850002 out of bounds>, pos=0xdf222950)
at script.c:3040
3040 script.c: No such file or directory.
in script.c
(gdb) bt full
#0 0x080e6c29 in get_com (
script=0xc0850002 <Address 0xc0850002 out of bounds>, pos=0xdf222950)
at script.c:3040
i = <value optimized out>
j = <value optimized out>
#1 0x08108ef5 in run_script_main (st=0xdf222944) at script.c:3655
c = 3755955588
cmdcount = 655360
gotocount = 2048
sd = <value optimized out>
stack = 0xdf065704
nd = <value optimized out>
#2 0x080d01b6 in npc_event_do_sub (key=..., data=0xf0b9660,
ap=0xfff25378 "\224S\362\377\364\256\006\337\003\257\006\337\335\005\034\b\002") at npc.c:336
c = 0xfff25394
name = <value optimized out>
#3 0x0819f156 in db_obj_vforeach (self=0xef70744c,
func=0x80d0140 <npc_event_do_sub>,
args=0xfff25378 "\224S\362\377\364\256\006\337\003\257\006\337\335\005\034\b\002") at db.c:1931
argscopy = 0xfff25378 "\224S\362\377\364\256\006\337\003\257\006\337\335\005\034\b\002"
---Type <return> to continue, or q <return> to quit---
db = <value optimized out>
i = 211
sum = 0
node = <value optimized out>
parent = 0x2
#4 0x0819e2b6 in db_obj_foreach (self=0x2, func=0x80d0140 <npc_event_do_sub>)
at db.c:1977
args = 0xfff25378 "\224S\362\377\364\256\006\337\003\257\006\337\335\005\034\b\002"
ret = <value optimized out>
#5 0x080cd2e4 in npc_event_do (
name=0xdf06aef4 "dup_1_110049017::OnInstanceInit") at npc.c:351
c = 0
#6 0x0810028f in buildin_donpcevent (st=0xdfbadb54) at script.c:8572
event = 0xdf06aef4 "dup_1_110049017::OnInstanceInit"
#7 0x080ea0f6 in run_func (st=0xdfbadb54) at script.c:3431
data = 0xdf0e7584
i = 5
end_sp = <value optimized out>
#8 0x08108ff2 in run_script_main (st=0xdfbadb54) at script.c:3679
c = C_ARG
cmdcount = 654934
gotocount = 2019
---Type <return> to continue, or q <return> to quit---
sd = <value optimized out>
stack = 0xdfd8162c
nd = <value optimized out>
#9 0x080cff63 in npc_scriptcont (sd=0x122be380, id=110049013) at npc.c:1178
No locals.
#10 0x08088ce5 in clif_parse (fd=149) at clif.c:16146
cmd = 184
packet_ver = 28
packet_len = 7
err = 2048
sd = 0x122be380
pnum = 0
#11 0x0819c21b in do_sockets (next=50) at socket.c:804
rfd = {__fds_bits = {0, 0, 0, 0, 2097152, 0 <repeats 27 times>}}
timeout = {tv_sec = 0, tv_usec = 34000}
ret = 0
i = <value optimized out>
#12 0x0819a6ec in main (argc=1, argv=0xfff25624) at core.c:300
next = 7
[/CODE]


[CODE]
Program terminated with signal 11, Segmentation fault.
#0 0x080e6c29 in get_com (script=0x4b1e824 <Address 0x4b1e824 out of bounds>,
pos=0xdf3654f0) at script.c:3040
3040 script.c: No such file or directory.
in script.c
(gdb) bt full
#0 0x080e6c29 in get_com (script=0x4b1e824 <Address 0x4b1e824 out of bounds>,
pos=0xdf3654f0) at script.c:3040
i = <value optimized out>
j = <value optimized out>
#1 0x08108ef5 in run_script_main (st=0xdf3654e4) at script.c:3655
c = 3744847596
cmdcount = 655360
gotocount = 2048
sd = <value optimized out>
stack = 0xdf3a2e14
nd = <value optimized out>
#2 0x080d01b6 in npc_event_do_sub (key=..., data=0xe931018,
ap=0xffcae818 "4\350\312\377\324\064:\337\343\064:\337\335\005\034\b\002")
at npc.c:336
c = 0xffcae834
name = <value optimized out>
#3 0x0819f156 in db_obj_vforeach (self=0xef75644c,
func=0x80d0140 <npc_event_do_sub>,
args=0xffcae818 "4\350\312\377\324\064:\337\343\064:\337\335\005\034\b\002") at db.c:1931
argscopy = 0xffcae818 "4\350\312\377\324\064:\337\343\064:\337\335\005\034\b\002"
db = <value optimized out>
---Type <return> to continue, or q <return> to quit---
i = 0
sum = 0
node = <value optimized out>
parent = 0x2
#4 0x0819e2b6 in db_obj_foreach (self=0x2, func=0x80d0140 <npc_event_do_sub>)
at db.c:1977
args = 0xffcae818 "4\350\312\377\324\064:\337\343\064:\337\335\005\034\b\002"
ret = <value optimized out>
#5 0x080cd2e4 in npc_event_do (
name=0xdf3a34d4 "dup_1_110049208::OnInstanceInit") at npc.c:351
c = 0
#6 0x0810028f in buildin_donpcevent (st=0xdf36a264) at script.c:8572
event = 0xdf3a34d4 "dup_1_110049208::OnInstanceInit"
#7 0x080ea0f6 in run_func (st=0xdf36a264) at script.c:3431
data = 0xdf21086c
i = 5
end_sp = <value optimized out>
#8 0x08108ff2 in run_script_main (st=0xdf36a264) at script.c:3679
c = C_NOP
cmdcount = 654951
gotocount = 2036
sd = <value optimized out>
---Type <return> to continue, or q <return> to quit---
stack = 0xdf3a33e4
nd = <value optimized out>
#9 0x080cff63 in npc_scriptcont (sd=0x126194a0, id=110049178) at npc.c:1178
No locals.
#10 0x08088ce5 in clif_parse (fd=43) at clif.c:16146
cmd = 184
packet_ver = 28
packet_len = 7
err = 2048
sd = 0x126194a0
pnum = 0
#11 0x0819c21b in do_sockets (next=50) at socket.c:804
rfd = {__fds_bits = {0, 2048, 0 <repeats 30 times>}}
timeout = {tv_sec = 0, tv_usec = 26000}
ret = 0
i = <value optimized out>
#12 0x0819a6ec in main (argc=1, argv=0xffcaeac4) at core.c:300
next = 0
(gdb)
[/CODE]

I have mapserver crashs... :(


Thanks.

Hercules Elf Bot - May 7, 2012 17:57

Originally posted by [b]Siberian[/b]
news?

Hercules Elf Bot - May 8, 2012 1:14

Originally posted by [b]GreenBox[/b]
It's hard to reproduce this as is needed all scripts, players and data at the crash moment.

Hercules Elf Bot - May 8, 2012 3:04

Originally posted by [b]Ind[/b]
the gdb debug shows it happened on a instance script oo unless siberian has custom instances (siberian: you do have custom instances? please reply with the answer) one of our 3 instances might be at fault