InvictusInnovations / keyhotee

Decentralized ID and Communication
54 stars 27 forks source link

recreation of an id with history leads to crash in a scenario #395

Closed yuvarajgogoi closed 10 years ago

yuvarajgogoi commented 10 years ago

Steps to reproduce: 1) start KH, delete the identity present. 2) Recreate the same identity with history "all" 3) start mail_server.

crash is seen Tested in Debian t is always reproducible.

callstack:

(gdb) bt

0 0x00007f6d149c4475 in raise () from /lib/x86_64-linux-gnu/libc.so.6

1 0x00007f6d149c76f0 in abort () from /lib/x86_64-linux-gnu/libc.so.6

2 0x00000000008851dd in OpenSSLDie ()

3 0x00000000008766a4 in EVP_DecryptUpdate ()

4 0x0000000000808f5a in fc::aes_decoder::decode (this=,

ciphertxt=<optimized out>, ciphertxt_len=16, plaintext=<optimized out>)
at /home/yuvaraj/software/project/InvictusRoot/keyhotee/BitShares/fc/src/crypto/aes.cpp:116

5 0x00000000006f43b8 in mail::stcp_socket::readsome (this=0x2c01658,

buffer=0x7f6d06cfac70 "\032\001", len=16)
at /home/yuvaraj/software/project/InvictusRoot/keyhotee/BitShares/src/mail/stcp_socket.cpp:57

6 0x00000000007cfb36 in fc::istream::read (this=0x2c01798,

buf=0x7f6d06cfac70 "\032\001", len=16)
at /home/yuvaraj/software/project/InvictusRoot/keyhotee/BitShares/fc/src/io/iostream.cpp:357

7 0x00000000006f1f15 in mail::detail::connection_impl::read_loop (

this=0x2446fe0)
at /home/yuvaraj/software/project/InvictusRoot/keyhotee/BitShares/src/mail/mail_connection.cpp:55

8 0x00000000006ea5e0 in operator() (__closure=)

at /home/yuvaraj/software/project/InvictusRoot/keyhotee/BitShares/src/mail/mail_connection.cpp:203

---Type to continue, or q to quit---

9 fc::detail::void_functor_run<mail::connection::connect(const fc::ip::endpoint&)::<lambda()> >::run(void , void ) (functor=,

prom=0x24e9500)
at /home/yuvaraj/software/project/InvictusRoot/keyhotee/BitShares/fc/include/fc/thread/task.hpp:54

10 0x00000000007c3312 in fc::task_base::run_impl (this=0x24e9510)

at /home/yuvaraj/software/project/InvictusRoot/keyhotee/BitShares/fc/src/thread/task.cpp:38

11 0x00000000007c1c4c in run_next_task (this=0x2440640)

at /home/yuvaraj/software/project/InvictusRoot/keyhotee/BitShares/fc/src/thread/thread_d.hpp:347

12 fc::thread_d::process_tasks (this=this@entry=0x2440640)

at /home/yuvaraj/software/project/InvictusRoot/keyhotee/BitShares/fc/src/thread/thread_d.hpp:370

13 0x00000000007c2119 in fc::thread_d::start_process_tasks (my=38012480)

at /home/yuvaraj/software/project/InvictusRoot/keyhotee/BitShares/fc/src/thread/thread_d.hpp:328

14 0x000000000084744e in make_fcontext ()

15 0x0000000002440640 in ?? ()

16 0x0000000000000000 in ?? ()

(gdb)

log: 3085292ms th_a startup ] . KeyhoteeApplication.cpp:442 3085292ms th_a get_profiles ] /home/yuvaraj/.local/share/Keyhotee/profiles/Y G application.cpp:461 3085292ms th_a get_profiles ] /home/yuvaraj/.local/share/Keyhotee/profiles/J G application.cpp:461 3085292ms th_a get_profiles ] profiles ["Y G","J G"] application.cpp:468 3085292ms th_a displayLogin ] . KeyhoteeApplication.cpp:376 3085303ms th_a get_profiles ] /home/yuvaraj/.local/share/Keyhotee/profiles/Y G application.cpp:461 3085303ms th_a get_profiles ] /home/yuvaraj/.local/share/Keyhotee/profiles/J G application.cpp:461 3085304ms th_a get_profiles ] profiles ["Y G","J G"] application.cpp:468 3085304ms th_a LoginDialog ] profiles Y G LoginDialog.cpp:42 3085304ms th_a LoginDialog ] profiles J G LoginDialog.cpp:42 3089102ms th_a open ] opening profile: /home/yuvaraj/.local/share/Keyhotee/profiles/Y G profile.cpp:119 3089103ms th_a open ] loading master key file:.keyhotee_master.key profile.cpp:135 3089103ms th_a open ] opening profile databases profile.cpp:147 3089280ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/addressbook/contact_db is not upgradeable upgrade_leveldb.cpp:24 3089281ms th_a open ] loading contact {"public_key":"029c72f8a6cc9af63f6ed61550ca398d09bf7ce1b437704e7a90e2a8c1f59e05d6","dac_id_hash":9871701508635294881,"dac_id_string":"y","properties":[],"wallet_index":0,"auth_status":"unauthorized","privacy_setting":"secret_contact","first_name":"","last_name":"","icon_png":"","notes":"","next_send_trx_id":0,"send_trx_address":{"pub_key":"000000000000000000000000000000000000000000000000000000000000000000","chain_code":"0000000000000000000000000000000000000000000000000000000000000000"},"bitchat_recv_channels":[],"bitchat_broadcast_channels":[],"bitchat_recv_broadcast_key":"0000000000000000000000000000000000000000000000000000000000000000"} addressbook.cpp:59 3089529ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/idents is not upgradeable upgrade_leveldb.cpp:24 3089619ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/mail/inbox/index is not upgradeable upgrade_leveldb.cpp:24 3089708ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/mail/inbox/digest_to_data is not upgradeable upgrade_leveldb.cpp:24 3089820ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/mail/inbox/digest_to_header is not upgradeable upgrade_leveldb.cpp:24 3089932ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/mail/draft/index is not upgradeable upgrade_leveldb.cpp:24 3090044ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/mail/draft/digest_to_data is not upgradeable upgrade_leveldb.cpp:24 3090156ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/mail/draft/digest_to_header is not upgradeable upgrade_leveldb.cpp:24 3090246ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/mail/pending/index is not upgradeable upgrade_leveldb.cpp:24 3090336ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/mail/pending/digest_to_data is not upgradeable upgrade_leveldb.cpp:24 3090426ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/mail/pending/digest_to_header is not upgradeable upgrade_leveldb.cpp:24 3090529ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/mail/sent/index is not upgradeable upgrade_leveldb.cpp:24 3090619ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/mail/sent/digest_to_data is not upgradeable upgrade_leveldb.cpp:24 3090731ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/mail/sent/digest_to_header is not upgradeable upgrade_leveldb.cpp:24 3090899ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/mail/spam/index is not upgradeable upgrade_leveldb.cpp:24 3091101ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/mail/spam/digest_to_data is not upgradeable upgrade_leveldb.cpp:24 3091347ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/mail/spam/digest_to_header is not upgradeable upgrade_leveldb.cpp:24 3091460ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/chat/index is not upgradeable upgrade_leveldb.cpp:24 3091563ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/chat/digest_to_data is not upgradeable upgrade_leveldb.cpp:24 3091675ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/chat/digest_to_header is not upgradeable upgrade_leveldb.cpp:24 3091865ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/request/index is not upgradeable upgrade_leveldb.cpp:24 3092034ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/request/digest_to_data is not upgradeable upgrade_leveldb.cpp:24 3092180ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/request/digest_to_header is not upgradeable upgrade_leveldb.cpp:24 3092348ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/authorization/index is not upgradeable upgrade_leveldb.cpp:24 3092540ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/authorization/digest_to_data is not upgradeable upgrade_leveldb.cpp:24 3092719ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/authorization/digest_to_header is not upgradeable upgrade_leveldb.cpp:24 3092719ms th_a open ] loaded last_sync_time = 20140530T052550.485838 profile.cpp:166 3092720ms th_a open ] finished opening profile profile.cpp:167 3092720ms th_a configure ] application::configure application.cpp:296 3092720ms th_a configure ] configuring server application.cpp:328 3092721ms th_a configure ] listening for stcp connections on port 9876 server.cpp:208 3092721ms th_a configure ] configure bitname client application.cpp:334 3092898ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/data/bitname/bitname/channel/block_num_to_header is not upgradeable upgrade_leveldb.cpp:24 3093010ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/data/bitname/bitname/channel/block_num_to_name_trxs is not upgradeable upgrade_leveldb.cpp:24 3093100ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/data/bitname/bitname/channel/name_hash_to_locs is not upgradeable upgrade_leveldb.cpp:24 3093100ms th_a load_indexes ] load indexes bitname_db.cpp:100 3093100ms th_a load_indexes ] load indexes bitname_db.cpp:115 3093103ms th_a init_timekeeper ] ...init stats... bitname_db.cpp:170 3093103ms th_a init_timekeeper ] ...done init timekeeper... bitname_db.cpp:172 3093103ms th_a open ] open name db bitname_db.cpp:222 3093234ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/data/bitname/bitname/channel/forks/headers is not upgradeable upgrade_leveldb.cpp:24 3093369ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/data/bitname/bitname/channel/forks/blocks is not upgradeable upgrade_leveldb.cpp:24 3093504ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/data/bitname/bitname/channel/forks/forks is not upgradeable upgrade_leveldb.cpp:24 3093593ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/data/bitname/bitname/channel/forks/nexts is not upgradeable upgrade_leveldb.cpp:24 3093707ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/data/bitname/bitname/channel/forks/unknown is not upgradeable upgrade_leveldb.cpp:24 3093710ms th_a configure ] configure bitchat client application.cpp:344 3093819ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/data/bitchat/channel0/cache_chan_2/message_cache/by_id is not upgradeable upgrade_leveldb.cpp:24 3093920ms th_a UpgradeDbIfNecessary ] Database /home/yuvaraj/.local/share/Keyhotee/profiles/Y G/data/bitchat/channel0/cache_chan_2/message_cache/age_index1 is not upgradeable upgrade_leveldb.cpp:24 3093921ms th_a configure ] configuring rpc_server application.cpp:348 3093921ms th_a configure ] listening for rpc connections on port 9877 rpc_server.cpp:245 3093921ms th_a configure ] listening for rpc connections on port 9877 rpc_server.cpp:247 3093921ms th_a configure ] done configuring rpc_server application.cpp:351 3093922ms th_a configure ] end application::configure application.cpp:353 3094039ms th_a reloadContacts ] loading contacts... AddressBookModel.cpp:372 3094042ms th_a fillMailHeader ] unspecified Received a duplicate message, ignoring {} th_a MailboxModel.cpp:80 fillMailHeader MailboxModel.cpp:102 3094042ms th_a fillMailHeader ] unspecified Received a duplicate message, ignoring {} th_a MailboxModel.cpp:80 fillMailHeader MailboxModel.cpp:102 3094042ms th_a fillMailHeader ] unspecified Received a duplicate message, ignoring {} th_a MailboxModel.cpp:80 fillMailHeader MailboxModel.cpp:102 3094042ms th_a fillMailHeader ] unspecified Received a duplicate message, ignoring {} th_a MailboxModel.cpp:80 fillMailHeader MailboxModel.cpp:102 3094042ms th_a fillMailHeader ] unspecified Received a duplicate message, ignoring {} th_a MailboxModel.cpp:80 fillMailHeader MailboxModel.cpp:102 3094046ms th_a loadStoredRequests ] loading stored requests... KeyhoteeMainWindow.cpp:1051 3094046ms th_a loadStoredRequests ] invalid_key unable to find key a6d80adc75cdcb51e80f153189f7169547609690939f128b852c6886b6bc7315 {"key":"a6d80adc75cdcb51e80f153189f7169547609690939f128b852c6886b6bc7315"} th_a level_pod_map.hpp:69 fetch error fetching key a6d80adc75cdcb51e80f153189f7169547609690939f128b852c6886b6bc7315 {"key":"a6d80adc75cdcb51e80f153189f7169547609690939f128b852c6886b6bc7315"} th_a level_pod_map.hpp:83 fetch

