caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] segmentation fault in ocamlc.opt on mountain lion
@ 2012-07-19 16:03 Joel Reymont
  2012-07-19 16:25 ` [Caml-list] " Joel Reymont
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Reymont @ 2012-07-19 16:03 UTC (permalink / raw)
  To: caml-list

Mac OSX 10.8, Mountain Lion.

XCode 4.5 DP3.

Does this ring a bell with anyone?

    Thanks, Joel

---

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x00007fff89b45f88 in large_malloc ()
(gdb) where
#0  0x00007fff89b45f88 in large_malloc ()
#1  0x00007fff89b4c74f in szone_malloc_should_clear ()
#2  0x00007fff89b3e183 in malloc_zone_malloc ()
#3  0x00007fff89b3ebd7 in malloc ()
#4  0x000000010013983e in caml_stat_alloc ()
#5  0x0000000100135659 in caml_init_frame_descriptors ()
#6  0x000000010014a743 in caml_stash_backtrace ()
#7  0x000000010014aee4 in caml_raise_exception ()
#8  0x000000010013525d in caml_raise_constant ()
#9  0x0000000100135490 in caml_raise_not_found ()
#10 0x0000000100144e73 in caml_sys_getenv ()
#11 0x000000010014ada2 in caml_c_call ()

--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------

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

* [Caml-list] Re: segmentation fault in ocamlc.opt on mountain lion
  2012-07-19 16:03 [Caml-list] segmentation fault in ocamlc.opt on mountain lion Joel Reymont
@ 2012-07-19 16:25 ` Joel Reymont
  2012-08-02 16:15   ` Daniel Bünzli
  0 siblings, 1 reply; 3+ messages in thread
From: Joel Reymont @ 2012-07-19 16:25 UTC (permalink / raw)
  To: caml-list

Forgot to mention...

This is trying to compile ocaml from svn.

Setting OCAMLRUNPARAM to empty instead of 'b' makes the issue go away
when compiling OCaml so I actually manage to build this:

OCaml version 4.01.0+dev1_2012-03-31

Still, ocamlc.opt segfaults while trying to compile oasis.

--------------------------------------------------------------------------
- for hire: mac osx device driver ninja, kernel extensions and usb drivers
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------

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

* Re: [Caml-list] Re: segmentation fault in ocamlc.opt on mountain lion
  2012-07-19 16:25 ` [Caml-list] " Joel Reymont
@ 2012-08-02 16:15   ` Daniel Bünzli
  0 siblings, 0 replies; 3+ messages in thread
From: Daniel Bünzli @ 2012-08-02 16:15 UTC (permalink / raw)
  To: Joel Reymont; +Cc: caml-list

Le jeudi, 19 juillet 2012 à 18:25, Joel Reymont a écrit :
> Forgot to mention...
>  
> This is trying to compile ocaml from svn.
>  
> Setting OCAMLRUNPARAM to empty instead of 'b' makes the issue go away
> when compiling OCaml so I actually manage to build this:
>  
> OCaml version 4.01.0+dev1_2012-03-31
>  
> Still, ocamlc.opt segfaults while trying to compile oasis.

Try to apply this patch :

http://caml.inria.fr/mantis/view.php?id=5700#c7871

Best,

Daniel

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

end of thread, other threads:[~2012-08-02 16:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-19 16:03 [Caml-list] segmentation fault in ocamlc.opt on mountain lion Joel Reymont
2012-07-19 16:25 ` [Caml-list] " Joel Reymont
2012-08-02 16:15   ` Daniel Bünzli

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