View Issue Details

IDProjectCategoryView StatusLast Update
0003613GNUnetobsoletepublic2024-05-03 13:48
ReporterChristian Grothoff Assigned ToMatthias Wachs  
PrioritynormalSeveritycrashReproducibilityrandom
Status closedResolutionwon't fix 
Platformi7OSDebian GNU/LinuxOS Versionsqueeze
Product VersionGit master 
Fixed in Version0.11.0pre66 
Summary0003613: assertion failure at plugin_ats_ril.c:1427
DescriptionThe culprit seems to be a NAN value in the 'p' array. Not sure how it got there.
GDB info:


Core was generated by `/home/grothoff/lib//gnunet/libexec/gnunet-service-ats -c /tmp/test-ats-solverKD'.
Program terminated with signal SIGABRT, Aborted.
#0 0x00007f90f3b48107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) ba
#0 0x00007f90f3b48107 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f90f3b494e8 in __GI_abort () at abort.c:89
#2 0x00007f90f43e0ccf in GNUNET_abort () at common_logging.c:289
#3 0x00007f90f28d20bd in agent_select_softmax (agent=0x851370, state=0x8a3200) at plugin_ats_ril.c:1427
#4 0x00007f90f28d2117 in agent_select_action (agent=0x851370, state=0x8a3200) at plugin_ats_ril.c:1448
#5 0x00007f90f28d22cc in agent_step (agent=0x851370) at plugin_ats_ril.c:1492
#6 0x00007f90f28d3359 in ril_step (solver=0x850850) at plugin_ats_ril.c:1924
#7 0x00007f90f28d5743 in GAS_ril_bulk_stop (solver=0x850850) at plugin_ats_ril.c:2542
#8 0x0000000000406526 in GAS_addresses_preference_change (handle=0x84fa90, client=0x851880, peer=0x8519c8,
    kind=GNUNET_ATS_PREFERENCE_LATENCY, score_abs=0) at gnunet-service-ats_addresses.c:1624
#9 0x000000000040d978 in GAS_handle_preference_change (cls=0x0, client=0x851880, message=0x8519c0)
    at gnunet-service-ats_performance.c:646
#10 0x00007f90f441fcda in GNUNET_SERVER_inject (server=0x84f4d0, sender=0x851880, message=0x8519c0) at server.c:989
#11 0x00007f90f4420970 in client_message_tokenizer_callback (cls=0x84f4d0, client=0x851880, message=0x8519c0) at server.c:1213
#12 0x00007f90f4422df8 in GNUNET_SERVER_mst_receive (mst=0x851920, client_identity=0x851880, buf=0x0, size=0, purge=0, one_shot=-1)
    at server_mst.c:221
#13 0x00007f90f441ffd2 in process_mst (client=0x851880, ret=0) at server.c:1063
#14 0x00007f90f442061f in process_incoming (cls=0x851880, buf=0x7fff13fc4870, available=200, addr=0x851010, addrlen=2, errCode=0)
    at server.c:1154
#15 0x00007f90f43ea662 in receive_ready (cls=0x8517b0, tc=0x7fff13fd48f0) at connection.c:1095
#16 0x00007f90f441b1d4 in run_ready (rs=0x84ed10, ws=0x84eda0) at scheduler.c:587
#17 0x00007f90f441ba7b in GNUNET_SCHEDULER_run (task=0x7f90f4428799 <service_task>, task_cls=0x7fff13fd4c70) at scheduler.c:816
#18 0x00007f90f442a554 in GNUNET_SERVICE_run (argc=3, argv=0x7fff13fd4ef8, service_name=0x40fc19 "ats",
    options=GNUNET_SERVICE_OPTION_NONE, task=0x402380 <run>, task_cls=0x0) at service.c:1502
#19 0x0000000000402478 in main (argc=3, argv=0x7fff13fd4ef8) at gnunet-service-ats.c:208
(gdb) print r
$9 = 0.11862487255563607
(gdb) print sum
$10 = -nan(0x8000000000000)
(gdb) print p[0]
$11 = 0
(gdb) print p[1]
$12 = 0
(gdb) print p[2]
$13 = 0
(gdb) print p[3]
$14 = -nan(0x8000000000000)
(gdb) print p[4]
$15 = 0
(gdb) print p[5]
$16 = 0
Steps To ReproduceI was running 'make check' in the ats directory *a lot*. While tests passed, that core was left behind.
TagsNo tags attached.

Relationships

child of 0003655 closedChristian Grothoff Need to review ATS RIL code 

Activities

Christian Grothoff

2018-06-07 00:34

manager   ~0012984

Changing to won't fix, as ATS subsystem will need a major rewrite first anyway.

Issue History

Date Modified Username Field Change
2015-01-18 20:25 Christian Grothoff New Issue
2015-01-18 20:25 Christian Grothoff Status new => assigned
2015-01-18 20:25 Christian Grothoff Assigned To => Matthias Wachs
2015-01-18 20:27 Christian Grothoff Steps to Reproduce Updated
2015-02-11 00:35 Christian Grothoff Relationship added child of 0003655
2017-02-26 02:16 Christian Grothoff Target Version => 0.11.0
2018-06-07 00:34 Christian Grothoff Target Version 0.11.0 =>
2018-06-07 00:34 Christian Grothoff Status assigned => closed
2018-06-07 00:34 Christian Grothoff Resolution open => won't fix
2018-06-07 00:34 Christian Grothoff Fixed in Version => 0.11.0pre66
2018-06-07 00:34 Christian Grothoff Note Added: 0012984
2024-05-03 13:48 Christian Grothoff Category ATS service => obsolete