Author Topic: Test Net for Advanced Users  (Read 267148 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

Thanks for the crash reports.   We are looking into them.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
The compilation from Saturday was running smoothly over the weekend. This morning I found the witness crashed:

Code: [Select]
973361ms th_a       db_with.hpp:82                ~pending_transaction ] The invalid pending transaction caused exception {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"db_block.cpp","line":507,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-09-13T23:16:13"},"format":"(skip & skip_transaction_dupe_check) || trx_idx.indices().get<by_trx_id>().find(trx_id) == trx_idx.indices().get<by_trx_id>().end(): ","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":563,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-09-13T23:16:13"},"format":"","data":{"trx":{"ref_block_num":57237,"ref_block_prefix":141629248,"expiration":"2015-09-13T23:16:57","operations":[[0,{"fee":{"amount":2000000,"asset_id":"1.3.0"},"from":"1.2.63354","to":"1.2.17263","amount":{"amount":1,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":["206f76beb28d9a139bbb8f061d787a83aa3d0565040be653ae2330a802eafbfe0f780f4ec86c269c278eb81d6458d53ea8c0d7bfe78eadae56e124a529d6ffa6bc"]}}},{"context":{"level":"warn","file":"db_block.cpp","line":205,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-09-13T23:16:13"},"format":"","data":{"trx":{"ref_block_num":57237,"ref_block_prefix":141629248,"expiration":"2015-09-13T23:16:57","operations":[[0,{"fee":{"amount":2000000,"asset_id":"1.3.0"},"from":"1.2.63354","to":"1.2.17263","amount":{"amount":1,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":["206f76beb28d9a139bbb8f061d787a83aa3d0565040be653ae2330a802eafbfe0f780f4ec86c269c278eb81d6458d53ea8c0d7bfe78eadae56e124a529d6ffa6bc"]}}}]}
973391ms th_a       application.cpp:421           handle_transaction   ] Got transaction from network
973392ms th_a       application.cpp:421           handle_transaction   ] Got transaction from network
973493ms th_a       application.cpp:421           handle_transaction   ] Got transaction from network
973558ms th_a       application.cpp:421           handle_transaction   ] Got transaction from network
973682ms th_a       application.cpp:421           handle_transaction   ] Got transaction from network
973756ms th_a       application.cpp:421           handle_transaction   ] Got transaction from network
973823ms th_a       application.cpp:421           handle_transaction   ] Got transaction from network
witness_node: /home/calabiyau/graphene/libraries/fc/src/thread/thread_d.hpp:370: bool fc::thread_d::start_next_fiber(bool): Assertion `std::current_exception() == std::exception_ptr()' failed.
Aborted (core dumped)

Woke up to this too

Code: [Select]
3169758ms th_a       db_with.hpp:82                ~pending_transaction ] The invalid pending transaction caused exception {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"db_block.cpp","line":507,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-09-14T05:52:49"},"format":"(skip & skip_transaction_dupe_check) || trx_idx.indices().get<by_trx_id>().find(trx_id) == trx_idx.indices().get<by_trx_id>().end(): ","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":563,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-09-14T05:52:49"},"format":"","data":{"trx":{"ref_block_num":60494,"ref_block_prefix":2734476150,"expiration":"2015-09-14T05:56:32","operations":[[0,{"fee":{"amount":2000000,"asset_id":"1.3.0"},"from":"1.2.63354","to":"1.2.17263","amount":{"amount":1,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":["205c4049776969e7b3fa9ad3ee401a46b757a6b0821dcf2c0c2f4e79c9beac8bf60c37d51f490092708be2348d11228ea6ad225db2d884a96b26c5b990e6746ada"]}}},{"context":{"level":"warn","file":"db_block.cpp","line":205,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-09-14T05:52:49"},"format":"","data":{"trx":{"ref_block_num":60494,"ref_block_prefix":2734476150,"expiration":"2015-09-14T05:56:32","operations":[[0,{"fee":{"amount":2000000,"asset_id":"1.3.0"},"from":"1.2.63354","to":"1.2.17263","amount":{"amount":1,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":["205c4049776969e7b3fa9ad3ee401a46b757a6b0821dcf2c0c2f4e79c9beac8bf60c37d51f490092708be2348d11228ea6ad225db2d884a96b26c5b990e6746ada"]}}}]}

This problem (if not just a warning) seems to have disappeared now.

I think I have identified the cause of this problem.  Can you confirm that it occurred while you were using the RPC interface?

No, I was not using RPC.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline wackou

Hi all, so I'm (finally) on the test net, witness wackou (already voted in). And I got a few crashes to report, too  :D

one I had 2 days ago, just checked on github and it's fixed already (ahhh I missed the days of the first testnets when you had to update everyday to see the bugs from the day before fixed, and a whole new slew of fresh ones for today)

One I had today, same as abit in reply 876 of this thread, started a witness with a fresh download of the chain, log + stack trace follow (on commit 640d69aa05cdc629755edef9884444975dc41a82):

Code: [Select]
2735099ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 198068 new_block.id(): 000305b4cedbe47143d0ff393eef37113933ff6c
2735100ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 198069 new_block.id(): 000305b5b4a47445460fbe4f570f6fcdd5640085
2735100ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 198070 new_block.id(): 000305b6b7a20c14f5e1827af055a7bc4da82eb0
2735101ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 198071 new_block.id(): 000305b748128bac176f75273a0023e892c52928
2735101ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 198072 new_block.id(): 000305b84a7b19f36c111e13ab8f4617f111e812
2735102ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 198073 new_block.id(): 000305b904de6654a5450b597ecb0d2ec6217599
2735102ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 198074 new_block.id(): 000305ba363cb379bdde904800269ed0e60a88b4
2735103ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 198075 new_block.id(): 000305bb716d1936a8294d55215c5290f3254174
2735103ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 198076 new_block.id(): 000305bc3d4eba5a0e48b33c26b846070aa90161
witness_node: /home/admin/.BitShares2_build/libraries/app/application.cpp:624: virtual std::vector<fc::ripemd160> graphene::app::detail::application_impl::get_blockchain_synopsis(const item_hash_t&, uint32_t): Assertion `fork_history.back() == reference_point' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff6516107 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0  0x00007ffff6516107 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1  0x00007ffff65174e8 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2  0x00007ffff650f226 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3  0x00007ffff650f2d2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4  0x00000000020bd3c5 in graphene::app::detail::application_impl::get_blockchain_synopsis (this=0x356b030, reference_point=..., number_of_blocks_after_reference_point=0) at /home/admin/.BitShares2_build/libraries/app/application.cpp:624
#5  0x000000000297a705 in graphene::net::detail::statistics_gathering_node_delegate_wrapper::<lambda()>::operator()(void) const (__closure=0x7fffe0649698) at /home/admin/.BitShares2_build/libraries/net/node.cpp:5296
#6  0x000000000298a97b in fc::detail::functor_run<graphene::net::detail::statistics_gathering_node_delegate_wrapper::get_blockchain_synopsis(const item_hash_t&, uint32_t)::<lambda()> >::run(void *, void *) (functor=0x7fffe0649698, prom=0x7fffe0649780)
    at /home/admin/.BitShares2_build/libraries/fc/include/fc/thread/task.hpp:77
#7  0x00000000027519cd in fc::task_base::run_impl (this=0x7fffe06496b8) at /home/admin/.BitShares2_build/libraries/fc/src/thread/task.cpp:43
#8  0x000000000275195c in fc::task_base::run (this=0x7fffe06496b8) at /home/admin/.BitShares2_build/libraries/fc/src/thread/task.cpp:32
#9  0x00000000027459ba in fc::thread_d::run_next_task (this=0x359eab0) at /home/admin/.BitShares2_build/libraries/fc/src/thread/thread_d.hpp:498
#10 0x0000000002745e84 in fc::thread_d::process_tasks (this=0x359eab0) at /home/admin/.BitShares2_build/libraries/fc/src/thread/thread_d.hpp:547
#11 0x00000000027454ae in fc::thread_d::start_process_tasks (my=56224432) at /home/admin/.BitShares2_build/libraries/fc/src/thread/thread_d.hpp:475
#12 0x0000000002abf931 in make_fcontext ()
#13 0x00007fffe8000020 in ?? ()
#14 0x0000000000000000 in ?? ()
Please vote for witness wackou! More info at http://digitalgaia.io

Offline CalabiYau

Build on ......5dc41a82 => o.k.

Witness crashed on downloading blocks:

Code: [Select]
1315751ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 198066 new_block.id(): 000305b27cbf39adca86c5d4a086bc3febc56bc8
1315752ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 198067 new_block.id(): 000305b3dc7d7e6d6ec1de714675167bb68d6844
1315753ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 198068 new_block.id(): 000305b4cedbe47143d0ff393eef37113933ff6c
1315754ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 198069 new_block.id(): 000305b5b4a47445460fbe4f570f6fcdd5640085
1315755ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 198070 new_block.id(): 000305b6b7a20c14f5e1827af055a7bc4da82eb0
1315756ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 198071 new_block.id(): 000305b748128bac176f75273a0023e892c52928
witness_node: /home/calabiyau/graphene/libraries/app/application.cpp:624: virtual std::vector<fc::ripemd160> graphene::app::detail::application_impl::get_blockchain_synopsis(const item_hash_t&, uint32_t): Assertion `fork_history.back() == reference_point' failed.
Aborted (core dumped)

edit: second attempt => o.k., witness u&r
« Last Edit: September 15, 2015, 12:29:58 pm by CalabiYau »

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
The other of my nodes stopped syncing at block 199572
Code: [Select]

2015-09-14T22:02:15 th_a:Witness Block Production           push_block ] new_block.block_num(): 199572 new_block.id(): 00030b940fbad34
0e39709083e5786d5e703bb33                         db_block.cpp:98
2015-09-14T22:02:15 th_a:Witness Block Production          _push_block ] Failed to push new block:
10 assert_exception: Assert Exception
_pending_block.timestamp <= trx.expiration:
    {"pending.timestamp":"2015-09-14T22:02:15","trx.exp":"2015-09-14T22:02:10"}
    th_a  db_block.cpp:534 _apply_transaction

    {"trx":{"ref_block_num":2945,"ref_block_prefix":4216103856,"expiration":"2015-09-14T22:02:10","operations":[[0,{"fee":{"amount":20
00000,"asset_id":"1.3.0"},"from":"1.2.63354","to":"1.2.38483","amount":{"amount":100000,"asset_id":"1.3.0"},"extensions":[]}]],"extens
ions":[],"signatures":["2014dd59f97199b1aaf2785e458284f5762cfc0a1f43bd560fb3058ea5dbd2d0291cc13da25a050f251ee300c573da2347e91fe2c30bc0
393e409eb067b871e4ac"]}}
    th_a  db_block.cpp:564 _apply_transaction

    {"next_block.block_num()":199572}
    th_a  db_block.cpp:469 _apply_block                 db_block.cpp:181
Code: [Select]
info
{
  "head_block_num": 199572,
  "head_block_id": "00030b94089bb7f0949bb63189a506fdf13b6d54",
  ...
}
BitShares committee member: abit
BitShares witness: in.abit

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
Crashed on commit f0f12076fa5d80e07758ae5104854efd1dcb748d
Code: [Select]
745500ms th_a       application.cpp:383           handle_block         ] Got block #199649 from network
745500ms th_a       db_block.cpp:98               push_block           ] new_block.block_num(): 199649 new_block.id(): 00030be11aae3a4891869a7ad9aab215e93aee36747089ms th_a       application.cpp:683           get_blockchain_synop ] synopsis: ["00030b6c048c2452ac552e476f913329d818074a","00030ba7eec13a91d97908a50549d874681ea35a","00030bc587cc15cfdf07f10a72804724cb51217d","00030bd4128e9547c6771b80e5ffff1fdeec37a4","00030bdba291f319d7f0f62ec67394ef613ca8a5","00030bdf303a78916851613360a845e22e0041d8","00030be11aae3a4891869a7ad9aab215e93aee36"]
749560ms th_a       application.cpp:683           get_blockchain_synop ] synopsis: ["00030b6c048c2452ac552e476f913329d818074a","00030ba7eec13a91d97908a50549d874681ea35a","00030bc587cc15cfdf07f10a72804724cb51217d","00030bd4128e9547c6771b80e5ffff1fdeec37a4","00030bdba291f319d7f0f62ec67394ef613ca8a5","00030bdf303a78916851613360a845e22e0041d8","00030be11aae3a4891869a7ad9aab215e93aee36"]
752624ms th_a       application.cpp:683           get_blockchain_synop ] synopsis: ["00030b6c048c2452ac552e476f913329d818074a","00030ba7eec13a91d97908a50549d874681ea35a","00030bc587cc15cfdf07f10a72804724cb51217d","00030bd4128e9547c6771b80e5ffff1fdeec37a4","00030bdba291f319d7f0f62ec67394ef613ca8a5","00030bdf303a78916851613360a845e22e0041d8","00030be11aae3a4891869a7ad9aab215e93aee36"]
752881ms th_a       application.cpp:683           get_blockchain_synop ] synopsis: ["00030b6c048c2452ac552e476f913329d818074a","00030ba7eec13a91d97908a50549d874681ea35a","00030bc587cc15cfdf07f10a72804724cb51217d","00030bd4128e9547c6771b80e5ffff1fdeec37a4","00030bdba291f319d7f0f62ec67394ef613ca8a5","00030bdf303a78916851613360a845e22e0041d8","00030be11aae3a4891869a7ad9aab215e93aee36"]
witness_node: /app/bts/graphene-test2b.7/libraries/app/application.cpp:624: virtual std::vector<fc::ripemd160> graphene::app::detail::application_impl::get_blockchain_synopsis(const item_hash_t&, uint32_t): Assertion `fork_history.back() == reference_point' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff6c01cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.

(gdb) bt
#0  0x00007ffff6c01cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6c050d8 in __GI_abort () at abort.c:89
#2  0x00007ffff6bfab86 in __assert_fail_base (fmt=0x7ffff6d4b830 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
    assertion=assertion@entry=0x2aa0530 "fork_history.back() == reference_point",
    file=file@entry=0x2a9fd58 "/app/bts/graphene-test2b.7/libraries/app/application.cpp", line=line@entry=624,
    function=function@entry=0x2aa5f00 <graphene::app::detail::application_impl::get_blockchain_synopsis(fc::ripemd160 const&, unsigned int)::__PRETTY_FUNCTION__> "virtual std::vector<fc::ripemd160> graphene::app::detail::application_impl::get_blockchain_synopsis(const item_hash_t&, uint32_t)") at assert.c:92
#3  0x00007ffff6bfac32 in __GI___assert_fail (assertion=0x2aa0530 "fork_history.back() == reference_point",
    file=0x2a9fd58 "/app/bts/graphene-test2b.7/libraries/app/application.cpp", line=624,
    function=0x2aa5f00 <graphene::app::detail::application_impl::get_blockchain_synopsis(fc::ripemd160 const&, unsigned int)::__PRETTY_FUNCTION__> "virtual std::vector<fc::ripemd160> graphene::app::detail::application_impl::get_blockchain_synopsis(const item_hash_t&, uint32_t)") at assert.c:101
#4  0x0000000001fd088e in graphene::app::detail::application_impl::get_blockchain_synopsis (this=0x3318140, reference_point=...,
    number_of_blocks_after_reference_point=0) at /app/bts/graphene-test2b.7/libraries/app/application.cpp:624
#5  0x000000000284d3a3 in graphene::net::detail::statistics_gathering_node_delegate_wrapper::__lambda59::operator() (
    __closure=0x7fffe411d868) at /app/bts/graphene-test2b.7/libraries/net/node.cpp:5296
#6  0x000000000285d444 in fc::detail::functor_run<graphene::net::detail::statistics_gathering_node_delegate_wrapper::get_blockchain_synopsis(const item_hash_t&, uint32_t)::__lambda59>::run(void *, void *) (functor=0x7fffe411d868, prom=0x7fffe411d950)
    at /app/bts/graphene-test2b.7/libraries/fc/include/fc/thread/task.hpp:77
#7  0x0000000002628a87 in fc::task_base::run_impl (this=0x7fffe411d888)
    at /app/bts/graphene-test2b.7/libraries/fc/src/thread/task.cpp:43
#8  0x0000000002628a18 in fc::task_base::run (this=0x7fffe411d888) at /app/bts/graphene-test2b.7/libraries/fc/src/thread/task.cpp:32
#9  0x000000000261d438 in fc::thread_d::run_next_task (this=0x334c040)
    at /app/bts/graphene-test2b.7/libraries/fc/src/thread/thread_d.hpp:498
#10 0x000000000261d8dc in fc::thread_d::process_tasks (this=0x334c040)
    at /app/bts/graphene-test2b.7/libraries/fc/src/thread/thread_d.hpp:547
#11 0x000000000261cf4f in fc::thread_d::start_process_tasks (my=53788736)
    at /app/bts/graphene-test2b.7/libraries/fc/src/thread/thread_d.hpp:475
#12 0x0000000002975b51 in make_fcontext () at libs/context/src/asm/make_x86_64_sysv_elf_gas.S:64
#13 0x0000000000000000 in ?? ()

BitShares committee member: abit
BitShares witness: in.abit

Offline Riverhead


While you were spamming none of my transactions went through. Also can we spam the network from the js console in the web browser? I couldn't find any functions for making transactions.

Not exactly what you're looking for but it pushes the same buttons.

~/github/graphene-ui\README.md

Code: [Select]
A javascript CLI environment is also available in the ./cli folder. Some example commands:

```
// Transaction template:
$g.wallet.template("account_upgrade")

// Create a transaction:
var tr = $g.wallet.new_transaction()
tr.add_type_operation("account_upgrade", {"account_to_upgrade":"1.2.15","upgrade_to_lifetime_member":true})
$g.wallet.sign_and_broadcast(tr)
« Last Edit: September 15, 2015, 03:21:45 am by Riverhead »

clout

  • Guest
very little of my spam is making it into blocks.  I wrote a simple python script to tie into xerocs python-graphenelib which writes block producer and # of transactions to the console.  While spamming there is quite a bit of variability.
Code: [Select]
block 199762 generated by init68
block 199762 contained 9 transactions
block 199763 generated by init14
block 199763 contained 20 transactions
block 199764 generated by init35
block 199764 contained 11 transactions
block 199765 generated by init36
block 199765 contained 7 transactions
block 199766 generated by init19
block 199766 contained 10 transactions
block 199767 generated by init10
block 199767 contained 10 transactions
block 199768 generated by init80
block 199768 contained 9 transactions
block 199769 generated by init51
block 199769 contained 4 transactions
block 199770 generated by init11
block 199770 contained 0 transactions
block 199771 generated by init59
block 199771 contained 0 transactions
block 199772 generated by init67
block 199772 contained 4 transactions
block 199773 generated by init75
block 199773 contained 0 transactions
block 199774 generated by init4
block 199774 contained 0 transactions
block 199775 generated by init20
block 199775 contained 0 transactions

While you were spamming none of my transactions went through. Also can we spam the network from the js console in the web browser? I couldn't find any functions for making transactions.

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
very little of my spam is making it into blocks.  I wrote a simple python script to tie into xerocs python-graphenelib which writes block producer and # of transactions to the console.  While spamming there is quite a bit of variability.
Code: [Select]
block 199762 generated by init68
block 199762 contained 9 transactions
block 199763 generated by init14
block 199763 contained 20 transactions
block 199764 generated by init35
block 199764 contained 11 transactions
block 199765 generated by init36
block 199765 contained 7 transactions
block 199766 generated by init19
block 199766 contained 10 transactions
block 199767 generated by init10
block 199767 contained 10 transactions
block 199768 generated by init80
block 199768 contained 9 transactions
block 199769 generated by init51
block 199769 contained 4 transactions
block 199770 generated by init11
block 199770 contained 0 transactions
block 199771 generated by init59
block 199771 contained 0 transactions
block 199772 generated by init67
block 199772 contained 4 transactions
block 199773 generated by init75
block 199773 contained 0 transactions
block 199774 generated by init4
block 199774 contained 0 transactions
block 199775 generated by init20
block 199775 contained 0 transactions
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline bytemaster

latest master crashed on me during stress test.  I wasn't running in gdb
Code: [Select]
1051908ms th_a       db_block.cpp:97               push_block           ] new_block.block_num(): 197873 new_block.id(): 000304f12cf6d6cf7636a0cd287f8ba8367c33a8
witness_node: /home/user/src/graphene/libraries/chain/db_block.cpp:82: std::vector<fc::ripemd160> graphene::chain::database::get_block_ids_on_fork(graphene::chain::block_id_type) const: Assertion `branches.first.back()->id == branches.second.back()->id' failed.
Aborted (core dumped)

Fixed:  https://github.com/cryptonomex/graphene/commit/dd7d57c5ac89d8699f91eb6daee72b0854bfb860
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline Riverhead

You already have a server running on port 8080, either something else or another copy of the gui.

Thanks. node server.js was still running.

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
latest master crashed on me during stress test.  I wasn't running in gdb
Code: [Select]
1051908ms th_a       db_block.cpp:97               push_block           ] new_block.block_num(): 197873 new_block.id(): 000304f12cf6d6cf7636a0cd287f8ba8367c33a8
witness_node: /home/user/src/graphene/libraries/chain/db_block.cpp:82: std::vector<fc::ripemd160> graphene::chain::database::get_block_ids_on_fork(graphene::chain::block_id_type) const: Assertion `branches.first.back()->id == branches.second.back()->id' failed.
Aborted (core dumped)
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline abit

  • Committee member
  • Hero Member
  • *
  • Posts: 4664
    • View Profile
    • Abit's Hive Blog
  • BitShares: abit
  • GitHub: abitmore
I don't know why my nodes were always stuck at block 172075.
Now trying with latest commit and --resync-blockchain.

//EDIT: it works with the latest commit and --resync.
« Last Edit: September 14, 2015, 05:22:27 pm by abit »
BitShares committee member: abit
BitShares witness: in.abit

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
It seems the stress test has genereted a big block (> 100tx/sec):

blockNum IdWitness  nameWitness    nTx
196454     '1.6.3356'   'mr.agsexplorer' 507
+5%
Very nice progress so far.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline CalabiYau

The compilation from Saturday was running smoothly over the weekend. This morning I found the witness crashed:

Code: [Select]
973361ms th_a       db_with.hpp:82                ~pending_transaction ] The invalid pending transaction caused exception {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"db_block.cpp","line":507,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-09-13T23:16:13"},"format":"(skip & skip_transaction_dupe_check) || trx_idx.indices().get<by_trx_id>().find(trx_id) == trx_idx.indices().get<by_trx_id>().end(): ","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":563,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-09-13T23:16:13"},"format":"","data":{"trx":{"ref_block_num":57237,"ref_block_prefix":141629248,"expiration":"2015-09-13T23:16:57","operations":[[0,{"fee":{"amount":2000000,"asset_id":"1.3.0"},"from":"1.2.63354","to":"1.2.17263","amount":{"amount":1,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":["206f76beb28d9a139bbb8f061d787a83aa3d0565040be653ae2330a802eafbfe0f780f4ec86c269c278eb81d6458d53ea8c0d7bfe78eadae56e124a529d6ffa6bc"]}}},{"context":{"level":"warn","file":"db_block.cpp","line":205,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-09-13T23:16:13"},"format":"","data":{"trx":{"ref_block_num":57237,"ref_block_prefix":141629248,"expiration":"2015-09-13T23:16:57","operations":[[0,{"fee":{"amount":2000000,"asset_id":"1.3.0"},"from":"1.2.63354","to":"1.2.17263","amount":{"amount":1,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":["206f76beb28d9a139bbb8f061d787a83aa3d0565040be653ae2330a802eafbfe0f780f4ec86c269c278eb81d6458d53ea8c0d7bfe78eadae56e124a529d6ffa6bc"]}}}]}
973391ms th_a       application.cpp:421           handle_transaction   ] Got transaction from network
973392ms th_a       application.cpp:421           handle_transaction   ] Got transaction from network
973493ms th_a       application.cpp:421           handle_transaction   ] Got transaction from network
973558ms th_a       application.cpp:421           handle_transaction   ] Got transaction from network
973682ms th_a       application.cpp:421           handle_transaction   ] Got transaction from network
973756ms th_a       application.cpp:421           handle_transaction   ] Got transaction from network
973823ms th_a       application.cpp:421           handle_transaction   ] Got transaction from network
witness_node: /home/calabiyau/graphene/libraries/fc/src/thread/thread_d.hpp:370: bool fc::thread_d::start_next_fiber(bool): Assertion `std::current_exception() == std::exception_ptr()' failed.
Aborted (core dumped)

