View Issue Details

IDProjectCategoryView StatusLast Update
0002656GNUnetdatastore servicepublic2012-12-21 16:49
ReporterLRN Assigned ToLRN  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Target Version0.9.5Fixed in Version0.9.5 
Summary0002656: Crash in datastore service
DescriptionHappens when i start my node.
Additional Information
Program received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 12244.0xb14]
0x76e0321a in KERNELBASE!DeleteAce () from C:\Windows\syswow64\KernelBase.dll
(gdb) bt
#0  0x76e0321a in KERNELBASE!DeleteAce () from C:\Windows\syswow64\KernelBase.dll
#1  0x62b46b28 in GNUNET_abort () at common_logging.c:291
#2  0x62b523a7 in GNUNET_CONTAINER_bloomfilter_load (filename=0x0, size=4294901760, k=5) at container_bloomfilter.c:473
#3  0x00405c9a in run (cls=0x0, server=0x1dbe0f0, c=0x1dbba28) at gnunet-service-datastore.c:1552
#4  0x62b8cd08 in service_task (cls=0x28fe08, tc=0x28fc70) at service.c:1561
#5  0x62b7fca5 in run_ready (rs=0x1dc8040, ws=0x658fe8) at scheduler.c:597
#6  0x62b80443 in GNUNET_SCHEDULER_run (task=0x62b8c79b <service_task>, task_cls=0x28fe08) at scheduler.c:785
#7  0x62b8d5c8 in GNUNET_SERVICE_run (argc=3, argv=0x1dbbe78, service_name=0x408962 <__register_frame_info+4229474> "datastore", options=GNUNET_SERVICE_OPTION_NONE, task=0x405684 <run>, task_cls=0x0) at service.c:1813
#8  0x00406159 in main (argc=3, argv=0x1dbbe78) at gnunet-service-datastore.c:1639
(gdb) up
#1  0x62b46b28 in GNUNET_abort () at common_logging.c:291
291       DebugBreak ();
(gdb)
#2  0x62b523a7 in GNUNET_CONTAINER_bloomfilter_load (filename=0x0, size=4294901760, k=5) at container_bloomfilter.c:473
473       GNUNET_assert (NULL != filename);
(gdb) up
#3  0x00405c9a in run (cls=0x0, server=0x1dbe0f0, c=0x1dbba28) at gnunet-service-datastore.c:1552
1552                filter = GNUNET_CONTAINER_bloomfilter_load (NULL, bf_size, 5);        /* approx. 3% false positives at max use */
(gdb)
TagsNo tags attached.

Activities

LRN

2012-11-18 18:55

developer   ~0006600

ноя 18 21:53:03-00000000003264208121 datastore-12244 ERROR Size of file on disk is incorrect for this Bloom filter (want 8589934592, have 4194304)
ноя 18 21:53:03-00000000003264208121 datastore-12244 ERROR Failed to remove bogus bloomfilter file `C:\Users\LRN\\.gnunet\datastore\bloomfilter.sqlite'
ноя 18 21:53:03-00000000003264208121 datastore-12244 ERROR Assertion failed at container_bloomfilter.c:473.

Christian Grothoff

2012-11-18 19:00

manager   ~0006601

Crash was fixed in 25037, not sure why it failed to remove the Bloom filter.

LRN

2012-11-18 19:41

developer   ~0006602

It was not about the file. The file was delete successfully. However, after that GNUnet tried to create a new file (and did so), then tried to allocate 2 gigabytes of RAM for the filter - and failed, and then _SAID_ that it failed to remove the file (please fix the message, it shouldn't tell users that it failed to remove the file the _second_ time).

It was 2 gigabytes because of wrong (-1 casted as unsigned long long, my guess) datastore size in my config.

Wrong datastore was there due to a bug in gnunet-setup, i presume.

Issue History

Date Modified Username Field Change
2012-11-18 18:54 LRN New Issue
2012-11-18 18:55 LRN Note Added: 0006600
2012-11-18 19:00 Christian Grothoff Note Added: 0006601
2012-11-18 19:41 LRN Note Added: 0006602
2012-11-18 19:41 LRN Status new => resolved
2012-11-18 19:41 LRN Resolution open => fixed
2012-11-18 19:41 LRN Assigned To => LRN
2012-11-28 01:24 Christian Grothoff Fixed in Version => 0.9.5
2012-11-28 01:24 Christian Grothoff Target Version => 0.9.5
2012-12-21 16:49 Christian Grothoff Status resolved => closed