Repository navigation
Closed
Labels
Milestone
Description
...
Freeing transaction 18962.
==335181== Invalid read of size 8
==335181== at 0x43B498: on_stream_complete (resolved-dns-transaction.c:642)
==335181== by 0x42D3EB: dns_stream_complete (resolved-dns-stream.c:84)
==335181== by 0x42E125: on_stream_io (resolved-dns-stream.c:310)
==335181== by 0x4C8242A: source_dispatch (sd-event.c:4187)
==335181== by 0x4C847F7: sd_event_dispatch (sd-event.c:4808)
==335181== by 0x4C84CDE: sd_event_run (sd-event.c:4869)
==335181== by 0x4C84EC2: sd_event_loop (sd-event.c:4891)
==335181== by 0x473628: run (resolved.c:92)
==335181== by 0x473781: main (resolved.c:99)
==335181== Address 0x77909e8 is 264 bytes inside a block of size 296 free'd
==335181== at 0x4845B2C: free (vg_replace_malloc.c:985)
==335181== by 0x43930F: dns_transaction_free (resolved-dns-transaction.c:171)
==335181== by 0x439441: dns_transaction_gc (resolved-dns-transaction.c:190)
==335181== by 0x43898C: dns_transaction_flush_dnssec_transactions (resolved-dns-transaction.c:48)
==335181== by 0x4392C0: dns_transaction_free (resolved-dns-transaction.c:164)
==335181== by 0x439441: dns_transaction_gc (resolved-dns-transaction.c:190)
==335181== by 0x43AA93: dns_transaction_complete (resolved-dns-transaction.c:460)
==335181== by 0x43C599: dns_transaction_dnssec_ready (resolved-dns-transaction.c:932)
==335181== by 0x43C602: dns_transaction_process_dnssec (resolved-dns-transaction.c:942)
==335181== by 0x442539: dns_transaction_notify (resolved-dns-transaction.c:2752)
==335181== by 0x43A98F: dns_transaction_complete (resolved-dns-transaction.c:456)
==335181== by 0x43EC14: dns_transaction_prepare (resolved-dns-transaction.c:1696)
==335181== Block was alloc'd at
==335181== at 0x484280F: malloc (vg_replace_malloc.c:442)
==335181== by 0x437F6A: malloc_multiply (alloc-util.h:119)
==335181== by 0x43987C: dns_transaction_new (resolved-dns-transaction.c:281)
==335181== by 0x440C20: dns_transaction_add_dnssec_transaction (resolved-dns-transaction.c:2248)
==335181== by 0x441050: dns_transaction_request_dnssec_rr (resolved-dns-transaction.c:2311)
==335181== by 0x442455: dns_transaction_request_dnssec_keys (resolved-dns-transaction.c:2734)
==335181== by 0x43DCF9: dns_transaction_process_reply (resolved-dns-transaction.c:1409)
==335181== by 0x43B2E9: dns_transaction_on_stream_packet (resolved-dns-transaction.c:613)
==335181== by 0x43B599: on_stream_packet (resolved-dns-transaction.c:658)
==335181== by 0x42E866: on_stream_io (resolved-dns-stream.c:430)
==335181== by 0x4C8242A: source_dispatch (sd-event.c:4187)
==335181== by 0x4C847F7: sd_event_dispatch (sd-event.c:4808)
==335181==
==335181==
Activity
evverx commentedon Jan 14, 2024
I'll go ahead and link it to #30931 just in case.
resolve: on_transaction_stream_error() may free multiple transactions
resolve: on_transaction_stream_error() may free multiple transactions
resolve: on_transaction_stream_error() may free multiple transactions
resolve: on_transaction_stream_error() may free multiple transactions
resolve: on_transaction_stream_error() may free multiple transactions
resolve: on_transaction_stream_error() may free multiple transactions