Created
November 7, 2014 20:24
-
-
Save zerebubuth/7a9191ab46164b136bc3 to your computer and use it in GitHub Desktop.
Failure for "step_thread" test case in `rr` in 64-bit mode.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1 | |
Copyright (C) 2014 Free Software Foundation, Inc. | |
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> | |
This is free software: you are free to change and redistribute it. | |
There is NO WARRANTY, to the extent permitted by law. Type "show copying" | |
and "show warranty" for details. | |
This GDB was configured as "x86_64-linux-gnu". | |
Type "show configuration" for configuration details. | |
For bug reporting instructions, please see: | |
<http://www.gnu.org/software/gdb/bugs/>. | |
Find the GDB manual and other documentation resources online at: | |
<http://www.gnu.org/software/gdb/documentation/>. | |
For help, type "help". | |
Type "apropos word" to search for commands related to "word"... | |
Reading symbols from /tmp/rr-test-step_thread-NZx71Imbl/step_thread-NZx71Imbl...done. | |
Really redefine built-in command "checkpoint"? (y or n) [answered Y; input not from terminal] | |
Really redefine built-in command "checkpoint"? (y or n) [answered Y; input not from terminal] | |
Really redefine built-in command "restart"? (y or n) [answered Y; input not from terminal] | |
Remote debugging using 127.0.0.1:9431 | |
warning: limiting remote suggested packet size (206696 bytes) to 16384 | |
Reading symbols from /lib64/ld-linux-x86-64.so.2...Reading symbols from /usr/lib/debug//lib/x86_64-linux-gnu/ld-2.19.so...done. | |
done. | |
Loaded symbols for /lib64/ld-linux-x86-64.so.2 | |
0x00002aaaaaaafa86 in _dl_start (arg=0x7fffffffe280) at rtld.c:380 | |
380 rtld.c: No such file or directory. | |
(gdb) b hit_barrier | |
b hit_barrier | |
Breakpoint 1 at 0x400c61: file /home/matt/Programming/rr/src/test/step_thread.c, line 30. | |
(gdb) b ready | |
b ready | |
Breakpoint 2 at 0x400c78: file /home/matt/Programming/rr/src/test/step_thread.c, line 36. | |
(gdb) c | |
c | |
Continuing. | |
Breakpoint 2, ready () at /home/matt/Programming/rr/src/test/step_thread.c:36 | |
36 int break_here = 1; | |
(gdb) b A | |
b A | |
Breakpoint 3 at 0x400be9: file /home/matt/Programming/rr/src/test/step_thread.c, line 10. | |
(gdb) b C | |
b C | |
Breakpoint 4 at 0x400c4d: file /home/matt/Programming/rr/src/test/step_thread.c, line 27. | |
(gdb) b B | |
b B | |
Breakpoint 5 at 0x400c03: file /home/matt/Programming/rr/src/test/step_thread.c, line 14. | |
(gdb) s | |
s | |
38 } | |
(gdb) s | |
s | |
main () at /home/matt/Programming/rr/src/test/step_thread.c:51 | |
51 pthread_create(&a, NULL, threadA, NULL); | |
(gdb) s | |
s | |
pthread_create (thread=0x7fffffffe188, attr=0x0, start_routine=0x400c19 <threadA>, arg=0x0) at /home/matt/Programming/rr/src/preload/preload.c:658 | |
658 void* (*start_routine)(void*), void* arg) { | |
(gdb) s | |
s | |
659 struct thread_func_data* data = malloc(sizeof(*data)); | |
(gdb) s | |
s | |
658 void* (*start_routine)(void*), void* arg) { | |
(gdb) s | |
s | |
659 struct thread_func_data* data = malloc(sizeof(*data)); | |
(gdb) s | |
s | |
__GI___libc_malloc (bytes=140737488347552) at malloc.c:2876 | |
2876 malloc.c: No such file or directory. | |
(gdb) s | |
s | |
2881 in malloc.c | |
(gdb) s | |
s | |
2882 in malloc.c | |
(gdb) s | |
s | |
2885 in malloc.c | |
(gdb) s | |
s | |
2887 in malloc.c | |
(gdb) s | |
s | |
2891 in malloc.c | |
(gdb) s | |
s | |
_int_malloc (av=0x2aaaab6b2760 <main_arena>, bytes=16) at malloc.c:3302 | |
3302 in malloc.c | |
(gdb) s | |
s | |
3332 in malloc.c | |
(gdb) s | |
s | |
3302 in malloc.c | |
(gdb) s | |
s | |
3332 in malloc.c | |
(gdb) s | |
s | |
3340 in malloc.c | |
(gdb) s | |
s | |
3342 in malloc.c | |
(gdb) s | |
s | |
3343 in malloc.c | |
(gdb) s | |
s | |
3344 in malloc.c | |
(gdb) s | |
s | |
3343 in malloc.c | |
(gdb) s | |
s | |
3348 in malloc.c | |
(gdb) s | |
s | |
3377 in malloc.c | |
(gdb) s | |
s | |
3379 in malloc.c | |
(gdb) s | |
s | |
3380 in malloc.c | |
(gdb) s | |
s | |
3382 in malloc.c | |
(gdb) s | |
s | |
3790 in malloc.c | |
(gdb) s | |
s | |
3447 in malloc.c | |
(gdb) s | |
s | |
malloc_printerr (ptr=<optimised out>, str=<optimised out>, action=<optimised out>) at malloc.c:4992 | |
4992 in malloc.c | |
(gdb) s | |
s | |
_int_malloc (av=0x2aaaab6b2760 <main_arena>, bytes=16) at malloc.c:3790 | |
3790 in malloc.c | |
(gdb) s | |
s | |
3792 in malloc.c | |
(gdb) s | |
s | |
3447 in malloc.c | |
(gdb) s | |
s | |
malloc_printerr (ptr=<optimised out>, str=<optimised out>, action=<optimised out>) at malloc.c:4990 | |
4990 in malloc.c | |
(gdb) s | |
s | |
4992 in malloc.c | |
(gdb) s | |
s | |
4990 in malloc.c | |
(gdb) s | |
s | |
_int_malloc (av=0x2aaaab6b2760 <main_arena>, bytes=16) at malloc.c:3442 | |
3442 in malloc.c | |
(gdb) s | |
s | |
3576 in malloc.c | |
(gdb) s | |
s | |
3649 in malloc.c | |
(gdb) s | |
s | |
3650 in malloc.c | |
(gdb) s | |
s | |
3651 in malloc.c | |
(gdb) s | |
s | |
3650 in malloc.c | |
(gdb) s | |
s | |
3651 in malloc.c | |
(gdb) s | |
s | |
3652 in malloc.c | |
(gdb) s | |
s | |
3653 in malloc.c | |
(gdb) s | |
s | |
3658 in malloc.c | |
(gdb) s | |
s | |
3662 in malloc.c | |
(gdb) s | |
s | |
3665 in malloc.c | |
(gdb) s | |
s | |
3662 in malloc.c | |
(gdb) s | |
s | |
3665 in malloc.c | |
(gdb) s | |
s | |
3662 in malloc.c | |
(gdb) s | |
s | |
3665 in malloc.c | |
(gdb) s | |
s | |
3662 in malloc.c | |
(gdb) s | |
s | |
3765 in malloc.c | |
(gdb) s | |
s | |
3768 in malloc.c | |
(gdb) s | |
s | |
3766 in malloc.c | |
(gdb) s | |
s | |
3768 in malloc.c | |
(gdb) s | |
s | |
3773 in malloc.c | |
(gdb) s | |
s | |
3770 in malloc.c | |
(gdb) s | |
s | |
3771 in malloc.c | |
(gdb) s | |
s | |
3773 in malloc.c | |
(gdb) s | |
s | |
3772 in malloc.c | |
(gdb) s | |
s | |
3773 in malloc.c | |
(gdb) s | |
s | |
3775 in malloc.c | |
(gdb) s | |
s | |
3773 in malloc.c | |
(gdb) s | |
s | |
3779 in malloc.c | |
(gdb) s | |
s | |
alloc_perturb (n=<optimised out>, p=<optimised out>) at malloc.c:1862 | |
1862 in malloc.c | |
(gdb) s | |
s | |
_int_malloc (av=0x2aaaab6b2760 <main_arena>, bytes=16) at malloc.c:3773 | |
3773 in malloc.c | |
(gdb) s | |
s | |
3775 in malloc.c | |
(gdb) s | |
s | |
3778 in malloc.c | |
(gdb) s | |
s | |
3779 in malloc.c | |
(gdb) s | |
s | |
alloc_perturb (n=16, p=0x603040 "") at malloc.c:1862 | |
1862 in malloc.c | |
(gdb) s | |
s | |
_int_malloc (av=<optimised out>, bytes=16) at malloc.c:3806 | |
3806 in malloc.c | |
(gdb) s | |
s | |
__GI___libc_malloc (bytes=16) at malloc.c:2892 | |
2892 in malloc.c | |
(gdb) s | |
s | |
2891 in malloc.c | |
(gdb) s | |
s | |
2892 in malloc.c | |
(gdb) s | |
s | |
2903 in malloc.c | |
(gdb) s | |
s | |
2904 in malloc.c | |
(gdb) s | |
s | |
2907 in malloc.c | |
(gdb) s | |
s | |
pthread_create (thread=0x7fffffffe188, attr=0x0, start_routine=0x400c19 <threadA>, arg=0x0) at /home/matt/Programming/rr/src/preload/preload.c:660 | |
660 void* saved_buffer = buffer; | |
(gdb) s | |
s | |
664 data->arg = arg; | |
(gdb) s | |
s | |
663 data->start_routine = start_routine; | |
(gdb) s | |
s | |
667 ret = real_pthread_create(thread, attr, thread_trampoline, data); | |
(gdb) s | |
s | |
660 void* saved_buffer = buffer; | |
(gdb) s | |
s | |
667 ret = real_pthread_create(thread, attr, thread_trampoline, data); | |
(gdb) s | |
s | |
666 buffer = NULL; | |
(gdb) s | |
s | |
667 ret = real_pthread_create(thread, attr, thread_trampoline, data); | |
(gdb) s | |
s | |
664 data->arg = arg; | |
(gdb) s | |
s | |
667 ret = real_pthread_create(thread, attr, thread_trampoline, data); | |
(gdb) s | |
s | |
__pthread_create_2_1 (newthread=0x7fffffffe188, attr=0x0, start_routine=0x2aaaaaed1ba0 <thread_trampoline>, arg=0x603040) at pthread_create.c:472 | |
472 pthread_create.c: No such file or directory. | |
(gdb) s | |
s | |
466 in pthread_create.c | |
(gdb) s | |
s | |
471 in pthread_create.c | |
(gdb) s | |
s | |
472 in pthread_create.c | |
(gdb) s | |
s | |
474 in pthread_create.c | |
(gdb) s | |
s | |
475 in pthread_create.c | |
(gdb) s | |
s | |
477 in pthread_create.c | |
(gdb) s | |
s | |
475 in pthread_create.c | |
(gdb) s | |
s | |
477 in pthread_create.c | |
(gdb) s | |
s | |
471 in pthread_create.c | |
(gdb) s | |
s | |
495 in pthread_create.c | |
(gdb) s | |
s | |
496 in pthread_create.c | |
(gdb) s | |
s | |
500 in pthread_create.c | |
(gdb) s | |
s | |
allocate_stack (stack=<synthetic pointer>, pdp=<synthetic pointer>, attr=0x7fffffffe0b0) at allocatestack.c:353 | |
353 allocatestack.c: No such file or directory. | |
(gdb) s | |
s | |
__GI___getpagesize () at ../sysdeps/unix/sysv/linux/getpagesize.c:29 | |
29 ../sysdeps/unix/sysv/linux/getpagesize.c: No such file or directory. | |
(gdb) s | |
s | |
31 in ../sysdeps/unix/sysv/linux/getpagesize.c | |
(gdb) s | |
s | |
allocate_stack (stack=<synthetic pointer>, pdp=<synthetic pointer>, attr=0x7fffffffe0b0) at allocatestack.c:356 | |
356 allocatestack.c: No such file or directory. | |
(gdb) s | |
s | |
361 in allocatestack.c | |
(gdb) s | |
s | |
371 in allocatestack.c | |
(gdb) s | |
s | |
475 in allocatestack.c | |
(gdb) s | |
s | |
486 in allocatestack.c | |
(gdb) s | |
s | |
475 in allocatestack.c | |
(gdb) s | |
s | |
486 in allocatestack.c | |
(gdb) s | |
s | |
475 in allocatestack.c | |
(gdb) s | |
s | |
487 in allocatestack.c | |
(gdb) s | |
s | |
491 in allocatestack.c | |
(gdb) s | |
s | |
493 in allocatestack.c | |
(gdb) s | |
s | |
494 in allocatestack.c | |
(gdb) s | |
s | |
492 in allocatestack.c | |
(gdb) s | |
s | |
501 in allocatestack.c | |
(gdb) s | |
s | |
get_cached_stack (memp=<synthetic pointer>, sizep=<synthetic pointer>) at allocatestack.c:179 | |
179 in allocatestack.c | |
(gdb) s | |
s | |
187 in allocatestack.c | |
(gdb) s | |
s | |
501 in allocatestack.c | |
(gdb) s | |
s | |
get_cached_stack (memp=<synthetic pointer>, sizep=<synthetic pointer>) at allocatestack.c:212 | |
212 in allocatestack.c | |
(gdb) s | |
s | |
allocate_stack (stack=<synthetic pointer>, pdp=<synthetic pointer>, attr=0x7fffffffe0b0) at allocatestack.c:509 | |
509 in allocatestack.c | |
(gdb) s | |
s | |
513 in allocatestack.c | |
(gdb) s | |
s | |
509 in allocatestack.c | |
(gdb) s | |
s | |
513 in allocatestack.c | |
(gdb) s | |
s | |
509 in allocatestack.c | |
(gdb) s | |
s | |
513 in allocatestack.c | |
(gdb) s | |
s | |
mmap64 () at ../sysdeps/unix/syscall-template.S:81 | |
81 ../sysdeps/unix/syscall-template.S: No such file or directory. | |
(gdb) s | |
s | |
[ERROR /home/matt/Programming/rr/src/Registers.cc:290:maybe_print_reg_mismatch() errno: 0 'Success'] | |
-> r11 0x302 != 0x202 (replaying vs. recorded) | |
Remote connection closed | |
(gdb) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 58 | |
model name : Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz | |
stepping : 9 | |
microcode : 0x17 | |
cpu MHz : 1700.000 | |
cache size : 6144 KB | |
physical id : 0 | |
siblings : 4 | |
core id : 0 | |
cpu cores : 4 | |
apicid : 0 | |
initial apicid : 0 | |
fpu : yes | |
fpu_exception : yes | |
cpuid level : 13 | |
wp : yes | |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms | |
bogomips : 6199.55 | |
clflush size : 64 | |
cache_alignment : 64 | |
address sizes : 36 bits physical, 48 bits virtual | |
power management: | |
processor : 1 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 58 | |
model name : Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz | |
stepping : 9 | |
microcode : 0x17 | |
cpu MHz : 2200.000 | |
cache size : 6144 KB | |
physical id : 0 | |
siblings : 4 | |
core id : 1 | |
cpu cores : 4 | |
apicid : 2 | |
initial apicid : 2 | |
fpu : yes | |
fpu_exception : yes | |
cpuid level : 13 | |
wp : yes | |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms | |
bogomips : 6199.55 | |
clflush size : 64 | |
cache_alignment : 64 | |
address sizes : 36 bits physical, 48 bits virtual | |
power management: | |
processor : 2 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 58 | |
model name : Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz | |
stepping : 9 | |
microcode : 0x17 | |
cpu MHz : 3101.000 | |
cache size : 6144 KB | |
physical id : 0 | |
siblings : 4 | |
core id : 2 | |
cpu cores : 4 | |
apicid : 4 | |
initial apicid : 4 | |
fpu : yes | |
fpu_exception : yes | |
cpuid level : 13 | |
wp : yes | |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms | |
bogomips : 6199.55 | |
clflush size : 64 | |
cache_alignment : 64 | |
address sizes : 36 bits physical, 48 bits virtual | |
power management: | |
processor : 3 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 58 | |
model name : Intel(R) Core(TM) i5-3450 CPU @ 3.10GHz | |
stepping : 9 | |
microcode : 0x17 | |
cpu MHz : 3101.000 | |
cache size : 6144 KB | |
physical id : 0 | |
siblings : 4 | |
core id : 3 | |
cpu cores : 4 | |
apicid : 6 | |
initial apicid : 6 | |
fpu : yes | |
fpu_exception : yes | |
cpuid level : 13 | |
wp : yes | |
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms | |
bogomips : 6199.55 | |
clflush size : 64 | |
cache_alignment : 64 | |
address sizes : 36 bits physical, 48 bits virtual | |
power management: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hit barrier |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment