1 2012-05-05 00:05:46 <devrandom> gmaxwell: could you do "losetup -a" and paste output?
2 2012-05-05 00:06:11 <devrandom> and ls /dev/mapper/loop*
3 2012-05-05 00:07:04 <devrandom> wait, maybe I have a bug
4 2012-05-05 00:08:03 <devrandom> no, it should work.... these two lines convert the image to raw, then mounts the paritions in /dev/mapper/loop*:
5 2012-05-05 00:08:05 <devrandom> qemu-img convert $OUT.qcow2 $OUT.raw
6 2012-05-05 00:08:06 <devrandom> loop=`sudo kpartx -av $OUT.raw|sed -n '/loop\(.\)p1/ i\1'`
7 2012-05-05 00:08:21 <devrandom> maybe run them one by one and try to see where the issue is
8 2012-05-05 00:08:33 <gmaxwell> gmaxwell@bitcoin-gitian:~/gitian-builder$ sudo losetup -a
9 2012-05-05 00:08:33 <gmaxwell> [sudo] password for gmaxwell:
10 2012-05-05 00:08:33 <gmaxwell> /dev/loop0: [fc01]:273716 (base-lucid-i386.raw)
11 2012-05-05 00:08:33 <gmaxwell> gmaxwell@bitcoin-gitian:~/gitian-builder$ ls /dev/mapper/lo*
12 2012-05-05 00:08:34 <gmaxwell> /dev/mapper/loop0p1 /dev/mapper/loop0p2
13 2012-05-05 00:08:47 <gmaxwell> the 64 bit one appeared to work. :-/
14 2012-05-05 00:12:44 erle- has quit (Quit: erle-)
15 2012-05-05 00:15:47 <devrandom> hm...
16 2012-05-05 00:16:19 <devrandom> so it got the loop device wrong... it should have been looking for loop0p1 but it thought it's loop1p1
17 2012-05-05 00:16:29 <devrandom> maybe my sed invocation is wrong
18 2012-05-05 00:18:20 b4epoche_ has quit (Ping timeout: 245 seconds)
19 2012-05-05 00:18:20 <devrandom> it is wrong
20 2012-05-05 00:19:15 <devrandom> it always outputs 1
21 2012-05-05 00:19:52 <gmaxwell> devrandom: Happy to brake your code anytime.
22 2012-05-05 00:21:33 b4epoche_ has joined
23 2012-05-05 00:21:57 RainbowDashh has joined
24 2012-05-05 00:22:30 <devrandom> gmaxwell: fix pushed...
25 2012-05-05 00:23:03 * gmaxwell tries again.
26 2012-05-05 00:23:05 <devrandom> you might also do 'sudo kpartx -d /dev/loop0' to clear the lingering loop device...
27 2012-05-05 00:23:39 rdponticelli_ has quit (Ping timeout: 276 seconds)
28 2012-05-05 00:24:44 <gmaxwell> devrandom: ::nods:: already had.
29 2012-05-05 00:25:34 vessenes has joined
30 2012-05-05 00:25:59 <gmaxwell> (hm thats probably why amd64 worked for me, I did it after a failed 32 bit run)
31 2012-05-05 00:27:00 <devrandom> gmaxwell: right
32 2012-05-05 00:27:12 <devrandom> sed is kinda retarded... I think I'll switch that line to awk
33 2012-05-05 00:32:18 <devrandom> or maybe awk is as retarted
34 2012-05-05 00:35:00 <luke-jr> dPriority=5192296858506694614435832352735232.00000000
35 2012-05-05 00:35:01 <luke-jr> wtf
36 2012-05-05 00:35:29 <gmaxwell> er?
37 2012-05-05 00:35:58 <luke-jr> trying to figure out why some txns have hugely insane priorities :P
38 2012-05-05 00:36:29 <gmaxwell> probably an integer overflow, perhaps one related to the signed/unsigned shenanagins recently?
39 2012-05-05 00:37:10 <gmaxwell> e.g.. keep in mind that value*age is in coin units ..soo...
40 2012-05-05 00:37:17 <luke-jr> but it's a double@!
41 2012-05-05 00:37:30 <gmaxwell> yes, but when does it become a double?
42 2012-05-05 00:37:35 <luke-jr> asap
43 2012-05-05 00:38:30 <gmaxwell> dPriority += (double)nValueIn * nConf;
44 2012-05-05 00:38:32 AlexWaters has joined
45 2012-05-05 00:38:32 <gmaxwell> hm..
46 2012-05-05 00:39:43 * luke-jr is basically trying to prioritize by fee before inputs/age, but finding some no-fee txns hitting insane pris
47 2012-05-05 00:41:00 sgornick has quit (Quit: Ex-Chat)
48 2012-05-05 00:46:52 toffoo has quit ()
49 2012-05-05 00:49:17 osmosis has quit (Quit: Leaving)
50 2012-05-05 00:51:58 t7 has quit (Remote host closed the connection)
51 2012-05-05 00:53:06 tower has quit (Remote host closed the connection)
52 2012-05-05 00:59:59 graingert has joined
53 2012-05-05 01:04:10 XMPPwocky has joined
54 2012-05-05 01:06:13 weex has quit (Quit: leaving)
55 2012-05-05 01:06:49 knotwork__ has joined
56 2012-05-05 01:09:12 <luke-jr> priority nValueIn=685032704 nConf=1 dPriority=1056589062271331900364084970714326332629762560057904540210845208585260932219585486942252502881259615928761023798648166461643292251279612171255577888596490734090693362980227675786261021147086132723864070031187186804502541192245527414615364675899782815094181019220038385664.0
57 2012-05-05 01:09:13 <luke-jr> wtf
58 2012-05-05 01:09:35 knotwork_ has quit (Ping timeout: 245 seconds)
59 2012-05-05 01:11:09 <splatster> luke-jr: ummm, that seems a bit high
60 2012-05-05 01:11:17 <luke-jr> no kidding
61 2012-05-05 01:11:25 <splatster> </severe understatement>
62 2012-05-05 01:14:49 weex has joined
63 2012-05-05 01:23:26 vessenes has quit (Remote host closed the connection)
64 2012-05-05 01:34:06 knotwork_ has joined
65 2012-05-05 01:35:31 knotwork__ has quit (Ping timeout: 260 seconds)
66 2012-05-05 01:38:24 bitcoinbulletin has quit (Ping timeout: 260 seconds)
67 2012-05-05 01:40:29 paulo_ has quit (Ping timeout: 260 seconds)
68 2012-05-05 01:42:17 bitcoinbulletin has joined
69 2012-05-05 01:45:52 BurtyB has quit (Read error: Operation timed out)
70 2012-05-05 01:51:27 gasteve has joined
71 2012-05-05 01:58:11 amiller_ is now known as amiller`1240
72 2012-05-05 01:58:16 Fnar has quit (Ping timeout: 260 seconds)
73 2012-05-05 01:58:34 amiller`1240 is now known as amiller
74 2012-05-05 02:00:25 graingert has quit (Read error: Connection reset by peer)
75 2012-05-05 02:07:20 <gmaxwell> luke-jr: was that the only pass through the loop there? if not what was the dpriority value on the last iteration?
76 2012-05-05 02:08:13 bcl has joined
77 2012-05-05 02:09:17 <gmaxwell> luke-jr: got it
78 2012-05-05 02:10:19 <gmaxwell> oh darn nope.
79 2012-05-05 02:11:36 Fnar has joined
80 2012-05-05 02:12:02 <luke-jr> gmaxwell: it's not vanilla code
81 2012-05-05 02:12:10 <gmaxwell> oh hey, I have a deadlocked node
82 2012-05-05 02:12:13 <luke-jr> well, there are some bugs in the debug printing code
83 2012-05-05 02:12:30 <luke-jr> but the problem I was really facing turned out to be my factor-in-fees code
84 2012-05-05 02:12:41 Fnar has quit (Changing host)
85 2012-05-05 02:12:41 Fnar has joined
86 2012-05-05 02:12:53 <luke-jr> ⦠I thoguht
87 2012-05-05 02:13:03 dwon has joined
88 2012-05-05 02:13:12 agath has quit (Read error: Connection reset by peer)
89 2012-05-05 02:13:23 <gmaxwell> woot! I have an addrman crash
90 2012-05-05 02:13:26 <gmaxwell> in valgrind!
91 2012-05-05 02:13:34 agath has joined
92 2012-05-05 02:14:21 <luke-jr> gmaxwell: you are my hero!
93 2012-05-05 02:15:23 <sipa> gmaxwell: \o/
94 2012-05-05 02:16:13 <sipa> tell me where!
95 2012-05-05 02:16:37 <luke-jr> yeah, lart sipa for writing buggy code :P
96 2012-05-05 02:17:17 <gmaxwell> sipa: http://pastebin.com/XssbAmLK
97 2012-05-05 02:17:26 <gmaxwell> It managed to crash valgrind at the same time. 0_o
98 2012-05-05 02:18:18 <gmaxwell> perhaps because the pty it was outputting to was blocked or something.
99 2012-05-05 02:20:07 <gribble> New news from bitcoinrss: sipa opened pull request 1196 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1196>
100 2012-05-05 02:22:44 vegard has quit (Ping timeout: 260 seconds)
101 2012-05-05 02:24:25 TheSeven has quit (Disconnected by services)
102 2012-05-05 02:24:34 [7] has joined
103 2012-05-05 02:24:35 <gmaxwell> sipa: http://people.xiph.org/~greg/tail.log.gz < end of the log before it died.. I don't think there is anything useful there.. but I'm late for a movie, will bbiafhours
104 2012-05-05 02:24:54 <sipa> gmaxwell: you don't happen to be able to gdb the process or have a core dump?
105 2012-05-05 02:25:29 <gmaxwell> sipa: no because valgrind died and I didn't have db attach enabled.
106 2012-05-05 02:25:45 paulo_ has joined
107 2012-05-05 02:26:46 <gmaxwell> I restarted it with dbattach enabled..
108 2012-05-05 02:26:54 <gmaxwell> oh but it seems my addr.dat is corrupted.
109 2012-05-05 02:27:06 <sipa> like always...
110 2012-05-05 02:27:30 <sipa> bdb corrupted?
111 2012-05-05 02:28:04 <gmaxwell> ************************
112 2012-05-05 02:28:04 <gmaxwell> EXCEPTION: NSt8ios_base7failureE
113 2012-05-05 02:28:04 <gmaxwell> CDataStream::read() : end of data
114 2012-05-05 02:28:04 <gmaxwell> bitcoin in AppInit()
115 2012-05-05 02:28:04 <gmaxwell> terminate called after throwing an instance of 'std::ios_base::failure' what(): CDataStream::read() : end of data
116 2012-05-05 02:28:35 <sipa> care to send me the addr.dat file?
117 2012-05-05 02:28:46 dvide has quit ()
118 2012-05-05 02:30:02 <gmaxwell> http://people.xiph.org/~greg/addrbad.dat
119 2012-05-05 02:31:57 <sipa> thanks; will have a look tomorrow
120 2012-05-05 02:38:18 da2ce7 has joined
121 2012-05-05 02:38:51 dwon has quit (Ping timeout: 276 seconds)
122 2012-05-05 02:45:21 Fnar has quit (Ping timeout: 260 seconds)
123 2012-05-05 02:45:49 <gribble> New news from bitcoinrss: luke-jr opened pull request 1197 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1197>
124 2012-05-05 02:45:49 Fnar has joined
125 2012-05-05 02:54:23 dwon has joined
126 2012-05-05 03:03:25 tower has joined
127 2012-05-05 03:07:45 paulo_ has quit (Ping timeout: 260 seconds)
128 2012-05-05 03:16:11 agricocb has joined
129 2012-05-05 03:22:24 random_cat has quit (Ping timeout: 276 seconds)
130 2012-05-05 03:22:42 paulo_ has joined
131 2012-05-05 03:24:01 Zarutian has quit (Quit: Zarutian)
132 2012-05-05 03:27:39 BTC_Bear is now known as hbrntng!~BTC_Bear@unaffiliated/btc-bear/x-5233302|BTC_Bear
133 2012-05-05 03:29:11 Karmaon has quit (Quit: WeeChat 0.3.8-dev)
134 2012-05-05 03:30:25 Karmaon has joined
135 2012-05-05 03:35:04 random_cat has joined
136 2012-05-05 03:36:39 RainbowDashh is now known as rinzler
137 2012-05-05 03:36:49 rinzler is now known as RainbowDashh
138 2012-05-05 03:43:29 <jgarzik> sipa: just stumbled upon how you save addrman addresses.... ewww, what a hack :)
139 2012-05-05 03:44:00 <jgarzik> sipa: just store it directly in GetDataDir() / "addrman.dat", and ignore bdb altogether
140 2012-05-05 03:44:31 freewil has quit (Quit: Leaving)
141 2012-05-05 03:44:36 <sipa> jgarzik: yes, that should change
142 2012-05-05 03:44:37 <jgarzik> sipa: delete CAddrDB and addr.dat-related code. we don't care enough about addresses to keep that code around.
143 2012-05-05 03:45:06 <sipa> especially now that upgrading from addr.dat seems problematic
144 2012-05-05 03:45:16 <jgarzik> sipa: addrman does its own serialize -and- already stores the data in its entirety on each write... that is much better served as a separate file outside bdb
145 2012-05-05 03:46:01 <sipa> never-cleared interprocess locks that appear to cause deadlocks when deleting the relevant entries
146 2012-05-05 03:46:44 <jgarzik> hum. whose locks, I wonder... bdb's or bitcoin's?
147 2012-05-05 03:47:19 <sipa> it was never intended to remain in addr.dat, but it was useful for upgrading
148 2012-05-05 03:47:37 <sipa> bdb's of course, bitcoin has no interprocess locks
149 2012-05-05 03:47:53 * jgarzik had just started coding LoadJSONAddresses() when I stumbled upon
150 2012-05-05 03:47:54 <jgarzik> bool CAddrDB::LoadAddresses()
151 2012-05-05 03:47:54 <jgarzik> {
152 2012-05-05 03:47:54 <jgarzik> if (Read(string("addrman"), addrman))
153 2012-05-05 03:48:11 <sipa> especially none that get f*cking saved in a file
154 2012-05-05 03:48:59 <jgarzik> sipa: I'm bored enough that I might poke at addrman.dat tonight, if you've no objections
155 2012-05-05 03:49:15 <sipa> feel free
156 2012-05-05 03:49:43 <sipa> i want to get rid of bdb for everything except blkindex
157 2012-05-05 03:49:43 <jgarzik> sipa: think there is any value in gzip compression?
158 2012-05-05 03:50:07 <sipa> it would certainly help
159 2012-05-05 03:50:08 <jgarzik> sipa: boost has a spiffy zlib filter for streams
160 2012-05-05 03:50:21 <sipa> but the file is already limited in size
161 2012-05-05 03:50:49 <sipa> not sure if people care about 3 MiB instead of 4
162 2012-05-05 03:52:11 <sipa> i'd rename the file
163 2012-05-05 03:52:18 dwon has quit (Ping timeout: 276 seconds)
164 2012-05-05 03:52:37 <sipa> call it ipaddr.dat maybe, as addr is ambiguous in bitcoin's context
165 2012-05-05 03:52:45 <jgarzik> sipa: sure
166 2012-05-05 03:53:11 freewil has joined
167 2012-05-05 03:53:41 <sipa> wallets will be more fun to debdb
168 2012-05-05 03:56:31 Slix` has quit (Remote host closed the connection)
169 2012-05-05 03:58:11 dwon has joined
170 2012-05-05 03:58:43 eoss has joined
171 2012-05-05 04:00:45 Guest_RNG has quit (Ping timeout: 276 seconds)
172 2012-05-05 04:04:00 dwon has quit (Ping timeout: 276 seconds)
173 2012-05-05 04:09:35 phungus has quit (Remote host closed the connection)
174 2012-05-05 04:10:30 ageis has quit (Quit: http://ageispolis.net)
175 2012-05-05 04:13:06 freewil has quit (Ping timeout: 276 seconds)
176 2012-05-05 04:14:41 dwon has joined
177 2012-05-05 04:16:22 bcl has left ()
178 2012-05-05 04:16:41 freewil has joined
179 2012-05-05 04:16:46 ageis has joined
180 2012-05-05 04:17:24 dwon has quit (Remote host closed the connection)
181 2012-05-05 04:18:40 vegard has joined
182 2012-05-05 04:19:06 vegard is now known as Guest99040
183 2012-05-05 04:26:34 one_zero has joined
184 2012-05-05 04:32:03 wasabi has quit (Changing host)
185 2012-05-05 04:32:03 wasabi has joined
186 2012-05-05 04:33:56 b4epoche_ has quit (Ping timeout: 244 seconds)
187 2012-05-05 04:36:07 dwon has joined
188 2012-05-05 04:36:17 ThomasV has joined
189 2012-05-05 04:36:27 b4epoche_ has joined
190 2012-05-05 04:40:11 Joric has joined
191 2012-05-05 04:42:52 dwon has quit (Remote host closed the connection)
192 2012-05-05 04:44:35 dwon has joined
193 2012-05-05 04:45:41 BTC_Bear is now known as BTC_Bear|hbrntng
194 2012-05-05 04:47:10 eoss has quit (Remote host closed the connection)
195 2012-05-05 04:48:06 dwon has quit (Remote host closed the connection)
196 2012-05-05 04:52:29 dwon has joined
197 2012-05-05 04:56:08 sgstair has quit (Quit: .«UPP»Â.)
198 2012-05-05 05:12:31 <paulo_> what ECDSA do you use?
199 2012-05-05 05:12:36 <paulo_> secpack something?
200 2012-05-05 05:13:46 <riush> secp256k1
201 2012-05-05 05:14:01 <paulo_> thanks
202 2012-05-05 05:22:37 paulo_ has quit (Ping timeout: 260 seconds)
203 2012-05-05 05:26:08 sgstair has joined
204 2012-05-05 05:28:25 paulo_ has joined
205 2012-05-05 05:29:20 dwon has quit (Remote host closed the connection)
206 2012-05-05 05:32:51 dwon has joined
207 2012-05-05 05:32:53 paulo_ has quit (Ping timeout: 260 seconds)
208 2012-05-05 05:37:33 dwon has quit (Remote host closed the connection)
209 2012-05-05 05:42:54 dwon has joined
210 2012-05-05 05:51:33 brwyatt is now known as Away!~brwyatt@pool-96-226-236-130.dllstx.fios.verizon.net|brwyatt
211 2012-05-05 05:54:31 [7] has quit (Disconnected by services)
212 2012-05-05 05:54:37 TheSeven has joined
213 2012-05-05 06:08:05 splatster has quit (Quit: S² Capital Manament - #S2CM)
214 2012-05-05 06:12:30 ThomasV has quit (Ping timeout: 245 seconds)
215 2012-05-05 06:16:29 da2ce7 has quit (Ping timeout: 265 seconds)
216 2012-05-05 06:26:34 freewil has quit (Quit: Leaving)
217 2012-05-05 06:28:01 allied has quit (Excess Flood)
218 2012-05-05 06:28:42 allied has joined
219 2012-05-05 06:42:23 Turingi has joined
220 2012-05-05 06:48:25 guruvan has quit (Quit: I probably voided the warranty on this thing.....)
221 2012-05-05 06:50:25 guruvan has joined
222 2012-05-05 06:52:38 RazielZ has joined
223 2012-05-05 06:59:52 freewil has joined
224 2012-05-05 07:03:57 dddddddddd0 has joined
225 2012-05-05 07:04:45 <dddddddddd0> Hi, I'm trying to compile bitcoind, but I keep getting this: "/usr/bin/ld: cannot find -ldb_cxx" when I try compiling. I do have berkeley db installed, so I'm not sure why I get this message
226 2012-05-05 07:06:40 Snapman is now known as Snapman[afkers]
227 2012-05-05 07:06:51 Snapman[afkers] is now known as Snapman
228 2012-05-05 07:07:25 TheSeven has quit (Read error: Operation timed out)
229 2012-05-05 07:07:30 sunbird has quit (Ping timeout: 252 seconds)
230 2012-05-05 07:08:24 <weex> dddddddddd0: running ldconfig might help
231 2012-05-05 07:09:10 <dddddddddd0> tried that, didn't change the error
232 2012-05-05 07:09:50 TheSeven has joined
233 2012-05-05 07:11:03 sytse has joined
234 2012-05-05 07:12:24 molecular has quit (Read error: Operation timed out)
235 2012-05-05 07:12:51 <gmaxwell> you need db++ (the c++ wrapper on bdb, not just bdb itself)
236 2012-05-05 07:13:19 molecular has joined
237 2012-05-05 07:14:38 <dddddddddd0> So under ubuntu, this would be libdb4.8++-dev?
238 2012-05-05 07:15:13 <gmaxwell> Yes... also, you might enjoy reading the file doc/build-unix.txt
239 2012-05-05 07:15:14 <dddddddddd0> I can't find that package for my distro :(
240 2012-05-05 07:15:23 wasabi has quit (Ping timeout: 250 seconds)
241 2012-05-05 07:15:41 <dddddddddd0> I only find libdb4.8-dev
242 2012-05-05 07:16:06 <dddddddddd0> That's actually what I'm using
243 2012-05-05 07:16:19 <gmaxwell> What distro are you using?
244 2012-05-05 07:16:37 <dddddddddd0> ubuntu 12.04, just set up the vm like 2 hours ago to compile bitcoind
245 2012-05-05 07:17:58 Fnar has quit (Changing host)
246 2012-05-05 07:17:58 Fnar has joined
247 2012-05-05 07:19:19 <gmaxwell> dddddddddd0: the latest ubuntu has removed libdb4.8++ and only ships libdb5.1 (libdb++), bitcoin can be built against thatâ but it's not (as) well tested. And the files it writes can't be read by earlier versions.
248 2012-05-05 07:20:12 <dddddddddd0> how unlikely would it be that libdb4.8++ for "lucid" would work on 12.04?
249 2012-05-05 07:20:52 <gmaxwell> no idea. though you can just use the bitcoin binaries which are compiled statically and work on whatever.
250 2012-05-05 07:23:10 Joric has quit ()
251 2012-05-05 07:23:11 RainbowDashh has quit (Remote host closed the connection)
252 2012-05-05 07:23:26 RainbowDashh has joined
253 2012-05-05 07:26:46 <BlueMatt> gmaxwell: whats up with 0.6.1, its tagged, so I guess builds are going?
254 2012-05-05 07:26:54 <wumpus> it works well with libdb5.1... the only problem is that you can never use the db with an older libdb version again
255 2012-05-05 07:27:47 <wumpus> BlueMatt: yes
256 2012-05-05 07:27:53 <BlueMatt> fun...
257 2012-05-05 07:28:13 brwyatt is now known as brwyatt|Away
258 2012-05-05 07:28:41 <gmaxwell> BlueMatt: the files are up.
259 2012-05-05 07:28:50 <gmaxwell> BlueMatt: http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.6.1/
260 2012-05-05 07:28:59 RainbowDashh has quit (Ping timeout: 260 seconds)
261 2012-05-05 07:29:00 <BlueMatt> oh, even bins...
262 2012-05-05 07:29:12 <BlueMatt> arg...well now I need to go whip up an ubuntu vm to do the ppa...
263 2012-05-05 07:29:13 <dddddddddd0> unpacked the .deb and manually copied the files over
264 2012-05-05 07:29:16 <dddddddddd0> it worked
265 2012-05-05 07:29:37 RainbowDashh has joined
266 2012-05-05 07:33:44 sgornick has joined
267 2012-05-05 07:39:47 dwon has quit (Quit: Leaving)
268 2012-05-05 07:42:01 <jgarzik> sipa: there ya go
269 2012-05-05 07:42:05 <jgarzik> sipa: compile-tested only
270 2012-05-05 07:42:07 * jgarzik heads to sleep
271 2012-05-05 07:44:24 ThomasV has joined
272 2012-05-05 07:44:56 <gribble> New news from bitcoinrss: jgarzik opened pull request 1198 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1198>
273 2012-05-05 07:52:21 RainbowDashh has quit (Quit: RainbowDashh)
274 2012-05-05 07:58:12 sirk390 has joined
275 2012-05-05 08:05:41 <gribble> New news from bitcoinrss: laanwj opened pull request 1199 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1199>
276 2012-05-05 08:07:16 barmstrong has quit (Remote host closed the connection)
277 2012-05-05 08:11:03 <gribble> New news from bitcoinrss: TheBlueMatt reopened pull request 771 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/771>
278 2012-05-05 08:12:52 RainbowDashh has joined
279 2012-05-05 08:22:32 barmstrong has joined
280 2012-05-05 08:27:55 RainbowDashh has quit (Ping timeout: 276 seconds)
281 2012-05-05 08:32:19 RainbowDashh has joined
282 2012-05-05 08:37:22 mtve has joined
283 2012-05-05 08:50:40 b4epoche_ has quit (Ping timeout: 276 seconds)
284 2012-05-05 08:51:18 b4epoche_ has joined
285 2012-05-05 09:13:01 molecular has quit (Ping timeout: 272 seconds)
286 2012-05-05 09:13:42 molecular has joined
287 2012-05-05 09:14:48 allied has quit (Changing host)
288 2012-05-05 09:14:48 allied has joined
289 2012-05-05 09:21:27 Nicksasa has quit (Ping timeout: 246 seconds)
290 2012-05-05 09:22:27 da2ce7 has joined
291 2012-05-05 09:32:09 <gribble> New news from bitcoinrss: laanwj opened pull request 1200 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1200>
292 2012-05-05 09:37:11 <gribble> New news from bitcoinrss: Diapolo opened pull request 1201 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1201>
293 2012-05-05 09:42:38 <gribble> New news from bitcoinrss: Diapolo opened pull request 1202 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1202>
294 2012-05-05 09:42:47 da2ce7 has quit (Ping timeout: 272 seconds)
295 2012-05-05 09:47:46 <gribble> New news from bitcoinrss: Diapolo opened pull request 1203 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1203>
296 2012-05-05 09:53:46 <Keefe> why would bitcoin-qt.exe be suddenly using 50% cpu, all in advapi32.dll?
297 2012-05-05 09:54:12 <Keefe> cpu is dual-core, so 100%
298 2012-05-05 09:54:33 <Keefe> bug? someone trying to brute force my pwd?
299 2012-05-05 09:56:25 <Keefe> i'm just going by what Sysinternals Process Explorer says
300 2012-05-05 09:59:44 kiceek has joined
301 2012-05-05 10:05:04 erle- has joined
302 2012-05-05 10:06:15 <sturles> Latest version? Is it mining?
303 2012-05-05 10:19:04 chrisb__ has joined
304 2012-05-05 10:21:49 freewil has quit (Quit: Leaving)
305 2012-05-05 10:32:52 mmoya has joined
306 2012-05-05 10:35:07 <wumpus> Keefe: what version? is this during initial block dl?
307 2012-05-05 10:40:52 freewil has joined
308 2012-05-05 10:58:29 <Keefe> sturles, wumpus: was not mining with it. not downloading blocks as far as i could tell. was using 100% cpu for just a few minutes then back to normal
309 2012-05-05 10:58:43 <Keefe> 0.5.3.1
310 2012-05-05 10:59:08 <Keefe> it got my attention because my laptop fan came on
311 2012-05-05 10:59:38 <Keefe> and it had been running for a long time before without excessing cpu use
312 2012-05-05 10:59:46 <Keefe> excessive*
313 2012-05-05 11:03:07 d4de has quit (Ping timeout: 260 seconds)
314 2012-05-05 11:04:51 sirk390 has quit (Quit: Leaving.)
315 2012-05-05 11:11:04 sirk390 has joined
316 2012-05-05 11:25:16 rlifchitz has quit (Quit: "I never worry about action, but only about inaction" (W. Churchill))
317 2012-05-05 11:26:00 rlifchitz has joined
318 2012-05-05 11:26:00 rlifchitz has quit (Changing host)
319 2012-05-05 11:26:00 rlifchitz has joined
320 2012-05-05 11:30:34 devrandom has quit (Ping timeout: 276 seconds)
321 2012-05-05 11:31:01 devrandom has joined
322 2012-05-05 11:40:06 sirk390 has quit (Quit: Leaving.)
323 2012-05-05 11:49:22 t7 has joined
324 2012-05-05 11:51:44 Someguy123 is now known as Someguy123[afk]
325 2012-05-05 11:56:30 Someguy123[afk] is now known as Someguy123
326 2012-05-05 11:56:36 tower has quit (Ping timeout: 250 seconds)
327 2012-05-05 11:59:51 Guest_RNG has joined
328 2012-05-05 12:00:49 tower has joined
329 2012-05-05 12:09:00 dvide has joined
330 2012-05-05 12:12:23 gasteve has quit (Quit: gasteve)
331 2012-05-05 12:13:17 Guest_RNG has left ()
332 2012-05-05 12:13:25 datagutt has joined
333 2012-05-05 12:16:33 paulo_ has joined
334 2012-05-05 12:21:17 Clipse has joined
335 2012-05-05 12:26:05 sirk390 has joined
336 2012-05-05 12:38:33 Cryo has joined
337 2012-05-05 12:44:01 Clipse has quit (Ping timeout: 276 seconds)
338 2012-05-05 12:48:17 paraipan has quit (Quit: Saliendo)
339 2012-05-05 12:49:42 BTC_Bear is now known as hbrntng!~BTC_Bear@unaffiliated/btc-bear/x-5233302|BTC_Bear
340 2012-05-05 13:03:23 b4epoche_ has quit (Ping timeout: 244 seconds)
341 2012-05-05 13:05:56 b4epoche_ has joined
342 2012-05-05 13:13:49 knotwork__ has joined
343 2012-05-05 13:14:14 Bitcoindude has joined
344 2012-05-05 13:14:43 Nicksasa has joined
345 2012-05-05 13:16:16 random_cat has quit (Remote host closed the connection)
346 2012-05-05 13:16:52 knotwork_ has quit (Ping timeout: 256 seconds)
347 2012-05-05 13:17:45 random_cat has joined
348 2012-05-05 13:18:38 PiZZaMaN2K has quit (Quit: Linkinus - http://linkinus.com)
349 2012-05-05 13:25:53 sirk390 has quit (Quit: Leaving.)
350 2012-05-05 13:26:16 eoss has joined
351 2012-05-05 13:26:16 eoss has quit (Changing host)
352 2012-05-05 13:26:16 eoss has joined
353 2012-05-05 13:31:33 <gribble> New news from bitcoinrss: Diapolo opened pull request 1204 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1204>
354 2012-05-05 13:36:35 m00p has joined
355 2012-05-05 13:36:43 BTC_Bear is now known as BTC_Bear|hbrntng
356 2012-05-05 13:41:52 m00p has quit (Ping timeout: 276 seconds)
357 2012-05-05 13:43:10 t7 has quit (Ping timeout: 276 seconds)
358 2012-05-05 13:43:52 DaQatz has quit (Ping timeout: 252 seconds)
359 2012-05-05 13:49:14 Clipse has joined
360 2012-05-05 13:49:45 splatster has joined
361 2012-05-05 13:52:09 Zarutian has joined
362 2012-05-05 13:52:55 darkee has quit (Ping timeout: 276 seconds)
363 2012-05-05 13:53:29 brwyatt is now known as Away!~brwyatt@pool-96-226-236-130.dllstx.fios.verizon.net|brwyatt
364 2012-05-05 13:53:34 Nicksasa has quit (Ping timeout: 276 seconds)
365 2012-05-05 13:53:38 paulo_ has quit (Ping timeout: 260 seconds)
366 2012-05-05 13:57:32 darkee has joined
367 2012-05-05 13:57:38 m00p has joined
368 2012-05-05 13:58:01 darksk1ez has quit (Ping timeout: 272 seconds)
369 2012-05-05 14:01:25 paulo_ has joined
370 2012-05-05 14:14:50 <luke-jr> gmaxwell: http://blockchain.info/block/0000000000000790e48fa1800a77a13fc7534f64ee2d70dfce1eb17533f9070a
371 2012-05-05 14:15:38 chrisb__ has quit (Quit: Leaving)
372 2012-05-05 14:30:20 graingert has joined
373 2012-05-05 14:32:52 danbri has joined
374 2012-05-05 14:42:12 mortikia has quit (Remote host closed the connection)
375 2012-05-05 14:42:39 mortikia has joined
376 2012-05-05 14:43:29 Blitzboom_ has joined
377 2012-05-05 14:43:39 Blitzboom has quit (Ping timeout: 255 seconds)
378 2012-05-05 14:45:20 one_zero has quit ()
379 2012-05-05 14:46:02 danbri_ has joined
380 2012-05-05 14:49:02 danbri has quit (Ping timeout: 252 seconds)
381 2012-05-05 14:50:02 danbri_ has quit (Read error: Connection reset by peer)
382 2012-05-05 14:50:15 danbri has joined
383 2012-05-05 14:51:36 graingert has quit (Remote host closed the connection)
384 2012-05-05 14:51:39 ThomasV has quit (Quit: Quitte)
385 2012-05-05 14:54:21 da2ce7 has joined
386 2012-05-05 14:56:42 p0s has joined
387 2012-05-05 14:57:34 paulo_ has quit (Ping timeout: 260 seconds)
388 2012-05-05 15:00:55 <sipa> gmaxwell: that addrbad.dat is unusable without its environment of course
389 2012-05-05 15:01:07 <sipa> can you db5.1_dump it, maybe?
390 2012-05-05 15:01:33 sirk390 has joined
391 2012-05-05 15:03:46 da2ce7 has quit (Ping timeout: 244 seconds)
392 2012-05-05 15:10:02 graingert has joined
393 2012-05-05 15:10:14 graingert has quit (Changing host)
394 2012-05-05 15:10:14 graingert has joined
395 2012-05-05 15:22:34 chrisb__ has joined
396 2012-05-05 15:25:09 capiscuas has joined
397 2012-05-05 15:25:48 capiscuas has quit (Read error: Connection reset by peer)
398 2012-05-05 15:30:55 copumpkin has quit (Quit: Computer has gone to sleep.)
399 2012-05-05 15:32:39 brwyatt is now known as brwyatt|Away
400 2012-05-05 15:36:16 darkee has quit (Ping timeout: 276 seconds)
401 2012-05-05 15:42:06 ThomasV has joined
402 2012-05-05 15:44:30 terry has quit (Quit: Connection closed for inactivity)
403 2012-05-05 15:45:57 darkee has joined
404 2012-05-05 15:48:45 paul0 has joined
405 2012-05-05 15:49:36 <gribble> New news from bitcoinrss: laanwj opened pull request 1205 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1205>
406 2012-05-05 15:52:52 terry has joined
407 2012-05-05 15:55:26 toffoo has joined
408 2012-05-05 15:57:14 Blitzboom has joined
409 2012-05-05 15:57:14 Blitzboom has quit (Changing host)
410 2012-05-05 15:57:14 Blitzboom has joined
411 2012-05-05 15:59:11 Blitzboom_ has quit (Ping timeout: 245 seconds)
412 2012-05-05 16:18:06 paul0 has quit (Quit: paul0)
413 2012-05-05 16:18:24 erle- has quit (Quit: erle-)
414 2012-05-05 16:18:30 m00p has quit (Ping timeout: 252 seconds)
415 2012-05-05 16:29:01 ski_ has quit (Read error: Operation timed out)
416 2012-05-05 16:31:22 m00p has joined
417 2012-05-05 16:35:44 <gribble> New news from bitcoinrss: Diapolo opened pull request 1206 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1206>
418 2012-05-05 16:39:22 ski_ has joined
419 2012-05-05 16:47:27 ThomasV has quit (Quit: Quitte)
420 2012-05-05 16:55:31 TD has joined
421 2012-05-05 16:56:00 <gribble> New news from bitcoinrss: luke-jr opened pull request 35 on bitcoin/bitcoin.org <https://github.com/bitcoin/bitcoin.org/pull/35>
422 2012-05-05 16:56:31 dusty_ has joined
423 2012-05-05 17:03:28 erle64- has joined
424 2012-05-05 17:15:42 BurtyB has joined
425 2012-05-05 17:19:39 b4epoche_ has quit (Ping timeout: 248 seconds)
426 2012-05-05 17:19:48 Bitcoindude has quit (Quit: Page closed)
427 2012-05-05 17:21:14 b4epoche_ has joined
428 2012-05-05 17:23:46 asuk has joined
429 2012-05-05 17:24:11 asuk has quit (Client Quit)
430 2012-05-05 17:24:39 Ahimoth_ has joined
431 2012-05-05 17:25:28 Ahimoth has quit (Ping timeout: 276 seconds)
432 2012-05-05 17:25:29 Ahimoth_ is now known as Ahimoth
433 2012-05-05 17:32:12 z310 has quit (Ping timeout: 252 seconds)
434 2012-05-05 17:33:08 olp has joined
435 2012-05-05 17:34:42 t7 has joined
436 2012-05-05 17:36:48 forrestv has quit (Quit: Coyote finally caught me)
437 2012-05-05 17:37:28 DaQatz has joined
438 2012-05-05 17:38:02 erle64- has quit (Quit: erle64-)
439 2012-05-05 17:38:21 forrestv has joined
440 2012-05-05 17:47:53 jrmithdobbs has quit (Quit: quit)
441 2012-05-05 17:51:33 <gmaxwell> Anyone know any reason not to push the website to 0.6.1?
442 2012-05-05 17:51:56 <gmaxwell> Has someone gitian seconded the 0.6.1 builds?
443 2012-05-05 17:52:08 <sipa> i've built them, let me verify
444 2012-05-05 17:52:18 <etotheipi_> because not 100% of the internet has agreed it's perfect. Let's keep waiting
445 2012-05-05 17:52:44 <luke-jr> gmaxwell: I built 0.6.1 windows
446 2012-05-05 17:52:51 <gmaxwell> luke-jr: does it match?
447 2012-05-05 17:53:01 <luke-jr> gmaxwell: I don't know, Gavin didn't push his :p
448 2012-05-05 17:53:17 * luke-jr downloads from SF <.<
449 2012-05-05 17:53:27 <sipa> mine match both
450 2012-05-05 17:54:06 <sipa> pushed
451 2012-05-05 17:54:06 <gmaxwell> Merged.
452 2012-05-05 17:54:08 <luke-jr> install from SF matches
453 2012-05-05 17:54:24 * gmaxwell kicks the update script
454 2012-05-05 17:54:56 <luke-jr> gmaxwell: P{M
455 2012-05-05 17:56:03 <luke-jr> gmaxwell: kicked
456 2012-05-05 17:56:04 <luke-jr> http://eu1.bitcoincharts.com/bitcoin.org/cgi-bin/update.sh
457 2012-05-05 17:56:30 <gmaxwell> I already had.
458 2012-05-05 17:56:42 <gmaxwell> and it's up now.
459 2012-05-05 17:58:34 z310 has joined
460 2012-05-05 18:01:15 <sipa> gmaxwell: that addrbad.dat is unusable without its environment of course; can you do a db5.1_dump ?
461 2012-05-05 18:01:22 jrmithdobbs has joined
462 2012-05-05 18:03:28 <gmaxwell> sipa: unfortunately I have since deleted the addr.dat there and restarted that node. :-/ (hoping to reproduce again with dbattach set
463 2012-05-05 18:03:44 <sipa> ok
464 2012-05-05 18:04:02 <sipa> i've already found a bug in addrman by the way, but not one that can have caused the crash
465 2012-05-05 18:04:48 <gmaxwell> I'm wondering if we're managing to get a non-threadsafe malloc or something. It looks like two threads could have been in malloc when the crash happened.
466 2012-05-05 18:05:01 <gmaxwell> (well right before it happened)
467 2012-05-05 18:06:44 <sipa> all right; just got it to reproduce the bug
468 2012-05-05 18:07:49 <sipa> well, a bug
469 2012-05-05 18:11:15 splatster has quit (Quit: splatster)
470 2012-05-05 18:11:54 <gmaxwell> I was wondering if I should hack in a rapid addraddr loop to try to trigger it.
471 2012-05-05 18:12:16 <sipa> gmaxwell: i made a branch that set pfrom->fDisconnect when receiving an addr message
472 2012-05-05 18:12:29 <sipa> but i'm close
473 2012-05-05 18:14:49 <sipa> gmaxwell: comment the "// first check whether there is place to just add it" block out in MakeTried, and change the int nUBucket initialization to nOrigin, in that function
474 2012-05-05 18:15:06 <sipa> if i'm right, that will trigger the bug almost immediately
475 2012-05-05 18:15:49 paulo_ has joined
476 2012-05-05 18:20:09 paul0 has joined
477 2012-05-05 18:23:06 TD has quit (Quit: TD)
478 2012-05-05 18:27:09 tower has quit (Quit: | ReactOS - The FOSS alternative to MS Windows! | http://www.reactos.org/ | join #ReactOS |)
479 2012-05-05 18:31:21 <gmaxwell> sipa: ==30940== ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- n
480 2012-05-05 18:31:21 <gmaxwell> ==30940== Thread 11:
481 2012-05-05 18:31:22 <gmaxwell> ==30940== Invalid read of size 4
482 2012-05-05 18:31:22 <gmaxwell> ==30940== at 0x41F221: std::map<int, CAddrInfo, std::less<int>, std::allocator<std::pair<int const, CAddrInfo> > >::operator[](int const&) (stl_tree.h:1089)
483 2012-05-05 18:33:41 <gmaxwell> So indeed...
484 2012-05-05 18:40:45 brwyatt is now known as Away!~brwyatt@pool-96-226-236-130.dllstx.fios.verizon.net|brwyatt
485 2012-05-05 18:46:29 tower has joined
486 2012-05-05 18:53:04 <sipa> i know exactly which code path produces the error, but i fail to understand why the code can cause the problem
487 2012-05-05 18:53:08 * sipa adds debug output
488 2012-05-05 18:54:20 <gmaxwell> I don't see the problem. :-/
489 2012-05-05 18:54:30 <gmaxwell> I assume you can reproduce it now?
490 2012-05-05 18:54:51 <sipa> yes
491 2012-05-05 18:55:50 <sipa> gmaxwell: the valgrind complaint can happen significantly later than the actual corruption
492 2012-05-05 18:57:08 brwyatt is now known as brwyatt|Away
493 2012-05-05 18:57:13 brwyatt is now known as Away!~brwyatt@pool-96-226-236-130.dllstx.fios.verizon.net|brwyatt
494 2012-05-05 18:58:11 <gmaxwell> sipa: not unusual.
495 2012-05-05 18:58:20 jgarzik has quit (Ping timeout: 244 seconds)
496 2012-05-05 18:59:20 * gmaxwell tries with exp-ptrcheck
497 2012-05-05 18:59:26 <sipa> gmaxwell: got it
498 2012-05-05 18:59:31 <sipa> shameful :s
499 2012-05-05 19:00:09 TD has joined
500 2012-05-05 19:00:17 <sipa> SelectTried returns the identifier inside vvTried[nKBucket] that should be removed
501 2012-05-05 19:00:41 <sipa> but its return value is used as the index in that vector, instead of the value therein
502 2012-05-05 19:01:53 <gmaxwell> crap that a stronger type system would save us from.
503 2012-05-05 19:02:08 <graingert> gmaxwell: remove the call to /dev/random
504 2012-05-05 19:02:16 <graingert> just use the PID as random source
505 2012-05-05 19:02:43 <gmaxwell> graingert: er, what are you responding to?
506 2012-05-05 19:02:57 <graingert> the valgrind complaint
507 2012-05-05 19:03:14 <graingert> whenever you have a piece of security software that fails valgrind
508 2012-05-05 19:03:21 <gmaxwell> No relation.
509 2012-05-05 19:03:22 <graingert> you remove any calls to /dev/random
510 2012-05-05 19:03:36 <gmaxwell> Calls to dev/random do not make valgrind fail.
511 2012-05-05 19:03:55 <graingert> well that's what they fixed in debian
512 2012-05-05 19:03:57 <graingert> SSL
513 2012-05-05 19:04:07 <sipa> "fixed"
514 2012-05-05 19:04:20 <gmaxwell> graingert: You substantially misunderstand that.
515 2012-05-05 19:04:28 <graingert> I see
516 2012-05-05 19:04:47 <graingert> that sucks because I did a course on it :(
517 2012-05-05 19:04:52 <sipa> seems the bug is fixed
518 2012-05-05 19:05:00 <graingert> courses never quite get it right
519 2012-05-05 19:05:48 <gmaxwell> graingert: Openssl was written by idiots who think it's grand idea to mix uninitilized memory (which is almost always zeros) into the random pool. This is formally undefined behavior and the compiler is allowed to insert system("rm -rf /") in place of it. (though fortunately in this case it does nothing weird)
520 2012-05-05 19:06:09 <gmaxwell> graingert: that, however, makes valgrind complain that all the produced random values are tainted. (because they are)
521 2012-05-05 19:06:33 <graingert> ah
522 2012-05-05 19:06:40 <graingert> that was never mentioned
523 2012-05-05 19:06:43 <graingert> only how to sploit it
524 2012-05-05 19:06:52 <graingert> and how to search for those keys
525 2012-05-05 19:06:56 guruvan has quit (Quit: I probably voided the warranty on this thing.....)
526 2012-05-05 19:07:13 <gmaxwell> graingert: when some genius debian package maintainer noticed this he offered up a patch to fix it. But his fix was too agressive and removed the real randomness too. Oddly openssl already had a define for turning off the use of uninitilized memory.
527 2012-05-05 19:07:38 <gmaxwell> graingert: after the openssl people did not protest his patch, he applied it in debian. The rest is history.
528 2012-05-05 19:08:11 guruvan has joined
529 2012-05-05 19:08:23 <gmaxwell> My openssl libraries have the define setâ its basically impossible to use valgrind on bitcoin otherwise.
530 2012-05-05 19:08:44 <sipa> gmaxwell: strange, i don't get any openssl complaints from valgrind here
531 2012-05-05 19:08:54 <sipa> maybe ubuntu sets that define by default?
532 2012-05-05 19:09:13 <gmaxwell> sipa: they may, though the complaints you get are never on openssl ... they're on random places where openssl randomness is used in the code.
533 2012-05-05 19:09:56 <sipa> gmaxwell: the only valgrind complaint i ever see is BDB
534 2012-05-05 19:09:57 <gmaxwell> graingert: What sipa was pointing out was that valgrind often reports much later than when the evil happened, this is by design: in order to suppress false alarms e.g. when uninitilized struct padding is copied, it only alarms when the tainted data would be output or would change the program flow.
535 2012-05-05 19:10:02 Nicksasa has joined
536 2012-05-05 19:10:16 <gmaxwell> sipa: yea, then ubuntu must be compiling with -DPURIFY. Good for them.
537 2012-05-05 19:10:28 <graingert> cool
538 2012-05-05 19:10:57 <sipa> anyway; addrman problem fixed; it would only occur to people where a new address is moved to the tried set, to a bucket that was already full
539 2012-05-05 19:11:16 <gmaxwell> So. e.g. foo=unintilized; bar=foo+1; if(bar>5){print..} ... would valgrind on the if but not before.
540 2012-05-05 19:11:47 <sipa> requires having connected to a few thousand nodes before the chance for that is reasonable
541 2012-05-05 19:12:25 <gmaxwell> sipa: I'm thinking we should just cut a 0.6.2rc1 on monday, with that and the stuck chain fix, and whatever little bits we pick up before then.
542 2012-05-05 19:13:35 DiabloD3 has quit (Ping timeout: 240 seconds)
543 2012-05-05 19:14:08 <sipa> sounds good
544 2012-05-05 19:17:21 MasterChief has quit (Read error: Connection reset by peer)
545 2012-05-05 19:17:41 Nick__ has joined
546 2012-05-05 19:18:26 MasterChief has joined
547 2012-05-05 19:19:13 tower has quit (Quit: | ReactOS - The FOSS alternative to MS Windows! | http://www.reactos.org/ | join #ReactOS |)
548 2012-05-05 19:21:35 Nicksasa has quit (Ping timeout: 244 seconds)
549 2012-05-05 19:23:39 Lolcust has joined
550 2012-05-05 19:30:01 <luke-jr> devrandom: ping
551 2012-05-05 19:30:02 <luke-jr> ./bin/gbuild:25:in `sanitize_path': unsanitary string in https://git.gitorious.org/+bitcoin-stable-developers/bitcoin/bitcoind-stable.git (RuntimeError)
552 2012-05-05 19:30:37 TD has quit (Quit: TD)
553 2012-05-05 19:30:51 tower has joined
554 2012-05-05 19:30:59 <sipa> i suppose it cannot deal with + characters in URLs?
555 2012-05-05 19:31:15 <gmaxwell> I hate c++
556 2012-05-05 19:31:35 <gmaxwell> I pulled 1160 locally for testing.. compiled it.. and it fking OOMed me.
557 2012-05-05 19:31:41 <sipa> gmaxwell: come on... what better way to shoot yourself in the foot do you know?
558 2012-05-05 19:32:54 <gmaxwell> otoh, oomkiller picked the right victim for once
559 2012-05-05 19:32:54 <gmaxwell> [126541.365885] Out of memory: Kill process 28313 (cc1plus) score 154 or sacrifice child
560 2012-05-05 19:32:57 <gmaxwell> [126541.365890] Killed process 28313 (cc1plus) total-vm:608436kB, anon-rss:470904kB, file-rss:276kB
561 2012-05-05 19:33:17 <gmaxwell> oh well, at least I noticed that swap got disabled on my laptop.
562 2012-05-05 19:33:46 Nick__ is now known as Nicksasa
563 2012-05-05 19:33:47 Nicksasa has quit (Changing host)
564 2012-05-05 19:33:47 Nicksasa has joined
565 2012-05-05 19:35:49 erska has quit (Ping timeout: 260 seconds)
566 2012-05-05 19:35:49 DrHaribo has quit (Ping timeout: 260 seconds)
567 2012-05-05 19:35:54 DrHaribo has joined
568 2012-05-05 19:35:59 erska has joined
569 2012-05-05 19:36:08 knotwork__ is now known as knotwork
570 2012-05-05 19:38:42 RazielZ has quit (Ping timeout: 252 seconds)
571 2012-05-05 19:43:46 <gribble> New news from bitcoinrss: sipa opened pull request 1207 on bitcoin/bitcoin <https://github.com/bitcoin/bitcoin/pull/1207>
572 2012-05-05 19:44:04 <luke-jr> wtf, I go to make a video of my problem, and it works -.-
573 2012-05-05 19:44:26 <sipa> luke-jr: ^ please test :)
574 2012-05-05 19:45:04 <luke-jr> sipa: I can't reproduce it easily anymore :<
575 2012-05-05 19:45:42 <gmaxwell> Can someone give me a mature addrman addr.dat? (from a cleanly shutdown node please)
576 2012-05-05 19:45:46 <gmaxwell> that should speed up reproducing.
577 2012-05-05 19:46:05 <gmaxwell> oh I may have one...
578 2012-05-05 19:46:30 <gmaxwell> K. I do.
579 2012-05-05 19:47:03 <sipa> - if (vTried.size() < ADDRMAN_TRIED_BUCKET_SIZE)
580 2012-05-05 19:47:03 <sipa> + if (vTried.size() == 0)
581 2012-05-05 19:47:18 <sipa> luke-jr, gmaxwell: ^ that will speed up reproducing a lot
582 2012-05-05 19:48:08 <gmaxwell> how about < 2 so all the code still gets tested?
583 2012-05-05 19:49:12 <sipa> all code still gets tested, the most common case is 0 if you start from an empty addr.dat
584 2012-05-05 19:49:34 <sipa> (i'm convinced the problem caused by the line change in the old code, is fixed now; but the question remains whether the bug caused by it is the same as the one seen before)
585 2012-05-05 19:49:54 <sipa> everything points to it, including the unparsable addr.dat file afterwards
586 2012-05-05 19:51:06 <gmaxwell> Okay, running with that change.. also started from a three week old addr.dat (well, better than nothing)
587 2012-05-05 19:52:22 <sipa> gmaxwell: #1160 OOMed on you, and you merged it?
588 2012-05-05 19:52:49 <sipa> ok, shouldn't be caused by that patch
589 2012-05-05 19:53:37 <gmaxwell> sipa: the _compiler_ oomed me, because I make cleaned.. before testing the patch. It was unrelated to the patch. I was just whining at make -j2 needing 1200 MB ram to compile bitcoin.
590 2012-05-05 19:53:53 JZavala has joined
591 2012-05-05 19:54:39 paul0 has quit (Ping timeout: 244 seconds)
592 2012-05-05 19:55:43 <sipa> gmaxwell: not sure you read my comment some time ago, but using -flto on the linux 64-bit bitcoin-qt build shrunk the stripped binary size from 4185480 to 2926280
593 2012-05-05 19:55:46 <luke-jr> gmaxwell: http://blockchain.info/block/0000000000000775f57768217191247b1f78ed9d8fea58038d13c0ec8ace7f97
594 2012-05-05 19:56:16 <gmaxwell> sipa: yea, I did. And probably also makes the code faster at runtime.
595 2012-05-05 19:56:35 <gmaxwell> luke-jr: what am I supposted to notice here?
596 2012-05-05 19:56:46 <luke-jr> gmaxwell: Number of transactions ;)
597 2012-05-05 19:57:02 <gmaxwell> Ah.
598 2012-05-05 19:57:08 <gmaxwell> Okay. Indeed.
599 2012-05-05 19:57:18 <sipa> ;;bc,blocks
600 2012-05-05 19:57:18 <gribble> 178786
601 2012-05-05 19:57:43 <luke-jr> why does 71 MB take so long to upload?
602 2012-05-05 19:58:33 <sipa> gmaxwell: i actually have some code here that performs significantly slower under -flto (like 10%)
603 2012-05-05 19:58:37 RazielZ has joined
604 2012-05-05 19:58:54 <sipa> (not bitcoin related)
605 2012-05-05 19:59:12 <gmaxwell> Intresting, it's usually a pretty good speedup (for a couple of reasons, but mostly because it helps inlining)
606 2012-05-05 20:00:42 <gmaxwell> I have some production codec code that gains something like 15% with LTO alone. (O3,lto,-fno-math-errno is something like 25% over -O2 on that codebase)
607 2012-05-05 20:00:47 paul0 has joined
608 2012-05-05 20:01:25 <sipa> probably an extreme example; it's a few .cpp files with utility routines, but the actual heave part is in one .o file, and created from very templated code
609 2012-05-05 20:02:12 <gmaxwell> The firefox folks suggest a param tweak that makes the inliner a bit less agressive and seems to fix some cases where excessive inlining slows it down.
610 2012-05-05 20:02:52 <luke-jr> is LTO ever dangerous?
611 2012-05-05 20:03:09 <sipa> you mean whether it is sufficiently tested?
612 2012-05-05 20:03:12 <gmaxwell> If there is compiler bugs... of course.
613 2012-05-05 20:03:17 <luke-jr> I mean, will it break code :p
614 2012-05-05 20:03:26 <luke-jr> if I enable it for everythign on my system
615 2012-05-05 20:03:50 <sipa> ah gentoo people ;)
616 2012-05-05 20:03:53 <luke-jr> actually, I think I use -O0 these days
617 2012-05-05 20:03:58 <sipa> :o
618 2012-05-05 20:04:04 <gmaxwell> No, absent a buggy compiler it shouldn't break anything. It's not that widely used yet, so it's had less testing. Also its less useful in older gcc.
619 2012-05-05 20:04:06 <luke-jr> CFLAGS="-O2 -march=core2 -pipe -ggdb -O0"
620 2012-05-05 20:04:12 <gmaxwell> 0_o
621 2012-05-05 20:04:16 <luke-jr> <.<
622 2012-05-05 20:04:24 <luke-jr> I like debugging?
623 2012-05-05 20:04:35 <gmaxwell> yea, but you don't like useful warnings?
624 2012-05-05 20:04:35 <luke-jr> CPUs are plenty fast enough anyway
625 2012-05-05 20:04:52 <luke-jr> gmaxwell: well, this is for my system stuff :p
626 2012-05-05 20:05:04 <luke-jr> when I break out the compiler, I'll usually use -Wall
627 2012-05-05 20:05:24 twmz__ has joined
628 2012-05-05 20:05:26 <gmaxwell> no no, turning down optimization actually removes some warnings.
629 2012-05-05 20:05:37 <sipa> i thought all gentoo people compiled using "-O17 -fskip-checks -femit-broken-code"
630 2012-05-05 20:05:54 <gmaxwell> But egads, it's not hard to find code thats 5x slower with -O0 vs O2.
631 2012-05-05 20:06:12 <sipa> (ok kidding, i used to run gentoo too, and used -O2 afaik)
632 2012-05-05 20:06:13 twmz_ has quit (Read error: Connection reset by peer)
633 2012-05-05 20:06:32 <gmaxwell> --param spoilersize=extra_large -funroll_universe
634 2012-05-05 20:07:08 <luke-jr> gmaxwell: I find -O2 produces useless backtraces sometimes
635 2012-05-05 20:07:16 twmz has quit (Read error: Connection reset by peer)
636 2012-05-05 20:08:31 <sipa> at least use -O1 the, to get the obviously naive things out of the way
637 2012-05-05 20:09:56 t7 has quit (Ping timeout: 276 seconds)
638 2012-05-05 20:10:11 twmz_ has joined
639 2012-05-05 20:11:35 <luke-jr> -O1 doesn't make backtraces useless? :p
640 2012-05-05 20:12:33 <gmaxwell> O2 usually shouldn't either
641 2012-05-05 20:13:09 <gmaxwell> luke-jr: where is db++ in gentoo?
642 2012-05-05 20:13:49 <luke-jr> sys-libs/db USE=cxx
643 2012-05-05 20:14:04 <luke-jr> gmaxwell: of course, you can just emerge net-p2p/bitcoind to get all the depsâ¦
644 2012-05-05 20:16:54 <luke-jr> http://www.youtube.com/watch?v=fuEylMLpfOw
645 2012-05-05 20:20:20 Slix` has joined
646 2012-05-05 20:21:43 <luke-jr> hmm, only lasts 13 minutes from the top
647 2012-05-05 20:21:53 * luke-jr ponders how to make it last 800 times longer <.<
648 2012-05-05 20:22:58 <gmaxwell> make it out of metal (to lower friction) and increase the weight.
649 2012-05-05 20:23:45 <luke-jr> gmaxwell: well, the problem right now is the weight hitting the floor too soon :p
650 2012-05-05 20:33:56 gavinandresen has joined
651 2012-05-05 20:40:29 <BlueMatt> whats up with 0.6.1, bins are up, but no release yet?
652 2012-05-05 20:40:40 <luke-jr> BlueMatt: no? what's missing for the release?
653 2012-05-05 20:40:56 <BlueMatt> putting it on bitcoin.org?
654 2012-05-05 20:41:08 <luke-jr> it's on there
655 2012-05-05 20:41:33 <BlueMatt> oh...hmm...chrome didnt wanna load the page...yea oops
656 2012-05-05 20:49:43 <sipa> who can put it on the forum?
657 2012-05-05 20:50:12 <BlueMatt> I think gavin always does...may seem weird if its not signed from gavin...
658 2012-05-05 20:50:35 <luke-jr> I concur.
659 2012-05-05 20:50:51 <luke-jr> I could throw it in the thread I made for 0.4.6 and 0.5.5, but people who look for Gavin might miss it
660 2012-05-05 20:53:23 <gmaxwell> No harm in soft pedaling the promotion if we're going to cut a 0.6.2 in a few days (for the sync and addrman fixes)
661 2012-05-05 20:54:10 <BlueMatt> oh, yay, no 0.7 merge window yet (again)...
662 2012-05-05 20:54:54 <luke-jr> master already has commits that would interfere with a 0.6.2 fwiw
663 2012-05-05 20:55:04 <luke-jr> other than coming out of a stable 0.6.x branch
664 2012-05-05 20:55:16 <luke-jr> I guess that's my job <.<
665 2012-05-05 20:55:26 <gmaxwell> luke-jr: such as?
666 2012-05-05 20:55:54 <luke-jr> gmaxwell: Diapolo/fix#945 at least requires adjusting every translation
667 2012-05-05 20:56:14 <luke-jr> and new strings from some new features
668 2012-05-05 20:56:47 <luke-jr> Diapolo/signmessage_clear Diapolo/qrcodedialog Diapolo/messagepage
669 2012-05-05 20:57:07 <luke-jr> I guess it doesn't interfere directly, but it would delay a release until they're translated
670 2012-05-05 20:57:31 <luke-jr> I guess as long as the sync/addrman fixes didn't expose any security issue, that's ok
671 2012-05-05 20:57:56 m00p has quit (Ping timeout: 272 seconds)
672 2012-05-05 20:58:06 <gmaxwell> Well, I don't really want to have a long delay here as I want to start pulling for 0.7.0 about a week ago.
673 2012-05-05 20:58:25 dvide_ has joined
674 2012-05-05 20:59:06 ahbritto has joined
675 2012-05-05 20:59:07 <luke-jr> yeah
676 2012-05-05 20:59:14 dvide has quit (Ping timeout: 260 seconds)
677 2012-05-05 20:59:51 <Blitzboom> what features are coming up for 0.7?
678 2012-05-05 20:59:57 <luke-jr> I'll just plan to backport and roll 0.6.2 from a 0.6.x branch then
679 2012-05-05 21:00:01 <luke-jr> Blitzboom: see next-test
680 2012-05-05 21:00:20 <Blitzboom> luke-jr: link
681 2012-05-05 21:00:26 <luke-jr> https://bitcointalk.org/index.php?topic=78846.0
682 2012-05-05 21:00:34 <Blitzboom> thx
683 2012-05-05 21:01:00 <gmaxwell> Note that luke sometimes includes things in next-test that other folks are protesting. :)
684 2012-05-05 21:01:11 <Blitzboom> Support for Tonal Bitcoin units (áµTBC, Ë¢TBC, and TBC)
685 2012-05-05 21:01:12 <Blitzboom> lol
686 2012-05-05 21:01:57 <luke-jr> gmaxwell: those are red in the list ;)
687 2012-05-05 21:02:35 olp has quit (Ping timeout: 276 seconds)
688 2012-05-05 21:03:39 dddddddddd0 has quit (Ping timeout: 245 seconds)
689 2012-05-05 21:03:41 danbri has quit (Read error: Connection reset by peer)
690 2012-05-05 21:03:52 KoKo360 has joined
691 2012-05-05 21:03:53 Nicksasa has quit (Ping timeout: 276 seconds)
692 2012-05-05 21:05:21 <gmaxwell> The totally naked ones are red, no? stuff like the logrotate on -HUP are being debated.
693 2012-05-05 21:06:01 <luke-jr> gmaxwell: I consider the "debate" on HUP dead; both "sides" agree something should be merged, just disagree on details
694 2012-05-05 21:10:18 <gmaxwell> sure sure, but whatever is in next-text may not be what makes it in.
695 2012-05-05 21:10:41 <gmaxwell> I'm not arguing with you, just making the point that next-text may not accurately reflect 0.7.0
696 2012-05-05 21:10:45 <gmaxwell> er test
697 2012-05-05 21:11:19 <luke-jr> well, it's next-test and not master for a reason :P
698 2012-05-05 21:11:40 <luke-jr> I think sipa's redone the torhs branch a few times already
699 2012-05-05 21:12:27 m00p has joined
700 2012-05-05 21:12:45 tower has quit (Remote host closed the connection)
701 2012-05-05 21:14:46 danbri has joined
702 2012-05-05 21:27:08 t7 has joined
703 2012-05-05 21:28:55 eoss has quit (Read error: Connection reset by peer)
704 2012-05-05 21:31:59 olp has joined
705 2012-05-05 21:33:18 b4epoche_ has quit (Ping timeout: 255 seconds)
706 2012-05-05 21:36:50 b4epoche_ has joined
707 2012-05-05 21:36:55 winterblack has joined
708 2012-05-05 21:40:58 <sipa> luke-jr: many times
709 2012-05-05 21:44:32 tower has joined
710 2012-05-05 21:55:28 imsaguy2 has quit (Ping timeout: 252 seconds)
711 2012-05-05 21:55:50 z310 has quit (Ping timeout: 252 seconds)
712 2012-05-05 22:03:09 p0s has quit (Remote host closed the connection)
713 2012-05-05 22:11:06 DamascusVG has quit (Ping timeout: 246 seconds)
714 2012-05-05 22:11:58 <gavinandresen> i'm mostly not here.... but 0.6.1 was waiting for somebody else to gitian build and verify signatures
715 2012-05-05 22:12:54 <graingert> gavinandresen: heya gavin
716 2012-05-05 22:13:23 <gmaxwell> gavinandresen: yea, we got that.
717 2012-05-05 22:13:44 DamascusVG has joined
718 2012-05-05 22:17:55 _W_ has quit (Excess Flood)
719 2012-05-05 22:18:07 <sipa> there's no announcement on the forum yet, it seems
720 2012-05-05 22:18:14 _W_ has joined
721 2012-05-05 22:20:36 datagutt has quit (Quit: Computer has gone to sleep.)
722 2012-05-05 22:28:07 <luke-jr> gavinandresen: you didn't push your own sigs for 0.6.1-win32
723 2012-05-05 22:29:23 <luke-jr> gavinandresen: master -> 0.6.2 or 0.7 needs a decision btw; there's already stuff merged in there that will cause delay for new translations, but otherwise it's "mostly ok" for 0.6.2
724 2012-05-05 22:29:36 Clipse has quit (Quit: Clipse)
725 2012-05-05 22:29:41 DamascusVG has quit (Ping timeout: 276 seconds)
726 2012-05-05 22:29:42 <luke-jr> gavinandresen: 0.6.2 being with fixes for addrman crash and some other thing I'm not up to date on
727 2012-05-05 22:30:05 <luke-jr> gavinandresen: (if master shoots for 0.7, I can still do a 0.6.2 with those from a stable branch)
728 2012-05-05 22:30:11 <sipa> luke-jr: #1207 and #1196
729 2012-05-05 22:30:41 <luke-jr> sipa: ty
730 2012-05-05 22:39:07 ivan` has quit (Ping timeout: 246 seconds)
731 2012-05-05 22:40:27 <etotheipi_> could someone please send me some testnet coins? I somehow ran out :(
732 2012-05-05 22:40:30 <etotheipi_> my5GEHDX9t9424Z2UR7hmcqLkYiy6bzNsC
733 2012-05-05 22:40:45 <luke-jr> how do you run out?
734 2012-05-05 22:41:00 ivan` has joined
735 2012-05-05 22:41:14 <etotheipi_> well, by deleting/corrupting all the wallets that had any left
736 2012-05-05 22:42:39 z310 has joined
737 2012-05-05 22:43:50 sirk390 has quit (Quit: Leaving.)
738 2012-05-05 22:44:22 Dyaheon has quit (Ping timeout: 246 seconds)
739 2012-05-05 22:44:29 Dyaheon has joined
740 2012-05-05 22:45:11 danbri has quit (Remote host closed the connection)
741 2012-05-05 22:46:30 DamascusVG has joined
742 2012-05-05 22:48:07 Raziel_ has joined
743 2012-05-05 22:48:55 banshee12 has quit (Ping timeout: 260 seconds)
744 2012-05-05 22:51:00 chrisb__ has quit (Quit: Leaving)
745 2012-05-05 22:52:11 RazielZ has quit (Ping timeout: 265 seconds)
746 2012-05-05 22:55:33 Raziel_ has quit (Quit: Leaving)
747 2012-05-05 22:56:57 Turingi has quit (Read error: Connection reset by peer)
748 2012-05-05 22:59:00 <nanotube> etotheipi_: still need tnbtc?
749 2012-05-05 22:59:00 <etotheipi_> nanotube: I do!
750 2012-05-05 22:59:10 <nanotube> ok, i'll send you some, just gimme some time to bring up the client and sync up.
751 2012-05-05 23:01:26 <nanotube> bunch of empty blocks... zipping by fast. :)
752 2012-05-05 23:05:55 BTC_Bear is now known as hbrntng!~BTC_Bear@unaffiliated/btc-bear/x-5233302|BTC_Bear
753 2012-05-05 23:10:18 splatster has joined
754 2012-05-05 23:10:18 wasabi has joined
755 2012-05-05 23:13:11 paulo_ has quit (Ping timeout: 260 seconds)
756 2012-05-05 23:17:01 drizztbsd has joined
757 2012-05-05 23:32:35 JZavala has quit (Read error: Connection reset by peer)
758 2012-05-05 23:32:35 rdponticelli has joined
759 2012-05-05 23:32:35 JZavala has joined
760 2012-05-05 23:32:35 paul0 has quit (Quit: paul0)
761 2012-05-05 23:55:48 twmz__ is now known as twmz
762 2012-05-05 23:58:29 jgarzik has joined
763 2012-05-05 23:58:29 jgarzik has quit (Changing host)
764 2012-05-05 23:58:29 jgarzik has joined