Avi Kivity
cb6231d1e2
cql3: use larger stack for do_with_cql_parser() in debug mode
...
Our cql parser uses large amounts of stack, and can overflow it
in debug mode with clang. To prevent this stack overflow,
temporarily use a larger (1MB) stack.
We can't use seastar::thread(), since do_with_cql_parser() does
not yield. We can't use std::thread(), since lw_shared_ptr()'s
debug mode will scream murder at an lw_shared_ptr used across
threads (even though it's perfectly safe in this case). We
can't use boost::context2 since that requires the library to
be compiled with address sanitizer support, which it isn't on
Fedora. So we use a fiber switch using the getcontext() function
familty. This requires extra annotations for debu mode, which are
added.
2020-10-10 00:31:50 +03:00
..
2020-09-04 17:27:30 +02:00
2020-09-04 17:27:30 +02:00
2020-09-10 08:45:07 +02:00
2020-09-04 17:27:30 +02:00
2020-09-21 16:32:53 +03:00
2020-05-30 09:49:29 +03:00
2020-05-30 09:49:29 +03:00
2020-05-30 09:49:29 +03:00
2020-09-04 17:27:30 +02:00
2020-09-04 17:27:30 +02:00
2018-06-11 15:34:14 +03:00
2020-09-04 17:27:30 +02:00
2020-09-04 17:27:30 +02:00
2020-02-20 18:14:49 +02:00
2020-06-08 11:28:57 +03:00
2020-04-27 12:47:42 +03:00
2020-04-27 12:47:42 +03:00
2020-05-30 09:49:29 +03:00
2020-08-20 12:51:36 +03:00
2020-07-21 10:33:49 -07:00
2019-12-11 10:44:40 -08:00
2019-08-21 19:35:59 +02:00
2020-09-04 17:27:30 +02:00
2020-08-18 13:45:20 +03:00
2019-11-26 02:24:49 +03:00
2017-06-29 10:51:20 +02:00
2018-11-21 00:01:44 +02:00
2020-02-28 08:36:27 -08:00
2020-02-28 08:36:27 -08:00
2020-08-20 12:51:36 +03:00
2020-06-26 09:19:36 -04:00
2020-08-20 12:51:36 +03:00
2020-05-30 09:49:29 +03:00
2020-08-18 12:27:00 +02:00
2020-05-31 23:45:19 +03:00
2020-05-31 23:45:19 +03:00
2020-09-04 17:27:30 +02:00
2018-06-11 15:34:13 +03:00
2020-08-26 09:45:49 +02:00
2020-08-26 09:45:49 +02:00
2020-05-28 09:09:48 +02:00
2020-07-07 11:54:36 +02:00
2020-05-06 19:02:36 +03:00
2020-08-18 12:27:01 +02:00
2020-08-03 17:32:49 +02:00
2020-06-29 12:30:37 +03:00
2020-06-29 12:30:37 +03:00
2017-11-27 12:14:24 -05:00
2019-01-08 13:16:36 +02:00
2018-02-14 14:15:57 -05:00
2020-08-20 12:51:36 +03:00
2020-05-30 09:49:29 +03:00
2020-08-25 11:10:36 +03:00
2020-08-25 11:10:36 +03:00
2020-02-18 16:16:20 +02:00
2020-09-04 17:27:30 +02:00
2020-08-18 12:27:00 +02:00
2020-08-18 12:27:00 +02:00
2020-07-21 10:33:49 -07:00
2020-08-26 09:45:49 +02:00
2020-05-30 09:49:29 +03:00
2020-07-03 10:27:23 +02:00
2020-07-03 10:27:23 +02:00
2020-06-15 15:47:15 -07:00
2020-07-28 10:06:00 +03:00
2020-08-03 17:32:49 +02:00
2020-09-04 13:13:26 +03:00
2020-09-04 17:27:30 +02:00
2020-09-04 17:27:30 +02:00
2019-01-08 13:16:36 +02:00
2019-01-08 13:16:36 +02:00
2020-10-10 00:31:50 +03:00
2020-10-09 23:49:42 +03:00
2020-08-26 09:45:48 +02:00
2020-08-26 09:45:48 +02:00
2020-04-27 12:47:42 +03:00
2020-04-27 12:47:42 +03:00