View Issue Details

IDProjectCategoryView StatusLast Update
0003934Talerexchangepublic2024-01-12 13:05
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
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.0Fixed in Version0.0 
Summary0003934: JSON parsing failed at mint_api_context.c:448: wrong arguments (<buffer>)
DescriptionI get these two errors if I run test_mint_api under valgrind -- but only then:

Aug 09 17:12:34-342084 test-mint-api-17804 WARNING JSON parsing failed at mint_api_context.c:448: wrong arguments (<buffer>)
Aug 09 17:12:34-387607 test-mint-api-17804 ERROR Assertion failed at test_mint_api.c:1735.
Steps To ReproduceThis is running the test *without* the refresh logic, but under valgrind with --trace-children=yes.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2015-08-09 16:07

manager   ~0009550

The issue is simply that the sleep(2) isn't long enough for the httpd to start if we are under valgrind instrumentation. Nevertheless, the test should be (re)written to be more robust.

Christian Grothoff

2015-08-09 16:12

manager   ~0009551

Added logic to retry wget-ting the /agpl url until the httpd is up. Means delays from valgrind should be automatically handled.

Christian Grothoff

2021-09-02 16:14

manager   ~0018319

Fix committed to master branch.

Issue History

Date ModifiedUsernameFieldChange
2015-08-09 15:14Christian GrothoffNew Issue
2015-08-09 15:14Christian GrothoffStatusnew => assigned
2015-08-09 15:14Christian GrothoffAssigned To => Christian Grothoff
2015-08-09 16:07Christian GrothoffNote Added: 0009550
2015-08-09 16:12Christian GrothoffNote Added: 0009551
2015-08-09 16:12Christian GrothoffStatusassigned => informing
2015-08-09 16:12Christian GrothoffFixed in Version => 0.0
2015-08-09 16:12Christian GrothoffResolutionopen => fixed
2015-08-09 16:19Christian GrothoffStatusinforming => closed
2015-11-29 12:52Christian GrothoffCategorymint API => mint API (C)
2016-02-18 14:44Christian GrothoffCategorymint API (C) => exchange API (C)
2021-09-02 16:14Christian Grothoff
2021-09-02 16:14Christian GrothoffNote Added: 0018319
2024-01-12 13:05Christian GrothoffCategoryexchange API (C) => exchange