View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007071 | Anastasis | backend | public | 2021-11-04 21:11 | 2022-09-26 20:50 |
Reporter | Florian Dold | Assigned To | Florian Dold | ||
Priority | high | Severity | crash | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Target Version | 0.3.0 | Fixed in Version | 0.3.0 | ||
Summary | 0007071: provider crashes in truth upload | ||||
Description | When using the TypeScript reducer, test_anastasis_reducer_enter_secret.sh crashes the provider. The issue is likely that the TypeScript reducer doesn't remember successful truth uploads (yet), so a second upload crashes the provider (in anastasis-httpd_truth_upload.c:816). See stack trace below. | ||||
Steps To Reproduce | Build anastasis-core ("pnpm install && pnpm run compile" in wallet-core.git), set export ANASTASIS_EXTERNAL_REDUCER=/home/dold/repos/taler/wallet-core/packages/anastasis-core/bin/anastasis-ts-reducer.js (path needs to be adjusted to where wallet-core is checked out) and run test_anastasis_reducer_enter_secret.sh | ||||
Additional Information | #0 0x00007fa2559bfa0e in __strcmp_avx2 () from /usr/lib/libc.so.6 #1 0x0000563b878c6790 in AH_handler_truth_post (connection=0x563b892f85f0, hc=0x563b89322af0, truth_uuid=0x7ffdd407c790, truth_data=0x0, truth_data_size=0x7ffdd407c7e0) at anastasis-httpd_truth_upload.c:816 #2 0x0000563b878b5356 in url_handler (cls=0x0, connection=0x563b892f85f0, url=0x563b892f93c5 "/truth/N4Q9W8GEY91BSGQ0TTEYNRY00NMJJRAJ2DHWABN7QYF510F7RK3G", method=0x563b892f93c0 "POST", version=0x563b892f9401 "HTTP/1.1", upload_data=0x0, upload_data_size=0x7ffdd407c7e0, con_cls=0x563b892f8648) at anastasis-httpd.c:431 #3 0x00007fa255a3e9b1 in ?? () from /usr/lib/libmicrohttpd.so.12 #4 0x00007fa255a40a28 in ?? () from /usr/lib/libmicrohttpd.so.12 #5 0x00007fa255a42aa0 in ?? () from /usr/lib/libmicrohttpd.so.12 #6 0x00007fa255a46ea2 in ?? () from /usr/lib/libmicrohttpd.so.12 #7 0x00007fa255a487d1 in ?? () from /usr/lib/libmicrohttpd.so.12 #8 0x00007fa255a49234 in MHD_run () from /usr/lib/libmicrohttpd.so.12 #9 0x0000563b878b4c8b in run_daemon (cls=0x0) at anastasis-httpd.c:197 #10 0x00007fa255faf781 in GNUNET_SCHEDULER_do_work (sh=0x563b892ec810) at scheduler.c:2144 #11 0x00007fa255fb06a7 in select_loop (sh=0x563b892ec810, context=0x7ffdd407cc70) at scheduler.c:2441 #12 0x00007fa255faa72a in GNUNET_SCHEDULER_run (task=0x7fa255fa2ce0 <program_main>, task_cls=0x7ffdd407cd70) at scheduler.c:738 #13 0x00007fa255fa3e26 in GNUNET_PROGRAM_run2 (argc=3, argv=0x7ffdd407d2a8, binaryName=0x563b878c75cc "anastasis-httpd", binaryHelp=0x563b878c75b3 "Anastasis HTTP interface", options=0x7ffdd407cfb0, task=0x563b878b5a68 <run>, task_cls=0x0, run_without_scheduler=0) at program.c:345 #14 0x00007fa255fa3f85 in GNUNET_PROGRAM_run (argc=3, argv=0x7ffdd407d2a8, binaryName=0x563b878c75cc "anastasis-httpd", binaryHelp=0x563b878c75b3 "Anastasis HTTP interface", options=0x7ffdd407cfb0, task=0x563b878b5a68 <run>, task_cls=0x0) at program.c:372 #15 0x0000563b878b66ee in main (argc=3, argv=0x7ffdd407d2a8) at anastasis-httpd.c:993 | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2021-11-04 21:11 | Florian Dold | New Issue | |
2021-11-04 21:11 | Florian Dold | Status | new => assigned |
2021-11-04 21:11 | Florian Dold | Assigned To | => Christian Grothoff |
2021-11-04 23:04 | Florian Dold | Assigned To | Christian Grothoff => Florian Dold |
2021-11-04 23:04 | Florian Dold | Status | assigned => resolved |
2021-11-04 23:04 | Florian Dold | Resolution | open => fixed |
2021-11-04 23:04 | Florian Dold | Note Added: 0018459 | |
2022-09-26 20:49 | Christian Grothoff | Fixed in Version | => 0.3.0 |
2022-09-26 20:49 | Christian Grothoff | Target Version | => 0.3.0 |
2022-09-26 20:50 | Christian Grothoff | Status | resolved => closed |