Opened 10 years ago

Closed 10 years ago

#618 closed defect (fixed)

(make-random-state t) results in an error on Windows x86

Reported by: grue Owned by: gb
Priority: normal Milestone:
Component: ANSI CL Compliance Version: 1.4
Keywords: random, make-random-state Cc:

Description

? (make-random-state t)
> Error: Can't determine primary IP interface
> While executing: CCL::PRIMARY-IP-INTERFACE-ADDRESS, in process listener(1).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.

System is Windows XP SP3. CCL is version 1.4.

Change History (3)

comment:1 Changed 10 years ago by rme

It seems to work for me. Can you provide a backtrace, please? (Type ":b" at the prompt after the error is reported.)

Also please show the output of (lisp-implementation-version).

comment:2 Changed 10 years ago by gb

  • Status changed from new to assigned

It'll likely work if at least one network interface is enabled. (MAKE-RANDOM-STATE T) tries to use the machine's IP address as part of the seeding process; if the machine doesn't have an IP address, it can't use that information but shouldn't signal an error.)

comment:3 Changed 10 years ago by gb

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [13132]) In INIT-RANDOM-STATE-SEEDS, don't error if no IP interfaces. (On most Unix systems, an unconfigured network interface will have an IP address of 0; on Windows, such an interface may not be visible at all.) Fixes ticket:618.

Note: See TracTickets for help on using tickets.