I'm getting the following error when running my simulation.  I've
googled for information, but have found nothing relevant.

tb:error: invalid memory access (dangling accesses or stack size too small)
tb:error: simulation failed

I compiled with debugging, and have the following backtrace when running in gdb:

#0  0x8b10ec83 in ?? ()
#1  0x08156fb4 in grt.processes.run_processes (postponed=<value optimized out>)
    at /home/pete/Download/gcc-4.3.4/gcc/vhdl/grt/grt-processes.adb:593
#2  0x081573dd in grt.processes.initialization_phase ()
    at /home/pete/Download/gcc-4.3.4/gcc/vhdl/grt/grt-processes.adb:650
#3  0x0815c2f3 in __ghdl_run_through_longjump (func=0x815738c
<grt.processes.initialization_phase>)
    at ../../../gcc-4.3.4/gcc/vhdl/grt/config/linux.c:312
#4  0x081569b6 in grt.processes.simulation ()
    at /home/pete/Download/gcc-4.3.4/gcc/vhdl/grt/grt-processes.adb:817
#5  0x08161758 in grt.main.run ()
    at /home/pete/Download/gcc-4.3.4/gcc/vhdl/grt/grt-main.adb:154
#6  0x0815fd84 in ghdl_main (argc=1, argv=Cannot access memory at
address 0xe58955c7)
    at /home/pete/Download/gcc-4.3.4/gcc/vhdl/grt/ghdl_main.adb:49
#7  0x0815c6c6 in main (argc=Cannot access memory at address
0xe58955c3) at ../../../gcc-4.3.4/gcc/vhdl/grt/main.adb:24

I build GHDL myself using GCC 4.3.4 and GNAT GPL 2009.

> ghdl --version
GHDL 0.28 (20090917) [Sokcho edition]
 Compiled with GNAT Version: GPL 2009 (20090519)

I do have some foreign subprograms, but I don't know how to determine
if this is the cause of any of the problems.  The backtrace doesn't
indicate anything.

Thanks,
Pete

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to