Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
Spot
Spot
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 117
    • Issues 117
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Spot
  • SpotSpot
  • Issues
  • #96

Closed
Open
Opened Jun 30, 2015 by Alexandre Duret-Lutz@adlOwner

out of memory in ltlcross

Vitus Lam reported randpsl.test failing with:

-:17: (F(({{{(p0) | {[*0]}}:{{{(p1)}[*2]}[:*]}[*]:[*2]}[:*0..3]}[]-> (G(F(p1)))) & (G((!(p1)) | ((!(p2)) W (G(!(p0))))))))
Running [P0]: ../ikwiad -R3 -t '(F(({{{(p0) | {[*0]}}:{{{(p1)}[*2]}[:*]}[*]:[*2]}[:*0..3]}[]-> (G(F(p1)))) & (G((!(p1)) | ((!(p2)) W (G(!(p0))))))))' >'lcr-o0-rfpqTF'
Running [P1]: ../ikwiad -x -R3 -t '(F(({{{(p0) | {[*0]}}:{{{(p1)}[*2]}[:*]}[*]:[*2]}[:*0..3]}[]-> (G(F(p1)))) & (G((!(p1)) | ((!(p2)) W (G(!(p0))))))))' >'lcr-o1-TdrzQJ'
Running [N0]: ../ikwiad -R3 -t '(!(F(({{{(p0) | {[*0]}}:{{{(p1)}[*2]}[:*]}[*]:[*2]}[:*0..3]}[]-> (G(F(p1)))) & (G((!(p1)) | ((!(p2)) W (G(!(p0)))))))))' >'lcr-o0-W91t5N'
Running [N1]: ../ikwiad -x -R3 -t '(!(F(({{{(p0) | {[*0]}}:{{{(p1)}[*2]}[:*]}[*]:[*2]}[:*0..3]}[]-> (G(F(p1)))) & (G((!(p1)) | ((!(p2)) W (G(!(p0)))))))))' >'lcr-o1-GEQAIy'
Performing sanity checks and gathering statistics...
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
./randpsl.test: line 32:  7714 Broken pipe             ../../bin/randltl -n -1 --tree-size 30 --seed 12 --psl a b c
      7715                       | ../../bin/ltlfilt -r --size-min 12 --unique
      7716 Done                    | ../../bin/ltlfilt -v --ltl -n 50
      7717 Done                    | tee formulas
      7718 Aborted                 (core dumped) | ../../bin/ltlcross '../ikwiad -R3 -t %f >%T' '../ikwiad -x -R3 -t %f >%T' -F - -f '{{(p1)}[*]:{(p3) && {{!(p1)} xor {!(p3)}}}}'

He runs in a 32-bit VM with 4GB of RAM.

This particular formula actually takes a lot of time to run through ltlcross (when it works), so after fixing the memory problem (if possible) we might want to skip this case to speedup the builds.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: spot/spot#96