View Issue Details

IDProjectCategoryView StatusLast Update
0001584GNUnetfile-sharing servicepublic2010-10-21 15:47
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Summary0001584: gnunet-service-fs segfaults on peer disconnect
DescriptionJul 19 15:10:05 arm-4210 WARNING Service `fs' terminated with status signal/11, will try to restart it!
Additional InformationHappens when I start 2 peer network and then stop one of the peers.
TagsNo tags attached.

Activities

Christian Grothoff

2010-07-22 13:44

manager   ~0004071

==3697== Syscall param socketcall.sendto(msg) points to uninitialised byte(s)
==3697== at 0x5FF15B5: send (in /lib/libc-2.7.so)
==3697== by 0x587FC2C: GNUNET_NETWORK_socket_send (network.c:536)
==3697== by 0x586F2DF: transmit_ready (connection.c:1516)
==3697== by 0x58868F1: run_ready (scheduler.c:604)
==3697== by 0x5886CB5: GNUNET_SCHEDULER_run (scheduler.c:731)
==3697== by 0x588D648: GNUNET_SERVICE_run (service.c:1568)
==3697== by 0x408CA4: main (gnunet-service-fs.c:3803)
==3697== Address 0x75522c8 is 16 bytes inside a block of size 32,864 alloc'd
==3697== at 0x4C22741: realloc (vg_replace_malloc.c:429)
==3697== by 0x5869839: GNUNET_xrealloc_ (common_allocation.c:131)
==3697== by 0x586F49E: GNUNET_CONNECTION_notify_transmit_ready (connection.c:1595)
==3697== by 0x5869295: GNUNET_CLIENT_notify_transmit_ready (client.c:880)
==3697== by 0x56577A3: trigger_next_request (core_api.c:364)
==3697== by 0x5658B60: GNUNET_CORE_notify_transmit_ready (core_api.c:943)
==3697== by 0x4038F6: consider_migration (gnunet-service-fs.c:895)
==3697== by 0x404298: peer_connect_handler (gnunet-service-fs.c:1210)
==3697== by 0x5657926: main_notify_handler (core_api.c:422)
==3697== by 0x58689E3: receive_task (client.c:543)
==3697== by 0x58868F1: run_ready (scheduler.c:604)
==3697== by 0x5886CB5: GNUNET_SCHEDULER_run (scheduler.c:731)

Christian Grothoff

2010-07-22 13:44

manager   ~0004072

==3697==
==3697== Invalid read of size 8
==3697== at 0x565758C: request_start (core_api.c:327)
==3697== by 0x586919A: client_notify (client.c:835)
==3697== by 0x586ED46: process_notify (connection.c:1343)
==3697== by 0x586F1B1: transmit_ready (connection.c:1505)
==3697== by 0x58868F1: run_ready (scheduler.c:604)
==3697== by 0x5886CB5: GNUNET_SCHEDULER_run (scheduler.c:731)
==3697== by 0x588D648: GNUNET_SERVICE_run (service.c:1568)
==3697== by 0x408CA4: main (gnunet-service-fs.c:3803)
==3697== Address 0x8 is not stack'd, malloc'd or (recently) free'd
==3697==
==3697== Process terminating with default action of signal 11 (SIGSEGV)
==3697== Access not within mapped region at address 0x8
==3697== at 0x565758C: request_start (core_api.c:327)
==3697== by 0x586919A: client_notify (client.c:835)
==3697== by 0x586ED46: process_notify (connection.c:1343)
==3697== by 0x586F1B1: transmit_ready (connection.c:1505)
==3697== by 0x58868F1: run_ready (scheduler.c:604)
==3697== by 0x5886CB5: GNUNET_SCHEDULER_run (scheduler.c:731)
==3697== by 0x588D648: GNUNET_SERVICE_run (service.c:1568)
==3697== by 0x408CA4: main (gnunet-service-fs.c:3803)

Christian Grothoff

2010-07-22 13:44

manager   ~0004073

==3709== Invalid read of size 8
==3709== at 0x524F58C: make_queue_entry (datastore_api.c:383)
==3709== by 0x5250A53: GNUNET_DATASTORE_get_random (datastore_api.c:1196)
==3709== by 0x403BFD: gather_migration_blocks (gnunet-service-fs.c:1025)
==3709== by 0x58868F1: run_ready (scheduler.c:604)
==3709== by 0x5886CB5: GNUNET_SCHEDULER_run (scheduler.c:731)
==3709== by 0x588D648: GNUNET_SERVICE_run (service.c:1568)
==3709== by 0x408CA4: main (gnunet-service-fs.c:3803)
==3709== Address 0x20 is not stack'd, malloc'd or (recently) free'd
==3709==
==3709== Process terminating with default action of signal 11 (SIGSEGV)
==3709== Access not within mapped region at address 0x20
==3709== at 0x524F58C: make_queue_entry (datastore_api.c:383)
==3709== by 0x5250A53: GNUNET_DATASTORE_get_random (datastore_api.c:1196)
==3709== by 0x403BFD: gather_migration_blocks (gnunet-service-fs.c:1025)
==3709== by 0x58868F1: run_ready (scheduler.c:604)
==3709== by 0x5886CB5: GNUNET_SCHEDULER_run (scheduler.c:731)
==3709== by 0x588D648: GNUNET_SERVICE_run (service.c:1568)
==3709== by 0x408CA4: main (gnunet-service-fs.c:3803)
==3709==

Christian Grothoff

2010-07-22 13:58

manager   ~0004074

Fixed in SVN 12329 & 12330.

Issue History

Date Modified Username Field Change
2010-07-19 15:10 Christian Grothoff New Issue
2010-07-19 15:10 Christian Grothoff Status new => assigned
2010-07-19 15:10 Christian Grothoff Assigned To => Christian Grothoff
2010-07-22 13:44 Christian Grothoff Note Added: 0004071
2010-07-22 13:44 Christian Grothoff Note Added: 0004072
2010-07-22 13:44 Christian Grothoff Note Added: 0004073
2010-07-22 13:58 Christian Grothoff Note Added: 0004074
2010-07-22 13:58 Christian Grothoff Status assigned => resolved
2010-07-22 13:58 Christian Grothoff Resolution open => fixed
2010-10-21 15:47 Christian Grothoff Status resolved => closed