View Issue Details

IDProjectCategoryView StatusLast Update
0003934Talerexchangepublic2024-01-12 14:05
ReporterChristian Grothoff Assigned ToChristian Grothoff  
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.

Activities

Christian Grothoff

2015-08-09 18: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 18: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 18:14

manager   ~0018319

Fix committed to master branch.

Related Changesets

exchange: master 2cccc2a1

2015-08-09 20:11

Christian Grothoff


Details Diff
fix 0003934 Affected Issues
0003934
mod - src/mint-lib/test_mint_api.c Diff File

Issue History

Date Modified Username Field Change
2015-08-09 17:14 Christian Grothoff New Issue
2015-08-09 17:14 Christian Grothoff Status new => assigned
2015-08-09 17:14 Christian Grothoff Assigned To => Christian Grothoff
2015-08-09 18:07 Christian Grothoff Note Added: 0009550
2015-08-09 18:12 Christian Grothoff Note Added: 0009551
2015-08-09 18:12 Christian Grothoff Status assigned => resolved
2015-08-09 18:12 Christian Grothoff Fixed in Version => 0.0
2015-08-09 18:12 Christian Grothoff Resolution open => fixed
2015-08-09 18:19 Christian Grothoff Status resolved => closed
2015-11-29 13:52 Christian Grothoff Category mint API => mint API (C)
2016-02-18 15:44 Christian Grothoff Category mint API (C) => exchange API (C)
2021-09-02 18:14 Christian Grothoff Changeset attached => Taler-exchange master 2cccc2a1
2021-09-02 18:14 Christian Grothoff Note Added: 0018319
2024-01-12 14:05 Christian Grothoff Category exchange API (C) => exchange