Segmentation fault (core dumped)

832 views
Skip to first unread message

Prawin

unread,
Mar 29, 2018, 6:30:29 AM3/29/18
to EDA Playground

Hi Team,



VSIMSA: Configuration file changed: `/home/runner/library.cfg'
ALIB: Library `work' attached.
work = /home/runner/work/work.lib
MESSAGE "Pass 1. Scanning modules hierarchy."
Segmentation fault (core dumped)
Exit code expected: 0, received: 1

What does it mean??

When i run the simulation, log   showing like this...


Thanks,

EDA Playground

unread,
Mar 29, 2018, 6:49:43 AM3/29/18
to EDA Playground

The simulator that you are using has crashed. I can think of two reasons for this:

i) a bug in EDA Playground

ii) a bug in the simulator

Without a URL I could not tell which.

Matthew

Prawin

unread,
Apr 5, 2018, 1:31:41 AM4/5/18
to EDA Playground


  Hi Team,

    Still am getting following error for other code also

          "Segmentation fault (core dumped)
           Exit code expected: 0, received: 1"


      Is this bug in my or simulator issue ??

EDA Playground

unread,
Apr 5, 2018, 1:46:25 AM4/5/18
to EDA Playground

Hi Prawin,

As I said, without the URL of the playground concerned, I cannot tell whether it is a bug in the simulator or in EDA Playground. There may be a bug in your code, but if so that should result in a sensible error message, not a core dump, so it is not your code that is at fault.

Please can you post the URL of your playground. (And please make sure the code is public.)

Best regards,

Matthew

Prawin

unread,
Apr 5, 2018, 3:10:06 AM4/5/18
to EDA Playground

EDA Playground

unread,
Apr 5, 2018, 3:22:04 AM4/5/18
to EDA Playground

There are bugs in your code, but as I said, no bug in your code should cause a simulator (or anything else) to crash. There appears to be a bug in Riviera Pro 2014.10 (which you are using) which seems to have been fixed by 2015.06. Try that - you'll see it doesn't crash and it finds some errors in your code.

Matthew

Prawin

unread,
Apr 9, 2018, 7:08:50 AM4/9/18
to EDA Playground
Hi,

i didn't find any errors in my code,can you help me on this.




Thanks,

EDA Playground

unread,
Apr 9, 2018, 10:02:02 AM4/9/18
to EDA Playground

    https://www.edaplayground.com/x/2iVG

--

Riviera Pro 2015.06

--

[2018-04-09 10:00:30 EDT] vlib work && vlog '-timescale' '1ns/1ns' '-sv2k9' design.sv testbench.sv && vsim -c -do "vsim +access+r; run -all; exit"
VSIMSA: Configuration file changed: `/home/runner/library.cfg'
ALIB: Library `work' attached.
work = /home/runner/work/work.lib
MESSAGE "Pass 1. Scanning modules hierarchy."
MESSAGE_SP VCP9201 "All structure members are packed, this structure is being treated as packed." "testbench.sv" 24 3
MESSAGE_SP VCP9201 "All structure members are packed, this structure is being treated as packed." "testbench.sv" 34 3
MESSAGE_SP VCP9201 "All structure members are packed, this structure is being treated as packed." "testbench.sv" 39 1
WARNING VCP2947 "Default parameter values used for class amba3_axi_tx_t specialization." "testbench.sv" 177 25
MESSAGE "Pass 2. Processing instantiations."
MESSAGE "Pass 3. Processing behavioral statements."
ERROR VCP5103 "Undeclared identifier: FIXED." "testbench.sv" 46 29
ERROR VCP5103 "Undeclared identifier: INCR." "testbench.sv" 46 35
ERROR VCP5103 "Undeclared identifier: WRAP." "testbench.sv" 46 41
WARNING VCP5408 "Result of the 'this.addr.burst inside {...}' expression will always be x." "testbench.sv" 46 41
ERROR VCP5103 "Undeclared identifier: NORMAL." "testbench.sv" 47 29
ERROR VCP5103 "Undeclared identifier: EXCLUSIVE." "testbench.sv" 47 40
ERROR VCP5103 "Undeclared identifier: LOCKED." "testbench.sv" 47 48
WARNING VCP5408 "Result of the 'this.addr.lock inside {...}' expression will always be x." "testbench.sv" 47 48
ERROR VCP5103 "Undeclared identifier: OKAY." "testbench.sv" 49 22
ERROR VCP5103 "Undeclared identifier: EXOKAY." "testbench.sv" 49 30
ERROR VCP5103 "Undeclared identifier: SLVERR." "testbench.sv" 49 38
ERROR VCP5103 "Undeclared identifier: DECERR." "testbench.sv" 49 46
WARNING VCP5408 "Result of the 'this.resp inside {...}' expression will always be x." "testbench.sv" 49 46
ERROR VCP5103 "Undeclared identifier: FIXED." "testbench.sv" 64 28
ERROR VCP5103 "Undeclared identifier: WRAP." "testbench.sv" 69 27
ERROR VCP5103 "Undeclared identifier: FIXED." "testbench.sv" 77 29
ERROR VCP5103 "Undeclared identifier: FIXED." "testbench.sv" 93 57
ERROR VCP5103 "Undeclared identifier: WRAP." "testbench.sv" 93 69
ERROR VCP5103 "Undeclared identifier: NORMAL." "testbench.sv" 94 24
ERROR VCP5103 "Undeclared identifier: NON_SECURE." "testbench.sv" 96 28
ERROR VCP5103 "Undeclared identifier: OKAY." "testbench.sv" 109 21
ERROR VCP2946 "Reference to unknown class method: this.data.elem_handle.resp.name." "testbench.sv" 135 67
FAILURE "Compile failure 19 Errors 4 Warnings Analysis time: 1[s]."
Reply all
Reply to author
Forward
0 new messages