View Issue Details

IDProjectCategoryView StatusLast Update
0004095Talermerchant backendpublic2015-12-15 20:06
ReporterMarcello Stanisci Assigned ToMarcello Stanisci  
PriorityhighSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version0.0 
Target Version0.0Fixed in Version0.0 
Summary0004095: db plugin bug/incomplete
DescriptionMerchant gives "segfault" when handling the response (from the mint) of a
successful deposit. Seems to be something related to the new db "plugin"
way of working. Below valgrind's log.

==11967== Invalid read of size 4
==11967== at 0x804EE98: deposit_cb (taler-merchant-httpd_pay.c:280)
==11967== by 0x4042A8A: handle_deposit_finished (mint_api_deposit.c:260)
==11967== by 0x403DD71: TALER_MINT_perform (mint_api_context.c:293)
==11967== by 0x804D7D2: context_task (taler-merchant-httpd_mints.c:234)
==11967== by 0x40DD2ED: run_ready (scheduler.c:587)
==11967== by 0x40DD2ED: GNUNET_SCHEDULER_run (scheduler.c:868)
==11967== by 0x40D8B09: GNUNET_PROGRAM_run2 (program.c:302)
==11967== by 0x40D8E01: GNUNET_PROGRAM_run (program.c:341)
==11967== by 0x8049D20: main (taler-merchant-httpd.c:571)
==11967== Address 0xbea5e890 is on thread 1's stack
==11967== 192 bytes below stack pointer
==11967==
==11967== Invalid read of size 4
==11967== at 0x804EEF2: deposit_cb (taler-merchant-httpd_pay.c:293)
==11967== by 0x4042A8A: handle_deposit_finished (mint_api_deposit.c:260)
==11967== by 0x403DD71: TALER_MINT_perform (mint_api_context.c:293)
==11967== by 0x804D7D2: context_task (taler-merchant-httpd_mints.c:234)
==11967== by 0x40DD2ED: run_ready (scheduler.c:587)
==11967== by 0x40DD2ED: GNUNET_SCHEDULER_run (scheduler.c:868)
==11967== by 0x40D8B09: GNUNET_PROGRAM_run2 (program.c:302)
==11967== by 0x40D8E01: GNUNET_PROGRAM_run (program.c:341)
==11967== by 0x8049D20: main (taler-merchant-httpd.c:571)
==11967== Address 0xbea5e83c is on thread 1's stack
==11967== 264 bytes below stack pointer
==11967==
==11967== Invalid read of size 4
==11967== at 0x804EEF5: deposit_cb (taler-merchant-httpd_pay.c:293)
==11967== by 0x4042A8A: handle_deposit_finished (mint_api_deposit.c:260)
==11967== by 0x403DD71: TALER_MINT_perform (mint_api_context.c:293)
==11967== by 0x804D7D2: context_task (taler-merchant-httpd_mints.c:234)
==11967== by 0x40DD2ED: run_ready (scheduler.c:587)
==11967== by 0x40DD2ED: GNUNET_SCHEDULER_run (scheduler.c:868)
==11967== by 0x40D8B09: GNUNET_PROGRAM_run2 (program.c:302)
==11967== by 0x40D8E01: GNUNET_PROGRAM_run (program.c:341)
==11967== by 0x8049D20: main (taler-merchant-httpd.c:571)
==11967== Address 0xbea5e838 is on thread 1's stack
==11967== 264 bytes below stack pointer
==11967==
==11967== Invalid read of size 4
==11967== at 0x804EEF8: deposit_cb (taler-merchant-httpd_pay.c:293)
==11967== by 0x4042A8A: handle_deposit_finished (mint_api_deposit.c:260)
==11967== by 0x403DD71: TALER_MINT_perform (mint_api_context.c:293)
==11967== by 0x804D7D2: context_task (taler-merchant-httpd_mints.c:234)
==11967== by 0x40DD2ED: run_ready (scheduler.c:587)
==11967== by 0x40DD2ED: GNUNET_SCHEDULER_run (scheduler.c:868)
==11967== by 0x40D8B09: GNUNET_PROGRAM_run2 (program.c:302)
==11967== by 0x40D8E01: GNUNET_PROGRAM_run (program.c:341)
==11967== by 0x8049D20: main (taler-merchant-httpd.c:571)
==11967== Address 0xbea5e834 is on thread 1's stack
==11967== 264 bytes below stack pointer
==11967==
==11967== Invalid read of size 4
==11967== at 0x804EEFB: deposit_cb (taler-merchant-httpd_pay.c:293)
==11967== by 0x4042A8A: handle_deposit_finished (mint_api_deposit.c:260)
==11967== by 0x403DD71: TALER_MINT_perform (mint_api_context.c:293)
==11967== by 0x804D7D2: context_task (taler-merchant-httpd_mints.c:234)
==11967== by 0x40DD2ED: run_ready (scheduler.c:587)
==11967== by 0x40DD2ED: GNUNET_SCHEDULER_run (scheduler.c:868)
==11967== by 0x40D8B09: GNUNET_PROGRAM_run2 (program.c:302)
==11967== by 0x40D8E01: GNUNET_PROGRAM_run (program.c:341)
==11967== by 0x8049D20: main (taler-merchant-httpd.c:571)
==11967== Address 0xbea5e830 is on thread 1's stack
==11967== 264 bytes below stack pointer
==11967==
==11967== Invalid read of size 4
==11967== at 0x804EEFE: deposit_cb (taler-merchant-httpd_pay.c:293)
==11967== by 0x4042A8A: handle_deposit_finished (mint_api_deposit.c:260)
==11967== by 0x403DD71: TALER_MINT_perform (mint_api_context.c:293)
==11967== by 0x804D7D2: context_task (taler-merchant-httpd_mints.c:234)
==11967== by 0x40DD2ED: run_ready (scheduler.c:587)
Steps To ReproduceTry to make an offer (manually) using the wallet
TagsNo tags attached.

Activities

Christian Grothoff

2015-12-14 19:07

manager   ~0010000

Might be fixed by e767a80..37a1bc1 (did not test, but the issue fixed would explain it).

Marcello Stanisci

2015-12-15 10:41

reporter   ~0010001

Yes, this issue disappeared. But no life signs are shown after the payment;
but that's another story.

Issue History

Date Modified Username Field Change
2015-12-14 18:21 Marcello Stanisci New Issue
2015-12-14 18:21 Marcello Stanisci Status new => assigned
2015-12-14 18:21 Marcello Stanisci Assigned To => Christian Grothoff
2015-12-14 19:07 Christian Grothoff Note Added: 0010000
2015-12-14 19:07 Christian Grothoff Assigned To Christian Grothoff => Marcello Stanisci
2015-12-14 19:07 Christian Grothoff Status assigned => feedback
2015-12-15 10:41 Marcello Stanisci Note Added: 0010001
2015-12-15 10:41 Marcello Stanisci Status feedback => assigned
2015-12-15 10:41 Marcello Stanisci Status assigned => resolved
2015-12-15 10:41 Marcello Stanisci Resolution open => fixed
2015-12-15 20:06 Christian Grothoff Status resolved => closed
2015-12-15 20:06 Christian Grothoff Product Version => 0.0
2015-12-15 20:06 Christian Grothoff Fixed in Version => 0.0
2015-12-15 20:06 Christian Grothoff Target Version => 0.0
2025-03-22 14:09 Christian Grothoff Category mechant backend => merchant backend