Woke up to this too

Code: [Select]
3169758ms th_a       db_with.hpp:82                ~pending_transaction ] The invalid pending transaction caused exception {"code":10,"name":"assert_exception","message":"Assert Exception","stack":[{"context":{"level":"error","file":"db_block.cpp","line":507,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-09-14T05:52:49"},"format":"(skip & skip_transaction_dupe_check) || trx_idx.indices().get<by_trx_id>().find(trx_id) == trx_idx.indices().get<by_trx_id>().end(): ","data":{}},{"context":{"level":"warn","file":"db_block.cpp","line":563,"method":"_apply_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-09-14T05:52:49"},"format":"","data":{"trx":{"ref_block_num":60494,"ref_block_prefix":2734476150,"expiration":"2015-09-14T05:56:32","operations":[[0,{"fee":{"amount":2000000,"asset_id":"1.3.0"},"from":"1.2.63354","to":"1.2.17263","amount":{"amount":1,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":["205c4049776969e7b3fa9ad3ee401a46b757a6b0821dcf2c0c2f4e79c9beac8bf60c37d51f490092708be2348d11228ea6ad225db2d884a96b26c5b990e6746ada"]}}},{"context":{"level":"warn","file":"db_block.cpp","line":205,"method":"push_transaction","hostname":"","thread_name":"th_a","timestamp":"2015-09-14T05:52:49"},"format":"","data":{"trx":{"ref_block_num":60494,"ref_block_prefix":2734476150,"expiration":"2015-09-14T05:56:32","operations":[[0,{"fee":{"amount":2000000,"asset_id":"1.3.0"},"from":"1.2.63354","to":"1.2.17263","amount":{"amount":1,"asset_id":"1.3.0"},"extensions":[]}]],"extensions":[],"signatures":["205c4049776969e7b3fa9ad3ee401a46b757a6b0821dcf2c0c2f4e79c9beac8bf60c37d51f490092708be2348d11228ea6ad225db2d884a96b26c5b990e6746ada"]}}}]}

This problem (if not just a warning) seems to have disappeared now.

I think I have identified the cause of this problem.  Can you confirm that it occurred while you were using the RPC interface?

cli_wallet was open but not actually used. 

After witness restart it`s running o.k. since ~ 10 hours, will push some tx again within the next hour.