also, using Xcode tools 5.0 build 5A1413 @air:~/mysrc/straightliner$ gcc -v Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn) Target: x86_64-apple-darwin12.5.0 Thread model: posix 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. >