Travis build fail

72 views
Skip to first unread message

Yiran Zhang

unread,
Sep 25, 2020, 1:43:22 AM9/25/20
to cmpt-295-sfu
SFU ID:301323671 
Github username:grantzyr
Line and file: run.sh Tree
Expected behavior: success on Travis
Observed behavior: failing on Travis
Question: 
I passed all the tests locally.And I tried "source ./scripts/localci.sh", also got full marks.However, after pushing it to github, travis always shows me "build still failing".




Arrvindh Shriraman

unread,
Sep 25, 2020, 1:47:13 AM9/25/20
to cmpt-295-sfu
Did you start travis in debug mode ?

Yiran Zhang

unread,
Sep 25, 2020, 1:52:32 AM9/25/20
to cmpt-295-sfu
I'm so sorry for using debug mode.I tried a lot of methods at the time, in the case of all the local tests passing, still showing failing on travis.Then I saw debug mode, thought I could figure out what was wrong by using it. I'm so sorry for that.

在 2020年9月24日星期四 UTC-7下午10:47:13,Arrvindh Shriraman写道:

Arrvindh Shriraman

unread,
Sep 25, 2020, 1:53:16 AM9/25/20
to cmpt-295-sfu
your program fails. I just tested with localci.sh.
Not sure how you are getting a pass. Attaching the LOG.
You can also see the job log on travis


Here is output from screen

