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 204
    • Issues 204
    • 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
  • #2274
Closed
Open
Created Jun 07, 2010 by Jochen Burghardt@burghardt

Uncaught exception in jc/jc_effect.ml caused by union type

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


Id Project Category View Due Date Updated
ID0000500 Frama-C Plug-in > jessie public 2010-06-07 2010-12-18
Reporter Jochen Assigned To cmarche Resolution fixed
Priority normal Severity text Reproducibility always
Platform - OS - OS Version -
Product Version Frama-C Boron-20100401 Target Version - Fixed in Version Frama-C Carbon-20101202-beta2

Description :

The attached program tries to do a dirty conversion from char* to int (just to test the limits of Jessie). If this is done by a cast, Jessie properly reports <>. If this is done by a union type, however, Jessie reports <<Uncaught exception: File "jc/jc_effect.ml", line 1356, characters 22-28: Assertion failed>>. Probably that exception should be caught and <<...cannot be used on your code>> should be reported in this case, too. See the attached program; comment-out and uncomment the line "#define testUnion" to reproduce both behaviours.

Attachments

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