seastar::thread causes error from address sanitizer

153 views
Skip to first unread message

Nadav Har'El

<nyh@cloudius-systems.com>
unread,
Jun 21, 2015, 6:25:30 AM6/21/15
to seastar-dev
Hi,

While testing some code using seastar::thread, I got the following message from the debug build, at the same point in my code where seastar::thread was being used:

==1217==WARNING: ASan is ignoring requested __asan_handle_no_return: stack top: 0x7f01ed5fbc80; bottom 0x7f01e90d7000; size: 0x000004524c80 (72502400)
False positive error reports may follow
For details see http://code.google.com/p/address-sanitizer/issues/detail?id=189

The link given in the error message suggests this is a bug in support for swapcontext(), but we actually use setcontext() - not swapcontext(). Maybe that has the same bug? Doesn't everyone else see this error, or has everyone else just gotten used  to ignore it?

Perhaps it's a real bug in my code (I wouldn't be surprised), but it's suspicious the message is happening at exactly the same place I use seastar::thread, and despite this warning, the code seems to be working corectly.

Nadav.
Reply all
Reply to author
Forward
0 new messages