View Issue Details

IDProjectCategoryView StatusLast Update
0003120GNUnetcadet servicepublic2013-12-24 20:54
ReporterChristian Grothoff Assigned ToBart Polot  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.10.0Fixed in Version0.10.0 
Summary0003120: bus error during FS tests on sparc bot (core dumped)
DescriptionReading symbols from /tmp/gnbuild/lib/gnunet/libexec/gnunet-service-mesh...done.

warning: core file may not match specified executable file.
[New LWP 103326]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/sparc-linux-gnu/libthread_db.so.1".
bCore was generated by `/tmp/gnbuild/lib/gnunet/libexec/gnunet-service-mesh -c /tmp/testbedyWi7Qb/0/con'.
Program terminated with signal 10, Bus error.
a#0 0x00016c68 in queue_data (msg=0xffbf7550, ch=0x49e20, t=0x49c70) at gnunet-service-mesh_tunnel.c:619
619 GNUNET_CONTAINER_DLL_insert_tail (t->tq_head, t->tq_tail, tq);
(gdb) ba
#0 0x00016c68 in queue_data (msg=0xffbf7550, ch=0x49e20, t=0x49c70) at gnunet-service-mesh_tunnel.c:619
#1 GMT_send_prebuilt_message (message=0xffbf7550, t=0x49c70, ch=0x49e20, fwd=1, cont=<optimized out>, cont_cls=<optimized out>)
    at gnunet-service-mesh_tunnel.c:2051
#2 0x00024e40 in GMCH_send_destroy (ch=ch@entry=0x49e20) at gnunet-service-mesh_channel.c:1171
#3 0x0002500c in GMCH_handle_local_destroy (ch=ch@entry=0x49e20, c=c@entry=0x49238) at gnunet-service-mesh_channel.c:1464
#4 0x00028904 in channel_destroy_iterator (cls=cls@entry=0x49238, key=2147483648, value=0x49e20) at gnunet-service-mesh_local.c:216
#5 0x700545a0 in GNUNET_CONTAINER_multihashmap32_iterate (map=0x52cb8, it=it@entry=0x288c0 <channel_destroy_iterator>,
    it_cls=it_cls@entry=0x49238) at container_multihashmap32.c:247
#6 0x000279d4 in handle_client_disconnect (cls=0x0, client=0x48f50) at gnunet-service-mesh_local.c:248
#7 0x7007979c in GNUNET_SERVER_client_disconnect (client=0x48f50) at server.c:1503
#8 0x7007ada0 in GNUNET_SERVER_destroy (server=0x46dd0) at server.c:798
#9 0x700767e0 in run_ready (ws=0x46950, rs=0x468c8) at scheduler.c:593
#10 GNUNET_SCHEDULER_run (task=<optimized out>, task_cls=task_cls@entry=0xffbf79a0) at scheduler.c:808
#11 0x70081a80 in GNUNET_SERVICE_run (argc=argc@entry=3, argv=argv@entry=0xffbf7c04, service_name=service_name@entry=0x32eb8 "mesh",
    options=options@entry=GNUNET_SERVICE_OPTION_NONE, task=task@entry=0x2ede0 <run>, task_cls=task_cls@entry=0x0) at service.c:1478
#12 0x00012048 in main (argc=3, argv=0xffbf7c04) at gnunet-service-mesh.c:161
(gdb) print tq
$1 = (struct MeshTunnelDelayed *) 0x4ee38
(gdb) print t
$2 = (struct MeshTunnel3 *) 0x49c70
(gdb) print t->tq_head
$3 = (struct MeshTunnelDelayed *) 0xbaadf00d
(gdb) print t->tq_tail
$4 = (struct MeshTunnelDelayed *) 0xbaadf00d
Additional InformationClearly use after free (BAADF00D!).
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2013-11-18 21:30 Christian Grothoff New Issue
2013-11-18 21:30 Christian Grothoff Status new => assigned
2013-11-18 21:30 Christian Grothoff Assigned To => Bart Polot
2013-11-18 21:54 Christian Grothoff Reproducibility have not tried => always
2013-11-19 17:06 Bart Polot Status assigned => resolved
2013-11-19 17:06 Bart Polot Fixed in Version => Git master
2013-11-19 17:06 Bart Polot Resolution open => fixed
2013-11-20 00:22 Christian Grothoff Fixed in Version Git master => 0.10.0
2013-11-20 00:22 Christian Grothoff Target Version => 0.10.0
2013-12-24 20:54 Christian Grothoff Status resolved => closed
2014-05-09 18:34 Christian Grothoff Category mesh service => cadet service