View Issue Details

IDProjectCategoryView StatusLast Update
0002325GNUnetobsoletepublic2024-05-03 13:49
ReporterChristian Grothoff Assigned ToMatthias Wachs  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.3Fixed in Version0.9.3 
Summary0002325: ATS segfault (gnunet9@gnunet.org)
Descriptiongnunet9@tripwire:~$ gdb bin/gnunet-service-ats core.7089
GNU gdb (GDB) 7.4-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/gnunet9/bin/gnunet-service-ats...done.

warning: core file may not match specified executable file.
[New LWP 7089]

warning: Can't read pathname for load map: Input/output error.
Core was generated by `gnunet-service-ats -c /home/gnunet9/.gnunet/gnunet.conf -l ~/.gnunet//ats-logs'.
Program terminated with signal 6, Aborted.
#0 0x00007fca286de475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) ba
#0 0x00007fca286de475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007fca286e16f0 in *__GI_abort () at abort.c:92
#2 0x00007fca29196969 in GNUNET_abort () at common_logging.c:273
#3 0x000000000040374e in GAS_addresses_in_use (peer=<optimized out>, plugin_name=<optimized out>, plugin_addr=<optimized out>, plugin_addr_len=<optimized out>, session_id=<optimized out>,
    in_use=<optimized out>) at gnunet-service-ats_addresses.c:601
#4 0x000000000040879f in GAS_handle_address_in_use (cls=<optimized out>, client=0x101d0d0, message=<optimized out>) at gnunet-service-ats_scheduling.c:312
#5 0x00007fca291bc502 in GNUNET_SERVER_inject (server=0x101c070, sender=0x101d0d0, message=0x7fffd29fb7c0) at server.c:882
#6 0x00007fca291bd320 in client_message_tokenizer_callback (cls=<optimized out>, client=0x101d0d0, message=<optimized out>) at server.c:1087
#7 0x00007fca291bd90f in GNUNET_SERVER_mst_receive (mst=0x101d160, client_identity=0x101d0d0, buf=<optimized out>, size=88, purge=0, one_shot=-1) at server_mst.c:264
#8 0x00007fca291bd281 in process_incoming (cls=0x101d0d0, buf=0x7fffd29fb7c0, available=88, addr=0x101c1a0, addrlen=<optimized out>, errCode=0) at server.c:1030
#9 0x00007fca29199ea2 in receive_ready (cls=0x101cfe0, tc=<optimized out>) at connection.c:1055
#10 0x00007fca291bae60 in run_ready (ws=0x1023b20, rs=0x1023a90) at scheduler.c:602
#11 GNUNET_SCHEDULER_run (task=<optimized out>, task_cls=<optimized out>) at scheduler.c:790
#12 0x00007fca291c3ae9 in GNUNET_SERVICE_run (argc=5, argv=<optimized out>, service_name=<optimized out>, options=<optimized out>, task=<optimized out>, task_cls=0x0) at service.c:1773
#13 0x0000000000402799 in main (argc=<optimized out>, argv=<optimized out>) at gnunet-service-ats.c:182
TagsNo tags attached.

Relationships

related to 0002301 closedMatthias Wachs Assertion failed at gnunet-service-transport_neighbours.c:1347. 
has duplicate 0002314 closedMatthias Wachs ERROR Assertion failed at gnunet-service-ats_addresses.c:601. 

Activities

Christian Grothoff

2012-05-08 09:34

manager   ~0005808

Happened twice:

gnunet9@tripwire:~$ gdb bin/gnunet-service-ats core.30413
GNU gdb (GDB) 7.4-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/gnunet9/bin/gnunet-service-ats...done.

warning: core file may not match specified executable file.
[New LWP 30413]

warning: Can't read pathname for load map: Input/output error.
Core was generated by `gnunet-service-ats -c /home/gnunet9/.gnunet/gnunet.conf -l ~/.gnunet//ats-logs'.
Program terminated with signal 6, Aborted.
#0 0x00007eff502f6475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) ba
#0 0x00007eff502f6475 in *__GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x00007eff502f96f0 in *__GI_abort () at abort.c:92
#2 0x00007eff50dae969 in GNUNET_abort () at common_logging.c:273
#3 0x000000000040374e in GAS_addresses_in_use (peer=<optimized out>, plugin_name=<optimized out>, plugin_addr=<optimized out>, plugin_addr_len=<optimized out>, session_id=<optimized out>,
    in_use=<optimized out>) at gnunet-service-ats_addresses.c:601
#4 0x000000000040879f in GAS_handle_address_in_use (cls=<optimized out>, client=0x13cec50, message=<optimized out>) at gnunet-service-ats_scheduling.c:312
#5 0x00007eff50dd4502 in GNUNET_SERVER_inject (server=0x13b7070, sender=0x13cec50, message=0x13cdab8) at server.c:882
#6 0x00007eff50dd5320 in client_message_tokenizer_callback (cls=<optimized out>, client=0x13cec50, message=<optimized out>) at server.c:1087
#7 0x00007eff50dd5ae2 in GNUNET_SERVER_mst_receive (mst=0x13b81a0, client_identity=0x13cec50, buf=0x0, size=0, purge=0, one_shot=-1) at server_mst.c:224
#8 0x00007eff50dd4fb8 in process_mst (client=0x13cec50, ret=<optimized out>) at server.c:952
#9 0x00007eff50db1ea2 in receive_ready (cls=0x13b9fa0, tc=<optimized out>) at connection.c:1055
#10 0x00007eff50dd2e60 in run_ready (ws=0x13beb20, rs=0x13bea90) at scheduler.c:602
#11 GNUNET_SCHEDULER_run (task=<optimized out>, task_cls=<optimized out>) at scheduler.c:790
#12 0x00007eff50ddbae9 in GNUNET_SERVICE_run (argc=5, argv=<optimized out>, service_name=<optimized out>, options=<optimized out>, task=<optimized out>, task_cls=0x0) at service.c:1773
#13 0x0000000000402799 in main (argc=<optimized out>, argv=<optimized out>) at gnunet-service-ats.c:182

Matthias Wachs

2012-05-08 10:54

reporter   ~0005810

caused by duplicate address_in_use call in 0002301

Matthias Wachs

2012-05-08 10:55

reporter   ~0005811

This is an external protocol violation ... ATS should not crashdue to that:
- changed to break_op, print warning, return

Matthias Wachs

2012-05-08 11:34

reporter   ~0005813

BTW: not a segfault ... just an assertion

Issue History

Date Modified Username Field Change
2012-05-08 09:33 Christian Grothoff New Issue
2012-05-08 09:33 Christian Grothoff Status new => assigned
2012-05-08 09:33 Christian Grothoff Assigned To => Matthias Wachs
2012-05-08 09:34 Christian Grothoff Note Added: 0005808
2012-05-08 10:54 Matthias Wachs Note Added: 0005810
2012-05-08 10:54 Matthias Wachs Relationship added related to 0002301
2012-05-08 10:55 Matthias Wachs Note Added: 0005811
2012-05-08 10:55 Matthias Wachs Status assigned => resolved
2012-05-08 10:55 Matthias Wachs Resolution open => fixed
2012-05-08 11:33 Matthias Wachs Relationship added has duplicate 0002314
2012-05-08 11:34 Matthias Wachs Note Added: 0005813
2012-05-08 21:58 Christian Grothoff Fixed in Version => 0.9.3
2012-05-08 21:58 Christian Grothoff Target Version => 0.9.3
2012-06-02 19:15 Christian Grothoff Status resolved => closed
2024-05-03 13:49 Christian Grothoff Category ATS service => obsolete