View Issue Details

IDProjectCategoryView StatusLast Update
0011597Talermerchant backendpublic2026-07-02 09:27
ReporterFlorian Dold Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
Target Version1.6 
Summary0011597: merchant DB test crashes with SIGSEGV
Description$ meson test -C build --setup=all -v test-merchantdb
Additional InformationINFO Preparing SQL: SELECT mt.template_description,mod.otp_id,mt.template_contract::TEXT,mt.editable_defaults::TEXT FROM merchant_template mt LEFT JOIN merchant_otp_devices mod ON (mod.otp_serial = mt.otp_device_id) WHERE mt.template_id=$1
==758761== Invalid write of size 8
==758761== at 0x484F064: memset (vg_replace_strmem.c:1399)
==758761== by 0x488B208: TALER_MERCHANTDB_lookup_template (lookup_template.c:78)
==758761== by 0x41936B: run_test_templates (test_merchantdb.c:6317)
==758761== by 0x419AC8: test_templates (test_merchantdb.c:6395)
==758761== by 0x41E54A: run_tests (test_merchantdb.c:7546)
==758761== by 0x41E760: run (test_merchantdb.c:7579)
==758761== by 0x4A4C24E: GNUNET_SCHEDULER_do_work (scheduler.c:2152)
==758761== by 0x4A4CFAA: select_loop (scheduler.c:2452)
==758761== by 0x4A474D9: GNUNET_SCHEDULER_run (scheduler.c:749)
==758761== by 0x41E8EF: main (test_merchantdb.c:7616)
==758761== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==758761==
==758761==
==758761== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==758761== Access not within mapped region at address 0x0
==758761== at 0x484F064: memset (vg_replace_strmem.c:1399)
==758761== by 0x488B208: TALER_MERCHANTDB_lookup_template (lookup_template.c:78)
==758761== by 0x41936B: run_test_templates (test_merchantdb.c:6317)
==758761== by 0x419AC8: test_templates (test_merchantdb.c:6395)
==758761== by 0x41E54A: run_tests (test_merchantdb.c:7546)
==758761== by 0x41E760: run (test_merchantdb.c:7579)
==758761== by 0x4A4C24E: GNUNET_SCHEDULER_do_work (scheduler.c:2152)
==758761== by 0x4A4CFAA: select_loop (scheduler.c:2452)
==758761== by 0x4A474D9: GNUNET_SCHEDULER_run (scheduler.c:749)
==758761== by 0x41E8EF: main (test_merchantdb.c:7616)
==758761== If you believe this happened as a result of a stack
==758761== overflow in your program's main thread (unlikely but
==758761== possible), you can try to increase the size of the
==758761== main thread stack using the --main-stacksize= flag.
==758761== The main thread stack size used in this run was 8388608.
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-07-02 09:27 Florian Dold New Issue
2026-07-02 09:27 Florian Dold Status new => assigned
2026-07-02 09:27 Florian Dold Assigned To => Christian Grothoff