Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006031OCamlOCaml generalpublic2013-06-04 18:432013-06-11 13:26
Reporteravsm 
Assigned Tolefessan 
PrioritynormalSeveritycrashReproducibilityalways
StatusresolvedResolutionfixed 
Platformdebian wheezy x86_64OSOS Version
Product Version 
Target VersionFixed in Version4.01.0+dev 
Summary0006031: segfault in camomile with frame pointers enabled
DescriptionWith 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/colLexer.ml internal/uReStrLexer.ml toolslib/colParser.mli toolslib/colParser.ml
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 <http://gnu.org/licenses/gpl.html> [^]
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:
<http://www.gnu.org/software/gdb/bugs/>... [^]
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 list.ml:23
23 list.ml: No such file or directory.
(gdb) bt
#0 0x000000000047db5d in camlColParser__entry () at list.ml:23
#1 0x000000000044038d in caml_program ()
#2 0x00000000004bc6de in caml_start_program ()
0000003 0x00000000004bc830 in caml_system__code_end ()
0000004 0x0000000000000000 in ?? ()
(gdb)
Steps To Reproduce$ opam switch 4.01.0dev+fp
$ opam install camomile
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0009455)
lefessan (developer)
2013-06-11 13:26

Should be fixed in SVN trunk (commit r13763).

- Issue History
Date Modified Username Field Change
2013-06-04 18:43 avsm New Issue
2013-06-11 13:26 lefessan Note Added: 0009455
2013-06-11 13:26 lefessan Status new => resolved
2013-06-11 13:26 lefessan Fixed in Version => 4.01.0+dev
2013-06-11 13:26 lefessan Resolution open => fixed
2013-06-11 13:26 lefessan Assigned To => lefessan


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker