On Sun, Dec 04, 2005 at 12:48:17AM +0100, Julien Cristau wrote:

> The segv happens, according to gdb, in the caml_startup__code_begin
> function. This function seems to come from the camlstartup temporary
> file, created by asmcomp/asmlink.ml.
> Steve Langasek asked me to send this startup file to the bug, so you'll
> find it attached.
> This startup file is normally deleted by ocamlopt, but it's kept (in
> /tmp) with the -dstartup option.

Rather, the segfault happens in camlPrintf__entry, which is called from
caml_startup__code_begin.  I can't find a definition for camlPrintf__entry
anywhere, and I do in fact see some suspicious-looking differences when
disassembling this code.  Can you tell me where in the ocaml source I can
find this definition, and/or how I can get ocaml to spit out for me the
corresponding asm?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
[EMAIL PROTECTED]                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature

Reply via email to