Author: Richard Plangger <[email protected]>
Branch: vmprof-native
Changeset: r90223:53e085c091e4
Date: 2017-02-13 17:30 +0100
http://bitbucket.org/pypy/pypy/changeset/53e085c091e4/
Log: step once more to discard signal frame
diff --git a/rpython/rlib/rvmprof/src/shared/vmp_stack.c
b/rpython/rlib/rvmprof/src/shared/vmp_stack.c
--- a/rpython/rlib/rvmprof/src/shared/vmp_stack.c
+++ b/rpython/rlib/rvmprof/src/shared/vmp_stack.c
@@ -168,6 +168,7 @@
while (signal) {
int is_signal_frame = unw_is_signal_frame(&cursor);
if (is_signal_frame) {
+ unw_step(&cursor); // step once more discard signal frame
break;
}
int err = unw_step(&cursor);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit