This file contains hidden or 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
/opt/luajit-arm/bin/luajit-2.1.0-beta3: compare.lua:226: assertion failed! | |
stack traceback: | |
[C]: in function 'assert' | |
compare.lua:226: in main chunk | |
[C]: at 0x00014cb8 | |
=== test/misc/argcheck.lua | |
=== test/misc/self.lua | |
Failed test when running /home/agentzh/git/luajit2-test-suite/arm-luajit compare.lua 1: 256 | |
... | |
/opt/luajit-arm/bin/luajit-2.1.0-beta3: catch_cpp.lua:2: module 'cpptest' not found: |
This file contains hidden or 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
(rr) reverse-cont | |
Continuing. | |
Hardware watchpoint 2: -location J->maxslot | |
Old value = 88 | |
New value = 10 | |
0x00007f9d56d29331 in rec_varg (J=J@entry=0x7f9d57b16688, dst=dst@entry=10, nresults=78, nresults@entry=-1) at lj_record.c:1777 | |
1777 J->maxslot = dst + (BCReg)nvararg; |
This file contains hidden or 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
nginx: lj_record.c:92: rec_check_slots: Assertion `nslots <= 250' failed. | |
Program received signal SIGABRT, Aborted. | |
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 | |
50 return ret; | |
(rr) bt | |
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 | |
#1 0x00007f9d55a425b9 in __GI_abort () at abort.c:79 | |
#2 0x00007f9d55a42491 in __assert_fail_base (fmt=0x7f9d55ba5048 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x7f9d56d7737b "nslots <= 250", file=0x7f9d56d772f4 "lj_record.c", line=92, function=<optimized out>) at assert.c:92 |
This file contains hidden or 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
Core was generated by `stap -p4 -DSTP_OVERLOAD_THRESHOLD=5000000000 -DMAXACTION=200000000 -DMAXSTRINGL'. | |
Program terminated with signal SIGABRT, Aborted. | |
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 | |
51 } | |
(gdb) bt | |
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51 | |
#1 0x00007f485b450d31 in __GI_abort () at abort.c:79 | |
#2 0x00007f485b44805a in __assert_fail_base (fmt=0x7f485b598580 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7a4d10 "values.empty()", file=file@entry=0x7a4d05 "staptree.h", line=line@entry=1328, | |
function=function@entry=0x7a5920 <update_visitor::~update_visitor()::__PRETTY_FUNCTION__> "virtual update_visitor::~update_visitor()") at assert.c:92 | |
#3 0x00007f485b4480d2 in __GI___assert_fail (assertion=0x7a4d10 "values.empty()", file=0x7a4d05 "staptree.h", line=1328, function=0x7a5920 <update_visitor::~update_visitor()::__PRETTY_FUNCTION__> "virtual update_visitor::~update_visitor()") at assert.c:101 |
This file contains hidden or 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
commit 78c9a67ec4e487058c215136594d4bbfe6185ca0 | |
Author: Yichun Zhang (agentzh) <[email protected]> | |
Date: Wed Oct 3 20:20:26 2018 -0700 | |
bugfix: a NULL deferef crash might happen in const_folder::visit_binary_expression() due to the fact that e->tok might be NULL. | |
It is still not clear why e->tok would end of being NULL in the first | |
place. Need investigations by tracing the full stap AST with stap (or | |
gdb). The core dump can be easily reproduced by running the pyftrace | |
ylang tool with 'stap -vvv' (and also without this patch). |
This file contains hidden or 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
Core was generated by `stap -vvv -p4 -DSTP_OVERLOAD_THRESHOLD=5000000000 -DMAXACTION=5000000 --no-w ne'. | |
Program terminated with signal SIGSEGV, Segmentation fault. | |
#0 0x000000000045edcc in operator<< (o=..., t=...) at parse.cxx:338 | |
338 o << tt2str(t.type); | |
(gdb) bt | |
#0 0x000000000045edcc in operator<< (o=..., t=...) at parse.cxx:338 | |
#1 0x00000000004ea915 in const_folder::visit_binary_expression (this=0x7fff7c74daf0, e=0x5677600) at elaborate.cxx:4621 | |
#2 0x00000000004ac299 in binary_expression::visit (this=0x5677600, u=0x7fff7c74daf0) at staptree.cxx:1688 | |
#3 0x00000000004c0c3a in update_visitor::require<expression> (this=0x7fff7c74daf0, src=0x5677600, clearok=false) at staptree.h:1279 | |
#4 0x00000000004bb954 in update_visitor::replace<expression> (this=0x7fff7c74daf0, src=@0x56776d0: 0x5677600, clearok=false) at staptree.h:1310 |
This file has been truncated, but you can view the full file.
This file contains hidden or 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
-> <module>@<frozen importlib._bootstrap>:8 () | |
File "<frozen importlib._bootstrap>", line 8 in <module> | |
-> _DeadlockError@<frozen importlib._bootstrap>:48 () | |
File "<frozen importlib._bootstrap>", line 48 in _DeadlockError | |
File "<frozen importlib._bootstrap>", line 48 in <module> | |
<- _DeadlockError@<frozen importlib._bootstrap>:49 | |
-> _ModuleLock@<frozen importlib._bootstrap>:52 () | |
File "<frozen importlib._bootstrap>", line 52 in _ModuleLock | |
File "<frozen importlib._bootstrap>", line 52 in <module> | |
<- _ModuleLock@<frozen importlib._bootstrap>:116 |
This file contains hidden or 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
a.c | |
b.c | |
plftrace.y.c | |
[1538611694762] _start | |
0x564083003520 : _start+0x0/0x30 [/usr/bin/ls] | |
[1538611694762] __libc_csu_init | |
0x5640830137d0 : __libc_csu_init+0x0/0x70 [/usr/bin/ls] | |
0x7f6eda097f7b : __libc_start_main+0x7b/0x1c0 [/usr/lib64/libc-2.26.so] |
This file contains hidden or 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
rr: Saving execution to trace directory `/home/agentzh/.local/share/rr/qemu-system-x86_64-2'. | |
[FATAL /home/agentzh/git/rr/rr/src/record_syscall.cc:4925:rec_process_syscall_arch()] | |
(task 21689 (rec:21689) at time 543) | |
-> Assertion `t->regs().syscall_result_signed() == -syscall_state.expect_errno' failed to hold. Expected EINVAL for 'ioctl' but got result -7 (errno E2BIG); Unknown ioctl(0xc004ae02): type:0xae nr:0x2 dir:0x3 size:4 addr:0x7ffde31fa5c0 | |
Tail of trace dump: | |
{ | |
real_time:183502.088383 global_time:523, event:`SYSCALL: ioctl' (state:EXITING_SYSCALL) tid:21689, ticks:1228408 | |
rax:0x1 rbx:0x681fffa0 rcx:0xffffffffffffffff rdx:0x51 rsi:0xae03 rdi:0xd rbp:0x7ffde31fa840 rsp:0x681ffe60 r8:0x1 r9:0x0 r10:0x7fb0d647fb78 r11:0x246 r12:0x5587b31b61e0 r13:0xa0 r14:0x10 r15:0x1 rip:0x70000002 eflags:0x246 cs:0x33 ss:0x2b ds:0x0 es:0x0 fs:0x0 gs:0x0 orig_rax:0x10 fs_base:0x7fb0d8049ac0 gs_base:0x0 | |
} | |
{ |
This file contains hidden or 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
agentzh@fed26 ~/git/systemtap (master)$ make -j6 installcheck-parallel | |
if test \! -e /opt/stap/bin/stap; then \ | |
echo /opt/stap/bin/stap doesn\'t exist, run make install; \ | |
exit -1; \ | |
fi; \ | |
if test ./stap -nt /opt/stap/bin/stap; then \ | |
echo "/opt/stap/bin/stap is not recent, run make install"; \ | |
exit -1; \ | |
fi; | |
make -C testsuite installcheck-parallel RUNTESTFLAGS="" |