[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 13:55:41 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):

 As suggested by Riastradh in #tahoe-lafs, I ran it under strace.  Using
 `strace -f python bin/tahoe debug trial
 allmydata.test.test_cli.Backup.test_backup` I got a 3.3MB file which I can
 attach if requested.  The last 20 lines are
 {{{
 [pid  3482] gettimeofday({1308861861, 391151}, NULL) = 0
 [pid  3482] gettimeofday({1308861861, 391248}, NULL) = 0
 [pid  3482] gettimeofday({1308861861, 391487}, NULL) = 0
 [pid  3482] gettimeofday({1308861861, 391770}, NULL) = 0
 [pid  3482] gettimeofday({1308861861, 391924}, NULL) = 0
 [pid  3482] gettimeofday({1308861861, 392020}, NULL) = 0
 [pid  3482] --- SIGFPE (Floating point exception) @ 0 (0) ---
 [pid  3482] rt_sigaction(SIGFPE, {0xb77028d0, [], 0}, {0xb77028d0, [], 0},
 8) = 0
 [pid  3482] write(2, "Fatal Python error: Unprotected "..., 57) = 57
 [pid  3482] rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
 [pid  3482] tgkill(3482, 3482, SIGABRT) = 0
 [pid  3482] --- SIGABRT (Aborted) @ 0 (0) ---
 Process 3481 resumed
 Process 3482 detached
 [pid  3487] +++ killed by SIGABRT +++
 <... waitpid resumed> [{WIFSIGNALED(s) && WTERMSIG(s) == SIGABRT}], 0) =
 3482
 --- SIGCHLD (Child exited) @ 0 (0) ---
 rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0x8110720, [], 0}, 8) = 0
 exit_group(-6)                          = ?
 }}}

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


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