[monero-project/monero] transfer got error «tx_not_constructed» (#4261)

> 2018-08-20 13:58:00.080 7f1203df2740 INFO global src/wallet/wallet2.cpp:6614 creating tx with source entry from txid <5e0faa9dc821cb558f0e10fbf0e810a95633366980508e991f644099c68b1b20>, key image <3c9e2af33de1321888bd306c9dc3373e1192f8f1388e0bce9189ac3b1554d137> , flags 1/0, pubkey <1a6788acebdc87a4f470bd0e7b11e3326572c1c238584bbd7b1252a736518d04>
2018-08-20 13:58:00.081 7f1203df2740 WARN wallet.wallet2 src/wallet/wallet2.h:1693 amount=0.260000000000, real_output=1, real_output_in_tx_index=0, indexes: 5111337 5736262 6281147 6536948 6818651 6907119 6915737
2018-08-20 13:58:00.081 7f1203df2740 INFO global src/cryptonote_core/cryptonote_tx_utils.cpp:284 construct_tx_with_tx_key: real_out_tx_key <4c4ce6b845e705982d448ef05d6495cad2077abaa43077fb04b0f8bf3f5dea11>
2018-08-20 13:58:00.081 7f1203df2740 INFO global src/cryptonote_basic/cryptonote_format_utils.cpp:204 XXX: r 1, tx_public_key <4c4ce6b845e705982d448ef05d6495cad2077abaa43077fb04b0f8bf3f5dea11>, skey
2018-08-20 13:58:10.937 7f1203df2740 INFO global src/wallet/wallet2.cpp:6614 creating tx with source entry from txid <5e0faa9dc821cb558f0e10fbf0e810a95633366980508e991f644099c68b1b20>, key image <3c9e2af33de1321888bd306c9dc3373e1192f8f1388e0bce9189ac3b1554d137> , flags 1/0, pubkey <1a6788acebdc87a4f470bd0e7b11e3326572c1c238584bbd7b1252a736518d04>
2018-08-20 13:58:10.937 7f1203df2740 WARN wallet.wallet2 src/wallet/wallet2.h:1693 amount=0.260000000000, real_output=1, real_output_in_tx_index=0, indexes: 3758082 5736262 5807235 6598426 6904910 6913328 6914476
2018-08-20 13:58:10.937 7f1203df2740 INFO global src/wallet/wallet2.cpp:6614 creating tx with source entry from txid , key image , flags 1/0, pubkey
2018-08-20 13:58:10.937 7f1203df2740 WARN wallet.wallet2 src/wallet/wallet2.h:1693 amount=0.010000000000, real_output=2, real_output_in_tx_index=0, indexes: 5775823 6612437 6757719 6837338 6908970 6912779 6915724
2018-08-20 13:58:10.938 7f1203df2740 INFO global src/cryptonote_core/cryptonote_tx_utils.cpp:284 construct_tx_with_tx_key: real_out_tx_key <4c4ce6b845e705982d448ef05d6495cad2077abaa43077fb04b0f8bf3f5dea11>
2018-08-20 13:58:10.938 7f1203df2740 INFO global src/cryptonote_basic/cryptonote_format_utils.cpp:204 XXX: r 1, tx_public_key <4c4ce6b845e705982d448ef05d6495cad2077abaa43077fb04b0f8bf3f5dea11>, skey
2018-08-20 13:58:10.938 7f1203df2740 INFO global src/cryptonote_core/cryptonote_tx_utils.cpp:284 construct_tx_with_tx_key: real_out_tx_key
2018-08-20 13:58:10.938 7f1203df2740 INFO global src/cryptonote_basic/cryptonote_format_utils.cpp:204 XXX: r 0, tx_public_key , skey
2018-08-20 13:58:10.938 7f1203df2740 ERROR cn src/cryptonote_basic/cryptonote_format_utils.cpp:205 key image helper: failed to generate_key_derivation(, )
2018-08-20 13:58:10.938 7f1203df2740 ERROR default src/cryptonote_core/cryptonote_tx_utils.cpp:291 Key image generation failed!
2018-08-20 13:58:10.938 7f1203df2740 ERROR wallet.wallet2 src/wallet/wallet2.cpp:6653 !r. THROW EXCEPTION: error::tx_not_constructed
2018-08-20 13:58:10.938 7f1203df2740 WARN net.http src/wallet/wallet_errors.h:794 /data/downloads/monero/monero/src/wallet/wallet2.cpp:6653:N5tools5error18tx_not_constructedE: transaction was not constructed
Sources:
source 0:
amount: 0.260000000000
source 1:
amount: 0.010000000000
Destinations:
0: 46SJi3tGk5MZqVLm9zvim6hVxo6fK3DgcY7tJ5vTbuNzMrzG6GhKCfT8KVr856bhh3DRVee23EbNZV1AgUXmT18gKyqnUjq 0.010000000000
unlock_time: 0
2018-08-20 13:58:10.938 7f1203df2740 INFO stacktrace src/common/stack_trace.cpp:124 Exception: tools::error::tx_not_constructed
2018-08-20 13:58:10.939 7f1203df2740 INFO stacktrace src/common/stack_trace.cpp:125 Unwound call stack:
2018-08-20 13:58:10.942 7f1203df2740 INFO stacktrace src/common/stack_trace.cpp:163 [1] ./monero-wallet-cli:__wrap___cxa_throw+0x10a [0x557010529daa]
2018-08-20 13:58:10.942 7f1203df2740 INFO stacktrace src/common/stack_trace.cpp:163 [2] ./monero-wallet-cli:void tools::error::throw_wallet_ex >, std::vector >, unsigned long, cryptonote::network_type>(std::__cxx11::basic_string, std::allocator >&&, std::vector > const&, std::vector > const&, unsigned long const&, cryptonote::network_type const&)+0x299 [0x55701045e599]
2018-08-20 13:58:10.942 7f1203df2740 INFO stacktrace src/common/stack_trace.cpp:163 [3] ./monero-wallet-cli:tools::wallet2::transfer_selected_rct(std::vector >, std::vector > const&, unsigned long, std::vector, std::allocator > >, std::allocator, std::allocator > > > >&, unsigned long, unsigned long, std::vector > const&, cryptonote::transaction&, tools::wallet2::pending_tx&, bool)+0x2bba [0x5570103eedaa]
2018-08-20 13:58:10.942 7f1203df2740 INFO stacktrace src/common/stack_trace.cpp:163 [4] ./monero-wallet-cli:tools::wallet2::create_transactions_2(std::vector >, unsigned long, unsigned long, unsigned int, std::vector > const&, unsigned int, std::set, std::allocator >, bool)+0x3a60 [0x5570103f5f90]
2018-08-20 13:58:10.942 7f1203df2740 INFO stacktrace src/common/stack_trace.cpp:163 [5] ./monero-wallet-cli:cryptonote::simple_wallet::transfer_main(int, std::vector, std::allocator >, std::allocator, std::allocator > > > const&)+0x1c0f [0x5570102c6e6f]
2018-08-20 13:58:10.942 7f1203df2740 INFO stacktrace src/common/stack_trace.cpp:163 [6] ./monero-wallet-cli:epee::command_handler::process_command_str(std::__cxx11::basic_string, std::allocator > const&)+0x2a5 [0x55701031fa25]
2018-08-20 13:58:10.942 7f1203df2740 INFO stacktrace src/common/stack_trace.cpp:163 [7] ./monero-wallet-cli:bool epee::async_console_handler::run, std::allocator > const&>, boost::_bi::list2, boost::arg<1> > > >(boost::_bi::bind_t, std::allocator > const&>, boost::_bi::list2, boost::arg<1> > >, std::function, std::allocator > ()>, std::__cxx11::basic_string, std::allocator > const&, std::function)::{lambda(std::__cxx11::basic_string, std::allocator > const&)#1}>(std::function, std::allocator > ()>, std::__cxx11::basic_string, std::allocator > const&, bool epee::async_console_handler::run, std::allocator > const&>, boost::_bi::list2, boost::arg<1> > > >(boost::_bi::bind_t, std::allocator > const&>, boost::_bi::list2, boost::arg<1> > >, std::function, std::allocator > ()>, std::__cxx11::basic_string, std::allocator > const&, std::function)::{lambda(std::__cxx11::basic_string, std::allocator > const&)#1} const&, std::function)+0x796 [0x5570102f6a66]
2018-08-20 13:58:10.942 7f1203df2740 INFO stacktrace src/common/stack_trace.cpp:163 [8] ./monero-wallet-cli:cryptonote::simple_wallet::run()+0x3ea [0x5570102b152a]
2018-08-20 13:58:10.942 7f1203df2740 INFO stacktrace src/common/stack_trace.cpp:163 [9] ./monero-wallet-cli:main+0x681 [0x557010278371]
2018-08-20 13:58:10.942 7f1203df2740 INFO stacktrace src/common/stack_trace.cpp:163 [10] /lib/x86_64-linux-gnu/libc.so.6:__libc_start_main+0xf0 [0x7f1202eff830]
2018-08-20 13:58:10.942 7f1203df2740 INFO stacktrace src/common/stack_trace.cpp:163 [11] ./monero-wallet-cli:_start+0x29 [0x557010284f69]
2018-08-20 13:58:10.942 7f1203df2740 INFO stacktrace src/common/stack_trace.cpp:163
2018-08-20 13:58:10.943 7f1203df2740 ERROR msgwriter src/common/scoped_message_writer.h:102 Error: transaction was not constructed