--- Day changed Thu Nov 26 2015 00:00 -!- btcdrak_ is now known as btcdrak 00:08 -!- wump is now known as wumpus 00:23 -!- fkhan [weechat@unaffiliated/loteriety] has quit [Changing host] 00:23 -!- fkhan [weechat@gateway/vpn/mullvad/x-ifcceekdywreglre] has joined #secp256k1 00:24 -!- btcdrak [uid115429@gateway/web/irccloud.com/session] has quit [Changing host] 00:24 -!- btcdrak [uid115429@gateway/web/irccloud.com/x-qnkwjnusljnsyzpe] has joined #secp256k1 01:25 < gmaxwell> maybe interesting: my novena doing a arm asm test look segfaulted. I wonder if its reproducable. 01:27 < midnightmagic> :-/ that's disappointing. 01:27 < gmaxwell> well it had crashed before when I was testing with all the cores; actually managed to hit the cpu thermal shutdown on a hot day. 01:31 -!- Madars [~null@unaffiliated/madars] has joined #secp256k1 01:33 -!- waxwing [~waxwing@62.205.214.125] has quit [Ping timeout: 264 seconds] 01:41 -!- sipa_ is now known as sipa 01:45 -!- waxwing [~waxwing@62.205.214.125] has joined #secp256k1 02:12 < gmaxwell> uh oh! reproducable! 02:12 < gmaxwell> gmaxwell@novena-confide-uniform:~/secp256k1$ ./tests 1024 d61057e8f82a3d17eac35ce5161a88d4 02:12 < gmaxwell> test count = 1024 02:12 < gmaxwell> random seed = d61057e8f82a3d17eac35ce5161a88d4 02:12 < gmaxwell> Segmentation fault 02:12 < gmaxwell> 49454e69c15a1f1e578ff1fc583194b9c8b1e465 + ARM, = 40d0a9ae1df5afdb0ea8776f8c5de5dd65cd1f26 02:13 < sipa> where does it crash? 02:13 < gmaxwell> w/ gmp and endo. 02:13 < gmaxwell> dunno, running in gdb now. takes many minutes to crash. 02:14 < gmaxwell> (maybe 20? dunno exactly) 03:46 -!- andytoshi [~andytoshi@wpsoftware.net] has quit [Ping timeout: 272 seconds] 03:54 -!- jtimon [~quassel@74.29.134.37.dynamic.jazztel.es] has joined #secp256k1 04:15 < gmaxwell> 0_o 04:15 < gmaxwell> 0x000309f4 in damage_array (len=, sig=0xbeffe810 "\002") at src/tests.c:3629 04:16 < gmaxwell> 3629 sig[secp256k1_rand_int(*len)] ^= 1 << secp256k1_rand_bits(3); 04:16 < gmaxwell> (gdb) p len 04:16 * gmaxwell looks for the integer underflow. 04:16 < gmaxwell> $1 = (size_t *) 04:16 < gmaxwell> (gdb) p *len 04:16 < gmaxwell> $2 = 4294967295 04:18 < gmaxwell> the damage array loop can reduce the size and it's not rechecked. Now, the question is ... why haven't we seen this before?! 04:20 < sipa> ewww 04:22 < gmaxwell> probably should just deny the length reducing action if the size would go below 4 bytes 04:23 < sipa> well very small arrays are certainly interesting things to test... 04:23 < gmaxwell> Yes, exhaustively. :P 04:23 < sipa> point taken. 04:25 < gmaxwell> I'm still confused that we hadn't seen this before 04:25 * gmaxwell sleeos 04:48 -!- andytoshi [~andytoshi@wpsoftware.net] has joined #secp256k1 08:35 -!- evoskuil [~evoskuil@c-73-225-134-208.hsd1.wa.comcast.net] has quit [Read error: Connection reset by peer] 08:35 -!- waxwing [~waxwing@62.205.214.125] has quit [Ping timeout: 240 seconds] 08:35 -!- evoskuil [~evoskuil@c-73-225-134-208.hsd1.wa.comcast.net] has joined #secp256k1 08:35 -!- andytoshi [~andytoshi@wpsoftware.net] has quit [Ping timeout: 240 seconds] 08:36 -!- andytoshi [~andytoshi@wpsoftware.net] has joined #secp256k1 08:36 -!- waxwing [~waxwing@62.205.214.125] has joined #secp256k1 11:10 -!- Netsplit *.net <-> *.split quits: Madars, waxwing, midnightmagic, cfields_, evoskuil, Luke-Jr, Apocalyptic, [b__b], jtimon, lecusemble, (+10 more, use /NETSPLIT to show all of them) 11:11 -!- btcdrak [uid115429@gateway/web/irccloud.com/x-rqjvrrwnviripsnr] has joined #secp256k1 11:11 -!- Netsplit over, joins: andytoshi, waxwing, nickler, [b__b] 11:11 -!- lecusemb1e [~lecusembl@f9beb4d9.violates.me] has joined #secp256k1 11:11 -!- Netsplit over, joins: jtimon, Madars, evoskuil, jonasschnelli, fkhan, Apocalyptic, Luke-Jr, CodeShark, cfields_, TD-Linux 11:15 -!- Netsplit over, joins: wumpus, midnightmagic, zmanian_, sipa 11:26 -!- evoskuil [~evoskuil@c-73-225-134-208.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 11:27 -!- evoskuil [~evoskuil@c-73-225-134-208.hsd1.wa.comcast.net] has joined #secp256k1 11:27 -!- Netsplit *.net <-> *.split quits: lecusemb1e 11:27 -!- Netsplit over, joins: lecusemble 11:33 -!- [1]evoskuil [~evoskuil@c-73-225-134-208.hsd1.wa.comcast.net] has joined #secp256k1 11:35 -!- evoskuil [~evoskuil@c-73-225-134-208.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 11:35 -!- [1]evoskuil is now known as evoskuil 11:36 -!- lecusemble [~lecusembl@f9beb4d9.violates.me] has quit [Ping timeout: 260 seconds] 11:39 -!- Netsplit *.net <-> *.split quits: [b__b] 11:39 -!- Netsplit *.net <-> *.split quits: cfields_, TD-Linux 11:39 -!- cfields [~quassel@unaffiliated/cfields] has joined #secp256k1 11:47 -!- Netsplit over, joins: TD-Linux 11:49 -!- lecusemble [~lecusembl@f9beb4d9.violates.me] has joined #secp256k1 11:52 -!- cfields [~quassel@unaffiliated/cfields] has quit [Ping timeout: 240 seconds] 11:52 -!- evoskuil [~evoskuil@c-73-225-134-208.hsd1.wa.comcast.net] has quit [Ping timeout: 240 seconds] 11:52 -!- evoskuil [~evoskuil@c-73-225-134-208.hsd1.wa.comcast.net] has joined #secp256k1 11:55 -!- cfields [~quassel@unaffiliated/cfields] has joined #secp256k1 12:12 -!- jonasschnelli [~jonasschn@unaffiliated/jonasschnelli] has quit [Excess Flood] 12:13 -!- jonasschnelli [~jonasschn@unaffiliated/jonasschnelli] has joined #secp256k1 12:57 -!- waxwing [~waxwing@62.205.214.125] has quit [Ping timeout: 246 seconds] 12:58 -!- waxwing [~waxwing@62.205.214.125] has joined #secp256k1 13:27 < andytoshi> sipa: haven't forgeotten about 302 or 322.. 14:19 -!- GAit [~GAit@2-230-161-158.ip202.fastwebnet.it] has joined #secp256k1 14:45 -!- GAit [~GAit@2-230-161-158.ip202.fastwebnet.it] has quit [Quit: Leaving.] 14:45 -!- GAit [~GAit@2-230-161-158.ip202.fastwebnet.it] has joined #secp256k1 15:16 -!- GAit [~GAit@2-230-161-158.ip202.fastwebnet.it] has quit [Read error: Connection reset by peer] 15:16 -!- GAit [~GAit@2-230-161-158.ip202.fastwebnet.it] has joined #secp256k1 15:19 -!- GAit1 [~GAit@2-230-161-158.ip202.fastwebnet.it] has joined #secp256k1 15:19 -!- GAit [~GAit@2-230-161-158.ip202.fastwebnet.it] has quit [Read error: Connection reset by peer] 15:26 -!- GAit1 [~GAit@2-230-161-158.ip202.fastwebnet.it] has quit [Quit: Leaving.] 15:26 -!- GAit [~GAit@2-230-161-158.ip202.fastwebnet.it] has joined #secp256k1 15:38 -!- GAit [~GAit@2-230-161-158.ip202.fastwebnet.it] has quit [Quit: Leaving.] 15:50 -!- sipa [~pw@2a02:348:86:3011::1] has quit [Changing host] 15:50 -!- sipa [~pw@unaffiliated/sipa1024] has joined #secp256k1 15:51 -!- cfields_ [~quassel@unaffiliated/cfields] has joined #secp256k1 15:54 -!- Netsplit *.net <-> *.split quits: evoskuil, cfields 15:56 -!- btcdrak [uid115429@gateway/web/irccloud.com/x-rqjvrrwnviripsnr] has quit [Quit: Connection closed for inactivity] 15:59 -!- maaku [~quassel@botbot.xen.prgmr.com] has joined #secp256k1 16:04 -!- evoskuil [~evoskuil@c-73-225-134-208.hsd1.wa.comcast.net] has joined #secp256k1 21:06 -!- btcdrak [uid115429@gateway/web/irccloud.com/x-kcdeayhggdiycgds] has joined #secp256k1 22:24 -!- waxwing [~waxwing@62.205.214.125] has quit [Ping timeout: 264 seconds] 22:35 -!- waxwing [~waxwing@62.205.214.125] has joined #secp256k1