-
Quote:
Originally Posted by
Ni3ls
Again error
Code:
> [INFO] Compiled for: CoD2 1.0
Compiled: Nov 11 2015 09:21:24
> [INFO] value of closer=08111d32
> [INFO] value of download=0808e508
./starttest2: line 1: 26998 Segmentation fault
with dmesg
Code:
cod2_lnxded_1_0[9742]: segfault at 0 ip 0000000000a6bf1d sp 00000000ffd68e58 error 6 in libc-2.12.so[934000+190000]
cod2_lnxded_1_0[24555]: segfault at 0 ip 0000000000a6bf1d sp 00000000ffcd6958 error 6 in libc-2.12.so[934000+190000]
cod2_lnxded[31179]: segfault at 0 ip 0000000000a6bf1d sp 00000000ffb3a1c8 error 6 in libc-2.12.so[934000+190000]
UDP: short packet: From 92.16.25.123:28960 2358/55 to 46.4.55.66:29957
cod2_lnxded[26436]: segfault at 0 ip 0000000000a6bf1d sp 00000000ff9850d8 error 6 in libc-2.12.so[934000+190000]
cod2_lnxded[27812]: segfault at 0 ip 0000000000a6bf1d sp 00000000ffef18d8 error 6 in libc-2.12.so[934000+190000]
cod2_lnxded[26998]: segfault at 0 ip 0000000000a6bf1d sp 00000000ffdfcb98 error 6 in libc-2.12.so[934000+190000]
Try adding printf messages to locate where libcod crashes. I'm currently unable to duplicate your crash.
The crash could be caused by the small differences between 1.0 versions.
I build my changes to libcod for 1.0 on the 1.0a version. So try a different 1.0 binary or upload your binary so that I can compare the versions.
COD2 binary versions: http://killtube.org/showthread.php?1...-(1-0-1-2-1-3)
-
1 Attachment(s)
I tried every lnxded file for 1.0. The one i want to use is in the attachments. It gives me this dmesg
Code:
cod2_lnxded_1_0[9742]: segfault at 0 ip 0000000000a6bf1d sp 00000000ffd68e58 error 6 in libc-2.12.so[934000+190000]
cod2_lnxded_1_0[24555]: segfault at 0 ip 0000000000a6bf1d sp 00000000ffcd6958 error 6 in libc-2.12.so[934000+190000]
cod2_lnxded[31179]: segfault at 0 ip 0000000000a6bf1d sp 00000000ffb3a1c8 error 6 in libc-2.12.so[934000+190000]
UDP: short packet: From 92.16.25.123:28960 2358/55 to 46.4.55.66:29957
cod2_lnxded[26436]: segfault at 0 ip 0000000000a6bf1d sp 00000000ff9850d8 error 6 in libc-2.12.so[934000+190000]
cod2_lnxded[27812]: segfault at 0 ip 0000000000a6bf1d sp 00000000ffef18d8 error 6 in libc-2.12.so[934000+190000]
cod2_lnxded[26998]: segfault at 0 ip 0000000000a6bf1d sp 00000000ffdfcb98 error 6 in libc-2.12.so[934000+190000]
cod2_lnxded_1_0[27535]: segfault at 0 ip 0000000000a6bf1d sp 00000000ff96c798 error 6 in libc-2.12.so[934000+190000]
cod2_lnxded_1_0[19086]: segfault at 0 ip 0000000000a6bf1d sp 00000000ffa60618 error 6 in libc-2.12.so[934000+190000]
cod2_lnxded_1_0[9453]: segfault at 0 ip 0000000000a6bf1d sp 00000000ffe80178 error 6 in libc-2.12.so[934000+190000]
cod2_lnxded_1_0[10971]: segfault at 0 ip 0000000000a6bf1d sp 00000000ff822778 error 6 in libc-2.12.so[934000+190000]
How to add iprints to libcod and spot the error?
-
Can you build it on other platform? E.g using Ubuntu live CD. It seems like some weird compiler/linker fault. Also try building from my repo, https://github.com/voron00/libcod, i've included filthy_freaks changes a while ago
-
1 Attachment(s)
Try it, built from my repo and i'm using it on my servers, but since you got a different libc, it may not work
-