View Issue Details

IDProjectCategoryView StatusLast Update
0003233GNUnettransport servicepublic2024-05-03 14:01
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PriorityimmediateSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.10.0Fixed in Version0.10.0 
Summary0003233: crash in HTTP transport
Description[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/home/grothoff/lib/gnunet/libexec/gnunet-service-transport -c /home/grothoff/.c'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f860262bdc3 in curl_easy_pause () from /home/grothoff/lib/libgnurl.so.0
(gdb) ba
#0 0x00007f860262bdc3 in curl_easy_pause () from /home/grothoff/lib/libgnurl.so.0
#1 0x00007f8602864226 in http_client_plugin_send (cls=0x7f86065eab60, s=0x7f860668d0f0, msgbuf=0x7fff1d3984f0 "", msgbuf_size=120,
    priority=4294967295, to=..., cont=0x7f8606061353 <send_disconnect_cont>, cont_cls=0x0) at plugin_transport_http_client.c:530
#2 0x00007f860606123d in send_with_session (n=0x7f860661e3a0, msgbuf=0x7fff1d3984f0 "", msgbuf_size=120, priority=4294967295,
    timeout=..., use_keepalive_timeout=0, cont=0x7f8606061353 <send_disconnect_cont>, cont_cls=0x0)
    at gnunet-service-transport_neighbours.c:1011
#3 0x00007f860606163f in send_disconnect (n=0x7f860661e3a0) at gnunet-service-transport_neighbours.c:1099
#4 0x00007f8606061800 in disconnect_neighbour (n=0x7f860661e3a0) at gnunet-service-transport_neighbours.c:1156
#5 0x00007f860606a4aa in GST_neighbours_handle_disconnect_message (peer=0x7f860668d0f0, msg=0x7f860668c9f0)
    at gnunet-service-transport_neighbours.c:3382
#6 0x00007f8606056a96 in GST_receive_callback (cls=0x7f86065bca60, peer=0x7f860668d0f0, message=0x7f860668c9f0, session=0x7f860668d0f0,
    sender_address=0x7f860669f3e0 "", sender_address_len=35) at gnunet-service-transport.c:384
#7 0x00007f8606072ccf in GST_manipulation_recv (cls=0x7f86065bca60, peer=0x7f860668d0f0, message=0x7f860668c9f0,
    session=0x7f860668d0f0, sender_address=0x7f860669f3e0 "", sender_address_len=35) at gnunet-service-transport_manipulation.c:559
#8 0x00007f8602866333 in client_receive_mst_cb (cls=0x7f860668d0f0, client=0x7f860668d0f0, message=0x7f860668c9f0)
    at plugin_transport_http_client.c:926
#9 0x00007f86053ec24a in GNUNET_SERVER_mst_receive (mst=0x7f860669f510, client_identity=0x7f860668d0f0, buf=0x7f860669ff8c "\r\n",
    size=0, purge=0, one_shot=0) at server_mst.c:221
#10 0x00007f860286682f in client_receive (stream=0x7f860669ff14, size=1, nmemb=120, cls=0x7f860668d0f0)
    at plugin_transport_http_client.c:1022
#11 0x00007f8602615dbb in Curl_client_write () from /home/grothoff/lib/libgnurl.so.0
#12 0x00007f860262d7dd in Curl_httpchunk_read () from /home/grothoff/lib/libgnurl.so.0
#13 0x00007f8602628efc in readwrite_data () from /home/grothoff/lib/libgnurl.so.0
#14 0x00007f8602629b67 in Curl_readwrite () from /home/grothoff/lib/libgnurl.so.0
#15 0x00007f860263305d in multi_runsingle () from /home/grothoff/lib/libgnurl.so.0
#16 0x00007f86026337d9 in curl_multi_perform () from /home/grothoff/lib/libgnurl.so.0
#17 0x00007f8602866d8d in client_run (cls=0x7f86065eab60, tc=0x7fff1d398d50) at plugin_transport_http_client.c:1129
#18 0x00007f86053e613a in run_ready (rs=0x7f86065cf300, ws=0x7f86065cf390) at scheduler.c:595
#19 0x00007f86053e694c in GNUNET_SCHEDULER_run (task=0x7f86053f15e8 <service_task>, task_cls=0x7fff1d3990f0) at scheduler.c:817
#20 0x00007f86053f323c in GNUNET_SERVICE_run (argc=3, argv=0x7fff1d399398, service_name=0x7f86060743e4 "transport",
    options=GNUNET_SERVICE_OPTION_NONE, task=0x7f86060586b5 <run>, task_cls=0x0) at service.c:1490
