Author Topic: bitshare 第9轮测试更新,目前块链在同步过程中会莫名其妙的停止。这个问题从第一轮测试开始就有,目前越来越严重了。。。  (Read 12427 times)

0 Members and 1 Guest are viewing this topic.


Offline sabreiib

  • Full Member
  • ***
  • Posts: 121
    • View Profile
我操,这tm什么水平?我仅剩的信心也崩溃了。
连基本的整数变量都弄出错来,这种平台还tm秒天秒地?还500刀? 我呸

Offline dcchong

  • Sr. Member
  • ****
  • Posts: 203
    • View Profile
wallet_approve_delegate dc-delegate true
wallet_approve_delegate bitsharesx-delegate true


Offline cgafeng

BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
我卡在2271块了,从日志很容易发现问题,是本地验证没通过,和以前卡住的原因不同。
64位无符号整数相加的结果赋值给64位有符号整数,结果溢出了。
5837168575529231657 + 5837448775871972696 - 2^64 = -6772126722308347263
如果赋值给无符号整数就不会溢出
5837168575529231657 + 5837448775871972696 = 11674617351401204353
看来有人下了一个很变态的单

Code: [Select]
20140716T031500.018909       th_a              execute ] xts_fees_collected: {"amount":5837168575529231657,"asset_id":0} xts_paid_by_ask: {"amount":5837448775874750446,"asset_id":0} xts_received_by_bid: {"amount":2777750,"asset_id":0} quote_quantity: {"amount":166665,"asset_id":22}                      chain_database.cpp:147
20140716T031500.019066       th_a         extend_chain ] error applying block: 30002 addition_overflow: addition overflow
asset addition overflowed  {"amount":5837168575529231657,"asset_id":0} + {"amount":5837448775871972696,"asset_id":0} = {"amount":-6772126722308347263,"asset_id":0}
    {"a":{"amount":5837168575529231657,"asset_id":0},"b":{"amount":5837448775871972696,"asset_id":0},"c":{"amount":-6772126722308347263,"asset_id":0}}
    th_a  asset.cpp:29 operator+=

    {"quote_id":22,"base_id":0}
    th_a  chain_database.cpp:310 execute

    {}
    th_a  chain_database.cpp:1110 execute_markets                       chain_database.cpp:1170

Offline 天籁

  • Hero Member
  • *****
  • Posts: 744
    • View Profile
I think these are legitimate forks caused by broken market functionality... the seed nodes are all stuck as well.

I'm gonna lock this until we figure it out (tomorrow).

烤面包锁帖了。

Offline gyhy

  • Hero Member
  • *****
  • Posts: 852
    • View Profile
程序有“块校验”代码,如果交易里有异常交易,就会卡住。
可以查看日志,日志里有记录


Offline zhao150

  • Hero Member
  • *****
  • Posts: 606
  • 老子早就不想当代表了
    • View Profile
这次的功能 是全新功能,一开始问题会很多。不过 只要你反映问题,他们就会处理的
老子早就不想当代表了

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
bitshare 第9轮测试更新,目前块链在同步过程中会莫名其妙的停止。这个问题从第一轮测试开始就有,目前越来越严重了。。。块888,1034 , 2071. 2271是问题最多的块,大部分客户端都死在这几个快上
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students