Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

segfault in camomile with frame pointers enabled #6031

vicuna opened this issue Jun 4, 2013 · 1 comment

segfault in camomile with frame pointers enabled #6031

vicuna opened this issue Jun 4, 2013 · 1 comment


Copy link

@vicuna vicuna commented Jun 4, 2013

Original bug ID: 6031
Reporter: @avsm
Assigned to: @lefessan
Status: closed (set by @xavierleroy on 2015-12-11T18:19:35Z)
Resolution: fixed
Priority: normal
Severity: crash
Platform: debian wheezy x86_64
Fixed in version: 4.01.0+dev
Category: ~DO NOT USE (was: OCaml general)

Bug description

With r13744 from SVN trunk and ./configure -with-frame-pointers on x86_64, I get a segfault when compiling camomile from OPAM:

ocamlopt.opt -noassert -I internal -I public -I toolslib -I . -o tools/camomilelocaledef.opt bigarray.cmxa str.cmxa toolslib.cmxa tools/camomilelocaledef.cmx
tools/camomilelocaledef.opt --file locales/af.txt locales
make: *** [locales/af.mar] Segmentation fault
rm toolslib/ internal/ toolslib/colParser.mli toolslib/
avsm@gabriel:~/scratch/camomile-0.8.3$ gdb tools/camomilelocaledef.opt
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /home/avsm/scratch/camomile-0.8.3/tools/camomilelocaledef.opt...done.
(gdb) run --file locales/af.txt locales
Starting program: /home/avsm/scratch/camomile-0.8.3/tools/camomilelocaledef.opt --file locales/af.txt locales

Program received signal SIGSEGV, Segmentation fault.
0x000000000047db5d in camlColParser__entry () at
23 No such file or directory.
(gdb) bt
#0 0x000000000047db5d in camlColParser__entry () at
#1 0x000000000044038d in caml_program ()
#2 0x00000000004bc6de in caml_start_program ()
#3 0x00000000004bc830 in caml_system__code_end ()
#4 0x0000000000000000 in ?? ()

Steps to reproduce

$ opam switch 4.01.0dev+fp
$ opam install camomile

Copy link

@vicuna vicuna commented Jun 11, 2013

Comment author: @lefessan

Should be fixed in SVN trunk (commit r13763).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants