[tahoe-lafs-trac-stream] [tahoe-lafs] #1669: Crashes while repair on Mac OS X

tahoe-lafs trac at tahoe-lafs.org
Fri Feb 10 07:23:07 UTC 2012


#1669: Crashes while repair on Mac OS X
---------------------+---------------------------
 Reporter:  vikarti  |          Owner:  nobody
     Type:  defect   |         Status:  new
 Priority:  major    |      Milestone:  undecided
Component:  unknown  |        Version:  1.9.1
 Keywords:           |  Launchpad Bug:
---------------------+---------------------------
 Gateway is running Mac OS X, mutable.format=mdmf

 Sometimes running deep check from WUI results in

 {{{
 {no
 <type 'exceptions.ValueError'>: need more than 8 values to unpack
 /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/twisted/internet/defer.py,
 line 542 in _runCallbacks
 540                    current._runningCallbacks = True
 541                    try:
 542                        current.result = callback(current.result,
 *args, **kw)
 543                    finally:
 Locals
 callback        <function _repair_finished at 0x10e9b8050>
 args    ()
 current <Deferred at 0x10dfba6c8 current result: None>
 kw      {}
 /Users/vikarti/tahoe-new/allmydata-
 tahoe-1.9.1/src/allmydata/mutable/checker.py, line 269 in _repair_finished
 267            r = CheckResults(from_string(self._node.get_uri()),
 self._storage_index)
 268            self.cr_results.post_repair_results = r
 269            self._fill_checker_results(repair_results.servermap, r)
 270            self.cr_results.repair_results = repair_results # TODO?
 Locals
 repair_results  <allmydata.mutable.repairer.RepairResults instance at
 0x10df61488>
 r       <allmydata.check_results.CheckResults instance at 0x10e8faef0>
 self    <allmydata.mutable.checker.MutableCheckAndRepairer instance at
 0x10df75908>
 Globals
 CheckResults    <class allmydata.check_results.CheckResults at
 0x10d0b6d50>
 from_string     <function from_string at 0x10d024140>
 /Users/vikarti/tahoe-new/allmydata-
 tahoe-1.9.1/src/allmydata/mutable/checker.py, line 130 in
 _fill_checker_results
 128        summary = []
 129        vmap = smap.make_versionmap()
 130        recoverable = smap.recoverable_versions()
 131        unrecoverable = smap.unrecoverable_versions()
 Locals
 smap    <allmydata.mutable.servermap.ServerMap instance at 0x10e97cab8>
 summary []
 vmap    {(2,
 "\x94(:\xb2\xb1}\x7f\xbe\xf3\x08\xdac\x1f\xaf)r\x89V\xdfZJ\xa1[\x1c\xfb\x19\r'\xb9\x96s\xbd",
 None, 131073, 343, 3, 10,
 "\x01\x00\x00\x00\x00\x00\x00\x00\x02\x94(:\xb2\xb1}\x7f\xbe\xf3\x08\xdac\x1f\xaf)r\x89V\xdfZJ\xa1[\x1c\xfb\x19\r'\xb9\x96s\xbd\x03\n\x00\x00\x00\x00\x00\x02\x00\x01\x00\x00\x00\x00\x00\x00\x01W",
 (('EOF', 2330), ('verification_key', 1731), ('enc_privkey', 123),
 ('share_data', 2167), ('signature', 1475), ('block_hash_tree', 2298),
 ('share_hash_chain', 1339), ('verification_key_end', 2023))): set([(8,
 '\x1f\x0b\xf9H\x83\xca\xeas\xea5\xdf\x8eo\xd2u\xfa\xb1\x87\xe1\xd9',
 1328857611.610529)]), (5,
 '-F\xf0\xd4T\x82k\xd2\x02{\xf2{7\xf3\x9c\x1d\xfb\xc9Z<J\xcb\xbf\x80\xe4MP\xffMI\x89R',
 3, 10, 131073, 598,
 '\x01\x00\x00\x00\x00\x00\x00\x00\x05-F\xf0\xd4T\x82k\xd2\x02{\xf2{7\xf3\x9c\x1d\xfb\xc9Z<J\xcb\xbf\x80\xe4MP\xffMI\x89R\x03\n\x00\x00\x00\x00\x00\x02\x00\x01\x00\x00\x00\x00\x00\x00\x02V',
 (('EOF', 2415), ('verification_key', 1731), ('enc_privkey', 123),
 ('share_data', 2167), ('signature', 1475), ('block_hash_tree', 2383),
 ('share_hash_chain', 1339), ('verification_key_end', 2023))): set([(4,
 '\xfd\xc7gI\xc4m\xba!\x97\xf9\xe6\x82`\xf16\xb4\xfaY\xbf7',
 1328857613.566889), (8,
 "'W\xb0P\xc3\xeaH\xfc\x18\xe5\xdb\xc2\x87\x8b\xab\x8efn\xfa\xaa",
 1328857613.566889), (0,
 "'W\xb0P\xc3\xeaH\xfc\x18\xe5\xdb\xc2\x87\x8b\xab\x8efn\xfa\xaa",
 1328857613.566889), (1,
 '\xba=\x91Y\x1a\xf3&\xaeXm\xc8\x1b\x0eO4!\xef\xa9g.', 1328857613.566889),
 (5, '\x9e\xf2\xc7\x10 \x90\x80W\xd0 \xce\xe2\xf2\xc2+Z\xaf\xb2\xb1+',
 1328857613.566889), (9,
 '\xba=\x91Y\x1a\xf3&\xaeXm\xc8\x1b\x0eO4!\xef\xa9g.', 1328857613.566889),
 (6, ']\xe9\x1d:\x1b\x05\x04\xba\xa4\xf3\xc7xuq\xa83\xaeT\x04\x90',
 1328857613.566889), (3, 'YE\xcb1\x8af0\x918J\xed\x1d at ed\xf6B\xd0?q',
 1328857613.566889), (7,
 '\xcb\xd9\xdc\xa2\x07m\xd8\x10Szq\x1b\xde\x8c\xf5\xf6\xa3\x97\x10\x93',
 1328857613.566889), (2,
 '\xc1|\x03\xe0\x1c"\xb6\xd58\xccO\xc6\x90\xf6\xe8f\x1dk\xc3\x86',
 1328857613.566889)]), (3,
 '\x15%\xa7\\\xd3p\xa0\xe1\xe7\xbc\xd9\xe8\xb6\x9c/\xd90\xd5\xd9:\x92\x07\x0e.Q\x0c\x1b\xc5l\xb0\xf5\xbe',
 None, 131073, 598, 3, 10,
 '\x01\x00\x00\x00\x00\x00\x00\x00\x03\x15%\xa7\\\xd3p\xa0\xe1\xe7\xbc\xd9\xe8\xb6\x9c/\xd90\xd5\xd9:\x92\x07\x0e.Q\x0c\x1b\xc5l\xb0\xf5\xbe\x03\n\x00\x00\x00\x00\x00\x02\x00\x01\x00\x00\x00\x00\x00\x00\x02V',
 (('EOF', 2415), ('verification_key', 1731), ('enc_privkey', 123),
 ('share_data', 2167), ('signature', 1475), ('block_hash_tree', 2383),
 ('share_hash_chain', 1339), ('verification_key_end', 2023))): set([(9,
 '\x88\xb2wj\x93\x07k\xf5D\xc9M2\x92d\xbdt>N\xb50', 1328857611.60796)])}
 /Users/vikarti/tahoe-new/allmydata-
 tahoe-1.9.1/src/allmydata/mutable/servermap.py, line 258 in
 recoverable_versions
 256        for (verinfo, shares) in versionmap.items():
 257            (seqnum, root_hash, IV, segsize, datalength, k, N, prefix,
 258             offsets_tuple) = verinfo
 259            shnums = set([shnum for (shnum, peerid, timestamp) in
 shares])
 Locals
 root_hash
 "\x94(:\xb2\xb1}\x7f\xbe\xf3\x08\xdac\x1f\xaf)r\x89V\xdfZJ\xa1[\x1c\xfb\x19\r'\xb9\x96s\xbd"
 timestamp       1328857611.610529
 offsets_tuple   (('EOF', 2330), ('verification_key', 1731),
 ('enc_privkey', 123), ('share_data', 2167), ('signature', 1475),
 ('block_hash_tree', 2298), ('share_hash_chain', 1339),
 ('verification_key_end', 2023))
 IV      None
 prefix
 "\x01\x00\x00\x00\x00\x00\x00\x00\x02\x94(:\xb2\xb1}\x7f\xbe\xf3\x08\xdac\x1f\xaf)r\x89V\xdfZJ\xa1[\x1c\xfb\x19\r'\xb9\x96s\xbd\x03\n\x00\x00\x00\x00\x00\x02\x00\x01\x00\x00\x00\x00\x00\x00\x01W"
 peerid
 '\x1f\x0b\xf9H\x83\xca\xeas\xea5\xdf\x8eo\xd2u\xfa\xb1\x87\xe1\xd9'
 N       10
 seqnum  2
 k       3
 versionmap      {(2,
 "\x94(:\xb2\xb1}\x7f\xbe\xf3\x08\xdac\x1f\xaf)r\x89V\xdfZJ\xa1[\x1c\xfb\x19\r'\xb9\x96s\xbd",
 None, 131073, 343, 3, 10,
 "\x01\x00\x00\x00\x00\x00\x00\x00\x02\x94(:\xb2\xb1}\x7f\xbe\xf3\x08\xdac\x1f\xaf)r\x89V\xdfZJ\xa1[\x1c\xfb\x19\r'\xb9\x96s\xbd\x03\n\x00\x00\x00\x00\x00\x02\x00\x01\x00\x00\x00\x00\x00\x00\x01W",
 (('EOF', 2330), ('verification_key', 1731), ('enc_privkey', 123),
 ('share_data', 2167), ('signature', 1475), ('block_hash_tree', 2298),
 ('share_hash_chain', 1339), ('verification_key_end', 2023))): set([(8,
 '\x1f\x0b\xf9H\x83\xca\xeas\xea5\xdf\x8eo\xd2u\xfa\xb1\x87\xe1\xd9',
 1328857611.610529)]), (5,
 '-F\xf0\xd4T\x82k\xd2\x02{\xf2{7\xf3\x9c\x1d\xfb\xc9Z<J\xcb\xbf\x80\xe4MP\xffMI\x89R',
 3, 10, 131073, 598,
 '\x01\x00\x00\x00\x00\x00\x00\x00\x05-F\xf0\xd4T\x82k\xd2\x02{\xf2{7\xf3\x9c\x1d\xfb\xc9Z<J\xcb\xbf\x80\xe4MP\xffMI\x89R\x03\n\x00\x00\x00\x00\x00\x02\x00\x01\x00\x00\x00\x00\x00\x00\x02V',
 (('EOF', 2415), ('verification_key', 1731), ('enc_privkey', 123),
 ('share_data', 2167), ('signature', 1475), ('block_hash_tree', 2383),
 ('share_hash_chain', 1339), ('verification_key_end', 2023))): set([(4,
 '\xfd\xc7gI\xc4m\xba!\x97\xf9\xe6\x82`\xf16\xb4\xfaY\xbf7',
 1328857613.566889), (8,
 "'W\xb0P\xc3\xeaH\xfc\x18\xe5\xdb\xc2\x87\x8b\xab\x8efn\xfa\xaa",
 1328857613.566889), (0,
 "'W\xb0P\xc3\xeaH\xfc\x18\xe5\xdb\xc2\x87\x8b\xab\x8efn\xfa\xaa",
 1328857613.566889), (1,
 '\xba=\x91Y\x1a\xf3&\xaeXm\xc8\x1b\x0eO4!\xef\xa9g.', 1328857613.566889),
 (5, '\x9e\xf2\xc7\x10 \x90\x80W\xd0 \xce\xe2\xf2\xc2+Z\xaf\xb2\xb1+',
 1328857613.566889), (9,
 '\xba=\x91Y\x1a\xf3&\xaeXm\xc8\x1b\x0eO4!\xef\xa9g.', 1328857613.566889),
 (6, ']\xe9\x1d:\x1b\x05\x04\xba\xa4\xf3\xc7xuq\xa83\xaeT\x04\x90',
 1328857613.566889), (3, 'YE\xcb1\x8af0\x918J\xed\x1d at ed\xf6B\xd0?q',
 1328857613.566889), (7,
 '\xcb\xd9\xdc\xa2\x07m\xd8\x10Szq\x1b\xde\x8c\xf5\xf6\xa3\x97\x10\x93',
 1328857613.566889), (2,
 '\xc1|\x03\xe0\x1c"\xb6\xd58\xccO\xc6\x90\xf6\xe8f\x1dk\xc3\x86',
 1328857613.566889)]), (3,
 '\x15%\xa7\\\xd3p\xa0\xe1\xe7\xbc\xd9\xe8\xb6\x9c/\xd90\xd5\xd9:\x92\x07\x0e.Q\x0c\x1b\xc5l\xb0\xf5\xbe',
 None, 131073, 598, 3, 10,
 '\x01\x00\x00\x00\x00\x00\x00\x00\x03\x15%\xa7\\\xd3p\xa0\xe1\xe7\xbc\xd9\xe8\xb6\x9c/\xd90\xd5\xd9:\x92\x07\x0e.Q\x0c\x1b\xc5l\xb0\xf5\xbe\x03\n\x00\x00\x00\x00\x00\x02\x00\x01\x00\x00\x00\x00\x00\x00\x02V',
 (('EOF', 2415), ('verification_key', 1731), ('enc_privkey', 123),
 ('share_data', 2167), ('signature', 1475), ('block_hash_tree', 2383),
 ('share_hash_chain', 1339), ('verification_key_end', 2023))): set([(9,
 '\x88\xb2wj\x93\x07k\xf5D\xc9M2\x92d\xbdt>N\xb50', 1328857611.60796)])}
 shnum   8
 shares  set([(4,
 '\xfd\xc7gI\xc4m\xba!\x97\xf9\xe6\x82`\xf16\xb4\xfaY\xbf7',
 1328857613.566889), (8,
 "'W\xb0P\xc3\xeaH\xfc\x18\xe5\xdb\xc2\x87\x8b\xab\x8efn\xfa\xaa",
 1328857613.566889), (0,
 "'W\xb0P\xc3\xeaH\xfc\x18\xe5\xdb\xc2\x87\x8b\xab\x8efn\xfa\xaa",
 1328857613.566889), (1,
 '\xba=\x91Y\x1a\xf3&\xaeXm\xc8\x1b\x0eO4!\xef\xa9g.', 1328857613.566889),
 (5, '\x9e\xf2\xc7\x10 \x90\x80W\xd0 \xce\xe2\xf2\xc2+Z\xaf\xb2\xb1+',
 1328857613.566889), (9,
 '\xba=\x91Y\x1a\xf3&\xaeXm\xc8\x1b\x0eO4!\xef\xa9g.', 1328857613.566889),
 (6, ']\xe9\x1d:\x1b\x05\x04\xba\xa4\xf3\xc7xuq\xa83\xaeT\x04\x90',
 1328857613.566889), (3, 'YE\xcb1\x8af0\x918J\xed\x1d at ed\xf6B\xd0?q',
 1328857613.566889), (7,
 '\xcb\xd9\xdc\xa2\x07m\xd8\x10Szq\x1b\xde\x8c\xf5\xf6\xa3\x97\x10\x93',
 1328857613.566889), (2,
 '\xc1|\x03\xe0\x1c"\xb6\xd58\xccO\xc6\x90\xf6\xe8f\x1dk\xc3\x86',
 1328857613.566889)])
 verinfo (5,
 '-F\xf0\xd4T\x82k\xd2\x02{\xf2{7\xf3\x9c\x1d\xfb\xc9Z<J\xcb\xbf\x80\xe4MP\xffMI\x89R',
 3, 10, 131073, 598,
 '\x01\x00\x00\x00\x00\x00\x00\x00\x05-F\xf0\xd4T\x82k\xd2\x02{\xf2{7\xf3\x9c\x1d\xfb\xc9Z<J\xcb\xbf\x80\xe4MP\xffMI\x89R\x03\n\x00\x00\x00\x00\x00\x02\x00\x01\x00\x00\x00\x00\x00\x00\x02V',
 (('EOF', 2415), ('verification_key', 1731), ('enc_privkey', 123),
 ('share_data', 2167), ('signature', 1475), ('block_hash_tree', 2383),
 ('share_hash_chain', 1339), ('verification_key_end', 2023)))
 shnums  set([8])
 datalength      343
 segsize 131073
 <type 'exceptions.ValueError'>: need more than 8 values to unpack

 }}}

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1669>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list