View Issue Details

IDProjectCategoryView StatusLast Update
0009924Talerauditorpublic2025-05-09 22:07
ReporterChristian Grothoff Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status confirmedResolutionopen 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Versionpost-1.0 
Summary0009924: strange valgrind failure in auditordb plugin
DescriptionWe only get this with the auditordb, not with exchangedb, so likely an actual issue. The valgrind report is:
==204441== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
==204441== at 0x4AE4687: __internal_syscall_cancel (cancellation.c:64)
==204441== by 0x4AE46AC: __syscall_cancel (cancellation.c:75)
==204441== by 0x4B671F6: send (send.c:28)
==204441== by 0x69CEF18: ??? (in /usr/lib/x86_64-linux-gnu/libpq.so.5.17)
==204441== by 0x69C985A: ??? (in /usr/lib/x86_64-linux-gnu/libpq.so.5.17)
==204441== by 0x69C3A13: ??? (in /usr/lib/x86_64-linux-gnu/libpq.so.5.17)
==204441== by 0x69C4F30: PQsendQueryPrepared (in /usr/lib/x86_64-linux-gnu/libpq.so.5.17)
==204441== by 0x69C60E3: PQexecPrepared (in /usr/lib/x86_64-linux-gnu/libpq.so.5.17)
==204441== by 0x6976DEB: GNUNET_PQ_exec_prepared (pq.c:95)
==204441== by 0x6979C79: GNUNET_PQ_eval_prepared_non_select (pq_eval.c:142)
==204441== by 0x6946DAF: TAH_PG_insert_deposit_confirmation (pg_insert_deposit_confirmation.c:75)
==204441== by 0x11001F: verify_and_execute_deposit_confirmation (taler-auditor-httpd_deposit-confirmation.c:254)
==204441== Address 0x65b2484 is 644 bytes inside a block of size 16,384 alloc'd
==204441== at 0x48447B4: malloc (vg_replace_malloc.c:381)
==204441== by 0x69BBD2E: ??? (in /usr/lib/x86_64-linux-gnu/libpq.so.5.17)
==204441== by 0x69C1772: PQconnectStart (in /usr/lib/x86_64-linux-gnu/libpq.so.5.17)
==204441== by 0x69C1BE1: PQconnectdb (in /usr/lib/x86_64-linux-gnu/libpq.so.5.17)
==204441== by 0x6978C1D: GNUNET_PQ_reconnect (pq_connect.c:567)
==204441== by 0x6977F3A: GNUNET_PQ_connect2 (pq_connect.c:303)
==204441== by 0x6979457: GNUNET_PQ_connect_with_cfg2 (pq_connect.c:752)
==204441== by 0x6950044: setup_connection (plugin_auditordb_postgres.c:323)
==204441== by 0x69500CE: postgres_preflight (plugin_auditordb_postgres.c:357)
==204441== by 0x48F82D7: TALER_AUDITORDB_plugin_load (auditordb_plugin.c:62)
==204441== by 0x10E46C: auditor_serve_process_config (taler-auditor-httpd.c:1138)
==204441== by 0x10ED94: run (taler-auditor-httpd.c:1353)
==204441==

and

Steps To ReproduceIn src/testing/, run:
$ valgrind --log-file=/tmp/grind/exchange-%p.log --trace-children=yes --leak-check=yes make check
Tagssecurity

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-05-09 22:06 Christian Grothoff New Issue
2025-05-09 22:06 Christian Grothoff Status new => confirmed
2025-05-09 22:07 Christian Grothoff Tag Attached: security