Skip to content

Regression from goblint/cil#134 causes infinite loops in d_plainexp and d_plaintyp  #1290

@michael-schwarz

Description

@michael-schwarz

Looking at some of the tasks where Mopsa is very good, I noticed the following in our logs for these tasks: DeviceDriversLinux64Large-ReachSafety

Of interest is the following: After approx. 30s no additional evals of any right hand sides happen (or complete at least) and no new unknowns are discovered but the memory consumption skyrockets to the point where the system kills the run.

runtime: 00:00:33.870
vars: 30768, evals: 27447
max=2857.21MB
runtime: 00:01:27.718
vars: 30768, evals: 27447
max=15286.80MB

(after this it is killed)

This behavior is very odd, and seems to point at some implementation bug somewhere.

Full log

Link: https://sv-comp.sosy-lab.org/2024/results/results-verified/goblint.2023-11-30_12-55-24.logfiles/SV-COMP24_unreach-call.linux-3.14_complex_emg_linux-alloc-spinlock_drivers-net-ethernet-sfc-sfc.cil.yml.log

./goblint --conf conf/svcomp24.json --sets ana.specification ../../sv-benchmarks/c/properties/unreach-call.prp --sets exp.architecture 64bit ../../sv-benchmarks/c/ldv-challenges/linux-3.14_complex_emg_linux-alloc-spinlock_drivers-net-ethernet-sfc-sfc.cil.i


--------------------------------------------------------------------------------


--sets is deprecated, use --set instead.
--sets is deprecated, use --set instead.
unrolling loop at lib/libc/stub/src/stdlib.c:10:5-12:5 with factor 12
unrolling loop at lib/libc/stub/src/stdlib.c:21:9-27:9 with factor 4
unrolling loop at lib/libc/stub/src/stdlib.c:40:3-45:3 with factor 6
Collected factors:
functions: 3022
functionCalls: 9132
loops: 6
loopBreaks: 0
controlFlowStatements: 16108
expressions: 92021
instructions: 21068
integralVars: (421,4532)
arrayVars: (41,130)
pointerVars: (2320,6387)

Complexity estimates:
File: 4159107
function efx_ef10_ptp_set_ts_sync_events is recursive, disable interval and interval_set contexts
malloc wrapper: ldv_xmalloc
malloc wrapper: ldv_malloc
no thread creation -> disabling thread analyses "race, deadlock, maylocks, symb_locks, thread, threadid, threadJoins, threadreturn, mhp, region"
Total: 4159107
SV-COMP specification: CHECK( init(main()), LTL(G ! call(reach_error())) )

runtime: 00:00:13.062
vars: 9816, evals: 7738

|rho|=9816
|stable|=9816
|infl|=9517
|wpoint|=0
|sides|=1386
|side_dep|=0
|side_infl|=0
|var_messages|=0
|rho_write|=0
|dep|=7048
|called|=299
Found 1384 contexts for 9 functions. Top 5 functions: [...]

Memory statistics: total=15797.48MB, max=464.37MB, minor=15772.02MB, major=594.94MB, promoted=569.48MB
    minor collections=7529  major collections=16 compactions=0


runtime: 00:00:23.176
vars: 25667, evals: 22428

|rho|=25667
|stable|=25643
|infl|=25665
|wpoint|=1
|sides|=2501
|side_dep|=0
|side_infl|=0
|var_messages|=0
|rho_write|=0
|dep|=20945
|called|=8
Found 2219 contexts for 59 functions. Top 5 functions: [...]


Memory statistics: total=27942.72MB, max=706.25MB, minor=27915.81MB, major=997.24MB, promoted=970.33MB
    minor collections=13321  major collections=18 compactions=0


runtime: 00:00:33.870
vars: 30768, evals: 27447

|rho|=30768
|stable|=30765
|infl|=30730
|wpoint|=1
|sides|=2563
|side_dep|=0
|side_infl|=0
|var_messages|=0
|rho_write|=0
|dep|=25931
|called|=39
Found 2273 contexts for 70 functions. Top 5 functions: [...]

Memory statistics: total=37800.84MB, max=2857.21MB, minor=37773.91MB, major=3242.22MB, promoted=3215.29MB
    minor collections=18023  major collections=21 compactions=0

[...]

runtime: 00:01:27.718
vars: 30768, evals: 27447

|rho|=30768
|stable|=30765
|infl|=30730
|wpoint|=1
|sides|=2563
|side_dep|=0
|side_infl|=0
|var_messages|=0
|rho_write|=0
|dep|=25931
|called|=39
Found 2273 contexts for 70 functions. Top 5 functions:


Memory statistics: total=83772.05MB, max=15286.80MB, minor=83745.12MB, major=15449.96MB, promoted=15423.04MB
    minor collections=39946  major collections=25 compactions=0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugperformanceAnalysis time, memory usageupstreamIssue in dependency, needs fix upstream

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions