1 2016-08-30T00:06:32  *** fengling has joined #bitcoin-core-dev
  2 2016-08-30T00:07:16  *** spudowiar1 is now known as spudowiar
  3 2016-08-30T00:07:20  *** JZA has joined #bitcoin-core-dev
  4 2016-08-30T00:10:46  *** fengling has quit IRC
  5 2016-08-30T00:10:57  *** Chris_Stewart_5 has quit IRC
  6 2016-08-30T00:15:12  *** Chris_Stewart_5 has joined #bitcoin-core-dev
  7 2016-08-30T00:15:29  *** harrymm has joined #bitcoin-core-dev
  8 2016-08-30T00:30:19  *** tom3 has quit IRC
  9 2016-08-30T00:30:48  *** tom3 has joined #bitcoin-core-dev
 10 2016-08-30T00:33:39  *** dgenr8 has quit IRC
 11 2016-08-30T00:34:07  *** dgenr8 has joined #bitcoin-core-dev
 12 2016-08-30T00:39:06  *** Alopex has quit IRC
 13 2016-08-30T00:40:12  *** Alopex has joined #bitcoin-core-dev
 14 2016-08-30T00:45:09  *** JZA has quit IRC
 15 2016-08-30T00:45:50  *** JZA has joined #bitcoin-core-dev
 16 2016-08-30T00:54:11  *** Alopex has quit IRC
 17 2016-08-30T00:55:16  *** Alopex has joined #bitcoin-core-dev
 18 2016-08-30T01:03:36  *** fengling has joined #bitcoin-core-dev
 19 2016-08-30T01:05:06  *** Alopex has quit IRC
 20 2016-08-30T01:06:11  *** Alopex has joined #bitcoin-core-dev
 21 2016-08-30T01:16:34  *** tom3 has quit IRC
 22 2016-08-30T01:31:57  *** tom3 has joined #bitcoin-core-dev
 23 2016-08-30T01:32:04  *** dcousens has joined #bitcoin-core-dev
 24 2016-08-30T01:37:31  *** tom3 has quit IRC
 25 2016-08-30T01:49:19  *** Giszmo has quit IRC
 26 2016-08-30T02:04:02  *** spudowiar has quit IRC
 27 2016-08-30T02:04:24  *** spudowiar has joined #bitcoin-core-dev
 28 2016-08-30T02:05:54  *** Ylbam has quit IRC
 29 2016-08-30T02:15:29  *** murch1 has joined #bitcoin-core-dev
 30 2016-08-30T02:17:14  *** murch has quit IRC
 31 2016-08-30T02:18:52  <luke-jr> 9mo old said her first non-mama/papa word: "dot" [dot dot]
 32 2016-08-30T02:24:24  *** Chris_Stewart_5 has quit IRC
 33 2016-08-30T02:33:19  *** pmienk has quit IRC
 34 2016-08-30T02:36:17  *** Alopex has quit IRC
 35 2016-08-30T02:37:22  *** Alopex has joined #bitcoin-core-dev
 36 2016-08-30T02:45:58  *** pmienk has joined #bitcoin-core-dev
 37 2016-08-30T02:55:19  *** gluytium has quit IRC
 38 2016-08-30T02:58:09  *** gluytium has joined #bitcoin-core-dev
 39 2016-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
 40 2016-08-30T03:17:26  *** Alopex has quit IRC
 41 2016-08-30T03:18:31  *** Alopex has joined #bitcoin-core-dev
 42 2016-08-30T03:21:31  *** justan0theruser has joined #bitcoin-core-dev
 43 2016-08-30T03:24:19  *** justanotheruser has quit IRC
 44 2016-08-30T03:25:17  <jeremyrubin> luke-jr: ls
 45 2016-08-30T03:25:22  <jeremyrubin> oops
 46 2016-08-30T03:25:44  * jeremyrubin shameful
 47 2016-08-30T03:28:40  *** isle2983 has joined #bitcoin-core-dev
 48 2016-08-30T03:31:48  <isle2983> usually they start with 'grep' before getting into directory navigation...
 49 2016-08-30T03:35:28  <luke-jr> jeremyrubin: ls: cannot open directory .: Transport endpoint is not connected
 50 2016-08-30T04:07:07  *** CyrusV has quit IRC
 51 2016-08-30T04:17:17  *** Alopex has quit IRC
 52 2016-08-30T04:18:22  *** Alopex has joined #bitcoin-core-dev
 53 2016-08-30T04:24:46  *** FNinTak has joined #bitcoin-core-dev
 54 2016-08-30T04:55:02  *** shesek has joined #bitcoin-core-dev
 55 2016-08-30T04:55:46  *** fengling has quit IRC
 56 2016-08-30T05:01:17  *** Alopex has quit IRC
 57 2016-08-30T05:02:22  *** Alopex has joined #bitcoin-core-dev
 58 2016-08-30T05:18:31  *** spudowiar has quit IRC
 59 2016-08-30T05:22:11  *** Alopex has quit IRC
 60 2016-08-30T05:23:03  *** fengling has joined #bitcoin-core-dev
 61 2016-08-30T05:23:16  *** Alopex has joined #bitcoin-core-dev
 62 2016-08-30T05:27:20  *** FNinTak has quit IRC
 63 2016-08-30T05:33:52  *** kadoban has quit IRC
 64 2016-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 ;)
 65 2016-08-30T05:51:15  <luke-jr> :P
 66 2016-08-30T05:51:51  <jeremyrubin> ANyways; what I was going to ask generally is about how std::thread is used currently in core
 67 2016-08-30T05:52:04  <jeremyrubin> I can't seem to get it to properly link or something in wine
 68 2016-08-30T05:52:12  <jeremyrubin> (in use on my own code)
 69 2016-08-30T05:52:30  <jeremyrubin> but on master it is already in use in httpserver.h
 70 2016-08-30T05:58:28  *** tom3 has joined #bitcoin-core-dev
 71 2016-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
 72 2016-08-30T06:06:33  *** MarcoFalke has joined #bitcoin-core-dev
 73 2016-08-30T06:06:46  <GitHub184> [bitcoin] MarcoFalke pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/89de1538ce1f...c01a6c48b982
 74 2016-08-30T06:06:46  <GitHub184> bitcoin/master 1467561 isle2983: [doc] - clarify statement about parallel jobs in rpc-tests.py
 75 2016-08-30T06:06:47  <GitHub184> bitcoin/master c01a6c4 MarcoFalke: Merge #8625: [doc] - clarify statement about parallel jobs in rpc-tests.py...
 76 2016-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
 77 2016-08-30T06:54:08  *** BashCo has quit IRC
 78 2016-08-30T07:06:17  *** Alopex has quit IRC
 79 2016-08-30T07:07:22  *** Alopex has joined #bitcoin-core-dev
 80 2016-08-30T07:14:38  *** BashCo has joined #bitcoin-core-dev
 81 2016-08-30T07:21:22  *** Alopex has quit IRC
 82 2016-08-30T07:22:27  *** Alopex has joined #bitcoin-core-dev
 83 2016-08-30T07:41:55  *** laurentmt has joined #bitcoin-core-dev
 84 2016-08-30T08:12:30  *** obs has joined #bitcoin-core-dev
 85 2016-08-30T08:17:06  *** MarcoFalke has left #bitcoin-core-dev
 86 2016-08-30T08:21:55  *** Ylbam has joined #bitcoin-core-dev
 87 2016-08-30T08:40:18  *** laurentmt has quit IRC
 88 2016-08-30T08:40:57  *** dcousens has quit IRC
 89 2016-08-30T08:44:17  *** kyletorpey has quit IRC
 90 2016-08-30T08:52:19  *** dcousens has joined #bitcoin-core-dev
 91 2016-08-30T08:53:06  *** murch1 is now known as murch
 92 2016-08-30T08:57:12  *** dcousens has quit IRC
 93 2016-08-30T09:11:04  *** gluytium has quit IRC
 94 2016-08-30T09:12:27  *** gluytium has joined #bitcoin-core-dev
 95 2016-08-30T09:12:36  *** juscamarena has quit IRC
 96 2016-08-30T09:30:04  *** e4xit_ has joined #bitcoin-core-dev
 97 2016-08-30T09:32:43  *** e4xit has quit IRC
 98 2016-08-30T09:32:43  *** e4xit_ is now known as e4xit
 99 2016-08-30T09:34:15  *** tom3 has quit IRC
