caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] 4.02.1 toplevel hang
@ 2014-10-21  9:48 Stanislav Artemkin
  2014-10-21  9:56 ` Peter Zotov
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Stanislav Artemkin @ 2014-10-21  9:48 UTC (permalink / raw)
  To: caml-list

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

Hello,

I'm still experiencing problems with toplevel hangs in 4.02 (it seems it is
not fixed in 4.02.1).

I use utop with .ocamlinit (pretty similar to
http://janestreet.github.io/installation.html), but it is not related to
utop. Something wrong with camlp4.

The minimal steps to reproduce:

$ ocaml
        OCaml version 4.02.1

# #load "dynlink.cma";;
# #load "camlp4o.cma";;
Camlp4 Parsing version 4.02.1

# #quit;;

... HANG...

I see this on Linux and Mac OS X.

Is there any workaround for this? I can't switch to 4.02 due to this issue.

Thanks

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

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

* Re: [Caml-list] 4.02.1 toplevel hang
  2014-10-21  9:48 [Caml-list] 4.02.1 toplevel hang Stanislav Artemkin
@ 2014-10-21  9:56 ` Peter Zotov
  2014-10-21 10:05 ` Peter Zotov
  2014-10-21 10:06 ` Fabrice Le Fessant
  2 siblings, 0 replies; 6+ messages in thread
From: Peter Zotov @ 2014-10-21  9:56 UTC (permalink / raw)
  To: Stanislav Artemkin; +Cc: caml-list, caml-list-request

On 2014-10-21 13:48, Stanislav Artemkin wrote:
> Hello,
> 
> I'm still experiencing problems with toplevel hangs in 4.02 (it seems
> it is not fixed in 4.02.1).
> 
> I use utop with .ocamlinit (pretty similar to
> http://janestreet.github.io/installation.html [1]), but it is not
> related to utop. Something wrong with camlp4.
> 
> The minimal steps to reproduce:
> 
> $ ocaml
>         OCaml version 4.02.1
> 
> # #load "dynlink.cma";;
> # #load "camlp4o.cma";;
>  Camlp4 Parsing version 4.02.1
> 
> # #quit;;
> 
> ... HANG...
> 
> I see this on Linux and Mac OS X.
> 
> Is there any workaround for this? I can't switch to 4.02 due to this
> issue.

Yes. Use utop. (You need to use "#camlp4o;;" to set the syntax in it.)

-- 
Peter Zotov

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

* Re: [Caml-list] 4.02.1 toplevel hang
  2014-10-21  9:48 [Caml-list] 4.02.1 toplevel hang Stanislav Artemkin
  2014-10-21  9:56 ` Peter Zotov
@ 2014-10-21 10:05 ` Peter Zotov
  2014-10-21 10:06 ` Fabrice Le Fessant
  2 siblings, 0 replies; 6+ messages in thread
From: Peter Zotov @ 2014-10-21 10:05 UTC (permalink / raw)
  To: Stanislav Artemkin; +Cc: caml-list, caml-list-request

On 2014-10-21 13:48, Stanislav Artemkin wrote:
> Hello,
> 
> I'm still experiencing problems with toplevel hangs in 4.02 (it seems
> it is not fixed in 4.02.1).
> 
> I use utop with .ocamlinit (pretty similar to
> http://janestreet.github.io/installation.html [1]), but it is not
> related to utop. Something wrong with camlp4.
> 
> The minimal steps to reproduce:
> 
> $ ocaml
>         OCaml version 4.02.1
> 
> # #load "dynlink.cma";;
> # #load "camlp4o.cma";;
>  Camlp4 Parsing version 4.02.1
> 
> # #quit;;
> 
> ... HANG...
> 
> I see this on Linux and Mac OS X.
> 
> Is there any workaround for this? I can't switch to 4.02 due to this
> issue.

Sorry, I should have been more clear. This is indeed a camlp4 issue.
If you switch to utop, then you will be able to do almost everything.
However, #quit;; specifically seems to still lead to this "hang"
(which is actually not a hang, it's just that the toplevel stops
interpreting ;; as the end of phrase, both for regular toplevel
and utop).

-- 
Peter Zotov

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

* Re: [Caml-list] 4.02.1 toplevel hang
  2014-10-21  9:48 [Caml-list] 4.02.1 toplevel hang Stanislav Artemkin
  2014-10-21  9:56 ` Peter Zotov
  2014-10-21 10:05 ` Peter Zotov
@ 2014-10-21 10:06 ` Fabrice Le Fessant
  2014-10-21 10:11   ` Stanislav Artemkin
  2 siblings, 1 reply; 6+ messages in thread
From: Fabrice Le Fessant @ 2014-10-21 10:06 UTC (permalink / raw)
  To: Stanislav Artemkin; +Cc: Ocaml Mailing List

This is already referenced here, no ?

https://github.com/ocaml/camlp4/issues/48

--Fabrice

On Tue, Oct 21, 2014 at 11:48 AM, Stanislav Artemkin <artemkin@gmail.com> wrote:
> Hello,
>
> I'm still experiencing problems with toplevel hangs in 4.02 (it seems it is
> not fixed in 4.02.1).
>
> I use utop with .ocamlinit (pretty similar to
> http://janestreet.github.io/installation.html), but it is not related to
> utop. Something wrong with camlp4.
>
> The minimal steps to reproduce:
>
> $ ocaml
>         OCaml version 4.02.1
>
> # #load "dynlink.cma";;
> # #load "camlp4o.cma";;
> Camlp4 Parsing version 4.02.1
>
> # #quit;;
>
> ... HANG...
>
> I see this on Linux and Mac OS X.
>
> Is there any workaround for this? I can't switch to 4.02 due to this issue.
>
> Thanks
>



-- 
Fabrice LE FESSANT
Chercheur en Informatique
INRIA Paris Rocquencourt -- OCamlPro
Programming Languages and Distributed Systems

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

* Re: [Caml-list] 4.02.1 toplevel hang
  2014-10-21 10:06 ` Fabrice Le Fessant
@ 2014-10-21 10:11   ` Stanislav Artemkin
  2014-10-21 11:49     ` Jeremie Dimino
  0 siblings, 1 reply; 6+ messages in thread
From: Stanislav Artemkin @ 2014-10-21 10:11 UTC (permalink / raw)
  To: Fabrice Le Fessant; +Cc: Ocaml Mailing List

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

Yes, this is exactly the same. I thought it is addressed already.

It seems Utop and Ctrl-Z kill %1 is still the way to go.

Thanks

On Tue, Oct 21, 2014 at 2:06 PM, Fabrice Le Fessant <
Fabrice.Le_fessant@inria.fr> wrote:

> This is already referenced here, no ?
>
> https://github.com/ocaml/camlp4/issues/48
>
> --Fabrice
>
> On Tue, Oct 21, 2014 at 11:48 AM, Stanislav Artemkin <artemkin@gmail.com>
> wrote:
> > Hello,
> >
> > I'm still experiencing problems with toplevel hangs in 4.02 (it seems it
> is
> > not fixed in 4.02.1).
> >
> > I use utop with .ocamlinit (pretty similar to
> > http://janestreet.github.io/installation.html), but it is not related to
> > utop. Something wrong with camlp4.
> >
> > The minimal steps to reproduce:
> >
> > $ ocaml
> >         OCaml version 4.02.1
> >
> > # #load "dynlink.cma";;
> > # #load "camlp4o.cma";;
> > Camlp4 Parsing version 4.02.1
> >
> > # #quit;;
> >
> > ... HANG...
> >
> > I see this on Linux and Mac OS X.
> >
> > Is there any workaround for this? I can't switch to 4.02 due to this
> issue.
> >
> > Thanks
> >
>
>
>
> --
> Fabrice LE FESSANT
> Chercheur en Informatique
> INRIA Paris Rocquencourt -- OCamlPro
> Programming Languages and Distributed Systems
>

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

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

* Re: [Caml-list] 4.02.1 toplevel hang
  2014-10-21 10:11   ` Stanislav Artemkin
@ 2014-10-21 11:49     ` Jeremie Dimino
  0 siblings, 0 replies; 6+ messages in thread
From: Jeremie Dimino @ 2014-10-21 11:49 UTC (permalink / raw)
  To: Stanislav Artemkin; +Cc: Fabrice Le Fessant, Ocaml Mailing List

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

It's fixed in the git repo. The new version should be in opam soon.

On Tue, Oct 21, 2014 at 11:11 AM, Stanislav Artemkin <artemkin@gmail.com>
wrote:

> Yes, this is exactly the same. I thought it is addressed already.
>
> It seems Utop and Ctrl-Z kill %1 is still the way to go.
>
> Thanks
>
> On Tue, Oct 21, 2014 at 2:06 PM, Fabrice Le Fessant <
> Fabrice.Le_fessant@inria.fr> wrote:
>
>> This is already referenced here, no ?
>>
>> https://github.com/ocaml/camlp4/issues/48
>>
>> --Fabrice
>>
>> On Tue, Oct 21, 2014 at 11:48 AM, Stanislav Artemkin <artemkin@gmail.com>
>> wrote:
>> > Hello,
>> >
>> > I'm still experiencing problems with toplevel hangs in 4.02 (it seems
>> it is
>> > not fixed in 4.02.1).
>> >
>> > I use utop with .ocamlinit (pretty similar to
>> > http://janestreet.github.io/installation.html), but it is not related
>> to
>> > utop. Something wrong with camlp4.
>> >
>> > The minimal steps to reproduce:
>> >
>> > $ ocaml
>> >         OCaml version 4.02.1
>> >
>> > # #load "dynlink.cma";;
>> > # #load "camlp4o.cma";;
>> > Camlp4 Parsing version 4.02.1
>> >
>> > # #quit;;
>> >
>> > ... HANG...
>> >
>> > I see this on Linux and Mac OS X.
>> >
>> > Is there any workaround for this? I can't switch to 4.02 due to this
>> issue.
>> >
>> > Thanks
>> >
>>
>>
>>
>> --
>> Fabrice LE FESSANT
>> Chercheur en Informatique
>> INRIA Paris Rocquencourt -- OCamlPro
>> Programming Languages and Distributed Systems
>>
>
>


-- 
Jeremie

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

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

end of thread, other threads:[~2014-10-21 11:49 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-21  9:48 [Caml-list] 4.02.1 toplevel hang Stanislav Artemkin
2014-10-21  9:56 ` Peter Zotov
2014-10-21 10:05 ` Peter Zotov
2014-10-21 10:06 ` Fabrice Le Fessant
2014-10-21 10:11   ` Stanislav Artemkin
2014-10-21 11:49     ` Jeremie Dimino

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).