InvictusInnovations / keyhotee

Decentralized ID and Communication
54 stars 27 forks source link

crash seen on creating profile with same name and then sending mail after creating identities #232

Open yuvarajgogoi opened 10 years ago

yuvarajgogoi commented 10 years ago

Steps to reproduce: 1) create a profile. and create identities. 2) now create the same profile again 3) compose mail. 4) and send mail from one identity to another or to same identity

crash is seen.

log : 835906ms th_a startup ] . KeyhoteeApplication.cpp:239 835968ms th_a get_profiles ] /home/yuvi/.local/share/Keyhotee/profiles/Y G application.cpp:376 835969ms th_a get_profiles ] /home/yuvi/.local/share/Keyhotee/profiles/J G application.cpp:376 835969ms th_a get_profiles ] profiles ["Y G","J G"] application.cpp:383 835969ms th_a displayLogin ] . KeyhoteeApplication.cpp:178 836028ms th_a get_profiles ] /home/yuvi/.local/share/Keyhotee/profiles/Y G application.cpp:376 836029ms th_a get_profiles ] /home/yuvi/.local/share/Keyhotee/profiles/J G application.cpp:376 836029ms th_a get_profiles ] profiles ["Y G","J G"] application.cpp:383 836029ms th_a LoginDialog ] profiles Y G LoginDialog.cpp:30 836029ms th_a LoginDialog ] profiles J G LoginDialog.cpp:30 840765ms th_a displayProfileWizard ] . KeyhoteeApplication.cpp:193 859834ms th_a createProfile ] . ProfileWizard.cpp:255 859855ms th_a create ] Creating TAutoUpdateProgressBar AutoUpdateProgressBar.cpp:73 859856ms th_a doTask ] Entering... AutoUpdateProgressBar.cpp:84 859856ms th_a doTask ] Leaving... AutoUpdateProgressBar.cpp:107 859863ms th_a operator() ] before mainTask() AutoUpdateProgressBar.cpp:89 859863ms th_a create_profile ] config_file: /home/yuvi/.local/share/Keyhotee/profiles/Y G/config.json application.cpp:412 860201ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860426ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860456ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860486ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860515ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860543ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860572ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860600ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860628ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860657ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860686ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860715ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860744ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860773ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860801ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860830ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860860ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860888ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860917ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860946ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 860975ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861004ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861032ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861061ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861091ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861120ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861149ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861178ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861207ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861236ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861264ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861293ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861322ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861351ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861380ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861408ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861437ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861466ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861495ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861523ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861552ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861581ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861610ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861639ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861668ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861698ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861727ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861756ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861785ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861814ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861844ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861875ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861903ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861932ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861961ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 861990ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862019ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862048ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862077ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862106ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862134ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862163ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862192ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862222ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862250ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862279ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862307ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862337ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862366ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862394ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862424ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862466ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862494ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862522ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862550ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862579ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862607ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862635ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862663ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862692ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862720ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862748ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862776ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862805ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862833ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862861ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862889ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862918ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862946ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 862975ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 863003ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 863031ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 863060ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 863088ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 863117ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 863145ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 863173ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 863202ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 863230ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 863259ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 863287ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 863316ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 864580ms stretch_s updateValue ] Updating progress value... AutoUpdateProgressBar.cpp:118 864606ms th_a create ] finished stretch_seed profile.cpp:83 864719ms th_a open ] opening profile: /home/yuvi/.local/share/Keyhotee/profiles/Y G profile.cpp:98 864719ms th_a open ] loading master key file:.keyhotee_master.key profile.cpp:111 864719ms th_a open ] opening profile databases profile.cpp:123 865464ms th_a open ] loading contact {"public_key":"02d916a5ba1eee570c735e7b640495d1a44656cf45b6a54b136387b11e5cdd9439","dac_id_hash":10541311815688617971,"dac_id_string":"y","properties":[],"wallet_index":0,"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:58 868893ms th_a open ] finished opening profile profile.cpp:137 868893ms th_a configure ] application::configure application.cpp:212 868893ms th_a configure ] calling get_external_ip application.cpp:219 868893ms th_a get_external_ip ] resolve ipecho.net port 80 ipecho.cpp:20 869496ms th_a get_external_ip ] ip line=106.51.175.52 ipecho.cpp:44 869497ms th_a configure ] external IP 106.51.175.52 application.cpp:221 869497ms th_a configure ] set_external_ip application.cpp:230 869497ms th_a configure ] configuring server application.cpp:243 869498ms th_a configure ] listening for stcp connections on port 9876 server.cpp:207 869498ms th_a configure ] configure bitname client application.cpp:249 870906ms th_a load_indexes ] load indexes bitname_db.cpp:92 870918ms th_a load_indexes ] load indexes bitname_db.cpp:107 870942ms th_a init_timekeeper ] ...init stats... bitname_db.cpp:162 870942ms th_a init_timekeeper ] ...done init timekeeper... bitname_db.cpp:164 870942ms th_a open ] open name db bitname_db.cpp:214 873256ms th_a configure ] configure bitchat client application.cpp:259 873917ms th_a configure ] configuring rpc_server application.cpp:263 873917ms th_a configure ] listening for rpc connections on port 9877 rpc_server.cpp:245 873917ms th_a configure ] listening for rpc connections on port 9877 rpc_server.cpp:247 873918ms th_a configure ] done configuring rpc_server application.cpp:266 873918ms th_a configure ] end application::configure application.cpp:268 873918ms th_a operator() ] after mainTask() AutoUpdateProgressBar.cpp:91 873918ms th_a onFinish ] Entering... AutoUpdateProgressBar.cpp:136 873918ms th_a onFinish ] executing _onFinishAction AutoUpdateProgressBar.cpp:139 875018ms th_a reloadContacts ] loading contacts... AddressBookModel.cpp:356 875087ms th_a KeyhoteeMainWindow ] idents: [{"public_key":"02d916a5ba1eee570c735e7b640495d1a44656cf45b6a54b136387b11e5cdd9439","dac_id_hash":10541311815688617971,"dac_id_string":"y","properties":[],"wallet_ident":"y","mining_effort":1,"first_name":"","last_name":"","private_icon_png":""}] KeyhoteeMainWindow.cpp:258 875704ms th_a KeyhoteeMainWindow ] unspecified name y has already been reserved as {"last_update":"20140111T103711","master_key":"02d916a5ba1eee570c735e7b640495d1a44656cf45b6a54b136387b11e5cdd9439","active_key":"02d916a5ba1eee570c735e7b640495d1a44656cf45b6a54b136387b11e5cdd9439","revoked":false,"age":1,"repute":7,"name_hash":"f37fbf003f434a92","name":"y"} {"bitname_id":"y","record":{"last_update":"20140111T103711","master_key":"02d916a5ba1eee570c735e7b640495d1a44656cf45b6a54b136387b11e5cdd9439","active_key":"02d916a5ba1eee570c735e7b640495d1a44656cf45b6a54b136387b11e5cdd9439","revoked":false,"age":1,"repute":7,"name_hash":"f37fbf003f434a92","name":"y"}} th_a bitname_client.cpp:225 mine_name name: y key: 024ca0e6212201629c031c46955e14263efd93c21ac094f23a11c2a99b5820d84a {"name":"y","key":"024ca0e6212201629c031c46955e14263efd93c21ac094f23a11c2a99b5820d84a"} th_a bitname_client.cpp:229 mine_name name: y {"name":"y"} th_a application.cpp:469 mine_name KeyhoteeMainWindow.cpp:272 875791ms th_a start_mail_connect_l ] start_mail_connect_loop application.cpp:154 875792ms th_a onFinish ] Leaving... AutoUpdateProgressBar.cpp:141 875792ms th_a operator() ] after notifyFinished() AutoUpdateProgressBar.cpp:93 886606ms th_a insertCompletion ] insertCompletion y ContactListEdit.cpp:73 886609ms th_a insertCompletion ] insertCompletion y ContactListEdit.cpp:73 886610ms th_a insertCompletion ] insertCompletion y ContactListEdit.cpp:73 886610ms th_a insertCompletion ] insertCompletion y ContactListEdit.cpp:73 887755ms th_a displayFailureInfo ] assert msg.from_sig: {} th_a bitchat_message_db.cpp:65 store_message

{"msg":{"msg_type":"unknown_msg","data":"","sig_time":"19700101T000000","from_sig":null}}
th_a  bitchat_message_db.cpp:82 store_message           KeyhoteeApplication.cpp:212

887755ms th_a displayFailureInfo ] fatal error assert msg.from_sig: {} th_a bitchat_message_db.cpp:65 store_message

{"msg":{"msg_type":"unknown_msg","data":"","sig_time":"19700101T000000","from_sig":null}}
th_a  bitchat_message_db.cpp:82 store_message           KeyhoteeApplication.cpp:214
vogel76 commented 10 years ago

Could you repeat this bug nowadays ? I tried to do it today but application dispays an error that given identity already exists

yuvarajgogoi commented 10 years ago

yes. Still reproducible. Updated repo just now.