View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009440 | Taler | mechant backend | public | 2025-01-07 11:34 | 2025-01-07 20:01 |
Reporter | Florian Dold | Assigned To | Florian Dold | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Target Version | 1.0 | ||||
Summary | 0009440: integration test "payment-abort" crashes merchant backend | ||||
Description | $ taler-harness run-integrationtests payment-abort | ||||
Additional Information | 2025-01-07T11:18:45.836346+0100 taler-merchant-httpd-263760(WDJ1M7T1AS8R1EN5BJT3T3VESC) ERROR Assertion failed at amount.c:219. Aborting. (gdb) bt #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44 #1 0x00007fbc5c746083 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:78 #2 0x00007fbc5c6ecf1e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26 #3 0x00007fbc5c6d4902 in __GI_abort () at abort.c:79 #4 0x00007fbc5cddec06 in GNUNET_abort_ () at common_logging.c:280 #5 0x00007fbc5d0197b9 in TALER_amount_hton (res=0x7ffd51286de0, d=0x2f9b3c20) at amount.c:219 #6 TALER_amount_hton (res=res@entry=0x7ffd51286de0, d=d@entry=0x2f9b3c20) at amount.c:216 #7 0x00007fbc5d02b913 in TALER_merchant_refund_sign (coin_pub=coin_pub@entry=0x2f9b3b80, h_contract_terms=h_contract_terms@entry=0x2f9b3830, rtransaction_id=rtransaction_id@entry=0, amount=amount@entry=0x2f9b3c20, merchant_priv=merchant_priv@entry=0x2f9aa2c8, merchant_sig=merchant_sig@entry=0x7ffd51286e60) at merchant_signatures.c:159 #8 0x00007fbc5d1145a9 in TALER_EXCHANGE_refund (ctx=0x2f9774a0, url=url@entry=0x2f9b20f0 "http://localhost:9081/", keys=keys@entry=0x2f982330, amount=amount@entry=0x2f9b3c20, h_contract_terms=h_contract_terms@entry=0x2f9b3830, coin_pub=coin_pub@entry=0x2f9b3b80, rtransaction_id=0, merchant_priv=0x2f9aa2c8, cb=0x43edf0 <refund_cb>, cb_cls=0x2f9b3b80) at exchange_api_refund.c:391 #9 0x000000000043df1f in process_abort_with_exchange (cls=0x2f9b3830, keys=0x2f982330, exchange=<optimized out>) at taler-merchant-httpd_post-orders-ID-abort.c:538 #10 0x000000000040e4c5 in process_find_operations (exchange=0x2f982220) at taler-merchant-httpd_exchanges.c:321 #11 0x00007fbc5ce2a0b0 in GNUNET_SCHEDULER_do_work (sh=sh@entry=0x2f974db0) at scheduler.c:2144 #12 0x00007fbc5ce2af95 in select_loop (sh=0x2f974db0, context=0x7ffd512870b0) at scheduler.c:2443 #13 GNUNET_SCHEDULER_run (task=task@entry=0x7fbc5ce21db0 <program_main>, task_cls=task_cls@entry=0x7ffd51287180) at scheduler.c:743 #14 0x00007fbc5ce22551 in GNUNET_PROGRAM_run2 (pd=0x7fbc5d12ecc0 <merchant_pd>, argc=<optimized out>, argc@entry=5, argv=argv@entry=0x7ffd51287648, binaryName=binaryName@entry=0x44e232 "taler-merchant-httpd", binaryHelp=binaryHelp@entry=0x450348 "Taler merchant's HTTP backend interface", options=options@entry=0x7ffd512873a0, task=0x40b470 <run>, task_cls=0x0, run_without_scheduler=0) at program.c:388 #15 0x00007fbc5ce22b33 in GNUNET_PROGRAM_run (pd=<optimized out>, argc=argc@entry=5, argv=argv@entry=0x7ffd51287648, binaryName=binaryName@entry=0x44e232 "taler-merchant-httpd", binaryHelp=binaryHelp@entry=0x450348 "Taler merchant's HTTP backend interface", options=options@entry=0x7ffd512873a0, task=0x40b470 <run>, task_cls=0x0) at program.c:416 #16 0x0000000000408840 in main (argc=5, argv=0x7ffd51287648) at taler-merchant-httpd.c:2454 | ||||
Tags | No tags attached. | ||||
|
Was caused by trying to abort-pay refund coins that were not deposited. Fixed here: commit ee590a7301bd9696ea3ae13cfa2d30256486d83e (HEAD -> master, origin/master, origin/HEAD) Author: Florian Dold <florian@dold.me> Date: Tue Jan 7 20:00:11 2025 +0100 report undeposited coins when aborting a payment |
Date Modified | Username | Field | Change |
---|---|---|---|
2025-01-07 11:34 | Florian Dold | New Issue | |
2025-01-07 11:34 | Florian Dold | Status | new => assigned |
2025-01-07 11:34 | Florian Dold | Assigned To | => Christian Grothoff |
2025-01-07 12:19 | Florian Dold | Assigned To | Christian Grothoff => Florian Dold |
2025-01-07 20:01 | Florian Dold | Status | assigned => resolved |
2025-01-07 20:01 | Florian Dold | Resolution | open => fixed |
2025-01-07 20:01 | Florian Dold | Note Added: 0023943 |