caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Freeze in 64-bit Windows Num module
@ 2008-12-17  6:52 Reed Wilson
  2008-12-17  8:47 ` [Caml-list] " David Allsopp
  2008-12-18 14:53 ` Xavier Leroy
  0 siblings, 2 replies; 4+ messages in thread
From: Reed Wilson @ 2008-12-17  6:52 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 626 bytes --]

Hi guys,

I have an issue with using the Num module in my Win64 OCaml compile.
Whenever I try to operate on numbers that are too large it will lock up. For
example, using:
string_of_num (num_of_int max_int */ num_of_int max_int)

causes the program to lock up with 100% CPU usage. This occurs in both
native and bytecode programs, and it has happened with both my 3.10.2 and
3.11.0 compiles. The 32-bit Windows MSVS binaries on the OCaml website work,
as do my 64-bit Linux and OS-X builds of 3.11.0.

Before I submit this as a bug, can anyone who also has a 64-bit OCaml
compile in Windows verify this?

Thanks,
Reed

-- 
ç

[-- Attachment #2: Type: text/html, Size: 785 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [Caml-list] Freeze in 64-bit Windows Num module
  2008-12-17  6:52 Freeze in 64-bit Windows Num module Reed Wilson
@ 2008-12-17  8:47 ` David Allsopp
  2008-12-18 14:53 ` Xavier Leroy
  1 sibling, 0 replies; 4+ messages in thread
From: David Allsopp @ 2008-12-17  8:47 UTC (permalink / raw)
  To: 'Reed Wilson', caml-list

[-- Attachment #1: Type: text/plain, Size: 963 bytes --]

I’m seeing the same thing...

 

 

David

 

From: caml-list-bounces@yquem.inria.fr [mailto:caml-list-bounces@yquem.inria.fr] On Behalf Of Reed Wilson
Sent: 17 December 2008 06:53
To: caml-list@yquem.inria.fr
Subject: [Caml-list] Freeze in 64-bit Windows Num module

 

Hi guys,

 

I have an issue with using the Num module in my Win64 OCaml compile. Whenever I try to operate on numbers that are too large it will lock up. For example, using:

 

string_of_num (num_of_int max_int */ num_of_int max_int)

 

causes the program to lock up with 100% CPU usage. This occurs in both native and bytecode programs, and it has happened with both my 3.10.2 and 3.11.0 compiles. The 32-bit Windows MSVS binaries on the OCaml website work, as do my 64-bit Linux and OS-X builds of 3.11.0.

 

Before I submit this as a bug, can anyone who also has a 64-bit OCaml compile in Windows verify this?

 

Thanks,

Reed


-- 
ç


[-- Attachment #2: Type: text/html, Size: 4375 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] Freeze in 64-bit Windows Num module
  2008-12-17  6:52 Freeze in 64-bit Windows Num module Reed Wilson
  2008-12-17  8:47 ` [Caml-list] " David Allsopp
@ 2008-12-18 14:53 ` Xavier Leroy
  2008-12-18 18:52   ` Reed Wilson
  1 sibling, 1 reply; 4+ messages in thread
From: Xavier Leroy @ 2008-12-18 14:53 UTC (permalink / raw)
  To: Reed Wilson; +Cc: caml-list

> I have an issue with using the Num module in my Win64 OCaml compile.
> Whenever I try to operate on numbers that are too large it will lock up.

I'll try to look into this, but it would help if you'd submit a
problem report through the bug tracking system.

- Xavier Leroy


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Caml-list] Freeze in 64-bit Windows Num module
  2008-12-18 14:53 ` Xavier Leroy
@ 2008-12-18 18:52   ` Reed Wilson
  0 siblings, 0 replies; 4+ messages in thread
From: Reed Wilson @ 2008-12-18 18:52 UTC (permalink / raw)
  To: Xavier Leroy; +Cc: caml-list

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

Thanks Xavier. I just posted a bug after David replied
(#4676<http://caml.inria.fr/mantis/view.php?id=4676>).
I'd be willing to test out changes if necessary.

Thanks again,

On Thu, Dec 18, 2008 at 6:53 AM, Xavier Leroy <Xavier.Leroy@inria.fr> wrote:

> > I have an issue with using the Num module in my Win64 OCaml compile.
> > Whenever I try to operate on numbers that are too large it will lock up.
>
> I'll try to look into this, but it would help if you'd submit a
> problem report through the bug tracking system.
>
> - Xavier Leroy
>



-- 
ç

[-- Attachment #2: Type: text/html, Size: 959 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-18 18:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-17  6:52 Freeze in 64-bit Windows Num module Reed Wilson
2008-12-17  8:47 ` [Caml-list] " David Allsopp
2008-12-18 14:53 ` Xavier Leroy
2008-12-18 18:52   ` Reed Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).