12016-08-30T00:06:32  *** fengling has joined #bitcoin-core-dev
  22016-08-30T00:07:16  *** spudowiar1 is now known as spudowiar
  32016-08-30T00:07:20  *** JZA has joined #bitcoin-core-dev
  42016-08-30T00:10:46  *** fengling has quit IRC
  52016-08-30T00:10:57  *** Chris_Stewart_5 has quit IRC
  62016-08-30T00:15:12  *** Chris_Stewart_5 has joined #bitcoin-core-dev
  72016-08-30T00:15:29  *** harrymm has joined #bitcoin-core-dev
  82016-08-30T00:30:19  *** tom3 has quit IRC
  92016-08-30T00:30:48  *** tom3 has joined #bitcoin-core-dev
 102016-08-30T00:33:39  *** dgenr8 has quit IRC
 112016-08-30T00:34:07  *** dgenr8 has joined #bitcoin-core-dev
 122016-08-30T00:39:06  *** Alopex has quit IRC
 132016-08-30T00:40:12  *** Alopex has joined #bitcoin-core-dev
 142016-08-30T00:45:09  *** JZA has quit IRC
 152016-08-30T00:45:50  *** JZA has joined #bitcoin-core-dev
 162016-08-30T00:54:11  *** Alopex has quit IRC
 172016-08-30T00:55:16  *** Alopex has joined #bitcoin-core-dev
 182016-08-30T01:03:36  *** fengling has joined #bitcoin-core-dev
 192016-08-30T01:05:06  *** Alopex has quit IRC
 202016-08-30T01:06:11  *** Alopex has joined #bitcoin-core-dev
 212016-08-30T01:16:34  *** tom3 has quit IRC
 222016-08-30T01:31:57  *** tom3 has joined #bitcoin-core-dev
 232016-08-30T01:32:04  *** dcousens has joined #bitcoin-core-dev
 242016-08-30T01:37:31  *** tom3 has quit IRC
 252016-08-30T01:49:19  *** Giszmo has quit IRC
 262016-08-30T02:04:02  *** spudowiar has quit IRC
 272016-08-30T02:04:24  *** spudowiar has joined #bitcoin-core-dev
 282016-08-30T02:05:54  *** Ylbam has quit IRC
 292016-08-30T02:15:29  *** murch1 has joined #bitcoin-core-dev
 302016-08-30T02:17:14  *** murch has quit IRC
 312016-08-30T02:18:52  <luke-jr> 9mo old said her first non-mama/papa word: "dot" [dot dot]
 322016-08-30T02:24:24  *** Chris_Stewart_5 has quit IRC
 332016-08-30T02:33:19  *** pmienk has quit IRC
 342016-08-30T02:36:17  *** Alopex has quit IRC
 352016-08-30T02:37:22  *** Alopex has joined #bitcoin-core-dev
 362016-08-30T02:45:58  *** pmienk has joined #bitcoin-core-dev
 372016-08-30T02:55:19  *** gluytium has quit IRC
 382016-08-30T02:58:09  *** gluytium has joined #bitcoin-core-dev
 392016-08-30T03:06:09  <GitHub7> [bitcoin] isle2983 opened pull request #8625: [doc] - clarify statement about parallel jobs in rpc-tests.py (master...rpcTestsDoc) https://github.com/bitcoin/bitcoin/pull/8625
 402016-08-30T03:17:26  *** Alopex has quit IRC
 412016-08-30T03:18:31  *** Alopex has joined #bitcoin-core-dev
 422016-08-30T03:21:31  *** justan0theruser has joined #bitcoin-core-dev
 432016-08-30T03:24:19  *** justanotheruser has quit IRC
 442016-08-30T03:25:17  <jeremyrubin> luke-jr: ls
 452016-08-30T03:25:22  <jeremyrubin> oops
 462016-08-30T03:25:44  * jeremyrubin shameful
 472016-08-30T03:28:40  *** isle2983 has joined #bitcoin-core-dev
 482016-08-30T03:31:48  <isle2983> usually they start with 'grep' before getting into directory navigation...
 492016-08-30T03:35:28  <luke-jr> jeremyrubin: ls: cannot open directory .: Transport endpoint is not connected
 502016-08-30T04:07:07  *** CyrusV has quit IRC
 512016-08-30T04:17:17  *** Alopex has quit IRC
 522016-08-30T04:18:22  *** Alopex has joined #bitcoin-core-dev
 532016-08-30T04:24:46  *** FNinTak has joined #bitcoin-core-dev
 542016-08-30T04:55:02  *** shesek has joined #bitcoin-core-dev
 552016-08-30T04:55:46  *** fengling has quit IRC
 562016-08-30T05:01:17  *** Alopex has quit IRC
 572016-08-30T05:02:22  *** Alopex has joined #bitcoin-core-dev
 582016-08-30T05:18:31  *** spudowiar has quit IRC
 592016-08-30T05:22:11  *** Alopex has quit IRC
 602016-08-30T05:23:03  *** fengling has joined #bitcoin-core-dev
 612016-08-30T05:23:16  *** Alopex has joined #bitcoin-core-dev
 622016-08-30T05:27:20  *** FNinTak has quit IRC
 632016-08-30T05:33:52  *** kadoban has quit IRC
 642016-08-30T05:51:00  <jeremyrubin> luke-jr: I was going to ask you a question because I thought it was something you had worked on, but it wasn't. Forgot to switch tabs before typing. At least I wasn't sudo'ing ;)
 652016-08-30T05:51:15  <luke-jr> :P
 662016-08-30T05:51:51  <jeremyrubin> ANyways; what I was going to ask generally is about how std::thread is used currently in core
 672016-08-30T05:52:04  <jeremyrubin> I can't seem to get it to properly link or something in wine
 682016-08-30T05:52:12  <jeremyrubin> (in use on my own code)
 692016-08-30T05:52:30  <jeremyrubin> but on master it is already in use in httpserver.h
 702016-08-30T05:58:28  *** tom3 has joined #bitcoin-core-dev
 712016-08-30T06:02:05  <GitHub173> [bitcoin] netsafe opened pull request #8626: Berkeley DB v6 compatibility fix (master...netsafe-patch-1) https://github.com/bitcoin/bitcoin/pull/8626
 722016-08-30T06:06:33  *** MarcoFalke has joined #bitcoin-core-dev
 732016-08-30T06:06:46  <GitHub184> [bitcoin] MarcoFalke pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/89de1538ce1f...c01a6c48b982
 742016-08-30T06:06:46  <GitHub184> bitcoin/master 1467561 isle2983: [doc] - clarify statement about parallel jobs in rpc-tests.py
 752016-08-30T06:06:47  <GitHub184> bitcoin/master c01a6c4 MarcoFalke: Merge #8625: [doc] - clarify statement about parallel jobs in rpc-tests.py...
 762016-08-30T06:06:56  <GitHub194> [bitcoin] MarcoFalke closed pull request #8625: [doc] - clarify statement about parallel jobs in rpc-tests.py (master...rpcTestsDoc) https://github.com/bitcoin/bitcoin/pull/8625
 772016-08-30T06:54:08  *** BashCo has quit IRC
 782016-08-30T07:06:17  *** Alopex has quit IRC
 792016-08-30T07:07:22  *** Alopex has joined #bitcoin-core-dev
 802016-08-30T07:14:38  *** BashCo has joined #bitcoin-core-dev
 812016-08-30T07:21:22  *** Alopex has quit IRC
 822016-08-30T07:22:27  *** Alopex has joined #bitcoin-core-dev
 832016-08-30T07:41:55  *** laurentmt has joined #bitcoin-core-dev
 842016-08-30T08:12:30  *** obs has joined #bitcoin-core-dev
 852016-08-30T08:17:06  *** MarcoFalke has left #bitcoin-core-dev
 862016-08-30T08:21:55  *** Ylbam has joined #bitcoin-core-dev
 872016-08-30T08:40:18  *** laurentmt has quit IRC
 882016-08-30T08:40:57  *** dcousens has quit IRC
 892016-08-30T08:44:17  *** kyletorpey has quit IRC
 902016-08-30T08:52:19  *** dcousens has joined #bitcoin-core-dev
 912016-08-30T08:53:06  *** murch1 is now known as murch
 922016-08-30T08:57:12  *** dcousens has quit IRC
 932016-08-30T09:11:04  *** gluytium has quit IRC
 942016-08-30T09:12:27  *** gluytium has joined #bitcoin-core-dev
 952016-08-30T09:12:36  *** juscamarena has quit IRC
 962016-08-30T09:30:04  *** e4xit_ has joined #bitcoin-core-dev
 972016-08-30T09:32:43  *** e4xit has quit IRC
 982016-08-30T09:32:43  *** e4xit_ is now known as e4xit
 992016-08-30T09:34:15  *** tom3 has quit IRC
1002016-08-30T09:46:04  *** dcousens has joined #bitcoin-core-dev
1012016-08-30T10:27:31  *** justan0theruser has quit IRC
1022016-08-30T10:27:52  *** jtimon has joined #bitcoin-core-dev
1032016-08-30T11:37:45  *** dcousens has quit IRC
1042016-08-30T11:38:02  <GitHub114> [bitcoin] laanwj pushed 5 new commits to master: https://github.com/bitcoin/bitcoin/compare/c01a6c48b982...7b9889586501
1052016-08-30T11:38:03  <GitHub114> bitcoin/master eda4cfb Andrew Chow: Create an easy to use gitian building script...
1062016-08-30T11:38:03  <GitHub114> bitcoin/master 498d8da Andrew Chow: Check for OSX SDK
1072016-08-30T11:38:04  <GitHub114> bitcoin/master 6ffd6b4 Andrew Chow: Create option to detach sign gitian builds and not commit the files in the script...
1082016-08-30T11:38:13  <GitHub123> [bitcoin] laanwj closed pull request #8566: Easy to use gitian building script (master...gitian-build-script) https://github.com/bitcoin/bitcoin/pull/8566
1092016-08-30T11:39:04  <GitHub4> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/7b9889586501...2b23dbaee5b8
1102016-08-30T11:39:04  <GitHub4> bitcoin/master 203f212 Pieter Wuille: Reduce default number of blocks to check at startup
1112016-08-30T11:39:05  <GitHub4> bitcoin/master 2b23dba Wladimir J. van der Laan: Merge #8611: Reduce default number of blocks to check at startup...
1122016-08-30T11:39:14  <GitHub82> [bitcoin] laanwj closed pull request #8611: Reduce default number of blocks to check at startup (master...fastcheck) https://github.com/bitcoin/bitcoin/pull/8611
1132016-08-30T11:40:20  <jonasschnelli> What does "2016-08-29 20:22:53 socket send error Bad file descriptor (9)" mean? Running out of file descriptors?
1142016-08-30T11:41:41  <jonasschnelli> One of my local node ran into this over night
1152016-08-30T11:46:42  <wumpus> I don't think it's that, '9' isn't really a high number
1162016-08-30T11:46:50  <wumpus> could be a use-after-close of some kind
1172016-08-30T11:47:01  <jonasschnelli> It resulted in a shutdown at least
1182016-08-30T11:47:27  <jonasschnelli> Also has bad allocs on the same machine.. could be memory related, though, its a brand new computer (means nothing, i know)
1192016-08-30T11:47:51  <wumpus> ugh :/
1202016-08-30T11:48:02  <jonasschnelli> DDR3L ram
1212016-08-30T11:48:09  <wumpus> yes, memory corruption could definitely result in this, maybe the fd field was overwritten
1222016-08-30T11:48:28  *** cryptapus has joined #bitcoin-core-dev
1232016-08-30T11:48:29  *** cryptapus has joined #bitcoin-core-dev
1242016-08-30T11:48:39  <wumpus> what do you exactly mean by 'bad allocs'?
1252016-08-30T11:49:41  <jonasschnelli> bitcoind crashed with a std::expection bad alloc (I don't have the exact output right now)
1262016-08-30T11:50:21  <jonasschnelli> Here we go:
1272016-08-30T11:50:22  <jonasschnelli> EXCEPTION: St9bad_alloc
1282016-08-30T11:50:22  <wumpus> that's running out of memory, not memory corruption
1292016-08-30T11:50:31  <jonasschnelli> std::bad_alloc
1302016-08-30T11:50:31  <jonasschnelli> bitcoin in ProcessMessages()
1312016-08-30T11:50:37  <jonasschnelli> hmm....
1322016-08-30T11:50:46  <wumpus> (well it can be memory corruption if the heap's administractive structures are corrupted, however that much more likely results in a segmentation fault)
1332016-08-30T11:50:50  <jonasschnelli> free -h --> total 16GB
1342016-08-30T11:51:07  <wumpus> strange. Does it have swap enabled?
1352016-08-30T11:51:11  <jonasschnelli> Headless debian with only bitcoind running..
1362016-08-30T11:52:01  <wumpus> swap is extrememly important in Linux, even if you have enough memory, otherwise (AFAIK) it won't overcommit virtual memory and such
1372016-08-30T11:52:16  <jonasschnelli> "free" tells me, mem: Total, 15GB, used 2.7GB (restarted node with -dbcache=4000), Swap: total 17GB, used 0GB
1382016-08-30T11:52:29  <wumpus> okay, that's not it then
1392016-08-30T11:52:37  <wumpus> really strange
1402016-08-30T11:52:44  <jonasschnelli> The machine has 16GB physical memory... I don't think it ran out of memory
1412016-08-30T11:52:49  <jonasschnelli> I keep en eye on that
1422016-08-30T11:52:59  <wumpus> did you change dbcache?
1432016-08-30T11:53:20  <jonasschnelli> Yes. Always ran with -dbache=4000
1442016-08-30T11:53:27  <jonasschnelli> But codewise its pure master
1452016-08-30T11:53:34  <jonasschnelli> at a5bb6387f751e630c329f34cac2d38bffa8ff9cf
1462016-08-30T11:53:44  <wumpus> ok... no, that won't be the issue I think
1472016-08-30T11:54:06  *** dcousens has joined #bitcoin-core-dev
1482016-08-30T11:57:22  <jonasschnelli> Heres the debug log: http://paste.ubuntu.com/23111528/
1492016-08-30T11:57:39  <jonasschnelli> Line 839 is the std::bad_alloc
1502016-08-30T11:57:50  <jonasschnelli> then there are some socket send error Bad file descriptor (9)
1512016-08-30T11:58:21  <jonasschnelli> Really strange the "Misbehaving: 85.214.213.91:8333 (0 -> 100) BAN THRESHOLD EXCEEDED" ... I hope its not an exploit.
1522016-08-30T12:01:20  <wumpus> well I think the bad_alloc causes that rejection/banning
1532016-08-30T12:01:35  <wumpus> it's unfortunate that we don't know which exact allocation failed
1542016-08-30T12:03:08  <wumpus> apparently it's somewhere in the ConnectBlock() inputs logic
1552016-08-30T12:04:42  <wumpus> 0000000000000000243ecc39a5c110fea174e34e4a2d00b5f2038ab2e2f5cf70  is the valid block at height 322006 - so if it was an exploit, it's not by sending a corrupted block
1562016-08-30T12:05:03  <wumpus> kind of bad that a bad_alloc causes block rejection though
1572016-08-30T12:05:22  <wumpus> after restarting you probably had to explicitly re-verify the block?
1582016-08-30T12:06:31  <jonasschnelli> wumpus: I had to reindex at some point... IIRC, I had to do it afterwards.
1592016-08-30T12:06:56  <jonasschnelli> But maybe the reindex was on a different datadir/run
1602016-08-30T12:07:18  <jonasschnelli> At L912 is looks after a valid restart without reindex
1612016-08-30T12:27:25  *** Chris_Stewart_5 has joined #bitcoin-core-dev
1622016-08-30T12:28:47  *** Giszmo has joined #bitcoin-core-dev
1632016-08-30T12:29:06  *** Chris_Stewart_5 has quit IRC
1642016-08-30T12:30:10  <wumpus> travis is misbehaving badly again: https://github.com/bitcoin/bitcoin/issues/8532#issuecomment-243419143
1652016-08-30T12:30:36  <wumpus> I doubt it can be the result of any of today's commits
1662016-08-30T12:37:09  *** Chris_Stewart_5 has joined #bitcoin-core-dev
1672016-08-30T12:49:00  *** obs has quit IRC
1682016-08-30T12:50:36  <sipa> wumpus: i think 9 may be the errno code?
1692016-08-30T12:54:09  <wumpus> sipa: ah, yes, probably
1702016-08-30T13:04:23  *** kadoban has joined #bitcoin-core-dev
1712016-08-30T13:15:50  *** dermoth has joined #bitcoin-core-dev
1722016-08-30T13:41:46  *** fengling has quit IRC
1732016-08-30T14:13:04  *** dcousens has quit IRC
1742016-08-30T14:20:54  *** dcousens has joined #bitcoin-core-dev
1752016-08-30T14:22:50  *** Guyver2 has joined #bitcoin-core-dev
1762016-08-30T14:32:49  *** dcousens has quit IRC
1772016-08-30T14:38:24  *** fengling has joined #bitcoin-core-dev
1782016-08-30T14:43:26  *** fengling has quit IRC
1792016-08-30T14:56:42  *** Chris_Stewart_5 has quit IRC
1802016-08-30T15:00:12  *** achow101 has joined #bitcoin-core-dev
1812016-08-30T15:02:50  *** paveljanik has joined #bitcoin-core-dev
1822016-08-30T15:13:20  *** jgarzik_ has joined #bitcoin-core-dev
1832016-08-30T15:13:43  *** jgarzik has quit IRC
1842016-08-30T15:23:34  *** Giszmo has quit IRC
1852016-08-30T15:27:17  <jonasschnelli> The node above stalled at height 322005
1862016-08-30T15:27:27  <jonasschnelli> last 3000 lines of debug log: http://paste.ubuntu.com/23112229/
1872016-08-30T15:27:34  <jonasschnelli> getblockchaininfo: http://paste.ubuntu.com/23112227/
1882016-08-30T15:28:20  <jonasschnelli> No new logprinf since 2h
1892016-08-30T15:28:38  <jonasschnelli> But bitcoind is running: jonassc+  1000 89.6  8.0 1614436 1331624 pts/1 SLl+ 13:40 204:02 ./src/bitcoind --dbcache=4000
1902016-08-30T15:28:47  <jonasschnelli> deadlock?
1912016-08-30T15:29:29  <sipa> jonasschnelli: getchaintips
1922016-08-30T15:29:33  <sipa> jonasschnelli: getpeerinfo
1932016-08-30T15:30:21  <jonasschnelli> sipa: http://paste.ubuntu.com/23112236/
1942016-08-30T15:30:37  <jonasschnelli> peerinfo: http://paste.ubuntu.com/23112238
1952016-08-30T15:32:04  <jonasschnelli> attached gdb and bt is: http://paste.ubuntu.com/23112247/
1962016-08-30T15:32:50  <jonasschnelli> wait.. thats useless. nm
1972016-08-30T15:33:17  <jonasschnelli> RPC server works.. but network layer seems to be dead
1982016-08-30T15:34:11  <sipa> jonasschnelli: thread apply all bt
1992016-08-30T15:34:27  <jonasschnelli> sipa: was just doing this:
2002016-08-30T15:34:27  <jonasschnelli> http://pastebin.com/sWbcbz8U
2012016-08-30T15:38:16  <jtimon> now that we're C++11, what should I use instead of boost::scoped_ptr<> ?
2022016-08-30T15:39:51  *** fengling has joined #bitcoin-core-dev
2032016-08-30T15:40:32  <sipa> std::unique_ptr
2042016-08-30T15:41:58  <sipa> jonasschnelli: what is on net.cpp:1909
2052016-08-30T15:42:06  * jonasschnelli looking
2062016-08-30T15:42:22  <jonasschnelli> messageHandlerCondition.timed_wait(lock, boost::posix_time::microsec_clock::universal_time() + boost::posix_time::milliseconds(100));
2072016-08-30T15:42:45  <sipa> i don't see any deadlock
2082016-08-30T15:42:52  <sipa> or any lock at all, even
2092016-08-30T15:42:58  <jonasschnelli> sipa: https://github.com/bitcoin/bitcoin/blob/master/src/net.cpp#L1909
2102016-08-30T15:44:46  *** fengling has quit IRC
2112016-08-30T15:48:28  *** Giszmo has joined #bitcoin-core-dev
2122016-08-30T15:57:16  <jonasschnelli> Is there a reason why a peer request headers and compact blocks (sendheaders and sendcmpct) to nodes not signaling NODE_NETWORK?
2132016-08-30T15:58:05  <jonasschnelli> I guess an SPV node at 70014 can just ignore those..
2142016-08-30T16:06:20  *** zooko has joined #bitcoin-core-dev
2152016-08-30T16:08:38  *** achow101 has quit IRC
2162016-08-30T16:41:15  *** BashCo has quit IRC
2172016-08-30T16:41:30  *** fengling has joined #bitcoin-core-dev
2182016-08-30T16:42:35  *** zooko` has joined #bitcoin-core-dev
2192016-08-30T16:44:16  *** zooko has quit IRC
2202016-08-30T16:46:26  *** fengling has quit IRC
2212016-08-30T16:47:29  *** zooko` has quit IRC
2222016-08-30T16:53:53  <jtimon> sipa thanks!
2232016-08-30T16:55:54  *** Ylbam has quit IRC
2242016-08-30T16:57:09  *** jgarzik_ is now known as jgarzik
2252016-08-30T16:57:17  *** jgarzik has joined #bitcoin-core-dev
2262016-08-30T17:03:43  *** zooko has joined #bitcoin-core-dev
2272016-08-30T17:06:48  *** Chris_Stewart_5 has joined #bitcoin-core-dev
2282016-08-30T17:13:04  *** zooko has quit IRC
2292016-08-30T17:15:17  *** laurentmt has joined #bitcoin-core-dev
2302016-08-30T17:15:46  *** laurentmt has quit IRC
2312016-08-30T17:25:01  *** BashCo has joined #bitcoin-core-dev
2322016-08-30T17:31:40  *** pmienk has quit IRC
2332016-08-30T17:32:40  *** pmienk has joined #bitcoin-core-dev
2342016-08-30T17:33:10  <sipa> jonasschnelli: read the bip
2352016-08-30T17:33:18  <sipa> it explicitly explains that :)
2362016-08-30T17:34:57  *** Ylbam has joined #bitcoin-core-dev
2372016-08-30T17:38:57  *** jtimon has quit IRC
2382016-08-30T17:39:29  *** musalbas has quit IRC
2392016-08-30T17:41:10  *** musalbas has joined #bitcoin-core-dev
2402016-08-30T17:43:05  *** fengling has joined #bitcoin-core-dev
2412016-08-30T17:47:26  *** fengling has quit IRC
2422016-08-30T18:00:57  *** achow101 has joined #bitcoin-core-dev
2432016-08-30T18:08:22  <jonasschnelli> sipa: Thanks. I should do that.
2442016-08-30T18:34:09  <jeremyrubin> Can anyone run `make bench` on wine 32 bit build?
2452016-08-30T18:36:23  <cfields> jeremyrubin: i can in a little bit
2462016-08-30T18:36:56  <jeremyrubin> kk thanks
2472016-08-30T18:44:02  *** fengling has joined #bitcoin-core-dev
2482016-08-30T18:45:18  *** jtimon has joined #bitcoin-core-dev
2492016-08-30T18:46:14  <cfields> jeremyrubin: actually, "teach a man to fish" and all that... :)
2502016-08-30T18:46:41  <cfields> jeremyrubin: have you tried building/running for win32?
2512016-08-30T18:48:46  *** fengling has quit IRC
2522016-08-30T18:48:59  *** PaulCape_ has joined #bitcoin-core-dev
2532016-08-30T18:50:52  *** sanada` has quit IRC
2542016-08-30T18:50:53  <jeremyrubin> cfields: yes
2552016-08-30T18:51:06  *** sanada has joined #bitcoin-core-dev
2562016-08-30T18:51:16  <cfields> jeremyrubin: you had issues, or just want to compare results?
2572016-08-30T18:51:29  *** Bootvis has quit IRC
2582016-08-30T18:51:37  <jeremyrubin> cfields: wine: Unhandled page fault on read access to 0x00000004 at address 0x6117a9 (thread 0009), starting debugger...
2592016-08-30T18:52:00  <jeremyrubin> cfields: errors. Playing around with things it seems to be some kind of link time issue I suspect
2602016-08-30T18:52:05  *** PaulCapestany has quit IRC
2612016-08-30T18:52:05  *** BonyM1 has quit IRC
2622016-08-30T18:52:52  *** Bootvis has joined #bitcoin-core-dev
2632016-08-30T18:53:02  <cfields> jeremyrubin: errors running? or running under gdb? 'cause wine+gdb is a different beast :)
2642016-08-30T18:54:07  <jeremyrubin> cfields: there are two main issues. The first is the sys/time.h depends. I removed that for a std::chrono solution (can send you code) then, removing all test code, and by removing all the boost dependencies (replacing with standard way), I can run just the benchmarking framework.
2652016-08-30T18:54:19  <jeremyrubin> cfields: not under gdb
2662016-08-30T18:54:55  <jeremyrubin> cfields: adding the benchmarks back I can run again, so i'm doing a "bisect" on which of the benchmarks is causing the loading fault now, but I think it's link time because it doesn't even run
2672016-08-30T18:55:10  <jeremyrubin> cfields: I tried adding "-static" to LDFLAGS
2682016-08-30T18:55:47  <cfields> jeremyrubin: win32 builds are already static
2692016-08-30T18:56:00  * jonasschnelli setups mingw32 depends builds
2702016-08-30T18:56:38  <cfields> jeremyrubin: i'm afraid i'm missing some context, though. Does the current bench code not work in win32?
2712016-08-30T18:57:06  <jeremyrubin> cfields: I don't think so; let me test on master
2722016-08-30T18:57:44  <jeremyrubin> cfields: where can I see the static flags? I don't think they're set for bench
2732016-08-30T18:58:02  <cfields> jeremyrubin: ah, ok
2742016-08-30T18:58:19  <cfields> jeremyrubin: they're kinda a maze, sec
2752016-08-30T18:58:21  <jeremyrubin> cfields: `bench_bench_bitcoin_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)`
2762016-08-30T18:58:30  <jeremyrubin> in Makefile.bench.include
2772016-08-30T18:58:49  <cfields> jeremyrubin: IIRC it's the LIBTOOL_APP_LDFLAGS that sets static
2782016-08-30T18:59:04  <jeremyrubin> in Makefile.test.include `test_test_bitcoin_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) -static`
2792016-08-30T18:59:12  <cfields>      # -static is interpreted by libtool, where it has a different meaning.
2802016-08-30T18:59:12  <cfields>      # In libtool-speak, it's -all-static.
2812016-08-30T18:59:12  <cfields>      AX_CHECK_LINK_FLAG([[-static]],[LIBTOOL_APP_LDFLAGS="$LIBTOOL_APP_LDFLAGS -all-static"])
2822016-08-30T18:59:34  *** amiller has quit IRC
2832016-08-30T19:00:32  <jeremyrubin> so as a minimal example; I'm failing with only the example bench included. I'm running on my branch, but let me try on master (I shouldn't have any changes that affect that tho)
2842016-08-30T19:01:12  <cfields> ok. trying here too.
2852016-08-30T19:01:24  <cfields> you're building with depends?
2862016-08-30T19:01:47  <cfields> or is that why you hacked it to be dependency-less?
2872016-08-30T19:02:03  <jeremyrubin> I'm building by this:
2882016-08-30T19:02:45  <jeremyrubin> (well, whatever it says in doc/build-windows)
2892016-08-30T19:02:57  <cfields> ok
2902016-08-30T19:03:15  <jeremyrubin> cd depends; make HOST=i686-w64-mingw32 -j4; cd ..; ./configure --prefix=`pwd`/depends/i686-w64-mingw32; make
2912016-08-30T19:03:21  *** Guest55662 has joined #bitcoin-core-dev
2922016-08-30T19:03:49  <cfields> right
2932016-08-30T19:04:25  *** Chris_Stewart_5 has quit IRC
2942016-08-30T19:04:41  <jeremyrubin> also you may want this:
2952016-08-30T19:04:47  <jeremyrubin>      std::chrono::duration<double> result {std::chrono::system_clock::now().time_since_epoch()};
2962016-08-30T19:04:53  <jeremyrubin>      return result.count();
2972016-08-30T19:05:14  <jeremyrubin> for bench.cpp gettimedouble
2982016-08-30T19:06:23  *** BonyM1 has joined #bitcoin-core-dev
2992016-08-30T19:08:25  <jeremyrubin> (not sure if the sys/time.h include is problematic)
3002016-08-30T19:08:43  <cfields> yea, we should aim to nuke those.
3012016-08-30T19:09:34  <jeremyrubin> Yeah I can separately PR nuking them; pretty easy to remove that & the boost depends as well
3022016-08-30T19:09:35  <cfields> (i'll be PR'ing my threading refactor in a few hours which will let us kill off a ton of boost stuff, chrono included)
3032016-08-30T19:10:01  <cfields> jeremyrubin: boost depends everywhere? or in bench?
3042016-08-30T19:10:07  <jeremyrubin> in bench
3052016-08-30T19:10:33  <jeremyrubin> I also had a theory that std::thread was the reason my builds were failing. Apparently std::thread support is shakey in wine?
3062016-08-30T19:10:35  <cfields> ah, ok. that'll be nice to have :)
3072016-08-30T19:10:55  <jeremyrubin> or rather in the x-compiler
3082016-08-30T19:11:01  <jeremyrubin> seems to be fixed now though
3092016-08-30T19:11:44  <jeremyrubin> can't wait to see the -death- removal of boost::thread
3102016-08-30T19:11:46  <cfields> jeremyrubin: that'd be libstdc++. Surely it just uses win primitives under the hood, though
3112016-08-30T19:12:17  <jeremyrubin> cfields: see https://github.com/meganz/mingw-std-threads
3122016-08-30T19:12:44  <jeremyrubin> cfields: seems to be addressed though now; as when I compiled there was a version of std::thread present
3132016-08-30T19:13:36  <jeremyrubin> cfields: also, forgot to mention that test_bitcoin.exe runs ok; so that was part of my inkling it was a build setting
3142016-08-30T19:13:53  <cfields> jeremyrubin: i'm not sure what to say there, we rely on std::thread for mingw64 already
3152016-08-30T19:14:12  <cfields> sounds like you're chasing all kinds of things :)
3162016-08-30T19:15:07  <jeremyrubin> cfields: indeed
3172016-08-30T19:23:25  <jeremyrubin> cfields: master segfaults as well
3182016-08-30T19:23:33  *** Chris_Stewart_5 has joined #bitcoin-core-dev
3192016-08-30T19:23:33  <jeremyrubin> just finished my build
3202016-08-30T19:23:37  <cfields> jeremyrubin: interesting
3212016-08-30T19:23:50  <cfields> jeremyrubin: ok, still building here. Had to setup a VM, current OS is wonky
3222016-08-30T19:26:58  <jeremyrubin> cfields: I can run it with WINEDEBUG=+all but I don't really know how to read that
3232016-08-30T19:43:18  *** Chris_Stewart_5 has quit IRC
3242016-08-30T19:45:33  *** fengling has joined #bitcoin-core-dev
3252016-08-30T19:47:32  *** Chris_Stewart_5 has joined #bitcoin-core-dev
3262016-08-30T19:50:26  *** fengling has quit IRC
3272016-08-30T20:00:17  *** slackircbridge has quit IRC
3282016-08-30T20:01:33  *** slackircbridge has joined #bitcoin-core-dev
3292016-08-30T20:07:29  *** laurentmt has joined #bitcoin-core-dev
3302016-08-30T20:18:01  *** laurentmt has quit IRC
3312016-08-30T20:19:42  *** cryptapus has quit IRC
3322016-08-30T20:35:59  *** juscamarena has joined #bitcoin-core-dev
3332016-08-30T20:47:05  *** fengling has joined #bitcoin-core-dev
3342016-08-30T20:49:56  <GitHub24> [bitcoin] jtimon opened pull request #8629: C++11: s/boost::scoped_ptr/std::unique_ptr/ (master...0.13-boost-scoped-ptr) https://github.com/bitcoin/bitcoin/pull/8629
3352016-08-30T20:52:06  *** fengling has quit IRC
3362016-08-30T20:55:58  *** laurentmt has joined #bitcoin-core-dev
3372016-08-30T20:55:59  *** dcousens has joined #bitcoin-core-dev
3382016-08-30T20:57:52  *** Chris_Stewart_5 has quit IRC
3392016-08-30T21:04:20  *** laurentmt has quit IRC
3402016-08-30T21:11:00  *** Chris_Stewart_5 has joined #bitcoin-core-dev
3412016-08-30T21:16:01  <cfields> jeremyrubin: finally got it built, crashes here too
3422016-08-30T21:16:01  *** belcher has quit IRC
3432016-08-30T21:22:53  *** FNinTak has joined #bitcoin-core-dev
3442016-08-30T21:25:12  *** Chris_Stewart_5 has quit IRC
3452016-08-30T21:27:36  <jeremyrubin> cfields: Cool/not cool
3462016-08-30T21:28:00  <cfields> jeremyrubin: is it only win32, not win64?
3472016-08-30T21:28:23  <jeremyrubin> cfields: didn't try win64; I'll do a build and report back shortly
3482016-08-30T21:28:29  <cfields> ok
3492016-08-30T21:29:02  <jeremyrubin> cfields: I guess it's not the most critical thing to fix, but I wanted to make travis print out benchmarking info in case tests are timing out due to poor performance will help debugging
3502016-08-30T21:29:33  <cfields> jeremyrubin: sure, sounds useful
3512016-08-30T21:29:49  <cfields> jeremyrubin: but since it's already busted in master, no need to make it a blocker for anything else you're working on
3522016-08-30T21:29:55  <jeremyrubin> cfields: Although looking at what's slow, it seems that PrevectorTestInt is really long on windows
3532016-08-30T21:30:38  <jeremyrubin> cfields: So I'm thinking about also changing the build_aux test driver to tee the log and print out the test messages so that it can see what it timed out on
3542016-08-30T21:31:19  <cfields> jeremyrubin: by all means. last time i poked at that, it fought me hard. printing that would be great.
3552016-08-30T21:32:24  <jeremyrubin> cfields: yeah I've spent the morning mucking through automake crap
3562016-08-30T21:33:20  <jeremyrubin> cfields: in any case; the current build system is functionally broken because if you add tests that make it go over 10 min it breaks :)
3572016-08-30T21:34:10  <cfields> heh, the test driver enforces that?
3582016-08-30T21:35:59  *** kyletorpey has joined #bitcoin-core-dev
3592016-08-30T21:36:00  <jeremyrubin> cfields: travis does
3602016-08-30T21:36:18  <cfields> oh, sure
3612016-08-30T21:36:22  <jeremyrubin> cfields: it assumes tests failed if no output
3622016-08-30T21:36:44  <jeremyrubin> wait do you know where the build_aux/test_driver is generated?
3632016-08-30T21:38:22  <jeremyrubin> it looks like it comes from autogen
3642016-08-30T21:38:27  <cfields> comes from automake iirc
3652016-08-30T21:40:03  <jeremyrubin> ugh. yeah you're right
3662016-08-30T21:40:37  *** Chris_Stewart_5 has joined #bitcoin-core-dev
3672016-08-30T21:43:17  * jeremyrubin ponders just making the tests periodically put a '.' to stderr to solve it
3682016-08-30T21:48:34  *** fengling has joined #bitcoin-core-dev
3692016-08-30T21:49:34  <jeremyrubin> cfields: `err:seh:setup_exception stack overflow 2656 bytes in thread 0024 eip 00002b619`
3702016-08-30T21:53:06  *** fengling has quit IRC
3712016-08-30T21:53:58  <jeremyrubin> cfields: Think I should just open an issue?
3722016-08-30T21:58:15  *** justanotheruser has joined #bitcoin-core-dev
3732016-08-30T21:59:03  *** mkarrer has joined #bitcoin-core-dev
3742016-08-30T21:59:40  *** justanotheruser has quit IRC
3752016-08-30T21:59:43  *** Guyver2 has quit IRC
3762016-08-30T22:00:01  *** justanotheruser has joined #bitcoin-core-dev
3772016-08-30T22:01:33  *** spudowiar has joined #bitcoin-core-dev
3782016-08-30T22:11:35  *** mkarrer has quit IRC
3792016-08-30T22:19:13  *** FNinTak has quit IRC
3802016-08-30T22:21:31  *** Guest55662 has quit IRC
3812016-08-30T22:24:09  *** Guest43826 has joined #bitcoin-core-dev
3822016-08-30T22:31:06  *** JZA has quit IRC
3832016-08-30T22:33:46  *** shesek has quit IRC
3842016-08-30T22:37:13  *** slackircbridge has quit IRC
3852016-08-30T22:37:50  *** JZA has joined #bitcoin-core-dev
3862016-08-30T22:38:31  *** slackircbridge has joined #bitcoin-core-dev
3872016-08-30T22:43:13  *** PRab has quit IRC
3882016-08-30T22:47:44  *** shesek has joined #bitcoin-core-dev
3892016-08-30T22:49:36  *** fengling has joined #bitcoin-core-dev
3902016-08-30T22:50:37  *** Chris_Stewart_5 has quit IRC
3912016-08-30T22:54:26  *** fengling has quit IRC
3922016-08-30T23:10:58  *** arubi_ has joined #bitcoin-core-dev
3932016-08-30T23:11:29  *** arubi has quit IRC
3942016-08-30T23:13:55  *** arubi has joined #bitcoin-core-dev
3952016-08-30T23:16:30  *** arubi_ has quit IRC
3962016-08-30T23:39:26  *** grubles has joined #bitcoin-core-dev
3972016-08-30T23:44:18  *** belcher has joined #bitcoin-core-dev
3982016-08-30T23:51:08  *** fengling has joined #bitcoin-core-dev
3992016-08-30T23:55:46  *** fengling has quit IRC
4002016-08-30T23:58:16  *** MarcoFalke has joined #bitcoin-core-dev
4012016-08-30T23:59:10  *** MarcoFalke has left #bitcoin-core-dev