playground icon indicating copy to clipboard operation
playground copied to clipboard

Segmentation fault

Open mingodad opened this issue 2 years ago • 2 comments

When trying to test the attached file on the playground it shows:

---- Testing... ----------------------------------------------------------------
 FAIL   302.762 ms /box/code_test.v
Segmentation fault

--------------------------------------------------------------------------------
Summary for all V _test.v files: 1 failed, 1 total. Runtime: 303 ms, on 1 job.

Exited with error status 1

exprtq.v.zip

mingodad avatar Feb 21 '23 11:02 mingodad

It compiles locally, with either: -message-limit 7859 , or with -w (otherwise there is a build error, since there are 7858 warnings for the redundant parentheses).

On my box however, it needed 235MB to compile with tcc, and I think that is the reason for the reported error in the playground - it just exceeds the memory limit of the jail, in which the compilations are run, and the compilation process is killed.

spytheman avatar Aug 17 '24 07:08 spytheman

I think that the reported error, should be better.

spytheman avatar Aug 17 '24 07:08 spytheman