[tahoe-lafs-trac-stream] [tahoe-lafs] #1418: "cannot convert float NaN to integer" in next_power_of_k, during upload via helper

tahoe-lafs trac at tahoe-lafs.org
Thu Jun 23 23:48:28 PDT 2011


#1418: "cannot convert float NaN to integer" in next_power_of_k, during upload via
helper
------------------------+---------------------------
     Reporter:  rycee   |      Owner:  rycee
         Type:  defect  |     Status:  new
     Priority:  major   |  Milestone:  undecided
    Component:  code    |    Version:  1.8.2
   Resolution:          |   Keywords:  helper upload
Launchpad Bug:          |
------------------------+---------------------------

Comment (by rycee):

 Riastradh suggested that the cause could be a cosmic ray flipping a bit in
 memory, especially after seeing [http://hpaste.org/48231 strange output]
 from `info float` in gdb.  I tried flushing the file cache, rebooting,
 reinstalling python 2.6, uninstalling python 2.5 (in case it was somehow
 interfering), rebuilding tahoe and building tahoe 1.8.1.  Still get an
 exception from `x = int(math.log(n, k) + 0.5)`.  Note, I also get an
 exception from my newly built 1.8.1.  I have previously used 1.8.1
 reliably as a helper so I suppose the problem might be caused due to some
 newer version of a library pulled in during `python setup.py build`?

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1418#comment:22>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


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