View Issue Details

IDProjectCategoryView StatusLast Update
0010954Talermerchant backendpublic2026-01-31 14:21
Reportersebasjm Assigned Tosebasjm  
PriorityurgentSeveritycrashReproducibilityalways
Status feedbackResolutionopen 
Product Versiongit (master) 
Target Version1.4 
Summary0010954: crash on get request details
Descriptionthe request was this

curl 'https://merchant.taler/private/orders/2026.030-0080P7PSH42RY?lp_not_etag=RJGPKPSJHFP9KZ9HBF0X3ZEKTP81FX1FWMQZH821ANGDWYM5R3Y0&timeout_ms=15000' \
  -H 'Accept: application/json' \
  -H 'Accept-Language: en-US,en;q=0.9,es-AR;q=0.8,es;q=0.7' \
  -H 'Authorization: Bearer secret-token:D55HHRHPB9192S8Z08QPTW0NM7BEH764T2G2G15BBBBHN7Y2Y3P0' \
  -H 'Cache-Control: no-cache' \
  -H 'Connection: keep-alive' \
  -H 'If-none-match: RJGPKPSJHFP9KZ9HBF0X3ZEKTP81FX1FWMQZH821ANGDWYM5R3Y0' \
  -H 'Pragma: no-cache' \
  -H 'Referer: https://merchant.taler/webui/' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Site: same-origin' \
  -H 'User-Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Mobile Safari/537.36' \
  -H 'sec-ch-ua: "Not;A=Brand";v="99", "Google Chrome";v="139", "Chromium";v="139"' \
  -H 'sec-ch-ua-mobile: ?1' \
  -H 'sec-ch-ua-platform: "Android"'





Program terminated with signal SIGABRT, Aborted.
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=0) at ./nptl/pthread_kill.c:44

warning: 44 ./nptl/pthread_kill.c: No such file or directory
(gdb) bt
#0 __pthread_kill_implementation (threadid=<optimized out>, signo=6, no_tid=0) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (threadid=<optimized out>, signo=6) at ./nptl/pthread_kill.c:89
#2 __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:100
#3 0x00007111b5445e2e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4 0x00007111b5428888 in __GI_abort () at ./stdlib/abort.c:77
#5 0x00007111b56d93e6 in GNUNET_abort_ () at ../src/lib/util/common_logging.c:280
#6 0x00006345d3f58db1 in process_transfer_details (cls=0x6345e0e90e70, wtid=0x7fffcb8aab20, exchange_url=0x6345e0e39ee0 "https://exchange.taler/", execution_time=..., deposit_value=0x7fffcb8aaaa0, deposit_fee=0x7fffcb8aaac0,
    transfer_confirmed=false) at taler-merchant-httpd_private-get-orders-ID.c:1453
#7 0x00007111b3ccf661 in lookup_transfer_details_by_order_cb (cls=0x7fffcb8aadf0, result=0x6345e0e8c290, num_results=1) at pg_lookup_transfer_details_by_order.c:163
#8 0x00007111b3c7e80a in GNUNET_PQ_eval_prepared_multi_select (db=0x6345e0e62ef0, statement_name=0x7111b3cf4298 "lookup_transfer_details_by_order", params=0x7fffcb8aae30, rh=0x7111b3ccefc7 <lookup_transfer_details_by_order_cb>,
    rh_cls=0x7fffcb8aadf0) at ../src/lib/pq/pq_eval.c:190
#9 0x00007111b3ccf8b5 in TMH_PG_lookup_transfer_details_by_order (cls=0x6345e0e61450, order_serial=4, cb=0x6345d3f588c5 <process_transfer_details>, cb_cls=0x6345e0e90e70) at pg_lookup_transfer_details_by_order.c:221
#10 0x00006345d3f590d0 in phase_check_local_transfers (gorc=0x6345e0e90e70) at taler-merchant-httpd_private-get-orders-ID.c:1491
#11 0x00006345d3f5a50c in TMH_private_get_orders_ID (rh=0x6345d4001548 <private_handlers+2024>, connection=0x6345e0e99390, hc=0x6345e0e8f800) at taler-merchant-httpd_private-get-orders-ID.c:1760
#12 0x00006345d3f24384 in process_upload_with_handler (hc=0x6345e0e8f800, upload_data=0x0, upload_data_size=0x7fffcb8ab010) at taler-merchant-httpd.c:469
#13 0x00006345d3f24a9f in url_handler (cls=0x0, connection=0x6345e0e99390, url=0x6345e0ea3e94 "/private/orders/2026.030-0080P7PSH42RY", method=0x6345e0ea3e90 "GET", version=0x6345e0ea3f0d "HTTP/1.1", upload_data=0x0,





Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) INFO Processing order 2026.030-0080P7PSH42RY in phase 5
Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) INFO Processing order 2026.030-0080P7PSH42RY in phase 6
Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) DEBUG Running prepared statement `lookup_refunds_detailed' on 0x6345e0e62ef0
Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) DEBUG Executing prepared SQL statement `lookup_refunds_detailed'
Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) DEBUG Execution of prepared SQL statement `lookup_refunds_detailed' finished (PGRES_TUPLES_OK)
Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) INFO Total refunds are KUDOS:0
Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) INFO Processing order 2026.030-0080P7PSH42RY in phase 7
Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) DEBUG Running prepared statement `lookup_deposits_by_order' on 0x6345e0e62ef0
Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) DEBUG Executing prepared SQL statement `lookup_deposits_by_order'
Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) DEBUG Execution of prepared SQL statement `lookup_deposits_by_order' finished (PGRES_TUPLES_OK)
Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) INFO Checking deposit status for coin SW7SZ2GP (over KUDOS:1.11)
Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) INFO Processing order 2026.030-0080P7PSH42RY in phase 8
Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) DEBUG Running prepared statement `lookup_transfer_details_by_order' on 0x6345e0e62ef0
Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) DEBUG Executing prepared SQL statement `lookup_transfer_details_by_order'
Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) DEBUG Execution of prepared SQL statement `lookup_transfer_details_by_order' finished (PGRES_TUPLES_OK)
Jan 31 09:12:39 taler-merchant-httpd[203660]: (ADV0EYRQNT22BP51DBW9RX10QM) ERROR Assertion failed at taler-merchant-httpd_private-get-orders-ID.c:1453. Aborting.
Jan 31 09:12:39 systemd-coredump[204051]: [�] Process 203660 (taler-merchant-) of user 1000 dumped core.
                                          
                                          Module /home/sebasjm/Work/workspace/install-prefix/bin/taler-merchant-httpd from deb glibc-2.42-0ubuntu3.amd64
                                          Module linux-vdso.so.1 from deb linux-6.17.0-8.8.amd64
                                          Module libpq.so.5 from deb postgresql-17-17.7-0ubuntu0.25.10.1.amd64
TagsNo tags attached.

Activities

Christian Grothoff

2026-01-31 14:20

manager   ~0027502

Can you please do a 'bt full', not just a back trace (bt)? would be good to see what the various arguments on the stack are...

Issue History

Date Modified Username Field Change
2026-01-31 13:18 sebasjm New Issue
2026-01-31 13:18 sebasjm Status new => assigned
2026-01-31 13:18 sebasjm Assigned To => Christian Grothoff
2026-01-31 14:20 Christian Grothoff Note Added: 0027502
2026-01-31 14:21 Christian Grothoff Assigned To Christian Grothoff => sebasjm
2026-01-31 14:21 Christian Grothoff Status assigned => feedback