100 2016-08-30T09:46:04  *** dcousens has joined #bitcoin-core-dev
101 2016-08-30T10:27:31  *** justan0theruser has quit IRC
102 2016-08-30T10:27:52  *** jtimon has joined #bitcoin-core-dev
103 2016-08-30T11:37:45  *** dcousens has quit IRC
104 2016-08-30T11:38:02  <GitHub114> [bitcoin] laanwj pushed 5 new commits to master: https://github.com/bitcoin/bitcoin/compare/c01a6c48b982...7b9889586501
105 2016-08-30T11:38:03  <GitHub114> bitcoin/master eda4cfb Andrew Chow: Create an easy to use gitian building script...
106 2016-08-30T11:38:03  <GitHub114> bitcoin/master 498d8da Andrew Chow: Check for OSX SDK
107 2016-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...
108 2016-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
109 2016-08-30T11:39:04  <GitHub4> [bitcoin] laanwj pushed 2 new commits to master: https://github.com/bitcoin/bitcoin/compare/7b9889586501...2b23dbaee5b8
110 2016-08-30T11:39:04  <GitHub4> bitcoin/master 203f212 Pieter Wuille: Reduce default number of blocks to check at startup
111 2016-08-30T11:39:05  <GitHub4> bitcoin/master 2b23dba Wladimir J. van der Laan: Merge #8611: Reduce default number of blocks to check at startup...
112 2016-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
113 2016-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?
114 2016-08-30T11:41:41  <jonasschnelli> One of my local node ran into this over night
115 2016-08-30T11:46:42  <wumpus> I don't think it's that, '9' isn't really a high number
116 2016-08-30T11:46:50  <wumpus> could be a use-after-close of some kind
117 2016-08-30T11:47:01  <jonasschnelli> It resulted in a shutdown at least
118 2016-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)
119 2016-08-30T11:47:51  <wumpus> ugh :/
120 2016-08-30T11:48:02  <jonasschnelli> DDR3L ram
121 2016-08-30T11:48:09  <wumpus> yes, memory corruption could definitely result in this, maybe the fd field was overwritten
122 2016-08-30T11:48:28  *** cryptapus has joined #bitcoin-core-dev
123 2016-08-30T11:48:29  *** cryptapus has joined #bitcoin-core-dev
124 2016-08-30T11:48:39  <wumpus> what do you exactly mean by 'bad allocs'?
125 2016-08-30T11:49:41  <jonasschnelli> bitcoind crashed with a std::expection bad alloc (I don't have the exact output right now)
126 2016-08-30T11:50:21  <jonasschnelli> Here we go:
127 2016-08-30T11:50:22  <jonasschnelli> EXCEPTION: St9bad_alloc
128 2016-08-30T11:50:22  <wumpus> that's running out of memory, not memory corruption
129 2016-08-30T11:50:31  <jonasschnelli> std::bad_alloc
130 2016-08-30T11:50:31  <jonasschnelli> bitcoin in ProcessMessages()
131 2016-08-30T11:50:37  <jonasschnelli> hmm....
132 2016-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)
133 2016-08-30T11:50:50  <jonasschnelli> free -h --> total 16GB
134 2016-08-30T11:51:07  <wumpus> strange. Does it have swap enabled?
135 2016-08-30T11:51:11  <jonasschnelli> Headless debian with only bitcoind running..
136 2016-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
137 2016-08-30T11:52:16  <jonasschnelli> "free" tells me, mem: Total, 15GB, used 2.7GB (restarted node with -dbcache=4000), Swap: total 17GB, used 0GB
138 2016-08-30T11:52:29  <wumpus> okay, that's not it then
139 2016-08-30T11:52:37  <wumpus> really strange
140 2016-08-30T11:52:44  <jonasschnelli> The machine has 16GB physical memory... I don't think it ran out of memory
141 2016-08-30T11:52:49  <jonasschnelli> I keep en eye on that
142 2016-08-30T11:52:59  <wumpus> did you change dbcache?
143 2016-08-30T11:53:20  <jonasschnelli> Yes. Always ran with -dbache=4000
144 2016-08-30T11:53:27  <jonasschnelli> But codewise its pure master
145 2016-08-30T11:53:34  <jonasschnelli> at a5bb6387f751e630c329f34cac2d38bffa8ff9cf
146 2016-08-30T11:53:44  <wumpus> ok... no, that won't be the issue I think
147 2016-08-30T11:54:06  *** dcousens has joined #bitcoin-core-dev
148 2016-08-30T11:57:22  <jonasschnelli> Heres the debug log: http://paste.ubuntu.com/23111528/
149 2016-08-30T11:57:39  <jonasschnelli> Line 839 is the std::bad_alloc
150 2016-08-30T11:57:50  <jonasschnelli> then there are some socket send error Bad file descriptor (9)
151 2016-08-30T11:58:21  <jonasschnelli> Really strange the "Misbehaving: (0 -> 100) BAN THRESHOLD EXCEEDED" ... I hope its not an exploit.
152 2016-08-30T12:01:20  <wumpus> well I think the bad_alloc causes that rejection/banning
153 2016-08-30T12:01:35  <wumpus> it's unfortunate that we don't know which exact allocation failed
154 2016-08-30T12:03:08  <wumpus> apparently it's somewhere in the ConnectBlock() inputs logic
155 2016-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
156 2016-08-30T12:05:03  <wumpus> kind of bad that a bad_alloc causes block rejection though
157 2016-08-30T12:05:22  <wumpus> after restarting you probably had to explicitly re-verify the block?
158 2016-08-30T12:06:31  <jonasschnelli> wumpus: I had to reindex at some point... IIRC, I had to do it afterwards.
159 2016-08-30T12:06:56  <jonasschnelli> But maybe the reindex was on a different datadir/run
160 2016-08-30T12:07:18  <jonasschnelli> At L912 is looks after a valid restart without reindex
161 2016-08-30T12:27:25  *** Chris_Stewart_5 has joined #bitcoin-core-dev
162 2016-08-30T12:28:47  *** Giszmo has joined #bitcoin-core-dev
163 2016-08-30T12:29:06  *** Chris_Stewart_5 has quit IRC
164 2016-08-30T12:30:10  <wumpus> travis is misbehaving badly again: https://github.com/bitcoin/bitcoin/issues/8532#issuecomment-243419143
165 2016-08-30T12:30:36  <wumpus> I doubt it can be the result of any of today's commits
166 2016-08-30T12:37:09  *** Chris_Stewart_5 has joined #bitcoin-core-dev
167 2016-08-30T12:49:00  *** obs has quit IRC
168 2016-08-30T12:50:36  <sipa> wumpus: i think 9 may be the errno code?
169 2016-08-30T12:54:09  <wumpus> sipa: ah, yes, probably
170 2016-08-30T13:04:23  *** kadoban has joined #bitcoin-core-dev
171 2016-08-30T13:15:50  *** dermoth has joined #bitcoin-core-dev
172 2016-08-30T13:41:46  *** fengling has quit IRC
173 2016-08-30T14:13:04  *** dcousens has quit IRC
174 2016-08-30T14:20:54  *** dcousens has joined #bitcoin-core-dev
175 2016-08-30T14:22:50  *** Guyver2 has joined #bitcoin-core-dev
176 2016-08-30T14:32:49  *** dcousens has quit IRC
177 2016-08-30T14:38:24  *** fengling has joined #bitcoin-core-dev
178 2016-08-30T14:43:26  *** fengling has quit IRC
179 2016-08-30T14:56:42  *** Chris_Stewart_5 has quit IRC
180 2016-08-30T15:00:12  *** achow101 has joined #bitcoin-core-dev
181 2016-08-30T15:02:50  *** paveljanik has joined #bitcoin-core-dev
182 2016-08-30T15:13:20  *** jgarzik_ has joined #bitcoin-core-dev
183 2016-08-30T15:13:43  *** jgarzik has quit IRC
184 2016-08-30T15:23:34  *** Giszmo has quit IRC
185 2016-08-30T15:27:17  <jonasschnelli> The node above stalled at height 322005
186 2016-08-30T15:27:27  <jonasschnelli> last 3000 lines of debug log: http://paste.ubuntu.com/23112229/
187 2016-08-30T15:27:34  <jonasschnelli> getblockchaininfo: http://paste.ubuntu.com/23112227/
188 2016-08-30T15:28:20  <jonasschnelli> No new logprinf since 2h
189 2016-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
190 2016-08-30T15:28:47  <jonasschnelli> deadlock?
191 2016-08-30T15:29:29  <sipa> jonasschnelli: getchaintips
192 2016-08-30T15:29:33  <sipa> jonasschnelli: getpeerinfo
193 2016-08-30T15:30:21  <jonasschnelli> sipa: http://paste.ubuntu.com/23112236/
194 2016-08-30T15:30:37  <jonasschnelli> peerinfo: http://paste.ubuntu.com/23112238
195 2016-08-30T15:32:04  <jonasschnelli> attached gdb and bt is: http://paste.ubuntu.com/23112247/
196 2016-08-30T15:32:50  <jonasschnelli> wait.. thats useless. nm
197 2016-08-30T15:33:17  <jonasschnelli> RPC server works.. but network layer seems to be dead
198 2016-08-30T15:34:11  <sipa> jonasschnelli: thread apply all bt
199 2016-08-30T15:34:27  <jonasschnelli> sipa: was just doing this:
200 2016-08-30T15:34:27  <jonasschnelli> http://pastebin.com/sWbcbz8U
201 2016-08-30T15:38:16  <jtimon> now that we're C++11, what should I use instead of boost::scoped_ptr<> ?
202 2016-08-30T15:39:51  *** fengling has joined #bitcoin-core-dev
203 2016-08-30T15:40:32  <sipa> std::unique_ptr
204 2016-08-30T15:41:58  <sipa> jonasschnelli: what is on net.cpp:1909
205 2016-08-30T15:42:06  * jonasschnelli looking
206 2016-08-30T15:42:22  <jonasschnelli> messageHandlerCondition.timed_wait(lock, boost::posix_time::microsec_clock::universal_time() + boost::posix_time::milliseconds(100));
207 2016-08-30T15:42:45  <sipa> i don't see any deadlock
208 2016-08-30T15:42:52  <sipa> or any lock at all, even
209 2016-08-30T15:42:58  <jonasschnelli> sipa: https://github.com/bitcoin/bitcoin/blob/master/src/net.cpp#L1909
210 2016-08-30T15:44:46  *** fengling has quit IRC
211 2016-08-30T15:48:28  *** Giszmo has joined #bitcoin-core-dev
212 2016-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?
213 2016-08-30T15:58:05  <jonasschnelli> I guess an SPV node at 70014 can just ignore those..
214 2016-08-30T16:06:20  *** zooko has joined #bitcoin-core-dev
215 2016-08-30T16:08:38  *** achow101 has quit IRC
216 2016-08-30T16:41:15  *** BashCo has quit IRC
217 2016-08-30T16:41:30  *** fengling has joined #bitcoin-core-dev
218 2016-08-30T16:42:35  *** zooko` has joined #bitcoin-core-dev
219 2016-08-30T16:44:16  *** zooko has quit IRC
220 2016-08-30T16:46:26  *** fengling has quit IRC
221 2016-08-30T16:47:29  *** zooko` has quit IRC
222 2016-08-30T16:53:53  <jtimon> sipa thanks!
223 2016-08-30T16:55:54  *** Ylbam has quit IRC
224 2016-08-30T16:57:09  *** jgarzik_ is now known as jgarzik
225 2016-08-30T16:57:17  *** jgarzik has joined #bitcoin-core-dev
226 2016-08-30T17:03:43  *** zooko has joined #bitcoin-core-dev
227 2016-08-30T17:06:48  *** Chris_Stewart_5 has joined #bitcoin-core-dev
228 2016-08-30T17:13:04  *** zooko has quit IRC
229 2016-08-30T17:15:17  *** laurentmt has joined #bitcoin-core-dev
230 2016-08-30T17:15:46  *** laurentmt has quit IRC
231 2016-08-30T17:25:01  *** BashCo has joined #bitcoin-core-dev
232 2016-08-30T17:31:40  *** pmienk has quit IRC
233 2016-08-30T17:32:40  *** pmienk has joined #bitcoin-core-dev
234 2016-08-30T17:33:10  <sipa> jonasschnelli: read the bip
235 2016-08-30T17:33:18  <sipa> it explicitly explains that :)
236 2016-08-30T17:34:57  *** Ylbam has joined #bitcoin-core-dev
237 2016-08-30T17:38:57  *** jtimon has quit IRC
238 2016-08-30T17:39:29  *** musalbas has quit IRC
239 2016-08-30T17:41:10  *** musalbas has joined #bitcoin-core-dev
240 2016-08-30T17:43:05  *** fengling has joined #bitcoin-core-dev
241 2016-08-30T17:47:26  *** fengling has quit IRC
242 2016-08-30T18:00:57  *** achow101 has joined #bitcoin-core-dev
243 2016-08-30T18:08:22  <jonasschnelli> sipa: Thanks. I should do that.
244 2016-08-30T18:34:09  <jeremyrubin> Can anyone run `make bench` on wine 32 bit build?
245 2016-08-30T18:36:23  <cfields> jeremyrubin: i can in a little bit
246 2016-08-30T18:36:56  <jeremyrubin> kk thanks
247 2016-08-30T18:44:02  *** fengling has joined #bitcoin-core-dev
248 2016-08-30T18:45:18  *** jtimon has joined #bitcoin-core-dev
249 2016-08-30T18:46:14  <cfields> jeremyrubin: actually, "teach a man to fish" and all that... :)
250 2016-08-30T18:46:41  <cfields> jeremyrubin: have you tried building/running for win32?
251 2016-08-30T18:48:46  *** fengling has quit IRC
252 2016-08-30T18:48:59  *** PaulCape_ has joined #bitcoin-core-dev
253 2016-08-30T18:50:52  *** sanada` has quit IRC
254 2016-08-30T18:50:53  <jeremyrubin> cfields: yes
255 2016-08-30T18:51:06  *** sanada has joined #bitcoin-core-dev
256 2016-08-30T18:51:16  <cfields> jeremyrubin: you had issues, or just want to compare results?
257 2016-08-30T18:51:29  *** Bootvis has quit IRC
258 2016-08-30T18:51:37  <jeremyrubin> cfields: wine: Unhandled page fault on read access to 0x00000004 at address 0x6117a9 (thread 0009), starting debugger...
259 2016-08-30T18:52:00  <jeremyrubin> cfields: errors. Playing around with things it seems to be some kind of link time issue I suspect
260 2016-08-30T18:52:05  *** PaulCapestany has quit IRC
261 2016-08-30T18:52:05  *** BonyM1 has quit IRC
262 2016-08-30T18:52:52  *** Bootvis has joined #bitcoin-core-dev
263 2016-08-30T18:53:02  <cfields> jeremyrubin: errors running? or running under gdb? 'cause wine+gdb is a different beast :)
264 2016-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.
265 2016-08-30T18:54:19  <jeremyrubin> cfields: not under gdb
266 2016-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
267 2016-08-30T18:55:10  <jeremyrubin> cfields: I tried adding "-static" to LDFLAGS
268 2016-08-30T18:55:47  <cfields> jeremyrubin: win32 builds are already static
269 2016-08-30T18:56:00  * jonasschnelli setups mingw32 depends builds
270 2016-08-30T18:56:38  <cfields> jeremyrubin: i'm afraid i'm missing some context, though. Does the current bench code not work in win32?
271 2016-08-30T18:57:06  <jeremyrubin> cfields: I don't think so; let me test on master
272 2016-08-30T18:57:44  <jeremyrubin> cfields: where can I see the static flags? I don't think they're set for bench
273 2016-08-30T18:58:02  <cfields> jeremyrubin: ah, ok
274 2016-08-30T18:58:19  <cfields> jeremyrubin: they're kinda a maze, sec
275 2016-08-30T18:58:21  <jeremyrubin> cfields: `bench_bench_bitcoin_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)`
276 2016-08-30T18:58:30  <jeremyrubin> in Makefile.bench.include
277 2016-08-30T18:58:49  <cfields> jeremyrubin: IIRC it's the LIBTOOL_APP_LDFLAGS that sets static
278 2016-08-30T18:59:04  <jeremyrubin> in Makefile.test.include `test_test_bitcoin_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) -static`
279 2016-08-30T18:59:12  <cfields>      # -static is interpreted by libtool, where it has a different meaning.
280 2016-08-30T18:59:12  <cfields>      # In libtool-speak, it's -all-static.
281 2016-08-30T18:59:12  <cfields>      AX_CHECK_LINK_FLAG([[-static]],[LIBTOOL_APP_LDFLAGS="$LIBTOOL_APP_LDFLAGS -all-static"])
282 2016-08-30T18:59:34  *** amiller has quit IRC
283 2016-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)
284 2016-08-30T19:01:12  <cfields> ok. trying here too.
285 2016-08-30T19:01:24  <cfields> you're building with depends?
286 2016-08-30T19:01:47  <cfields> or is that why you hacked it to be dependency-less?
287 2016-08-30T19:02:03  <jeremyrubin> I'm building by this:
288 2016-08-30T19:02:45  <jeremyrubin> (well, whatever it says in doc/build-windows)
289 2016-08-30T19:02:57  <cfields> ok
290 2016-08-30T19:03:15  <jeremyrubin> cd depends; make HOST=i686-w64-mingw32 -j4; cd ..; ./configure --prefix=`pwd`/depends/i686-w64-mingw32; make
291 2016-08-30T19:03:21  *** Guest55662 has joined #bitcoin-core-dev
292 2016-08-30T19:03:49  <cfields> right
293 2016-08-30T19:04:25  *** Chris_Stewart_5 has quit IRC
294 2016-08-30T19:04:41  <jeremyrubin> also you may want this:
295 2016-08-30T19:04:47  <jeremyrubin>      std::chrono::duration<double> result {std::chrono::system_clock::now().time_since_epoch()};
296 2016-08-30T19:04:53  <jeremyrubin>      return result.count();
297 2016-08-30T19:05:14  <jeremyrubin> for bench.cpp gettimedouble
298 2016-08-30T19:06:23  *** BonyM1 has joined #bitcoin-core-dev
299 2016-08-30T19:08:25  <jeremyrubin> (not sure if the sys/time.h include is problematic)
300 2016-08-30T19:08:43  <cfields> yea, we should aim to nuke those.
301 2016-08-30T19:09:34  <jeremyrubin> Yeah I can separately PR nuking them; pretty easy to remove that & the boost depends as well
302 2016-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)
303 2016-08-30T19:10:01  <cfields> jeremyrubin: boost depends everywhere? or in bench?
304 2016-08-30T19:10:07  <jeremyrubin> in bench
305 2016-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?
306 2016-08-30T19:10:35  <cfields> ah, ok. that'll be nice to have :)
307 2016-08-30T19:10:55  <jeremyrubin> or rather in the x-compiler
308 2016-08-30T19:11:01  <jeremyrubin> seems to be fixed now though
309 2016-08-30T19:11:44  <jeremyrubin> can't wait to see the -death- removal of boost::thread
310 2016-08-30T19:11:46  <cfields> jeremyrubin: that'd be libstdc++. Surely it just uses win primitives under the hood, though
311 2016-08-30T19:12:17  <jeremyrubin> cfields: see https://github.com/meganz/mingw-std-threads
312 2016-08-30T19:12:44  <jeremyrubin> cfields: seems to be addressed though now; as when I compiled there was a version of std::thread present
313 2016-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
314 2016-08-30T19:13:53  <cfields> jeremyrubin: i'm not sure what to say there, we rely on std::thread for mingw64 already
315 2016-08-30T19:14:12  <cfields> sounds like you're chasing all kinds of things :)
316 2016-08-30T19:15:07  <jeremyrubin> cfields: indeed
317 2016-08-30T19:23:25  <jeremyrubin> cfields: master segfaults as well
318 2016-08-30T19:23:33  *** Chris_Stewart_5 has joined #bitcoin-core-dev
319 2016-08-30T19:23:33  <jeremyrubin> just finished my build
320 2016-08-30T19:23:37  <cfields> jeremyrubin: interesting
321 2016-08-30T19:23:50  <cfields> jeremyrubin: ok, still building here. Had to setup a VM, current OS is wonky
322 2016-08-30T19:26:58  <jeremyrubin> cfields: I can run it with WINEDEBUG=+all but I don't really know how to read that
323 2016-08-30T19:43:18  *** Chris_Stewart_5 has quit IRC
324 2016-08-30T19:45:33  *** fengling has joined #bitcoin-core-dev
325 2016-08-30T19:47:32  *** Chris_Stewart_5 has joined #bitcoin-core-dev
326 2016-08-30T19:50:26  *** fengling has quit IRC
327 2016-08-30T20:00:17  *** slackircbridge has quit IRC
328 2016-08-30T20:01:33  *** slackircbridge has joined #bitcoin-core-dev
329 2016-08-30T20:07:29  *** laurentmt has joined #bitcoin-core-dev
330 2016-08-30T20:18:01  *** laurentmt has quit IRC
331 2016-08-30T20:19:42  *** cryptapus has quit IRC
332 2016-08-30T20:35:59  *** juscamarena has joined #bitcoin-core-dev
333 2016-08-30T20:47:05  *** fengling has joined #bitcoin-core-dev
334 2016-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
335 2016-08-30T20:52:06  *** fengling has quit IRC
336 2016-08-30T20:55:58  *** laurentmt has joined #bitcoin-core-dev
337 2016-08-30T20:55:59  *** dcousens has joined #bitcoin-core-dev
338 2016-08-30T20:57:52  *** Chris_Stewart_5 has quit IRC
339 2016-08-30T21:04:20  *** laurentmt has quit IRC
340 2016-08-30T21:11:00  *** Chris_Stewart_5 has joined #bitcoin-core-dev
341 2016-08-30T21:16:01  <cfields> jeremyrubin: finally got it built, crashes here too
342 2016-08-30T21:16:01  *** belcher has quit IRC
343 2016-08-30T21:22:53  *** FNinTak has joined #bitcoin-core-dev
344 2016-08-30T21:25:12  *** Chris_Stewart_5 has quit IRC
345 2016-08-30T21:27:36  <jeremyrubin> cfields: Cool/not cool
346 2016-08-30T21:28:00  <cfields> jeremyrubin: is it only win32, not win64?
347 2016-08-30T21:28:23  <jeremyrubin> cfields: didn't try win64; I'll do a build and report back shortly
348 2016-08-30T21:28:29  <cfields> ok
349 2016-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
350 2016-08-30T21:29:33  <cfields> jeremyrubin: sure, sounds useful
351 2016-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
352 2016-08-30T21:29:55  <jeremyrubin> cfields: Although looking at what's slow, it seems that PrevectorTestInt is really long on windows
353 2016-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
354 2016-08-30T21:31:19  <cfields> jeremyrubin: by all means. last time i poked at that, it fought me hard. printing that would be great.
355 2016-08-30T21:32:24  <jeremyrubin> cfields: yeah I've spent the morning mucking through automake crap
356 2016-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 :)
357 2016-08-30T21:34:10  <cfields> heh, the test driver enforces that?
358 2016-08-30T21:35:59  *** kyletorpey has joined #bitcoin-core-dev
359 2016-08-30T21:36:00  <jeremyrubin> cfields: travis does
360 2016-08-30T21:36:18  <cfields> oh, sure
361 2016-08-30T21:36:22  <jeremyrubin> cfields: it assumes tests failed if no output
362 2016-08-30T21:36:44  <jeremyrubin> wait do you know where the build_aux/test_driver is generated?
363 2016-08-30T21:38:22  <jeremyrubin> it looks like it comes from autogen
364 2016-08-30T21:38:27  <cfields> comes from automake iirc
365 2016-08-30T21:40:03  <jeremyrubin> ugh. yeah you're right
366 2016-08-30T21:40:37  *** Chris_Stewart_5 has joined #bitcoin-core-dev
367 2016-08-30T21:43:17  * jeremyrubin ponders just making the tests periodically put a '.' to stderr to solve it
368 2016-08-30T21:48:34  *** fengling has joined #bitcoin-core-dev
369 2016-08-30T21:49:34  <jeremyrubin> cfields: `err:seh:setup_exception stack overflow 2656 bytes in thread 0024 eip 00002b619`
370 2016-08-30T21:53:06  *** fengling has quit IRC
371 2016-08-30T21:53:58  <jeremyrubin> cfields: Think I should just open an issue?
372 2016-08-30T21:58:15  *** justanotheruser has joined #bitcoin-core-dev
373 2016-08-30T21:59:03  *** mkarrer has joined #bitcoin-core-dev
374 2016-08-30T21:59:40  *** justanotheruser has quit IRC
375 2016-08-30T21:59:43  *** Guyver2 has quit IRC
376 2016-08-30T22:00:01  *** justanotheruser has joined #bitcoin-core-dev
377 2016-08-30T22:01:33  *** spudowiar has joined #bitcoin-core-dev
378 2016-08-30T22:11:35  *** mkarrer has quit IRC
379 2016-08-30T22:19:13  *** FNinTak has quit IRC
380 2016-08-30T22:21:31  *** Guest55662 has quit IRC
381 2016-08-30T22:24:09  *** Guest43826 has joined #bitcoin-core-dev
382 2016-08-30T22:31:06  *** JZA has quit IRC
383 2016-08-30T22:33:46  *** shesek has quit IRC
384 2016-08-30T22:37:13  *** slackircbridge has quit IRC
385 2016-08-30T22:37:50  *** JZA has joined #bitcoin-core-dev
386 2016-08-30T22:38:31  *** slackircbridge has joined #bitcoin-core-dev
387 2016-08-30T22:43:13  *** PRab has quit IRC
388 2016-08-30T22:47:44  *** shesek has joined #bitcoin-core-dev
389 2016-08-30T22:49:36  *** fengling has joined #bitcoin-core-dev
390 2016-08-30T22:50:37  *** Chris_Stewart_5 has quit IRC
391 2016-08-30T22:54:26  *** fengling has quit IRC
392 2016-08-30T23:10:58  *** arubi_ has joined #bitcoin-core-dev
393 2016-08-30T23:11:29  *** arubi has quit IRC
394 2016-08-30T23:13:55  *** arubi has joined #bitcoin-core-dev
395 2016-08-30T23:16:30  *** arubi_ has quit IRC
396 2016-08-30T23:39:26  *** grubles has joined #bitcoin-core-dev
397 2016-08-30T23:44:18  *** belcher has joined #bitcoin-core-dev
398 2016-08-30T23:51:08  *** fengling has joined #bitcoin-core-dev
399 2016-08-30T23:55:46  *** fengling has quit IRC
400 2016-08-30T23:58:16  *** MarcoFalke has joined #bitcoin-core-dev
401 2016-08-30T23:59:10  *** MarcoFalke has left #bitcoin-core-dev