{"digest":"a6d80adc75cdcb51e80f153189f7169547609690939f128b852c6886b6bc7315"}
th_a  bitchat_message_db.cpp:154 fetch_data         KeyhoteeMainWindow.cpp:1060

3094054ms th_a KeyhoteeMainWindow ] idents: [{"public_key":"029c72f8a6cc9af63f6ed61550ca398d09bf7ce1b437704e7a90e2a8c1f59e05d6","dac_id_hash":9871701508635294881,"dac_id_string":"y","properties":[],"wallet_ident":"y","mining_effort":0,"first_name":"","last_name":"","private_icon_png":""}] KeyhoteeMainWindow.cpp:255 3094070ms th_a start_mail_connect_l ] start_mail_connect_loop application.cpp:203 3094071ms th_a operator() ] Closing the mail connection (which may not be open) application.cpp:207 3094071ms th_a operator() ] Done closing the mail connection application.cpp:209 3099071ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=20140530T052550.485838 application.cpp:82 3099072ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3099073ms asio error_handler ] Connection refused asio.cpp:54 3099073ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3099074ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3099657ms th_a handle_message ] recv: {"id":0,"error":{"message":"Key Not Found","code":0,"data":{"stack":[{"context":{"level":"error","file":"level_map.hpp","line":65,"method":"fetch","hostname":"","thread_name":"th_a","timestamp":"20140530T100707.376220"},"format":"unable to find key ${key}","data":{"key":"Y"}},{"context":{"level":"warn","file":"level_map.hpp","line":75,"method":"fetch","hostname":"","thread_name":"th_a","timestamp":"20140530T100707.376271"},"format":"error fetching key ${key}","data":{"key":"Y"}}],"type":"invalid_key","props":null}}} json_connection.cpp:69 3099657ms th_a handle_message ] Error parsing exception: bad_cast Invalid Error Report _code 'invalid_key' {"code":"invalid_key"} th_a exception.cpp:103 from_variant json_connection.cpp:174 3099657ms th_a close ] close canceled Operation canceled {"message":"Operation canceled"} asio asio.cpp:17 read_write_handler json_connection.cpp:227 3099657ms th_a display_founderkey ] Founder Key Status exception: Bad Cast(bad_cast) Invalid Error Report _code 'invalid_key' NewIdentityDialog.cpp:148 3100082ms th_a handle_message ] recv: {"id":0,"error":{"message":"Key Not Found","code":0,"data":{"stack":[{"context":{"level":"error","file":"level_map.hpp","line":65,"method":"fetch","hostname":"","thread_name":"th_a","timestamp":"20140530T100707.800656"},"format":"unable to find key ${key}","data":{"key":"Y"}},{"context":{"level":"warn","file":"level_map.hpp","line":75,"method":"fetch","hostname":"","thread_name":"th_a","timestamp":"20140530T100707.800706"},"format":"error fetching key ${key}","data":{"key":"Y"}}],"type":"invalid_key","props":null}}} json_connection.cpp:69 3100083ms th_a handle_message ] Error parsing exception: bad_cast Invalid Error Report _code 'invalid_key' {"code":"invalid_key"} th_a exception.cpp:103 from_variant json_connection.cpp:174 3100084ms th_a close ] close canceled Operation canceled {"message":"Operation canceled"} asio asio.cpp:17 read_write_handler json_connection.cpp:227 3100084ms th_a display_founderkey ] Founder Key Status exception: Bad Cast(bad_cast) Invalid Error Report _code 'invalid_key' NewIdentityDialog.cpp:148 3100508ms th_a handle_message ] recv: {"id":0,"error":{"message":"Key Not Found","code":0,"data":{"stack":[{"context":{"level":"error","file":"level_map.hpp","line":65,"method":"fetch","hostname":"","thread_name":"th_a","timestamp":"20140530T100708.229035"},"format":"unable to find key ${key}","data":{"key":"Y"}},{"context":{"level":"warn","file":"level_map.hpp","line":75,"method":"fetch","hostname":"","thread_name":"th_a","timestamp":"20140530T100708.229065"},"format":"error fetching key ${key}","data":{"key":"Y"}}],"type":"invalid_key","props":null}}} json_connection.cpp:69 3100509ms th_a handle_message ] Error parsing exception: bad_cast Invalid Error Report _code 'invalid_key' {"code":"invalid_key"} th_a exception.cpp:103 from_variant json_connection.cpp:174 3100509ms th_a close ] close canceled Operation canceled {"message":"Operation canceled"} asio asio.cpp:17 read_write_handler json_connection.cpp:227 3100510ms th_a display_founderkey ] Founder Key Status exception: Bad Cast(bad_cast) Invalid Error Report _code 'invalid_key' NewIdentityDialog.cpp:148 3102074ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=20140530T052550.485838 application.cpp:82 3102075ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3102075ms asio error_handler ] Connection refused asio.cpp:54 3102076ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3102076ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3105076ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=20140530T052550.485838 application.cpp:82 3105077ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3105077ms asio error_handler ] Connection refused asio.cpp:54 3105078ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3105078ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3108078ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=20140530T052550.485838 application.cpp:82 3108079ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3108079ms asio error_handler ] Connection refused asio.cpp:54 3108080ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3108080ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3111080ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=20140530T052550.485838 application.cpp:82 3111081ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3111082ms asio error_handler ] Connection refused asio.cpp:54 3111082ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3111083ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3114083ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=20140530T052550.485838 application.cpp:82 3114084ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3114084ms asio error_handler ] Connection refused asio.cpp:54 3114085ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3114085ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3115134ms th_a store_contact ] to_string() addressbook.cpp:111 3115135ms th_a store_contact ] ... did it work? addressbook.cpp:113 3115137ms th_a set_last_sync_time ] time=19700101T000000 profile.cpp:86 3115137ms th_a start_mail_connect_l ] start_mail_connect_loop application.cpp:203 3115139ms th_a operator() ] Closing the mail connection (which may not be open) application.cpp:207 3115139ms th_a operator() ] Done closing the mail connection application.cpp:209 3117085ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3117086ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3117086ms asio error_handler ] Connection refused asio.cpp:54 3117087ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3117087ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3120088ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3120088ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3120089ms asio error_handler ] Connection refused asio.cpp:54 3120089ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3120089ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3120140ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3120140ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3120141ms asio error_handler ] Connection refused asio.cpp:54 3120141ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3120141ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3123090ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3123090ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3123091ms asio error_handler ] Connection refused asio.cpp:54 3123091ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3123091ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3123142ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3123142ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3123143ms asio error_handler ] Connection refused asio.cpp:54 3123143ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3123143ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3126092ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3126092ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3126093ms asio error_handler ] Connection refused asio.cpp:54 3126093ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3126093ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3126144ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3126145ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3126145ms asio error_handler ] Connection refused asio.cpp:54 3126146ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3126146ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3129094ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3129094ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3129095ms asio error_handler ] Connection refused asio.cpp:54 3129095ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3129095ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3129146ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3129147ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3129147ms asio error_handler ] Connection refused asio.cpp:54 3129148ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3129148ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3132096ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3132096ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3132097ms asio error_handler ] Connection refused asio.cpp:54 3132097ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3132097ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3132149ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3132149ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3132150ms asio error_handler ] Connection refused asio.cpp:54 3132150ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3132150ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3135098ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3135098ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3135099ms asio error_handler ] Connection refused asio.cpp:54 3135099ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3135100ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3135151ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3135152ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3135152ms asio error_handler ] Connection refused asio.cpp:54 3135152ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3135153ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3138100ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3138101ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3138101ms asio error_handler ] Connection refused asio.cpp:54 3138101ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3138102ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3138153ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3138154ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3138154ms asio error_handler ] Connection refused asio.cpp:54 3138154ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3138155ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3141102ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3141103ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3141103ms asio error_handler ] Connection refused asio.cpp:54 3141103ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3141104ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3141155ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3141156ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3141156ms asio error_handler ] Connection refused asio.cpp:54 3141156ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3141157ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3144104ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3144105ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3144105ms asio error_handler ] Connection refused asio.cpp:54 3144106ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3144106ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3144157ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3144158ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3144158ms asio error_handler ] Connection refused asio.cpp:54 3144159ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3144159ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3147106ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3147107ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3147108ms asio error_handler ] Connection refused asio.cpp:54 3147108ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3147108ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3147159ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3147160ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3147160ms asio error_handler ] Connection refused asio.cpp:54 3147161ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3147161ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3150109ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3150110ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3150110ms asio error_handler ] Connection refused asio.cpp:54 3150110ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3150111ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3150162ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3150162ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3150163ms asio error_handler ] Connection refused asio.cpp:54 3150163ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3150163ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3153111ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3153112ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3153112ms asio error_handler ] Connection refused asio.cpp:54 3153112ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3153113ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3153164ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3153164ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3153165ms asio error_handler ] Connection refused asio.cpp:54 3153165ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3153165ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3156113ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3156114ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3156114ms asio error_handler ] Connection refused asio.cpp:54 3156115ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3156115ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3156165ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3156166ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3156166ms asio error_handler ] Connection refused asio.cpp:54 3156167ms th_a connect ] attempt to connect to 127.0.0.1:7896 failed. mail_connection.cpp:221 3156167ms th_a mail_connect_loop ] unspecified unable to connect to 127.0.0.1:7896 {"host_port":"127.0.0.1:7896"} th_a mail_connection.cpp:224 connect application.cpp:95 3159115ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=19700101T000000 application.cpp:82 3159116ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211 3159123ms th_a connect ] connected to 127.0.0.1:7896 mail_connection.cpp:202 3159128ms th_a on_connection_messag ] last_sync_time now: 19700101T000000 application.cpp:160 3159129ms th_a set_last_sync_time ] time=20140527T050104.047504 profile.cpp:86 3159143ms th_a on_connection_messag ] last_sync_time now: 20140527T050104.047504 application.cpp:160 3159144ms th_a set_last_sync_time ] time=20140527T050153.124676 profile.cpp:86 3159147ms th_a on_connection_messag ] last_sync_time now: 20140527T050153.124676 application.cpp:160 3159147ms th_a set_last_sync_time ] time=20140527T050254.731213 profile.cpp:86 3159149ms th_a on_connection_messag ] last_sync_time now: 20140527T050254.731213 application.cpp:160 3159149ms th_a set_last_sync_time ] time=20140527T051829.616028 profile.cpp:86 3159151ms th_a on_connection_messag ] last_sync_time now: 20140527T051829.616028 application.cpp:160 3159151ms th_a set_last_sync_time ] time=20140527T051947.626107 profile.cpp:86 3159154ms th_a on_connection_messag ] last_sync_time now: 20140527T051947.626107 application.cpp:160 3159154ms th_a set_last_sync_time ] time=20140527T052218.875609 profile.cpp:86 3159155ms th_a on_connection_messag ] last_sync_time now: 20140527T052218.875609 application.cpp:160 3159155ms th_a set_last_sync_time ] time=20140527T052519.156354 profile.cpp:86 3159156ms th_a on_connection_messag ] last_sync_time now: 20140527T052519.156354 application.cpp:160 3159156ms th_a set_last_sync_time ] time=20140527T090016.575238 profile.cpp:86 3159157ms th_a on_connection_messag ] last_sync_time now: 20140527T090016.575238 application.cpp:160 3159157ms th_a set_last_sync_time ] time=20140527T090534.763166 profile.cpp:86 3159158ms th_a on_connection_messag ] last_sync_time now: 20140527T090534.763166 application.cpp:160 3159159ms th_a set_last_sync_time ] time=20140527T090711.229740 profile.cpp:86 3159160ms th_a on_connection_messag ] last_sync_time now: 20140527T090711.229740 application.cpp:160 3159160ms th_a set_last_sync_time ] time=20140527T090813.640007 profile.cpp:86 3159161ms th_a on_connection_messag ] last_sync_time now: 20140527T090813.640007 application.cpp:160 3159161ms th_a set_last_sync_time ] time=20140527T090855.971763 profile.cpp:86 3159162ms th_a on_connection_messag ] last_sync_time now: 20140527T090855.971763 application.cpp:160 3159162ms th_a set_last_sync_time ] time=20140527T091248.194553 profile.cpp:86 3159163ms th_a on_connection_messag ] last_sync_time now: 20140527T091248.194553 application.cpp:160 3159163ms th_a set_last_sync_time ] time=20140527T091254.946263 profile.cpp:86 3159164ms th_a on_connection_messag ] last_sync_time now: 20140527T091254.946263 application.cpp:160 3159164ms th_a set_last_sync_time ] time=20140527T091437.827839 profile.cpp:86 3159165ms th_a on_connection_messag ] last_sync_time now: 20140527T091437.827839 application.cpp:160 3159165ms th_a set_last_sync_time ] time=20140527T091455.004197 profile.cpp:86 3159166ms th_a on_connection_messag ] last_sync_time now: 20140527T091455.004197 application.cpp:160 3159166ms th_a set_last_sync_time ] time=20140527T105906.957302 profile.cpp:86 3159167ms th_a on_connection_messag ] last_sync_time now: 20140527T105906.957302 application.cpp:160 3159167ms th_a set_last_sync_time ] time=20140527T105925.294620 profile.cpp:86 3159167ms th_a mail_connect_loop ] mail connect 127.0.0.1:7896, send sync_time=20140527T105925.294620 application.cpp:82 3159168ms th_a on_connection_messag ] last_sync_time now: 20140527T105925.294620 application.cpp:160 3159168ms th_a set_last_sync_time ] time=20140527T113441.287294 profile.cpp:86 3159169ms th_a connect ] connect to 127.0.0.1:7896 and resolved ["127.0.0.1:7896"] mail_connection.cpp:211

vogel76 commented 10 years ago

Fixed at https://github.com/InvictusInnovations/BitShares/commit/7e2fb63420b558eb0495833beff98c76fbff9c7f