[PATCH v4 11/37] unwind: report expected backtracing error

Dmitry V. Levin ldv at altlinux.org
Thu Jun 12 22:32:36 UTC 2014


On Wed, Apr 16, 2014 at 03:33:09PM +0900, Masatake YAMATO wrote:
> When a file mmap'ed to the target process is unlink'ed, backtracing
> the stack is failed. Current implementation reports it as
> "backtracing_error". To reduce bug reports, this patch
> changes the message to "expected_backtracing_error".

Now I'm looking at this applied patch again and I don't see why it changes
anything.

The only place where "deleted" field is tested is when berror_expected is
set before breaking from "while (lower <= upper)" loop.  But the only case
when berror_expected is tested is "if (lower > upper)" after this loop.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140613/9cb0b896/attachment.bin>


More information about the Strace-devel mailing list