Ivan Prisyazhnyy
0836efd830
tracing: test/boost/tracing: fix use after free
...
fixes AddressSanitizer: stack-buffer-underflow on address 0x7ffd9a375820 at pc 0x555ac9721b4e bp 0x7ffd9a374e70 sp 0x7ffd9a374620
Backend registry holds a unique pointer to the backend implementation
that must outlive the whole tracing lifetime until the shutdown call.
So it must be catched/moved before the program exits its scope by
passing out the lambda chain.
Regarding deletion of the default destructor: moving object requires
a move constructor (for do_with) that is not implicitly provided if
there is a user-defined object destructor defined even tho its impl
is default.
Signed-off-by: Ivan Prisyazhnyy <ivan@scylladb.com >
Closes #8461
2021-04-12 16:44:07 +03:00
..
2021-01-13 11:07:29 +02:00
2020-08-15 20:26:02 +03:00
2020-11-16 22:32:32 -05:00
2020-08-06 15:41:31 +03:00
2021-01-27 17:38:17 +02:00
2021-04-01 12:56:08 +03:00
2021-03-10 19:54:12 +02:00
2021-02-02 09:30:30 +03:00
2020-09-21 16:32:53 +03:00
2021-02-17 13:24:40 +01:00
2021-02-18 11:44:59 +01:00
2020-11-02 18:02:01 +02:00
2021-02-01 19:32:07 +02:00
2020-10-15 19:25:24 +03:00
2021-04-06 16:38:14 +00:00
2021-01-08 14:16:08 +01:00
2020-11-12 12:36:16 +01:00
2021-01-13 11:07:29 +02:00
2021-02-16 23:43:07 +01:00
2021-01-13 11:07:29 +02:00
2020-10-19 15:40:55 -04:00
2021-02-25 17:20:27 +01:00
2021-03-02 08:01:53 +02:00
2020-08-26 20:44:11 +03:00
2021-03-24 17:54:05 +02:00
2020-10-30 08:06:04 +02:00
2020-08-15 20:26:02 +03:00
2020-11-12 12:36:13 +01:00
2021-02-25 17:20:27 +01:00
2021-01-13 17:35:07 +02:00
2021-01-13 11:07:29 +02:00
2020-09-28 11:27:23 +03:00
2021-02-22 12:45:43 +01:00
2021-01-13 16:41:34 +03:00
2021-01-15 18:28:24 +01:00
2020-12-15 16:03:18 +03:00
2021-02-25 17:20:27 +01:00
2021-01-13 11:07:29 +02:00
2021-01-08 14:16:08 +01:00
2021-02-25 17:20:27 +01:00
2021-01-13 11:07:29 +02:00
2021-03-15 13:54:49 +02:00
2021-04-01 10:39:42 +02:00
2020-09-28 10:53:56 +03:00
2021-03-26 14:22:43 +02:00
2021-02-16 23:43:07 +01:00
2021-01-08 14:16:08 +01:00
2020-09-28 10:53:48 +03:00
2021-04-12 10:34:52 +03:00
2021-04-09 18:20:39 +03:00
2021-01-19 19:03:58 +02:00
2021-04-09 12:18:29 +03:00
2021-01-13 11:07:29 +02:00
2020-07-23 16:49:35 +03:00
2021-03-18 14:58:21 +02:00
2021-02-25 17:20:27 +01:00
2021-02-15 20:27:00 +03:00
2021-03-26 20:22:44 +03:00
2021-01-29 22:07:07 +03:00
2020-12-28 18:26:48 +02:00
2021-02-25 17:20:27 +01:00
2021-03-09 17:57:52 +01:00
2021-02-01 18:52:04 +02:00
2021-01-27 17:38:17 +02:00
2021-02-25 17:20:27 +01:00
2020-10-14 16:45:21 +03:00
2021-01-13 16:41:34 +03:00
2021-02-16 23:43:07 +01:00
2020-09-23 20:55:12 +03:00
2021-04-12 10:34:52 +03:00
2021-02-01 16:45:52 +02:00
2020-11-09 19:57:40 +02:00
2021-03-30 09:37:41 +02:00
2020-09-23 20:55:13 +03:00
2021-03-18 11:15:59 +02:00
2021-03-11 12:17:13 +02:00
2021-03-18 11:47:49 -03:00
2020-08-11 10:37:34 +08:00
2021-03-10 21:25:43 -05:00
2020-12-22 10:35:15 +02:00
2020-11-03 21:30:11 +03:00
2021-03-21 09:30:43 +02:00
2021-03-18 12:40:05 +02:00
2021-04-12 16:44:07 +03:00
2021-04-01 10:42:07 +02:00
2020-11-02 16:47:32 +02:00
2021-02-02 13:03:39 +02:00
2020-08-16 13:49:55 +03:00
2020-10-21 11:14:44 +03:00
2021-04-06 17:12:54 +03:00
2021-03-29 17:58:28 +03:00
2020-08-18 14:31:04 +03:00
2020-08-20 14:53:07 +02:00