no buffer space available

Bug #246180 reported by Stewart Smith
10
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Critical
Andrew Bennetts

Bug Description

on Windows XP, using the 1.6b3 installer.

trying to branch from latest bzr.dev (plus Andrew Bennetts "[MERGE] Remove registrations of defunct HPSS verbs" patch) running on 64bit Ubuntu 8.04.

C:\Documents and Settings\jack\mysql>bzr branch bzr://willster.local.flamingspor
k.com/stew-encrypted-backup
bzr: ERROR: socket.error: (10055, 'No buffer space available')

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 846, in run_bzr_catch_errors
  File "bzrlib\commands.pyo", line 797, in run_bzr
  File "bzrlib\commands.pyo", line 499, in run_argv_aliases
  File "bzrlib\builtins.pyo", line 942, in run
  File "bzrlib\bzrdir.pyo", line 1006, in sprout
  File "bzrlib\repository.pyo", line 929, in fetch
  File "bzrlib\decorators.pyo", line 192, in write_locked
  File "bzrlib\repository.pyo", line 2441, in fetch
  File "bzrlib\fetch.pyo", line 110, in __init__
  File "bzrlib\fetch.pyo", line 140, in __fetch
  File "bzrlib\fetch.pyo", line 166, in _fetch_everything_for_search
  File "bzrlib\repository.pyo", line 1441, in item_keys_introduced_by
  File "bzrlib\repository.pyo", line 1285, in fileids_altered_by_revision_ids
  File "bzrlib\repository.pyo", line 1261, in _find_file_ids_from_xml_inventory_
lines
  File "bzrlib\repository.pyo", line 1201, in _find_text_key_references_from_xml
_inventory_lines
  File "bzrlib\knit.pyo", line 1292, in iter_lines_added_or_present_in_keys
  File "bzrlib\knit.pyo", line 1438, in _read_records_iter
  File "bzrlib\knit.pyo", line 2272, in get_raw_records
  File "bzrlib\pack.pyo", line 253, in iter_records
  File "bzrlib\pack.pyo", line 294, in _read_format
  File "bzrlib\pack.pyo", line 221, in _read_line
  File "bzrlib\pack.pyo", line 185, in readline
  File "bzrlib\pack.pyo", line 172, in _next
  File "bzrlib\transport\remote.pyo", line 336, in _readv
  File "bzrlib\smart\message.pyo", line 280, in read_body_bytes
  File "bzrlib\smart\message.pyo", line 228, in _wait_for_response_end
  File "bzrlib\smart\message.pyo", line 237, in _read_more
  File "bzrlib\smart\medium.pyo", line 401, in read_bytes
  File "bzrlib\smart\medium.pyo", line 781, in _read_bytes
  File "bzrlib\smart\medium.pyo", line 733, in _read_bytes
error: (10055, 'No buffer space available')

bzr 1.6b3 on python 2.5.2 (win32)
arguments: ['bzr', 'branch', 'bzr://willster.local.flamingspork.com/stew-encrypt
ed-backup']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  gtk C:\Documents and Settings\jack\Application Data\bazaar\2.
0\plugins\gtk [0.94.0]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [unknown]
  qbzr C:\Documents and Settings\jack\Application Data\bazaar\2.
0\plugins\qbzr [0.9.1]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

C:\Documents and Settings\jack\mysql>

Tags: hpss

Related branches

Revision history for this message
Andrew Bennetts (spiv) wrote :

It looks like ConventionalResponseHandler.read_body_bytes needs to be more careful about reading smaller amounts of data, like the v1 and v2 protocols' read_body_bytes code does.

Or perhaps we should just enforce smaller recvs in the medium.

Andrew Bennetts (spiv)
Changed in bzr:
assignee: nobody → spiv
importance: Undecided → Critical
milestone: none → 1.6
Revision history for this message
Andrew Bennetts (spiv) wrote :

A fix has been sent to the list for review and hopefully merging into 1.6. I've linked the branch with the fix (lp:~spiv/bzr/hpss-v3-memory-error) to this bug.

Revision history for this message
Andrew Bennetts (spiv) wrote :

Fix landed in bzr.dev r3568. It should be in 1.6rc1.

Changed in bzr:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.