tc-so:Executing command [ /usr/tests/bin/sh/dotcmd/func_break_func ] tc-se:Fail: incorrect exit status: 1, expected: 0 tc-se:stdout: tc-se:before function tc-se:before dotcmd tc-se:before function tc-se:before break tc-se:after break tc-se:after function tc-se: tc-se:================================================================= tc-se:==28666==ERROR: AddressSanitizer: heap-use-after-free on address 0x6140000 00250 at pc 0x000000242189 bp 0x7f7fffffdef0 sp 0x7f7fffffdee8 tc-se:READ of size 8 at 0x614000000250 thread T0 tc-se: #0 0x242188 in evaltree (/bin/sh+0x42188) tc-se: #1 0x24781e in evalcommand (/bin/sh+0x4781e) tc-se: #2 0x24145f in evaltree (/bin/sh+0x4145f) tc-se: #3 0x26df57 in cmdloop (/bin/sh+0x6df57) tc-se: #4 0x26d8df in main (/bin/sh+0x6d8df) tc-se: #5 0x239d41 in ___start (/bin/sh+0x39d41) tc-se: tc-se:0x614000000250 is located 16 bytes inside of 388-byte region [0x6140000002 40,0x6140000003c4) tc-se:freed by thread T0 here: tc-se: #0 0x36fc02 in free (/bin/sh+0x16fc02) tc-se: #1 0x24f581 in defun (/bin/sh+0x4f581) tc-se: #2 0x24131b in evaltree (/bin/sh+0x4131b) tc-se: #3 0x26df57 in cmdloop (/bin/sh+0x6df57) tc-se: #4 0x249f70 in dotcmd (/bin/sh+0x49f70) tc-se: #5 0x24737b in evalcommand (/bin/sh+0x4737b) tc-se: #6 0x24145f in evaltree (/bin/sh+0x4145f) tc-se: #7 0x241c97 in evaltree (/bin/sh+0x41c97) tc-se: #8 0x2413e7 in evaltree (/bin/sh+0x413e7) tc-se: #9 0x24781e in evalcommand (/bin/sh+0x4781e) tc-se: #10 0x24145f in evaltree (/bin/sh+0x4145f) tc-se: #11 0x26df57 in cmdloop (/bin/sh+0x6df57) tc-se: #12 0x26d8df in main (/bin/sh+0x6d8df) tc-se: #13 0x239d41 in ___start (/bin/sh+0x39d41) tc-se: #14 0x7f7ff7ef8fff () tc-se: tc-se:previously allocated by thread T0 here: tc-se: #0 0x36fdf3 in __interceptor_malloc (/bin/sh+0x16fdf3) tc-se: #1 0x26e368 in ckmalloc (/bin/sh+0x6e368) tc-se: #2 0x29598a in copyfunc (/bin/sh+0x9598a) tc-se: #3 0x24f4fe in defun (/bin/sh+0x4f4fe) tc-se: #4 0x24131b in evaltree (/bin/sh+0x4131b) tc-se: #5 0x26df57 in cmdloop (/bin/sh+0x6df57) tc-se: #6 0x26d8df in main (/bin/sh+0x6d8df) tc-se: #7 0x239d41 in ___start (/bin/sh+0x39d41) tc-se: #8 0x7f7ff7ef8fff () tc-se: tc-se:SUMMARY: AddressSanitizer: heap-use-after-free (/bin/sh+0x42188) in evaltr ee tc-se:Shadow bytes around the buggy address: tc-se: 0x4c27fffffff0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 tc-se: 0x4c2800000000: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 tc-se: 0x4c2800000010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 tc-se: 0x4c2800000020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 tc-se: 0x4c2800000030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 fa tc-se:=>0x4c2800000040: fa fa fa fa fa fa fa fa fd fd[fd]fd fd fd fd fd tc-se: 0x4c2800000050: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd tc-se: 0x4c2800000060: fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd fd tc-se: 0x4c2800000070: fd fd fd fd fd fd fd fd fd fa fa fa fa fa fa fa tc-se: 0x4c2800000080: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00 tc-se: 0x4c2800000090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 tc-se:Shadow byte legend (one shadow byte represents 8 application bytes): tc-se: Addressable: 00 tc-se: Partially addressable: 01 02 03 04 05 06 07 tc-se: Heap left redzone: fa tc-se: Freed heap region: fd tc-se: Stack left redzone: f1 tc-se: Stack mid redzone: f2 tc-se: Stack right redzone: f3 tc-se: Stack after return: f5 tc-se: Stack use after scope: f8 tc-se: Global redzone: f9 tc-se: Global init order: f6 tc-se: Poisoned by user: f7 tc-se: Container overflow: fc tc-se: Array cookie: ac tc-se: Intra object redzone: bb tc-se: ASan internal: fe tc-se: Left alloca redzone: ca tc-se: Right alloca redzone: cb tc-se: Shadow gap: cc tc-se:==28666==ABORTING