* Error in `./Arraylist/arraylist.bin': free(): invalid next size (fast): 0x0000000000fae080 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fea9263c7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7fea9264537a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fea9264953c]
./Arraylist/arraylist.bin[0x4012e2]
./Arraylist/arraylist.bin[0x404733]
./Arraylist/arraylist.bin[0x402882]
./Arraylist/arraylist.bin[0x402ab4]
./Arraylist/arraylist.bin[0x403f3f]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fea925e5830]
./Arraylist/arraylist.bin[0x401099]
======= Memory map: ========
00400000-00407000 r-xp 00000000 fd:00 2363706                            /tmp/assignment-1-grantzyr/Arraylist/arraylist.bin
00606000-00607000 r--p 00006000 fd:00 2363706                            /tmp/assignment-1-grantzyr/Arraylist/arraylist.bin
00607000-00608000 rw-p 00007000 fd:00 2363706                            /tmp/assignment-1-grantzyr/Arraylist/arraylist.bin
00fad000-00fce000 rw-p 00000000 00:00 0                                  [heap]
7fea8c000000-7fea8c021000 rw-p 00000000 00:00 0
7fea8c021000-7fea90000000 ---p 00000000 00:00 0
7fea923ad000-7fea923c4000 r-xp 00000000 fd:00 3683597                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fea923c4000-7fea925c3000 ---p 00017000 fd:00 3683597                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fea925c3000-7fea925c4000 r--p 00016000 fd:00 3683597                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fea925c4000-7fea925c5000 rw-p 00017000 fd:00 3683597                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fea925c5000-7fea92785000 r-xp 00000000 fd:00 3670209                    /lib/x86_64-linux-gnu/libc-2.23.so
7fea92785000-7fea92985000 ---p 001c0000 fd:00 3670209                    /lib/x86_64-linux-gnu/libc-2.23.so
7fea92985000-7fea92989000 r--p 001c0000 fd:00 3670209                    /lib/x86_64-linux-gnu/libc-2.23.so
7fea92989000-7fea9298b000 rw-p 001c4000 fd:00 3670209                    /lib/x86_64-linux-gnu/libc-2.23.so
7fea9298b000-7fea9298f000 rw-p 00000000 00:00 0
7fea9298f000-7fea929b5000 r-xp 00000000 fd:00 3670191                    /lib/x86_64-linux-gnu/ld-2.23.so
7fea92b66000-7fea92b69000 rw-p 00000000 00:00 0
7fea92bb3000-7fea92bb4000 rw-p 00000000 00:00 0
7fea92bb4000-7fea92bb5000 r--p 00025000 fd:00 3670191                    /lib/x86_64-linux-gnu/ld-2.23.so
7fea92bb5000-7fea92bb6000 rw-p 00026000 fd:00 3670191                    /lib/x86_64-linux-gnu/ld-2.23.so
7fea92bb6000-7fea92bb7000 rw-p 00000000 00:00 0
7ffd70be9000-7ffd70c0a000 rw-p 00000000 00:00 0                          [stack]
7ffd70d8b000-7ffd70d8e000 r--p 00000000 00:00 0                          [vvar]
7ffd70d8e000-7ffd70d90000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
*** Error in `./Arraylist/arraylist.bin': free(): invalid next size (fast): 0x0000000000fae080 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7fea9263c7e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x8037a)[0x7fea9264537a]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7fea9264953c]
./Arraylist/arraylist.bin[0x4012e2]
./Arraylist/arraylist.bin[0x40451e]
./Arraylist/arraylist.bin[0x402882]
./Arraylist/arraylist.bin[0x402ab4]
./Arraylist/arraylist.bin[0x403f3f]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7fea925e5830]
./Arraylist/arraylist.bin[0x401099]
======= Memory map: ========
00400000-00407000 r-xp 00000000 fd:00 2363706                            /tmp/assignment-1-grantzyr/Arraylist/arraylist.bin
00606000-00607000 r--p 00006000 fd:00 2363706                            /tmp/assignment-1-grantzyr/Arraylist/arraylist.bin
00607000-00608000 rw-p 00007000 fd:00 2363706                            /tmp/assignment-1-grantzyr/Arraylist/arraylist.bin
00fad000-00fce000 rw-p 00000000 00:00 0                                  [heap]
7fea8c000000-7fea8c021000 rw-p 00000000 00:00 0
7fea8c021000-7fea90000000 ---p 00000000 00:00 0
7fea923ad000-7fea923c4000 r-xp 00000000 fd:00 3683597                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fea923c4000-7fea925c3000 ---p 00017000 fd:00 3683597                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fea925c3000-7fea925c4000 r--p 00016000 fd:00 3683597                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fea925c4000-7fea925c5000 rw-p 00017000 fd:00 3683597                    /lib/x86_64-linux-gnu/libgcc_s.so.1
7fea925c5000-7fea92785000 r-xp 00000000 fd:00 3670209                    /lib/x86_64-linux-gnu/libc-2.23.so
7fea92785000-7fea92985000 ---p 001c0000 fd:00 3670209                    /lib/x86_64-linux-gnu/libc-2.23.so
7fea92985000-7fea92989000 r--p 001c0000 fd:00 3670209                    /lib/x86_64-linux-gnu/libc-2.23.so
7fea92989000-7fea9298b000 rw-p 001c4000 fd:00 3670209                    /lib/x86_64-linux-gnu/libc-2.23.so
7fea9298b000-7fea9298f000 rw-p 00000000 00:00 0
7fea9298f000-7fea929b5000 r-xp 00000000 fd:00 3670191                    /lib/x86_64-linux-gnu/ld-2.23.so
7fea92b66000-7fea92b69000 rw-p 00000000 00:00 0
7fea92bb3000-7fea92bb4000 rw-p 00000000 00:00 0
7fea92bb4000-7fea92bb5000 r--p 00025000 fd:00 3670191                    /lib/x86_64-linux-gnu/ld-2.23.so
7fea92bb5000-7fea92bb6000 rw-p 00026000 fd:00 3670191                    /lib/x86_64-linux-gnu/ld-2.23.so
7fea92bb6000-7fea92bb7000 rw-p 00000000 00:00 0
7ffd70be9000-7ffd70c0a000 rw-p 00000000 00:00 0                          [stack]
7ffd70d8b000-7ffd70d8e000 r--p 00000000 00:00 0                          [vvar]
7ffd70d8e000-7ffd70d90000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
LOG.md

Yiran Zhang

unread,
Sep 25, 2020, 1:57:04 AM9/25/20
to cmpt-295-sfu
Thanks for your patience! I will check my code again.

在 2020年9月24日星期四 UTC-7下午10:53:16,Arrvindh Shriraman写道:

Yiran Zhang

unread,
Sep 25, 2020, 2:05:46 AM9/25/20
to cmpt-295-sfu
I found and fixed my bug, and now it's successful. Thank you!


在 2020年9月24日星期四 UTC-7下午10:53:16,Arrvindh Shriraman写道:
your program fails. I just tested with localci.sh.
Reply all
Reply to author
Forward
0 new messages