Skip to content
GitLab
Projects Groups Topics 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
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 171
    • Issues 171
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and 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
  • #701
Closed
Open
Issue created Sep 12, 2014 by mantis-gitlab-migration@mantis-gitlab-migration

WP-Plugin crashes due to an internal error

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


Id Project Category View Due Date Updated
ID0001922 Frama-C Plug-in > wp public 2014-09-12 2015-03-17
Reporter lapawczykt Assigned To correnson Resolution fixed
Priority urgent Severity crash Reproducibility always
Platform - OS xubuntu OS Version 14.04
Product Version Frama-C Neon-20140301 Target Version - Fixed in Version Frama-C Sodium

Description :

When the attached file is called with the command line, that reads as follows:

frama-c.byte -pp-annot -no-unicode -wp -wp-no-bits -wp-rte -wp-script 'wp0.script' -wp-model Typed+ref -wp-out foo.wp foo.c

Frama-C produces the following output:

[kernel] preprocessing with "gcc -C -E -I. -dD foo.c" Adhesion_Factor.c:1:0: warning: "STDC" redefined [enabled by default] /* ============================================================================= ^ foo.c:1:0: note: this is the location of the previous definition

1 "Adhesion_Factor.c"

^ Adhesion_Factor.c:1:0: warning: "STDC_HOSTED" redefined [enabled by default] /* ============================================================================= ^ foo.c:1:0: note: this is the location of the previous definition

1 "Adhesion_Factor.c"

^ [wp] Running WP plugin... [wp] Collecting axiomatic usage [rte] annotating function TrackToTrain_Packet_071 [rte] annotating function TrackToTrain_Packet_071_Encoder [wp] Collecting variable usage [wp] Computing [100 goals...] [wp] failure: Non-assignable term (P_Telegram+(0 .. I_Cur_Dim-1)) [kernel] Current source was: Adhesion_Factor.c:59 The full backtrace is: Raised at file "src/kernel/log.ml", line 524, characters 30-31 Called from file "src/kernel/log.ml", line 518, characters 9-16 Re-raised at file "src/kernel/log.ml", line 521, characters 15-16 Called from file "list.ml", line 55, characters 20-23 Called from file "set.ml", line 304, characters 38-41 Called from file "map.ml", line 168, characters 20-25 Called from file "map.ml", line 168, characters 10-18 Called from file "map.ml", line 168, characters 10-18 Called from file "src/lib/bag.ml", line 96, characters 16-24 Called from file "src/lib/bag.ml", line 96, characters 16-24 Called from file "queue.ml", line 134, characters 6-20 Called from file "src/kernel/boot.ml", line 37, characters 4-20 Called from file "src/kernel/cmdline.ml", line 735, characters 2-9 Called from file "src/kernel/cmdline.ml", line 214, characters 4-8

     Plug-in wp aborted: internal error.
     Please report as 'crash' at http://bts.frama-c.com/.
     Your Frama-C version is Neon-20140301.
     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_reporting_guidelines

Additional Information :

The attached foo.c is the preprocessed version of a file out of the openETCS project. All used predicates are already included in the file.

Attachments

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