Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • F frama-c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 201
    • Issues 201
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • pub
  • frama-c
  • Issues
  • #1839
Closed
Open
Created Jul 18, 2013 by David Cok@cokDeveloper

initialization fails without explicitly setting FRAMAC_SHARE on Windows

ID0001460: This issue was created automatically from Mantis Issue 1460. Further discussion may take place here.


Id Project Category View Due Date Updated
ID0001460 Frama-C Kernel > Makefile public 2013-07-18 2013-07-19
Reporter DavidCok Assigned To signoles Resolution no change required
Priority normal Severity minor Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Fluorine-20130601 Target Version - Fixed in Version -

Description :

I configured, built and installed Frama-C per instructions and using defaults, on a Windows 7 sysmte under Cygwin.

No errors were reported in the process until I tried to run the given examples and my own, at which time this was reported:

test-framac $ frama-c -val pointer.c [kernel] failure: Cannot find file libc__fc_builtin_for_normalization.i, needed for Frama-C initialization. Please check that /usr/local/share/frama-c is the c orrect share path for Frama-C. [kernel] Current source was: :0 The full backtrace is: Raised at file "src/kernel/log.ml", line 523, characters 30-31 Called from file "src/kernel/log.ml", line 517, characters 9-16 Re-raised at file "src/kernel/log.ml", line 520, characters 15-16 Called from file "src/kernel/file.ml", line 170, characters 4-171 Called from file "src/project/project.ml", line 345, characters 12-15 Called from file "src/project/project.ml", line 350, characters 17-22 Re-raised at file "src/project/project.ml", line 350, characters 56-57 Called from file "queue.ml", line 135, characters 6-20 Called from file "src/project/project.ml", line 281, characters 2-21 Called from file "src/project/project.ml", line 292, characters 27-44 Called from file "src/kernel/boot.ml", line 69, characters 17-43 Called from file "src/kernel/cmdline.ml", line 212, characters 4-8

     Frama-C aborted: internal error.
     Please report as 'crash' at http://bts.frama-c.com/.
     Your Frama-C version is Fluorine-20130601.
     Note that a version and a backtrace alone often do not contain enough
     information to understand the bug. Guidelines for reporting bugs are at

: http://bts.frama-c.com/dokuwiki/doku.php?id=mantis:frama-c:bug_reportin g_guidelines test-framac $

The file /usr/local/share/frama-c/libc/__fc_builtin_for_normalization.i does indeed exist.

I managed to work around the problem by setting FRAMAC_SHARE=C:/cygwin/usr/local/share/frama-c explicitly, though the documentation implies that should be the default.

I suspect some issues with Cygwin vs. Windows paths.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking