From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id A508F7EE6B for ; Mon, 25 Nov 2013 22:07:11 +0100 (CET) Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of catseye.chandra@gmail.com) identity=pra; client-ip=209.85.220.170; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="catseye.chandra@gmail.com"; x-sender="catseye.chandra@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of catseye.chandra@gmail.com designates 209.85.220.170 as permitted sender) identity=mailfrom; client-ip=209.85.220.170; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="catseye.chandra@gmail.com"; x-sender="catseye.chandra@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-vc0-f170.google.com) identity=helo; client-ip=209.85.220.170; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="catseye.chandra@gmail.com"; x-sender="postmaster@mail-vc0-f170.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvQCAIq7k1LRVdyqlGdsb2JhbABZhBK8KoEkCBYOAQEBAQcLCwkSKoIlAQEEAUABGx4DAQsGBQsjGCEBAREBBQEcGYduAQMJBqFWjFmDCYQ/ChknDWSHIxEBBQyMbIIWEgyEFQOWKYFrjFqDTBgphFQ7gTU X-IPAS-Result: AvQCAIq7k1LRVdyqlGdsb2JhbABZhBK8KoEkCBYOAQEBAQcLCwkSKoIlAQEEAUABGx4DAQsGBQsjGCEBAREBBQEcGYduAQMJBqFWjFmDCYQ/ChknDWSHIxEBBQyMbIIWEgyEFQOWKYFrjFqDTBgphFQ7gTU X-IronPort-AV: E=Sophos;i="4.93,769,1378850400"; d="scan'208";a="45328713" Received: from mail-vc0-f170.google.com ([209.85.220.170]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 25 Nov 2013 22:07:10 +0100 Received: by mail-vc0-f170.google.com with SMTP id ht10so3296582vcb.29 for ; Mon, 25 Nov 2013 13:07:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2mUjd35xkHbUR5sA0CYTeHP8hIY88sGotMdG3+RQw2Y=; b=Jd+iyvzwCyqYOKllK1D2v4U02++2XVPMUUTnrRDeWkQ4tjNW6ffycX22wQ09fdGEg3 kq14y6P/sZoCWchYTausK7dRfykbX7KyF6rHaKkWjVI5NaXR7U7bDpCLSZZcJ+MQ3sTE 674+eeouPcJUNRCGVQrzYzy2eQnCO/VjN87uZC9XnH+WonXaxsjL8i3hmYpdpOp9gdhN f5M0qcCIdUTZujl1LxFyFw/SjrVOuox988KOAtUgBdWhCJwOCY/yKYvnQyBwpDeolRnd biYUz4yy3ToKrWAoijfrnZ2ouVTuOoGqBmenZo/DihR884aotF6J5EPrxEOc9+Y5NA5Y HPmQ== MIME-Version: 1.0 X-Received: by 10.58.155.162 with SMTP id vx2mr19101veb.46.1385413628632; Mon, 25 Nov 2013 13:07:08 -0800 (PST) Received: by 10.58.74.194 with HTTP; Mon, 25 Nov 2013 13:07:08 -0800 (PST) In-Reply-To: References: Date: Mon, 25 Nov 2013 22:07:08 +0100 Message-ID: From: Felipe Gonzalez To: caml-list@inria.fr Content-Type: multipart/alternative; boundary=047d7b66f2f733a54904ec06bfd6 Subject: Re: [Caml-list] plain sigsegv on osx 10.8 / opam 1.0.0 / ocaml 4.01.0 --047d7b66f2f733a54904ec06bfd6 Content-Type: text/plain; charset=ISO-8859-1 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 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. > --047d7b66f2f733a54904ec06bfd6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
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> wrot= e:
Process: =A0 =A0 =A0 = =A0 straightliner.opt [95277]
Path: =A0 =A0 =A0 =A0 =A0 =A0/Users= /USER/*/straightliner.opt
Identifier: =A0 =A0 =A0straightliner.opt
Version: =A0 =A0 = =A0 =A0 0
Code Type: =A0 =A0 =A0 X86-64 (Native)
Parent Process: =A0bash [88978]
User ID: =A0 =A0 =A0 =A0 501=

Date/Time: =A0 =A0 =A0 2013-11-24 21:17:55.779 +0= 100
OS Version: =A0 =A0 =A0Mac OS X 10.8.5 (12F45)
Repo= rt Version: =A010

Crashed Thread: =A00 =A0Dispatch queue: com.apple.main-= thread

Exception Type: =A0EXC_BAD_ACCESS (SIGSEGV)=
Exception Codes: EXC_I386_GPFLT

Thread = 0 Crashed:: Dispatch queue: com.apple.main-thread
0 =A0 straightliner.opt =A0 =A0 =A0 =A0 =A0 =A0 0x00000001026a510c caml_alloc_shr + 524
1 = =A0 straightliner.opt =A0 =A0 =A0 =A0 =A0 =A0 0x00000001026a5424 caml_alloc + 228
2 =A0 straightliner.opt =A0 =A0 =A0 =A0 =A0 =A0 0x00000001026aa66b caml_make_vect + 235
3 = =A0 straightliner.opt =A0 =A0 =A0 =A0 =A0 =A0 0x00000001025e5547 .L402 + 19
4 =A0 ??? =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 0x00000001045e4f48 0 + 4368256840

Thread 1:
0 =A0 libsystem_kernel.dylib =A0 =A0 =A0 =A0 0x00007fff94ed36d6 __workq_kernreturn + 10
1 =A0 libsystem_c.dylib =A0 =A0 =A0 =A0 =A0 =A0 0x00007fff8f398f1c _pthread_workq_return + 25
<= div>2 =A0 libsystem_c.dylib =A0 =A0 =A0 =A0 =A0 =A0 0x00007fff8f398ce3 _pthread_wqthread + 412
3 =A0 libsystem_c.dylib =A0 =A0 =A0 =A0 =A0 =A0 0x00007fff8f383191 start_wqthread + 13
Thread 2:: Dispatch queue: com.apple.libdispatch-manager
<= div>0 =A0 libsystem_kernel.dylib =A0 =A0 =A0 =A0 0x00007fff94ed3d16 kevent + 10
1 =A0 libdispatch.dylib =A0 =A0 =A0 =A0 =A0 =A0 0x00007fff93ecedea _dispatch_mgr_invoke + 883
<= div>2 =A0 libdispatch.dylib =A0 =A0 =A0 =A0 =A0 =A0 0x00007fff93ece9ee _dispatch_mgr_thread + 54

Thread 3:
0 =A0 libsystem_kernel.dylib =A0 = =A0 =A0 =A0 0x00007fff94ed36d6 = __workq_kernreturn + 10
1 =A0 libsystem_c.dylib =A0 =A0 =A0 =A0 = =A0 =A0 0x00007fff8f398f1c _pt= hread_workq_return + 25
2 =A0 libsystem_c.dylib =A0 =A0 =A0 =A0 =A0 =A0 0x00007fff8f398ce3 _pthread_wqthread + 412
3 =A0 libsystem_c.dylib =A0 =A0 =A0 =A0 =A0 =A0 0x00007fff8f383191 start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
<= div>=A0 rax: 0x0000000007e6b3fe =A0rbx: 0x00000000000000fe =A0rcx: 0x000000= 0007e6b000 =A0rdx: 0x00000001056dfb50
=A0 rdi: 0x00000000000fcd68= =A0rsi: 0xbef24186d0048200 =A0rbp: 0x00007fff5d7e8e00 =A0rsp: 0x00007fff5d= 7e8dd0
=A0 =A0r8: 0x017de4830dafd66c =A0 r9: 0x002fbc9061b5facd =A0r10: 0x000= 07fff5d7e8c98 =A0r11: 0x00000001028ba668
=A0 r12: 0x00000001025e5= 547 =A0r13: 0x000000010446af98 =A0r14: 0x000000000001f9ac =A0r15: 0x017de48= 4131dcf98
=A0 rip: 0x00000001026a510c =A0rfl: 0x0000000000010206 =A0cr2: 0x00000= 001028afeb8
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 usin= g -thread, no change.

regards.

--047d7b66f2f733a54904ec06bfd6--