From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rafael D Sorkin Newsgroups: gmane.emacs.bugs Subject: bug#8940: Evidence of bug in `random' Date: Sun, 26 Jun 2011 23:40:18 -0400 Message-ID: Reply-To: Rafael D Sorkin NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1309157958 24441 80.91.229.12 (27 Jun 2011 06:59:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Jun 2011 06:59:18 +0000 (UTC) To: 8940@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 27 08:59:14 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Qb5mr-00040b-Fc for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jun 2011 08:59:13 +0200 Original-Received: from localhost ([::1]:44818 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb5mo-0006sO-81 for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Jun 2011 02:59:10 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:60441) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb479-00037V-UT for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2011 01:12:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qb478-00050C-J4 for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2011 01:12:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb478-000506-E3 for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2011 01:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Qb477-0008Ck-No; Mon, 27 Jun 2011 01:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rafael D Sorkin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Jun 2011 05:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 8940 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.130915150931518 (code B ref -1); Mon, 27 Jun 2011 05:12:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 27 Jun 2011 05:11:49 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qb46u-0008CI-3b for submit@debbugs.gnu.org; Mon, 27 Jun 2011 01:11:49 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qb31r-0003aO-To for submit@debbugs.gnu.org; Mon, 27 Jun 2011 00:02:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qb31l-0000wI-B4 for submit@debbugs.gnu.org; Mon, 27 Jun 2011 00:02:26 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:56243) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb31l-0000wE-26 for submit@debbugs.gnu.org; Mon, 27 Jun 2011 00:02:25 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:44241) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb31j-0003l6-J8 for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2011 00:02:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qb31i-0000w0-9f for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2011 00:02:23 -0400 Original-Received: from perimeterinstitute.ca ([38.117.109.70]:15585) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qb31h-0000vl-U5 for bug-gnu-emacs@gnu.org; Mon, 27 Jun 2011 00:02:21 -0400 Original-Received: from mail.pi.local ([10.10.7.104]) by perimeterinstitute.ca with Microsoft SMTPSVC(6.0.3790.4675); Sun, 26 Jun 2011 23:40:19 -0400 Original-Received: from mars.pi.local ([10.10.7.6]) by mail.pi.local over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Sun, 26 Jun 2011 23:40:18 -0400 Original-Received: from rsorkin by mars.pi.local with local (Exim 4.69) (envelope-from ) id 1Qb2gM-0005pB-P6; Sun, 26 Jun 2011 23:40:18 -0400 X-Mailer: MH-E 8.2; nmh 1.2; GNU Emacs 23.1.1 X-OriginalArrivalTime: 27 Jun 2011 03:40:18.0952 (UTC) FILETIME=[EF6E8080:01CC347B] X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Mon, 27 Jun 2011 01:11:46 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 27 Jun 2011 01:12:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Mon, 27 Jun 2011 02:55:10 -0400 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:47527 Archived-At: The following report refers to this version of emacs: GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.4) of 2011-04-04 on crested, modified by Debian Hello, I'm sorry to submit a rather vague report, but I have found strong evidence of some sort of problem with the random number generator `random'. I see the difficulty only indirectly in some simulations I'm running. Results obtained from elisp's `random' disagree by over 6 sigma with results obtained from `mt-random' (the "mersenne twister") or from the built-in functions in both clisp and sbcl. Perhaps you could check for changes from earlier versions. The problem seems absent from version 22.1.1. Here's some info on the hardware from /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 15 model name : Intel(R) Xeon(R) CPU E5335 @ 2.00GHz stepping : 11 cpu MHz : 1995.000 cache size : 4096 KB fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss syscall lm constant_tsc arch\ _perfmon pebs bts rep_good nopl tsc_reliable aperfmperf pni ssse3 cx16 hypervisor lahf_lm dts bogomips : 3990.00 clflush size : 64 cache_alignment : 64 address sizes : 40 bits physical, 48 bits virtual power management: Thanks, ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ Rafael Sorkin Perimeter Institute for Theoretical Physics 31 Caroline Street North Waterloo, ON N2L 2Y5 Canada ~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~