View Issue Details

IDProjectCategoryView StatusLast Update
0002550GNUnetutil librarypublic2012-11-05 18:34
ReporterMatthias Wachs Assigned ToMatthias Wachs  
PrioritynormalSeveritycrashReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.4 
Summary0002550: segfault with key generation
Descriptionmwachs@fulcrum:~/gnunet/gnunet-debug/src/transport$ gnunet-service-transport -c /home/mwachs/gnunet/gnunet-debug/src/transport/test_transport_api_http_reverse_peer2.conf
Sep 18 13:32:30-364709 util-1078 ERROR `bind' failed at server.c:565 with error: Address already in use
Sep 18 13:32:30-366355 transport-http_server-1078 ERROR Failed to start transport-http_server IPv4 server component on port 8080
Sep 18 13:32:30-366576 transport-1078 ERROR Failed to load transport plugin for `libgnunet_plugin_transport_http_server'
Segmentation fault (core dumped)
mwachs@fulcrum:~/gnunet/gnunet-debug/src/transport$
mwachs@fulcrum:~/gnunet/gnunet-debug/src/transport$ valgrind .libs/gnunet-service-transport -c /home/mwachs/gnunet/gnunet-debug/src/transport/test_transport_api_http_reverse_peer2.conf
==1159== Memcheck, a memory error detector
==1159== Copyright (C) 2002-2011, and GNU GPL'd, by Julian Seward et al.
==1159== Using Valgrind-3.7.0 and LibVEX; rerun with -h for copyright info
==1159== Command: .libs/gnunet-service-transport -c /home/mwachs/gnunet/gnunet-debug/src/transport/test_transport_api_http_reverse_peer2.conf
==1159==
Sep 18 13:33:54-892590 util-1159 ERROR `bind' failed at server.c:565 with error: Address already in use
Sep 18 13:33:55-379291 transport-http_server-1159 ERROR Failed to start transport-http_server IPv4 server component on port 8080
Sep 18 13:33:55-426979 transport-1159 ERROR Failed to load transport plugin for `libgnunet_plugin_transport_http_server'
==1159== Invalid read of size 8
==1159== at 0x569A7DB: GNUNET_SERVER_resume (server.c:663)
==1159== by 0x404D22: key_generation_cb (gnunet-service-transport.c:647)
==1159== by 0x567F5A8: async_return_key (crypto_rsa.c:983)
==1159== by 0x5697957: run_ready (scheduler.c:602)
==1159== by 0x569813D: GNUNET_SCHEDULER_run (scheduler.c:790)
==1159== by 0x56A67B3: GNUNET_SERVICE_run (service.c:1797)
==1159== by 0x404F1D: main (gnunet-service-transport.c:700)
==1159== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==1159==
==1159==
==1159== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==1159== Access not within mapped region at address 0x0
==1159== at 0x569A7DB: GNUNET_SERVER_resume (server.c:663)
==1159== by 0x404D22: key_generation_cb (gnunet-service-transport.c:647)
==1159== by 0x567F5A8: async_return_key (crypto_rsa.c:983)
==1159== by 0x5697957: run_ready (scheduler.c:602)
==1159== by 0x569813D: GNUNET_SCHEDULER_run (scheduler.c:790)
==1159== by 0x56A67B3: GNUNET_SERVICE_run (service.c:1797)
==1159== by 0x404F1D: main (gnunet-service-transport.c:700)
==1159== If you believe this happened as a result of a stack
==1159== overflow in your program's main thread (unlikely but
==1159== possible), you can try to increase the size of the
==1159== main thread stack using the --main-stacksize= flag.
==1159== The main thread stack size used in this run was 8388608.
==1159==
==1159== HEAP SUMMARY:
==1159== in use at exit: 41,828 bytes in 1,517 blocks
==1159== total heap usage: 3,320 allocs, 1,803 frees, 191,395 bytes allocated
==1159==
==1159== LEAK SUMMARY:
==1159== definitely lost: 0 bytes in 0 blocks
==1159== indirectly lost: 0 bytes in 0 blocks
==1159== possibly lost: 0 bytes in 0 blocks
==1159== still reachable: 41,828 bytes in 1,517 blocks
==1159== suppressed: 0 bytes in 0 blocks
==1159== Rerun with --leak-check=full to see details of leaked memory
==1159==
==1159== For counts of detected and suppressed errors, rerun with: -v
==1159== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 2)
Segmentation fault (core dumped)
mwachs@fulcrum:~/gnunet/gnunet-debug/src/transport$
TagsNo tags attached.

Activities

Matthias Wachs

2012-09-18 13:52

reporter   ~0006355

fixed in 23879.

Issue History

Date Modified Username Field Change
2012-09-18 13:35 Matthias Wachs New Issue
2012-09-18 13:35 Matthias Wachs Status new => assigned
2012-09-18 13:35 Matthias Wachs Assigned To => Matthias Wachs
2012-09-18 13:52 Matthias Wachs Note Added: 0006355
2012-09-18 13:53 Matthias Wachs Severity minor => crash
2012-09-18 13:53 Matthias Wachs Status assigned => resolved
2012-09-18 13:53 Matthias Wachs Resolution open => fixed
2012-09-18 13:53 Matthias Wachs Category transport service => util library
2012-09-18 13:53 Matthias Wachs Target Version => 0.9.4
2012-11-05 18:34 Christian Grothoff Status resolved => closed