chips-blockchain / bet

This repository holds the implementation code of Pangea Poker white paper: https://bit.ly/3bdCz0Z
https://chips.cash
16 stars 17 forks source link

cashier node aborts the process for unknown reason #174

Open satindergrewal opened 3 years ago

satindergrewal commented 3 years ago

While testing pangea poker, one cashier node aborted twice in testing, the following log showing on console:

bet_cashier_backend_thrd::725::receiving::lock_in_tx                                                                                                                                                                                                                                                                   [0/917]
bet_bvv_backend::336::received::tx_status
bet_bvv_backend::336::received::seats_info_resp
bet_bvv_backend::336::received::tx_status
bet_bvv_backend::336::received::seats_info_resp
bet_bvv_backend::336::received::join_res
bet_bvv_backend::336::received::stack
bet_cashier_backend_thrd::725::receiving::live
bet_send_status::154::sending::{
        "method":       "live",
        "id":   "178e3a5314c3acd6bf0829a027f4c323ab3374920396dadc77245b95fdce2c12"
}
bet_cashier_backend_thrd::725::receiving::dealer_info
SQL error: UNIQUE constraint failed: dealers_info.dealer_ip::in running ::INSERT into dealers_info values('139.59.97.207');
bet_cashier_backend_thrd::725::receiving::find_bvv
connect to tcp://:7797 error for Invalid argument
connect to tcp://:7798 error for Invalid argument
bet_cashier_backend_thrd::725::receiving::add_bvv
bet_bvv_join_init::231::sent::{
        "method":       "bvv_join"
}
bet_bvv_backend::336::received::config_data
bet_cashier_backend_thrd::725::receiving::live
bet_send_status::154::sending::{
        "method":       "live",
        "id":   "535e495d51c46d812a1cb630a4e1a5191704fd524ebd956815729ce967057c62"
}
bet_cashier_backend_thrd::725::receiving::dealer_info
SQL error: UNIQUE constraint failed: dealers_info.dealer_ip::in running ::INSERT into dealers_info values('139.59.97.207');
bet_cashier_backend_thrd::725::receiving::find_bvv
connect to tcp://:7797 error for Invalid argument
connect to tcp://:7798 error for Invalid argument
double free or corruption (out)
Aborted
satinder@cashier1:~/grewal/bet/privatebet$
satindergrewal commented 3 years ago

here's the latest gdb log of latest cashier 1 crash https://pastebin.ubuntu.com/p/7mJBWMJYVR/