caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Felipe Gonzalez <catseye.chandra@gmail.com>
To: caml-list@inria.fr
Subject: Re: [Caml-list] plain sigsegv on osx 10.8 / opam 1.0.0 / ocaml 4.01.0
Date: Mon, 25 Nov 2013 22:07:08 +0100	[thread overview]
Message-ID: <CA+zxp18-dZ=HArjFScJiC_EO6g++W4Lxwre5YrZo3PRj7S2fAg@mail.gmail.com> (raw)
In-Reply-To: <CA+zxp19wfZaSQry5Hk+V6x2=qh6pYx1LOp9aHhESx7+HqSpisw@mail.gmail.com>

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

I replaced apple clang by gnu cc 4.8.2 (except for the ASM part) and it's
now ok without the PR6038 patch.


On Mon, Nov 25, 2013 at 11:44 AM, Felipe Gonzalez <catseye.chandra@gmail.com
> wrote:

> Process:         straightliner.opt [95277]
> Path:            /Users/USER/*/straightliner.opt
> Identifier:      straightliner.opt
> Version:         0
> Code Type:       X86-64 (Native)
> Parent Process:  bash [88978]
> User ID:         501
>
> Date/Time:       2013-11-24 21:17:55.779 +0100
> OS Version:      Mac OS X 10.8.5 (12F45)
> Report Version:  10
>
> Crashed Thread:  0  Dispatch queue: com.apple.main-thread
>
> Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
> Exception Codes: EXC_I386_GPFLT
>
> Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
> 0   straightliner.opt             0x00000001026a510c caml_alloc_shr + 524
> 1   straightliner.opt             0x00000001026a5424 caml_alloc + 228
> 2   straightliner.opt             0x00000001026aa66b caml_make_vect + 235
> 3   straightliner.opt             0x00000001025e5547 .L402 + 19
> 4   ???                           0x00000001045e4f48 0 + 4368256840
>
> Thread 1:
> 0   libsystem_kernel.dylib         0x00007fff94ed36d6 __workq_kernreturn
> + 10
> 1   libsystem_c.dylib             0x00007fff8f398f1c
> _pthread_workq_return + 25
> 2   libsystem_c.dylib             0x00007fff8f398ce3 _pthread_wqthread +
> 412
> 3   libsystem_c.dylib             0x00007fff8f383191 start_wqthread + 13
>
> Thread 2:: Dispatch queue: com.apple.libdispatch-manager
> 0   libsystem_kernel.dylib         0x00007fff94ed3d16 kevent + 10
> 1   libdispatch.dylib             0x00007fff93ecedea _dispatch_mgr_invoke
> + 883
> 2   libdispatch.dylib             0x00007fff93ece9ee _dispatch_mgr_thread
> + 54
>
> Thread 3:
> 0   libsystem_kernel.dylib         0x00007fff94ed36d6 __workq_kernreturn
> + 10
> 1   libsystem_c.dylib             0x00007fff8f398f1c
> _pthread_workq_return + 25
> 2   libsystem_c.dylib             0x00007fff8f398ce3 _pthread_wqthread +
> 412
> 3   libsystem_c.dylib             0x00007fff8f383191 start_wqthread + 13
>
> Thread 0 crashed with X86 Thread State (64-bit):
>   rax: 0x0000000007e6b3fe  rbx: 0x00000000000000fe  rcx:
> 0x0000000007e6b000  rdx: 0x00000001056dfb50
>   rdi: 0x00000000000fcd68  rsi: 0xbef24186d0048200  rbp:
> 0x00007fff5d7e8e00  rsp: 0x00007fff5d7e8dd0
>    r8: 0x017de4830dafd66c   r9: 0x002fbc9061b5facd  r10:
> 0x00007fff5d7e8c98  r11: 0x00000001028ba668
>   r12: 0x00000001025e5547  r13: 0x000000010446af98  r14:
> 0x000000000001f9ac  r15: 0x017de484131dcf98
>   rip: 0x00000001026a510c  rfl: 0x0000000000010206  cr2: 0x00000001028afeb8
> Logical CPU: 0
>
>
> seems men alloc related, I do not compile with -unsafe or -noassert
> been a while I haven't used ocaml on mac, before was on os x 10.6.8 and
> godi.
> does it remind something to someone ?
> tried using -thread, no change.
>
> regards.
>

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

      parent reply	other threads:[~2013-11-25 21:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-25 10:44 Felipe Gonzalez
2013-11-25 11:06 ` Felipe Gonzalez
2013-11-25 15:43 ` Felipe Gonzalez
2013-11-25 19:22 ` Felipe Gonzalez
2013-11-25 21:07 ` Felipe Gonzalez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+zxp18-dZ=HArjFScJiC_EO6g++W4Lxwre5YrZo3PRj7S2fAg@mail.gmail.com' \
    --to=catseye.chandra@gmail.com \
    --cc=caml-list@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).