View Issue Details

IDProjectCategoryView StatusLast Update
0004794Talerexchangepublic2021-09-02 16:14
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
PrioritynormalSeverityblockReproducibilityhave not tried
Status closedResolutionfixed 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product Versiongit (master) 
Target Version0.2Fixed in Version0.2 
Summary0004794: assertion failing on withdraw
DescriptionNov 17 12:03:25-489866 taler-exchange-httpd-24247 ERROR Assertion failed at plugin_exchangedb_postgres.c:2014.
Nov 17 12:03:25-489892 taler-exchange-httpd-24247 ERROR Assertion failed at taler-exchange-httpd_db.c:795.

Some internal amount check is failing:

  if (GNUNET_SYSERR ==
      TALER_amount_subtract (&reserve.balance,
                             &reserve.balance,
                             &collectable->amount_with_fee))
  {
    /* Should have been checked before we got here... */
    GNUNET_break (0);
    goto cleanup;
  }

Likely due to a change in the fee structure.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2016-11-17 14:54

manager   ~0011516

Should be fixed in bb7c589..e140ca9, based on the assumption that this was caused by a wallet doing parallel withdraws and going over balance at the same time based on the 1e8/1e6 amount fraction change.

Christian Grothoff

2021-09-02 16:14

manager   ~0018304

Fix committed to master branch.

Issue History

Date ModifiedUsernameFieldChange
2016-11-17 11:06Christian GrothoffNew Issue
2016-11-17 11:06Christian GrothoffStatusnew => assigned
2016-11-17 11:06Christian GrothoffAssigned To => Christian Grothoff
2016-11-17 14:54Christian GrothoffStatusassigned => informing
2016-11-17 14:54Christian GrothoffResolutionopen => fixed
2016-11-17 14:54Christian GrothoffFixed in Version => 0.2
2016-11-17 14:54Christian GrothoffNote Added: 0011516
2016-11-20 02:26Christian GrothoffStatusinforming => closed
2021-09-02 16:13Christian Grothoff
2021-09-02 16:14Christian GrothoffNote Added: 0018304