View Issue Details

IDProjectCategoryView StatusLast Update
0009924Talerauditorpublic2025-10-31 19:49
ReporterChristian Grothoff Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version1.1Fixed in Version1.1 
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

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2025-10-22 18:29

manager   ~0026223

Fix committed to master branch.

Issue History

Date ModifiedUsernameFieldChange
2025-05-09 20:06Christian GrothoffNew Issue
2025-05-09 20:06Christian GrothoffStatusnew => implementing
2025-05-09 20:07Christian GrothoffTag Attached: security
2025-09-04 19:04Christian GrothoffTarget Versionpost-1.0 => 1.7
2025-09-06 18:40Christian GrothoffAssigned To => Christian Grothoff
2025-09-06 18:40Christian GrothoffStatusimplementing => assigned
2025-09-06 18:40Christian GrothoffStatusassigned => implementing
2025-10-21 22:22Christian GrothoffStatusimplementing => assigned
2025-10-22 18:29Christian Grothoff
2025-10-22 18:29Christian GrothoffNote Added: 0026223
2025-10-22 18:29Christian GrothoffStatusassigned => informing
2025-10-22 18:29Christian GrothoffResolutionopen => fixed
2025-10-22 18:29Christian GrothoffFixed in Version => 1.2
2025-10-22 18:29Christian GrothoffTarget Version1.7 => 1.2
2025-10-23 22:50Christian GrothoffFixed in Version1.2 => 1.1
2025-10-23 22:51Christian GrothoffTarget Version1.2 => 1.1
2025-10-31 19:49Christian GrothoffStatusinforming => closed