View Issue Details

IDProjectCategoryView StatusLast Update
0003232GNUnettransport servicepublic2024-05-03 13:59
ReporterChristian Grothoff Assigned ToMatthias Wachs  
PriorityimmediateSeveritycrashReproducibilityrandom
Status closedResolutionunable to reproduce 
Product VersionGit master 
Target Version0.10.1 
Summary0003232: transport segfault (running system) in TCP
DescriptionCore was generated by `/home/grothoff/lib/gnunet/libexec/gnunet-service-transport -c /home/grothoff/.c'.
Program terminated with signal 6, Aborted.
#0 0x00007f6ab433d1e5 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 0x00007f6ab433d1e5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007f6ab4340398 in __GI_abort () at abort.c:90
#2 0x00007f6ab49c740b in GNUNET_abort () at common_logging.c:289
#3 0x00007f6ab0f9affc in tcp_plugin_send (cls=0x7f6ab59f4490, session=0x7f6ab61213f0, msgbuf=0x7fffc4965fd0 "", msgbuf_size=16,
    priority=4294967295, to=..., cont=0x0, cont_cls=0x0) at plugin_transport_tcp.c:1265
#4 0x00007f6ab567795c in send_session_connect (na=0x7f6ab5ab5b98) at gnunet-service-transport_neighbours.c:1702
#5 0x00007f6ab5678b36 in handle_test_blacklist_cont (cls=0x7f6ab603a1a0, peer=0x7f6ab5ab5be8, result=1)
    at gnunet-service-transport_neighbours.c:1968
#6 0x00007f6ab566f056 in GST_blacklist_test_allowed (peer=0x7f6ab5ab5be8, transport_name=0x7fffc49663fc "tcp",
    cont=0x7f6ab567863e <handle_test_blacklist_cont>, cont_cls=0x7f6ab603a1a0) at gnunet-service-transport_blacklist.c:735
#7 0x00007f6ab5679597 in check_blacklist (peer=0x7f6ab5ab5be8, ts=..., address=0x7fffc4966330, session=0x7f6ab61213f0)
    at gnunet-service-transport_neighbours.c:2156
#8 0x00007f6ab567a603 in GST_neighbours_switch_to_address (peer=0x7fffc4966330, address=0x7fffc4966330, session=0x7f6ab61213f0,
    ats=0x7fffc49663c8, ats_count=5, bandwidth_in=..., bandwidth_out=...) at gnunet-service-transport_neighbours.c:2372
#9 0x00007f6ab566c21c in ats_request_address_change (cls=0x0, address=0x7fffc4966330, session=0x7f6ab61213f0, bandwidth_out=...,
    bandwidth_in=..., ats=0x7fffc49663c8, ats_count=5) at gnunet-service-transport.c:762
#10 0x00007f6ab52376e3 in process_ats_message (cls=0x7f6ab5990fa0, msg=0x7fffc4966390) at ats_api_scheduling.c:659
#11 0x00007f6ab49c45bb in receive_task (cls=0x7f6ab59908b0, tc=0x7fffc49664c0) at client.c:595
#12 0x00007f6ab49fa13a in run_ready (rs=0x7f6ab59a3300, ws=0x7f6ab59a3390) at scheduler.c:595
#13 0x00007f6ab49fa94c in GNUNET_SCHEDULER_run (task=0x7f6ab4a055e8 <service_task>, task_cls=0x7fffc4966860) at scheduler.c:817
#14 0x00007f6ab4a0723c in GNUNET_SERVICE_run (argc=3, argv=0x7fffc4966b08, service_name=0x7f6ab56883e4 "transport",
    options=GNUNET_SERVICE_OPTION_NONE, task=0x7f6ab566c6b5 <run>, task_cls=0x0) at service.c:1490
#15 0x00007f6ab566cf4e in main (argc=3, argv=0x7fffc4966b08) at gnunet-service-transport.c:1008
Additional Information#0 0x00007f6ab433d1e5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 3312
        selftid = 3312
#1 0x00007f6ab4340398 in __GI_abort () at abort.c:90
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x70, sa_sigaction = 0x70}, sa_mask = {__val = {0, 140736491577040, 140096284458421,
              140733193388033, 0, 1, 140096266366184, 140096212414045, 140736491577040, 112, 140096284484085, 1, 18446744073709551615,
              0, 140096270174176, 140096270168192}}, sa_flags = -1251780864, sa_restorer = 0x7f6ab46acbe0 <_IO_helper_jumps>}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2 0x00007f6ab49c740b in GNUNET_abort () at common_logging.c:289
No locals.
#3 0x00007f6ab0f9affc in tcp_plugin_send (cls=0x7f6ab59f4490, session=0x7f6ab61213f0, msgbuf=0x7fffc4965fd0 "", msgbuf_size=16,
    priority=4294967295, to=..., cont=0x0, cont_cls=0x0) at plugin_transport_tcp.c:1265
        plugin = 0x7f6ab59f4490
        pm = 0x4ee06a9208353
        __FUNCTION__ = "tcp_plugin_send"
#4 0x00007f6ab567795c in send_session_connect (na=0x7f6ab5ab5b98) at gnunet-service-transport_neighbours.c:1702
        papi = 0x7f6ab59f52e0
        connect_msg = {header = {size = 4096, type = 30465}, reserved = 0, timestamp = {abs_value_us__ = 6017689437434938368}}
        __FUNCTION__ = "send_session_connect"
#5 0x00007f6ab5678b36 in handle_test_blacklist_cont (cls=0x7f6ab603a1a0, peer=0x7f6ab5ab5be8, result=1)
    at gnunet-service-transport_neighbours.c:1968
        bcc = 0x7f6ab603a1a0
        n = 0x7f6ab5ab5b80
        __FUNCTION__ = "handle_test_blacklist_cont"
#6 0x00007f6ab566f056 in GST_blacklist_test_allowed (peer=0x7f6ab5ab5be8, transport_name=0x7fffc49663fc "tcp",
    cont=0x7f6ab567863e <handle_test_blacklist_cont>, cont_cls=0x7f6ab603a1a0) at gnunet-service-transport_blacklist.c:735
        bc = 0x7f6ab603a1a0
        __FUNCTION__ = "GST_blacklist_test_allowed"
#7 0x00007f6ab5679597 in check_blacklist (peer=0x7f6ab5ab5be8, ts=..., address=0x7fffc4966330, session=0x7f6ab61213f0)
    at gnunet-service-transport_neighbours.c:2156
        bcc = 0x7f6ab603a1a0
        bc = 0x4ee06a928243d
        __FUNCTION__ = "check_blacklist"
#8 0x00007f6ab567a603 in GST_neighbours_switch_to_address (peer=0x7fffc4966330, address=0x7fffc4966330, session=0x7f6ab61213f0,
    ats=0x7fffc49663c8, ats_count=5, bandwidth_in=..., bandwidth_out=...) at gnunet-service-transport_neighbours.c:2372
        n = 0x7f6ab5ab5b80
TagsNo tags attached.

Relationships

duplicate of 0003229 closedMatthias Wachs crash at plugin_transport_tcp.c:1265; SVN revision 31613 
related to 0003238 closedMatthias Wachs transport http client assertion failed 

Activities

Matthias Wachs

2014-01-21 09:08

manager   ~0008019

Could give me some additional information:
- Did it occur while running a peer?
- How long did it run before the crash happened?
- Which plugins did you have enabled?
- Was your peer reachable from the Internet?

Christian Grothoff

2014-01-21 10:24

manager   ~0008023

Sorry, don't recall at all.

Matthias Wachs

2014-01-27 09:10

manager   ~0008033

Had a peer with revision 32024 running for ~ 3 days with:

[transport]
plugins = udp tcp https_client https_server

No crashes (coredumps) after that time ...

Please give me feedback if it happens again and re-open the bug. At the moment I cannot reproduce and the bug is quite old does not appear on my system...

Perhaps it was related to a bug like 0003245 crashing transport and after that a invalid outdated session was given to transport...

Issue History

Date Modified Username Field Change
2013-12-21 18:05 Christian Grothoff New Issue
2013-12-21 18:05 Christian Grothoff Status new => assigned
2013-12-21 18:05 Christian Grothoff Assigned To => Matthias Wachs
2013-12-22 01:40 Christian Grothoff Relationship added duplicate of 0003229
2013-12-23 19:06 Christian Grothoff Target Version 0.10.0 => 0.10.1
2014-01-21 09:01 Matthias Wachs Relationship added related to 0003238
2014-01-21 09:08 Matthias Wachs Note Added: 0008019
2014-01-21 09:09 Matthias Wachs Status assigned => feedback
2014-01-21 10:24 Christian Grothoff Note Added: 0008023
2014-01-21 10:24 Christian Grothoff Status feedback => assigned
2014-01-27 09:10 Matthias Wachs Note Added: 0008033
2014-01-27 09:10 Matthias Wachs Status assigned => closed
2014-01-27 09:10 Matthias Wachs Resolution open => unable to reproduce
2024-05-03 13:59 Christian Grothoff Category TCP transport => transport service