View Issue Details

IDProjectCategoryView StatusLast Update
0001812GNUnettransport servicepublic2011-10-31 12:00
Reporterviric Assigned ToMatthias Wachs  
PrioritynormalSeveritycrashReproducibilityrandom
Status closedResolutionfixed 
Platformx86_64OSlinuxOS Versionlinux
Product VersionGit master 
Summary0001812: sigabort on transport, assert failure, rev 17144
Descriptioncrash on transport
Steps To ReproduceHappens from time to time
Additional Information#2 0x000000000040709c in transmit_send_continuation (cls=0x12ea030, receiver=0x12eac28,
    success=-1) at gnunet-service-transport_neighbours.c:348
348 GNUNET_assert (n->is_active == mq);
(gdb) print n
$1 = (struct NeighbourMapEntry *) 0x12eabe0
(gdb) print *n
$2 = {messages_head = 0x0, messages_tail = 0x0, asc = 0x0, ats = 0x12ed3d0, is_active = 0x0,
  session = 0x0, plugin_name = 0x12eacb0 "udp", addr = 0x12eb950, addrlen = 6, id = {
    hashPubKey = {bits = {2878361565, 2301341956, 3069933838, 848350807, 2026914704,
        1757589313, 542021639, 259973516, 4249852597, 2514362543, 533427839, 2636600325,
        761974031, 2371527630, 504530543, 3761278633}}}, timeout_task = 414012,
  keepalive_task = 416899, transmission_task = 437715, in_tracker = {
    consumption_since_last_update__ = -39904, last_update__ = {abs_value = 1317403927260},
    available_bytes_per_s__ = 13068, max_carry_s__ = 5}, quota_violation_count = 0,
  ats_count = 1, in_disconnect = 0, is_connected = 1}
(gdb) print mq
$3 = (struct MessageQueue *) 0x12ea030
(gdb) print *mq
$4 = {next = 0x7f22888f5ef8, prev = 0x7f22888f5ef8, n = 0x12eabe0,
  cont = 0x405d5c <handle_send_transmit_continuation>, cont_cls = 0x12ed940,
  message_buf = 0x12ea070 "", message_buf_size = 192, timeout = {
    abs_value = 18446744073709551615}}
(gdb) print *mq->next
$5 = {next = 0x13b7b10, prev = 0x12ea130, n = 0x12ea020, cont = 0x12ea020,
  cont_cls = 0x12ea550, message_buf = 0x13021f0 "", message_buf_size = 19844496, timeout = {
    abs_value = 19932208}}
TagsNo tags attached.

Activities

Matthias Wachs

2011-10-04 13:18

manager   ~0004683

fixed in 17163

transmit_send_continuation only called in function try_transmission_to_peer

when timeout occurs, mq is dismissed, but n->is_active is not set to mq

Issue History

Date Modified Username Field Change
2011-09-30 19:52 viric New Issue
2011-09-30 19:52 viric Status new => assigned
2011-09-30 19:52 viric Assigned To => Matthias Wachs
2011-10-04 13:16 Matthias Wachs Status assigned => closed
2011-10-04 13:16 Matthias Wachs Resolution open => fixed
2011-10-04 13:18 Matthias Wachs Note Added: 0004683
2011-10-04 13:18 Matthias Wachs Status closed => feedback
2011-10-04 13:18 Matthias Wachs Resolution fixed => reopened
2011-10-04 13:18 Matthias Wachs Status feedback => closed
2011-10-04 13:18 Matthias Wachs Resolution reopened => fixed
2011-10-04 13:19 Christian Grothoff Status closed => resolved
2011-10-04 13:21 Christian Grothoff Target Version => 0.9.0pre4
2011-10-31 12:00 Christian Grothoff Status resolved => closed