#21 0x00007f8606058f4e in main (argc=3, argv=0x7fff1d399398) at gnunet-service-transport.c:1008
Additional Information#0 0x00007f860262bdc3 in curl_easy_pause () from /home/grothoff/lib/libgnurl.so.0
No symbol table info available.
#1 0x00007f8602864226 in http_client_plugin_send (cls=0x7f86065eab60, s=0x7f860668d0f0, msgbuf=0x7fff1d3984f0 "", msgbuf_size=120,
    priority=4294967295, to=..., cont=0x7f8606061353 <send_disconnect_cont>, cont_cls=0x0) at plugin_transport_http_client.c:530
        plugin = 0x7f86065eab60
        msg = 0x7f86065bbf50
        stat_txt = 0x7f860663e270 ""
        __FUNCTION__ = "http_client_plugin_send"
#2 0x00007f860606123d in send_with_session (n=0x7f860661e3a0, msgbuf=0x7fff1d3984f0 "", msgbuf_size=120, priority=4294967295,
    timeout=..., use_keepalive_timeout=0, cont=0x7f8606061353 <send_disconnect_cont>, cont_cls=0x0)
    at gnunet-service-transport_neighbours.c:1011
        papi = 0x7f86065ea9b0
        result = {rel_value_us = 18446744073709551615}
        __FUNCTION__ = "send_with_session"
#3 0x00007f860606163f in send_disconnect (n=0x7f860661e3a0) at gnunet-service-transport_neighbours.c:1099
        disconnect_msg = {header = {size = 30720, type = 31233}, reserved = 0, purpose = {size = 805306368, purpose = 2046885888},
          timestamp = {abs_value_us__ = 18233600085469299712}, public_key = {
            q_y = "M\372\363\367\307rwm\220\353/\320\003U\257\317E\271\035\071\334b\321&\356\270\327\001\205U\217", <incomplete sequence \314>}, signature = {
            r = "\212P|(\305\071\263\232\036r%J5\241\251a\217i\204K\346o\217\313\031\346\355\t%\367\232", <incomplete sequence \314>,
            s = "X1O\035\341\233VA\345XV\235y\025\340\032\352\371E\360Sܞ\037*C\034\206\034A\231\004"}}
        __FUNCTION__ = "send_disconnect"
#4 0x00007f8606061800 in disconnect_neighbour (n=0x7f860661e3a0) at gnunet-service-transport_neighbours.c:1156
        __FUNCTION__ = "disconnect_neighbour"
#5 0x00007f860606a4aa in GST_neighbours_handle_disconnect_message (peer=0x7f860668d0f0, msg=0x7f860668c9f0)
    at gnunet-service-transport_neighbours.c:3382
        n = 0x7f860661e3a0
        sdm = 0x7f860668c9f0
        __FUNCTION__ = "GST_neighbours_handle_disconnect_message"
#6 0x00007f8606056a96 in GST_receive_callback (cls=0x7f86065bca60, peer=0x7f860668d0f0, message=0x7f860668c9f0, session=0x7f860668d0f0,
    sender_address=0x7f860669f3e0 "", sender_address_len=35) at gnunet-service-transport.c:384
        plugin_name = 0x7f86065bca60 "https_client"
        ret = {rel_value_us = 0}
        address = {peer = {public_key = {
              q_y = "\332;٦\n\251\177'\341\367\262)~\215\250\032\377\254\256\373\214\371ƂVq\207\364\b)\001\235"}},
          transport_name = 0x7f86065bca60 "https_client", address = 0x7f860669f3e0, address_length = 35}
        type = 378
        __FUNCTION__ = "GST_receive_callback"
TagsNo tags attached.

Activities

Christian Grothoff

2013-12-22 01:27

manager   ~0007926

Looks like a missing check for NULL, fixed in SVN 31665.

Issue History

Date Modified Username Field Change
2013-12-21 18:08 Christian Grothoff New Issue
2013-12-21 18:08 Christian Grothoff Status new => assigned
2013-12-21 18:08 Christian Grothoff Assigned To => Matthias Wachs
2013-12-22 01:27 Christian Grothoff Note Added: 0007926
2013-12-22 01:27 Christian Grothoff Status assigned => resolved
2013-12-22 01:27 Christian Grothoff Fixed in Version => 0.10.0
2013-12-22 01:27 Christian Grothoff Resolution open => fixed
2013-12-22 01:27 Christian Grothoff Assigned To Matthias Wachs => Christian Grothoff
2013-12-24 20:53 Christian Grothoff Status resolved => closed
2024-05-03 14:01 Christian Grothoff Category HTTP transport => transport service