View Issue Details

IDProjectCategoryView StatusLast Update
0004828Talerexchangepublic2017-06-06 12:18
ReporterMarcello Stanisci Assigned ToMarcello Stanisci 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
PriorityhighSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.3Fixed in Version0.3 
Summary0004828: 100% CPU eaten
DescriptionThe backend repeatedly asks /keys to exchange, even if it gets them
right. That causes a ~ 100% CPU usage.
Additional InformationThat has only be noticed on my personal laptop.
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Marcello Stanisci

2016-12-02 10:49

reporter   ~0011561

Last edited: 2016-12-02 10:51

That's due to some misconfiguration that makes the 'Expires:' HTTP response
header from "/keys" being set to 'now'.

Marcello Stanisci

2016-12-03 23:16

reporter   ~0011563

Last edited: 2016-12-03 23:18

The fault was on *exchange's* code: the routine that sscanf's the
HTTP "Expire: " header didn't allocate the extra byte for the null-termination
of parsed strings. So unexpected variables got overwritten by the null-terminator, with the result of breaking the next reload of /keys.

Marcello Stanisci

2016-12-03 23:19

reporter   ~0011564

Fixed in eab7bb7 (exchange codebase)

Issue History

Date ModifiedUsernameFieldChange
2016-12-02 09:07Marcello StanisciNew Issue
2016-12-02 09:07Marcello StanisciStatusnew => assigned
2016-12-02 09:07Marcello StanisciAssigned To => Marcello Stanisci
2016-12-02 09:08Marcello StanisciProduct Version => git (master)
2016-12-02 10:49Marcello StanisciNote Added: 0011561
2016-12-02 10:51Marcello StanisciNote Edited: 0011561
2016-12-03 23:08Marcello StanisciCategorymechant backend => exchange
2016-12-03 23:16Marcello StanisciNote Added: 0011563
2016-12-03 23:18Marcello StanisciNote Edited: 0011563
2016-12-03 23:19Marcello StanisciStatusassigned => informing
2016-12-03 23:19Marcello StanisciResolutionopen => fixed
2016-12-03 23:19Marcello StanisciNote Added: 0011564
2017-01-16 09:19Christian GrothoffFixed in Version => 0.3
2017-06-06 12:18Christian GrothoffStatusinforming => closed