View Issue Details

IDProjectCategoryView StatusLast Update
0002331GNUnetDHT servicepublic2012-06-02 17:15
ReporterChristian Grothoff Assigned ToChristian Grothoff Due Date
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.3Fixed in Version0.9.3 
Summary0002331: NULL dereferencing when running mesh 2d torus test for a while in a loop
Descriptiongrothoff@pixel:~/svn/gnunet/src/mesh$ gdb ~/bin/gnunet-service-dht core.18548
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/grothoff/bin/gnunet-service-dht...done.

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

warning: Can't read pathname for load map: Input/output error.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `gnunet-service-dht -c /tmp/test_mesh_small//13//gnunet-testing-configjzUeTP'.
Program terminated with signal 11, Segmentation fault.
#0 0x00007f20da1f0c7e in GNUNET_CLIENT_notify_transmit_ready (client=0x0, size=440, timeout=..., auto_retry=0, notify=0x7f20db26c4f0 <transmit_message>, notify_cls=0x1c9e020)
    at client.c:1062
1062 if (NULL != client->th)
(gdb) ba
#0 0x00007f20da1f0c7e in GNUNET_CLIENT_notify_transmit_ready (client=0x0, size=440, timeout=..., auto_retry=0, notify=0x7f20db26c4f0 <transmit_message>, notify_cls=0x1c9e020)
    at client.c:1062
#1 0x00007f20db26d7d5 in trigger_next_request (h=0x1c9e020, ignore_currently_down=0) at core_api.c:737
#2 0x00007f20db26b9b1 in request_next_transmission (pr=0x1ca4c00) at core_api.c:522
#3 0x00007f20db271d26 in GNUNET_CORE_notify_transmit_ready_cancel (th=0x1ccabd0) at core_api.c:1428
#4 0x0000000000408db1 in handle_core_disconnect (cls=0x0, peer=0x1ca4c10) at gnunet-service-dht_neighbours.c:705
#5 0x00007f20db26a8f2 in disconnect_and_free_peer_entry (cls=0x1c9e020, key=0x7fff060a8da0, value=0x1ca4c00) at core_api.c:405
#6 0x00007f20da201426 in GNUNET_CONTAINER_multihashmap_iterate (map=0x1c9deb0, it=0x7f20db26a629 <disconnect_and_free_peer_entry>, it_cls=0x1c9e020) at container_multihashmap.c:213
#7 0x00007f20db2707e9 in GNUNET_CORE_disconnect (handle=0x1c9e020) at core_api.c:1248
#8 0x000000000040d9a9 in GDS_NEIGHBOURS_done () at gnunet-service-dht_neighbours.c:2001
#9 0x0000000000402dad in shutdown_task (cls=0x0, tc=0x7fff060a8eb0) at gnunet-service-dht.c:112
#10 0x00007f20da2212f9 in run_ready (rs=0x1c6a2d0, ws=0x1c6a360) at scheduler.c:602
#11 0x00007f20da221b02 in GNUNET_SCHEDULER_run (task=0x7f20da22e3f9 <service_task>, task_cls=0x7fff060a91b0) at scheduler.c:790
#12 0x00007f20da22febb in GNUNET_SERVICE_run (argc=3, argv=0x7fff060a9418, service_name=0x40e620 "dht", options=GNUNET_SERVICE_OPTION_NONE, task=0x402e47 <run>, task_cls=0x0)
    at service.c:1773
#13 0x0000000000403000 in main (argc=3, argv=0x7fff060a9418) at gnunet-service-dht.c:184
(gdb)
TagsNo tags attached.

Activities

Christian Grothoff

2012-05-09 19:43

manager   ~0005834

Fixed in SVN 21395.

Issue History

Date ModifiedUsernameFieldChange
2012-05-08 16:36Christian GrothoffNew Issue
2012-05-08 20:00Christian GrothoffAssigned To => Christian Grothoff
2012-05-08 20:00Christian GrothoffStatusnew => assigned
2012-05-08 20:01Christian GrothoffTarget Version => 0.9.3
2012-05-09 19:43Christian GrothoffNote Added: 0005834
2012-05-09 19:43Christian GrothoffStatusassigned => resolved
2012-05-09 19:43Christian GrothoffFixed in Version => 0.9.3
2012-05-09 19:43Christian GrothoffResolutionopen => fixed
2012-06-02 17:15Christian GrothoffStatusresolved => closed