View Issue Details

IDProjectCategoryView StatusLast Update
0005101GNUnetgnunet-setuppublic2020-07-09 09:17
ReporterL29Ah Assigned ToChristian Grothoff  
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionunable to reproduce 
PlatformLinuxOSGentoo 
Product VersionGit master 
Target Version0.13.0Fixed in Version0.13.0 
Summary0005101: Jul 02 17:36:39-957401 gnunet-setup-13562 ERROR Assertion failed at resolver_api.c:256.
DescriptionProgram terminated with signal SIGABRT, Aborted.
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
58 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
[Current thread is 1 (Thread 0x3ae7c06fd80 (LWP 13562))]
(gdb) bt
#0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#1 0x000003ae7a12630a in __GI_abort () at abort.c:89
#2 0x000003ae7b653a68 in GNUNET_abort_ () at common_logging.c:284
#3 0x000003ae7b686fbe in GNUNET_RESOLVER_disconnect () at resolver_api.c:256
#4 0x000003ae7b687173 in shutdown_task (cls=<optimized out>) at resolver_api.c:289
#5 0x000003ae7b68ac28 in run_ready (ws=0x48a06f7c20, rs=0x48a06f7b90) at scheduler.c:670
#6 GNUNET_SCHEDULER_run (task=task@entry=0x3ae7b685210 <program_main>, task_cls=task_cls@entry=0x3fe2ee3a660) at scheduler.c:937
#7 0x000003ae7b68596e in GNUNET_PROGRAM_run2 (argc=<optimized out>, argv=0x3fe2ee3aa88, binaryName=0x489e555bcd "gnunet-setup", binaryHelp=binaryHelp@entry=0x489e555bcd "gnunet-setup", options=<optimized out>,
    task=task@entry=0x3ae7bcbebd0 <run_main_loop>, task_cls=0x3fe2ee3a860, run_without_scheduler=0) at program.c:300
#8 0x000003ae7b685c6e in GNUNET_PROGRAM_run (argc=<optimized out>, argv=<optimized out>, binaryName=<optimized out>, binaryHelp=binaryHelp@entry=0x489e555bcd "gnunet-setup", options=<optimized out>,
    task=task@entry=0x3ae7bcbebd0 <run_main_loop>, task_cls=0x3fe2ee3a860) at program.c:339
#9 0x000003ae7bcbfeca in GNUNET_GTK_main_loop_start (binary_name=<optimized out>, binary_help=0x489e555bcd "gnunet-setup", argc=<optimized out>, argv=<optimized out>, options=<optimized out>,
    main_window_file=<optimized out>, main_task=0x489e54ff80 <run>) at eventloop.c:936
#10 0x000000489e54f65c in main (argc=1, argv=0x3fe2ee3aa88) at gnunet-setup.c:532
Steps To ReproducePress the button to test the network configuration in gnunet-setup.
TagsNo tags attached.

Activities

schanzen

2019-12-20 13:05

administrator   ~0015195

Is this still happening?

schanzen

2020-05-09 21:22

administrator   ~0015870

After a brief investigation I think this is caused by check_disconnect() in resolver_api.c

The code is not logical. It adds the shutdown_task delayed. The shutdown trask will the call RESOLVER_disconnect ().
But there is no guarantee that no request will be initiated in between so the assertion may fail.

Assinged to grothoff as I have no idea why resolver does this upon request cancel.

schanzen

2020-06-24 14:19

administrator   ~0016353

Tested and cannot reproduce in HEAD.

Closing for now for 0.13.

schanzen

2020-07-09 09:17

administrator   ~0016412

0.13.0 released

Issue History

Date Modified Username Field Change
2017-07-02 16:41 L29Ah New Issue
2019-12-20 13:05 schanzen Assigned To => schanzen
2019-12-20 13:05 schanzen Status new => feedback
2019-12-20 13:05 schanzen Note Added: 0015195
2019-12-20 13:05 schanzen Target Version => 0.12.1
2019-12-25 12:25 Christian Grothoff Target Version 0.12.1 => 0.12.2
2020-01-13 14:44 schanzen Target Version 0.12.2 => 0.12.3
2020-04-22 17:27 schanzen Target Version 0.12.3 => 0.13.0
2020-05-09 21:20 schanzen Assigned To schanzen => Christian Grothoff
2020-05-09 21:22 schanzen Note Added: 0015870
2020-06-01 00:49 Adminknox Issue cloned: 0006294
2020-06-01 00:52 Adminknox Issue cloned: 0006335
2020-06-24 14:19 schanzen Status feedback => resolved
2020-06-24 14:19 schanzen Resolution open => unable to reproduce
2020-06-24 14:19 schanzen Fixed in Version => 0.13.0
2020-06-24 14:19 schanzen Note Added: 0016353
2020-07-09 09:17 schanzen Note Added: 0016412
2020-07-09 09:17 schanzen Status resolved => closed