Rusty Russell
0a50301d51
pytest: don't test for memleaks under valgrind.
...
The next patch perturbed things enough that we suddenly started
getting (with --track-origins=yes):
Valgrind error file: valgrind-errors.120470
==120470== Use of uninitialised value of size 8
==120470== at 0x14EBD5: htable_val (htable.c:150)
==120470== by 0x14EC3C: htable_firstval_ (htable.c:165)
==120470== by 0x14F583: htable_del_ (htable.c:349)
==120470== by 0x11825D: pointer_referenced (memleak.c:65)
==120470== by 0x118485: scan_for_pointers (memleak.c:121)
==120470== by 0x118500: memleak_remove_region (memleak.c:130)
==120470== by 0x118A30: call_memleak_helpers (memleak.c:257)
==120470== by 0x118A8B: call_memleak_helpers (memleak.c:262)
==120470== by 0x118A8B: call_memleak_helpers (memleak.c:262)
==120470== by 0x118B25: memleak_find_allocations (memleak.c:278)
==120470== by 0x10EB12: closing_dev_memleak (closingd.c:584)
==120470== by 0x10F3E2: main (closingd.c:783)
==120470== Uninitialised value was created by a heap allocation
==120470== at 0x483B7F3: malloc (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_memcheck-amd64-linux.so)
==120470== by 0x1604E8: allocate (tal.c:250)
==120470== by 0x160AA9: tal_alloc_ (tal.c:428)
==120470== by 0x119BE0: new_per_peer_state (per_peer_state.c:24)
==120470== by 0x11A101: fromwire_per_peer_state (per_peer_state.c:95)
==120470== by 0x10FB7C: fromwire_closingd_init (closingd_wiregen.c:103)
==120470== by 0x10ED15: main (closingd.c:626)
==120470==
This is because there is uninitialized padding at the end of struct
peer_state.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au >
2020-09-23 13:52:49 +09:30
..
2020-09-23 13:52:49 +09:30
2019-11-13 03:31:20 +00:00
2020-02-05 14:19:12 +01:00
2020-09-14 03:57:17 +09:30
2020-08-06 09:36:47 +09:30
2018-07-30 11:31:17 +02:00
2018-05-10 02:28:44 +00:00
2019-12-03 23:35:18 +01:00
2019-12-03 23:35:18 +01:00
2018-07-30 11:31:17 +02:00
2018-04-25 12:34:55 +02:00
2018-11-02 05:58:01 +00:00
2018-03-25 23:54:21 +00:00
2020-06-23 18:49:15 +02:00
2020-05-18 14:51:12 +02:00
2020-05-18 14:51:12 +02:00
2020-05-18 14:51:12 +02:00
2020-04-04 16:08:49 +10:30
2020-04-04 16:08:49 +10:30
2020-08-25 12:53:13 +09:30
2020-04-03 13:13:21 +10:30
2019-02-21 08:01:37 +00:00
2019-07-16 06:10:58 +00:00
2020-09-09 19:54:20 +09:30
2020-09-09 19:54:20 +09:30
2020-06-11 13:13:13 +02:00
2020-06-11 13:13:13 +02:00
2020-04-07 13:52:48 +09:30
2020-09-09 19:54:20 +09:30
2020-09-09 19:54:20 +09:30
2020-09-23 13:52:49 +09:30
2019-11-23 22:42:34 +00:00
2017-10-20 18:31:32 +02:00
2017-10-20 18:31:32 +02:00
2019-11-18 04:50:22 +00:00
2019-06-04 01:29:39 +00:00
2019-09-10 02:02:51 +00:00
2018-09-28 04:14:28 +00:00
2019-05-03 11:42:48 +02:00
2019-05-03 11:42:48 +02:00
2020-09-23 13:52:49 +09:30
2020-02-02 12:59:17 +10:30
2020-09-08 09:42:00 +09:30
2020-06-23 18:49:15 +02:00
2019-07-17 12:55:37 -05:00
2019-07-17 12:55:37 -05:00
2020-09-08 09:42:00 +09:30
2017-10-26 12:53:09 +02:00
2020-08-28 10:56:50 +09:30
2020-08-28 10:56:50 +09:30
2020-08-25 12:53:13 +09:30
2020-04-04 16:08:49 +10:30
2020-04-04 16:08:49 +10:30
2020-01-31 06:02:47 +00:00
2020-09-09 19:54:20 +09:30
2020-09-09 19:54:20 +09:30
2020-05-18 14:51:12 +02:00
2020-05-04 10:22:26 +09:30
2020-08-24 20:55:47 +09:30
2020-09-08 09:42:00 +09:30
2019-09-06 14:35:01 +02:00
2020-09-08 09:42:00 +09:30
2020-05-07 08:44:58 +09:30
2020-09-08 09:42:00 +09:30
2020-08-28 10:56:50 +09:30
2020-02-05 14:19:12 +01:00
2020-02-05 14:19:12 +01:00
2020-03-25 14:26:28 +10:30
2020-03-25 14:26:28 +10:30
2017-08-29 17:54:14 +02:00
2018-02-08 22:49:34 +01:00
2020-08-14 11:51:14 +09:30
2020-08-14 11:51:14 +09:30
2020-08-24 20:55:47 +09:30
2020-08-24 20:55:47 +09:30
2020-08-31 21:33:26 -05:00
2020-09-08 09:42:00 +09:30
2018-03-28 11:22:05 +02:00
2020-09-09 19:54:20 +09:30
2020-09-09 19:54:20 +09:30
2020-08-24 20:55:47 +09:30
2020-09-09 19:54:20 +09:30
2018-10-19 22:02:11 +00:00
2020-02-05 14:19:12 +01:00
2020-09-02 09:46:37 +09:30
2020-08-25 12:34:56 +09:30
2020-08-25 12:34:56 +09:30
2020-04-09 14:09:23 +09:30
2020-04-09 14:09:23 +09:30
2020-09-02 09:46:37 +09:30
2020-08-11 08:39:24 +09:30
2020-09-10 15:28:50 +09:30
2020-08-21 09:52:33 +09:30
2020-09-10 17:27:51 +09:30
2020-08-24 20:55:47 +09:30
2017-08-29 17:54:14 +02:00
2020-08-24 20:55:47 +09:30
2019-09-10 16:18:25 -05:00
2020-09-09 19:54:20 +09:30
2020-09-23 13:52:49 +09:30
2020-02-02 12:59:17 +10:30
2020-02-27 14:16:16 +10:30
2019-05-03 11:42:48 +02:00
2020-05-18 14:51:12 +02:00
2020-05-18 14:51:12 +02:00
2020-09-08 09:42:00 +09:30
2020-04-14 12:51:18 +09:30
2020-05-18 14:51:12 +02:00
2020-01-23 16:17:42 +10:30
2018-03-27 23:18:48 +00:00
2020-02-27 14:16:16 +10:30
2020-02-05 14:19:12 +01:00
2020-08-25 12:53:13 +09:30
2018-02-23 18:02:00 +01:00
2020-08-25 12:53:13 +09:30
2019-12-13 16:36:18 +01:00
2020-05-18 14:51:12 +02:00
2020-09-17 10:23:40 +09:30
2020-09-17 10:23:40 +09:30
2020-08-06 09:36:47 +09:30
2020-05-07 15:05:39 +09:30
2019-09-25 04:01:56 +00:00
2019-09-20 06:55:00 +00:00
2020-06-11 13:13:13 +02:00
2019-04-08 00:00:00 +00:00
2020-09-08 09:42:00 +09:30
2018-02-22 12:24:26 +01:00
2020-09-23 13:52:49 +09:30
2020-09-23 13:52:49 +09:30
2019-04-16 21:22:13 +00:00
2019-04-16 21:22:13 +00:00
2020-08-28 10:56:50 +09:30
2020-08-28 10:56:50 +09:30
2020-08-31 21:33:26 -05:00
2019-12-13 16:36:18 +01:00
2020-08-28 10:56:50 +09:30
2020-08-28 10:56:50 +09:30
2020-09-23 13:52:49 +09:30
2020-05-19 13:35:42 +09:30
2018-05-09 04:43:21 +00:00
2018-05-09 04:43:21 +00:00
2020-08-31 21:33:26 -05:00
2020-09-08 09:42:00 +09:30
2018-02-08 19:07:12 +01:00
2018-02-08 19:07:12 +01:00
2020-05-18 14:51:12 +02:00
2018-02-08 19:07:12 +01:00
2020-09-17 10:23:40 +09:30
2020-09-17 10:23:40 +09:30
2020-08-31 21:33:26 -05:00
2019-11-18 04:50:22 +00:00
2019-11-18 04:50:22 +00:00
2019-09-06 14:35:01 +02:00
2018-03-16 00:16:10 +00:00
2017-08-29 17:54:14 +02:00
2019-02-21 00:44:57 +00:00
2020-07-13 11:37:24 +09:30
2020-09-23 13:52:49 +09:30
2020-09-23 13:52:49 +09:30
2020-09-08 10:14:42 +09:30
2020-09-08 10:14:42 +09:30
2020-08-07 10:41:37 +09:30
2018-01-29 03:22:27 +00:00
2019-06-08 02:58:27 +00:00
2019-10-07 20:03:24 -05:00
2020-09-08 09:42:00 +09:30
2018-06-18 12:31:09 +02:00
2020-02-05 14:19:12 +01:00
2020-02-27 14:16:16 +10:30