[opam-devel] worrying segfault in ocaml-gettext on 4.02

Mark Shinwell mshinwell at janestreet.com
Fri Aug 29 12:28:42 BST 2014


The problem is the "if true then Obj.magic ..." line.  Deleting this
seems to make it work, which I assume is the fix in 0.3.5.

Mark

On 29 August 2014 12:27, Jeremy Yallop <yallop at gmail.com> wrote:
> Indeed: the CHANGELOG has the following for 0.3.5:
>
> v 0.3.5 (Mon, 04 Aug 2014 23:31:41 +0200):
>   * Always use format_of_string to not segfault with OCaml 4.02.
>
> (the segfault was in 0.3.4)
>
>
> On 29 August 2014 12:19, Mark Shinwell <mshinwell at janestreet.com> wrote:
>> Jeremie took one look at this and said it's probably something to do
>> with formats...
>>
>> Mark
>>
>> On 29 August 2014 12:17, Anil Madhavapeddy <anil at recoil.org> wrote:
>>> There's a reproducible segfault in 4.02 only for gettext
>>> https://github.com/ocaml/opam-bulk-logs/blob/master/20140829/roo/4.02.0/raw/gettext#L2351
>>>
>>> Anyone got time to triage this?  I'm out for a few hours so cant immediately.  Looks like gettext may be double linking unix.cma, which can't be healthy.
>>>
>>> -anil
>>>
>> _______________________________________________
>> opam-devel mailing list
>> opam-devel at lists.ocaml.org
>> http://lists.ocaml.org/listinfo/opam-devel


More information about the opam-devel mailing list