View Issue Details

IDProjectCategoryView StatusLast Update
0002426GNUnetfile-sharing servicepublic2012-11-05 18:34
ReporterChristian Grothoff Assigned ToChristian Grothoff  
PriorityurgentSeveritymajorReproducibilityhave not tried
Status closedResolutionfixed 
Product VersionGit master 
Target Version0.9.4Fixed in Version0.9.4 
Summary0002426: gnunet-fs-gtk-14277 ERROR Assertion failed at fs_download.c:1124.
DescriptionPlaying with publishing, searching for and downloading a 221 MB file, I got this assertion. (My B-The IPS Compiler and Related Constructions (SD).mp4 file was used for this test).

I also had expected to get search probe results, however, the availability percentage remained at 0% (during a download, it does go up as expected).
TagsNo tags attached.

Activities

Christian Grothoff

2012-06-17 11:39

manager   ~0006080

Last edited: 2012-06-17 11:40

(gdb) up
#1 0x00007f275f0776f0 in *__GI_abort () at abort.c:92
#2 0x00007f2761781a50 in GNUNET_abort () at common_logging.c:273
#3 0x00007f2761544b32 in process_result_with_request (cls=0x7ffff2921390, key=0x7ffff2921390, value=0x1b790c0) at fs_download.c:1124
(gdb) print drc->chk_idx
$1 = 1142
(gdb) print *drc->parent
$3 = {next = 0x0, prev = 0x0, parent = 0x1befc10, children = 0x1c08310, chk = {key = {bits = {408303020, 1706944967, 3348917013, 1829872023, 1295207457, 2665708618, 658804218, 3278048801, 3574970078, 2067721581, 187417083, 1172798102,
        633171942, 478177459, 741735469, 1083514626}}, query = {bits = {415816042, 403635448, 31964779, 2422855872, 1556565212, 190279148, 950955214, 199169228, 96882096, 1617110022, 1797717762, 712440725, 2300041994, 2384475787,
        3752059004, 987621435}}}, offset = 25165824, num_children = 256, depth = 1, chk_idx = 3, state = BRS_DOWNLOAD_DOWN, is_pending = 0}
(gdb) print *drc->parent->parent
$4 = {next = 0x0, prev = 0x0, parent = 0x0, children = 0x1ab7750, chk = {key = {bits = {2083415448, 4223105430, 617035363, 3896083820, 3972532973, 3393063472, 479627614, 456137658, 1067935537, 49528492, 3887194942, 2005907697,
        1464387186, 3588037018, 295490050, 2734320276}}, query = {bits = {1325793376, 969207075, 3265920210, 2462987655, 3395828210, 1603407417, 2627620516, 1084934243, 3663283876, 4179184839, 1165721286, 2091173299, 2220316761,
        1764532688, 3592303768, 2822965290}}}, offset = 0, num_children = 1, depth = 2, chk_idx = 0, state = BRS_DOWNLOAD_DOWN, is_pending = 0}

Christian Grothoff

2012-06-17 11:42

manager   ~0006081

Total file size: 218835288
Offset above : 62586880
Parent offset : 25165824
Desired offset : 29065216 [see below]

(gdb) print *dc
$5 = {h = 0x196c220, top = 0x0, client = 0x1c08210, parent = 0x0, search = 0x0, child_head = 0x0, child_tail = 0x0, prev = 0x0, next = 0x0, client_info = 0x1b45d10, uri = 0x1c53110, meta = 0x1a37190, emsg = 0x0, serialization = 0x0,
  filename = 0x0, temp_filename = 0x0, job_queue = 0x1b79190, th = 0x0, te = 0x0, rfh = 0x0, active = 0x1c4df90, pending_head = 0x0, pending_tail = 0x0, top_request = 0x1befc10, target = {hashPubKey = {bits = {0 <repeats 16 times>}}},
  task = 0, offset = 29065216, length = 32768, completed = 0, old_file_size = 0, start_time = {abs_value = 1339925948277}, anonymity = 1, treedepth = 3, options = -2147483644, has_finished = 0, in_receive = 1, issue_requests = 1}

Christian Grothoff

2012-06-17 11:47

manager   ~0006082

Last edited: 2012-06-17 11:49

29065216
== 3 * (256 * 1024 * 32) + 119 * (1024 * 32)
== 25165824 + 119 * (1024 * 32)
== 887 * (1024 * 32)

--- so where does this huge index come from!?

Christian Grothoff

2012-06-17 12:10

manager   ~0006083

Fixed in SVN 22058.

Issue History

Date Modified Username Field Change
2012-06-16 21:35 Christian Grothoff New Issue
2012-06-16 21:35 Christian Grothoff Assigned To => Christian Grothoff
2012-06-16 21:35 Christian Grothoff Status new => assigned
2012-06-17 10:36 Christian Grothoff Priority normal => urgent
2012-06-17 11:39 Christian Grothoff Note Added: 0006080
2012-06-17 11:40 Christian Grothoff Note Edited: 0006080
2012-06-17 11:42 Christian Grothoff Note Added: 0006081
2012-06-17 11:47 Christian Grothoff Note Added: 0006082
2012-06-17 11:48 Christian Grothoff Note Edited: 0006082
2012-06-17 11:49 Christian Grothoff Note Edited: 0006082
2012-06-17 12:10 Christian Grothoff Note Added: 0006083
2012-06-17 12:10 Christian Grothoff Status assigned => resolved
2012-06-17 12:10 Christian Grothoff Fixed in Version => 0.9.4
2012-06-17 12:10 Christian Grothoff Resolution open => fixed
2012-11-05 18:34 Christian Grothoff Status resolved => closed