Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map server crash #227

Closed
raynra opened this issue Jan 13, 2015 · 5 comments
Closed

Map server crash #227

raynra opened this issue Jan 13, 2015 · 5 comments
Labels
component:core A fault that lies within the main framework of rAthena

Comments

@raynra
Copy link

raynra commented Jan 13, 2015

Core was generated by `./map-server'.
Program terminated with signal 11, Segmentation fault.
#0 status_get_lv (bl=0x0) at status.c:6598

6598 switch (bl->type) {
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6_5.3.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.10.3-15.el6_5.1.x86_64 libcom_err-1.41.12-18.el6_5.1.x86_64 libselinux-2.0.94-5.3.el6_4.1.x86_64 mysql-libs-5.1.73-3.el6_5.x86_64 nss-softokn-freebl-3.14.3-10.el6_5.x86_64 openssl-1.0.1e-16.el6_5.15.x86_64 zlib-1.2.3-29.el6.x86_64
(gdb) bt full
#0 status_get_lv (bl=0x0) at status.c:6598

No locals.
#1 0x0000000000594689 in status_change_start (src=0x0, bl=0xd02ee20, type=SC_EQC, rate=5, val1=,

val2=<value optimized out>, val3=<value optimized out>, val4=10, tick=1359, flag=15 '\017') at status.c:10399
    sd = 0xd02ee20
    sc = <value optimized out>
    sce = <value optimized out>
    status = <value optimized out>
    vd = 0xd02f0c8
    opt_flag = <value optimized out>
    calc_flag = 33282
    undead_flag = 0
    val_flag = 0
    tick_time = <value optimized out>
    sc_isnew = <value optimized out>

#2 0x0000000000477105 in chrif_load_scdata (fd=6) at chrif.c:1398

    data = <value optimized out>
    sd = 0xd02ee20
    aid = <value optimized out>
    cid = <value optimized out>
    i = <value optimized out>
    count = 1

#3 0x000000000047922c in chrif_parse (fd=6) at chrif.c:1674

    cmd = <value optimized out>
    packet_len = 62

#4 0x00000000005b0826 in do_sockets (next=) at socket.c:856

    rfd = {__fds_bits = {64, 0 <repeats 15 times>}}
    timeout = {tv_sec = 0, tv_usec = 19416}
    ret = <value optimized out>
    i = <value optimized out>

#5 0x00000000005ae9e3 in main (argc=1, argv=) at core.c:376

    next = <value optimized out>
@raynra raynra added the component:core A fault that lies within the main framework of rAthena label Jan 13, 2015
@raynra
Copy link
Author

raynra commented Jan 13, 2015

(gdb) bt full
#0 status_get_lv (bl=0x0) at status.c:6598
No locals.
#1 0x0000000000594689 in status_change_start (src=0x0, bl=0xe125120, type=SC_EQC, rate=5, val1=,
val2=, val3=, val4=10, tick=1376, flag=15 '\017') at status.c:10399
sd = 0xe125120
sc =
sce =
status =
vd = 0xe1253c8
opt_flag =
calc_flag = 33282
undead_flag = 0
val_flag = 0
tick_time =
sc_isnew =
#2 0x0000000000477105 in chrif_load_scdata (fd=6) at chrif.c:1398
data =
sd = 0xe125120
aid =
cid =
i =
count = 1
#3 0x000000000047922c in chrif_parse (fd=6) at chrif.c:1674
cmd =
packet_len = 62
#4 0x00000000005b0826 in do_sockets (next=) at socket.c:856
rfd = {__fds_bits = {64, 0 <repeats 15 times>}}
timeout = {tv_sec = 0, tv_usec = 19570}
ret =
i =
#5 0x00000000005ae9e3 in main (argc=1, argv=) at core.c:376
next =

@cydh
Copy link
Contributor

cydh commented Jan 14, 2015

looking it later

@cydh
Copy link
Contributor

cydh commented Jan 14, 2015

hmm, can u give me ur hash? maybe + the lines that gdb said.

edit, this one maybe?

        case SC_EQC:
            sc_start2(src, bl,SC_STUN,100,val1,bl->id,(1000*status_get_lv(src))/50+500*val1);
            status_change_end(bl,SC_TINDER_BREAKER2,INVALID_TIMER);
            break;

@raynra
Copy link
Author

raynra commented Jan 14, 2015

Sorry, left that info out!
december 17 4d5fc96

@cydh
Copy link
Contributor

cydh commented Jan 14, 2015

well, that SC shouldn't be saved at first place. the map-crash because the source asking for src/homunculus level but it's offline.

EFST_EQC = {
    Save = false;
    Send = true;
    ResetDead = true;
};

@cydh cydh closed this as completed in 2b90b60 Jan 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:core A fault that lies within the main framework of rAthena
Projects
None yet
Development

No branches or pull requests

2 participants