Re: [Gems-users] simulation state corrupted


Date: Sun, 29 Jun 2008 22:57:20 -0400
From: "Nauman Rafique" <naumanr@xxxxxxxxx>
Subject: Re: [Gems-users] simulation state corrupted
I noticed that this error happens when you recompile ruby/opal, after starting a simulation. The running simulation will get Bus error when printing stats at the end of simulation. So we can just avoid the error by taking care not to recompile when there are simulations running.

I have got a stack trace leading to this Bus Error. I am posting it here, hoping it might help us figure out the problem. I have got similar trace from multiple simulations.

-----------------------------------------------------------------------------------------------------------------------------
Program received signal SIGBUS, Bus error.
0x002a11aa in strcmp () from /lib/i686/libc.so.6
(gdb) bt
#0  0x002a11aa in strcmp () from /lib/i686/libc.so.6
#1  0x036aa6ed in initvar_t::dispatch_set (this=0x8391180, id=0x37856de, obj=0x8771258, val=0xbfffe470, idx=0xbfffe400) at ../common/ioutil/initvar.C:298
#2  0x036b8ec9 in initvar_dispatch_set (id=0x37856de, obj=0x8771258, val=0xbfffe470, idx=0xbfffe400) at ../common/ioutil/initvar.C:647
#3  0x0089c04c in SIM_get_class_attribute_idx () from ~/gems/simics/x86-linux/bin/libsimics-common.so
#4  0x0089c464 in SIM_get_class_attribute_idx () from ~/gems/simics/x86-linux/bin/libsimics-common.so
#5  0x0089c4a1 in SIM_set_attribute () from ~/gems/simics/x86-linux/bin/libsimics-common.so
#6  0x00d5f766 in fini_local () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#7  0x00d9613a in PyCFunction_Call () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#8  0x00d7fa5e in PyObject_Call () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#9  0x00dbb717 in PyEval_EvalCode () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#10 0x00db8534 in _PyExc_Fini () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#11 0x00db95b4 in PyEval_EvalCodeEx () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#12 0x00e02a2a in PyFunction_New () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#13 0x00d7fa5e in PyObject_Call () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#14 0x00db9db0 in PyEval_CallObjectWithKeywords () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#15 0x00e03944 in PyStructSequence_New () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#16 0x00d961ad in PyCFunction_Call () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#17 0x00db8563 in _PyExc_Fini () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#18 0x00db95b4 in PyEval_EvalCodeEx () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#19 0x00dbb691 in PyEval_EvalCode () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#20 0x00db8601 in _PyExc_Fini () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#21 0x00db95b4 in PyEval_EvalCodeEx () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#22 0x00dbb691 in PyEval_EvalCode () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#23 0x00db8601 in _PyExc_Fini () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#24 0x00db95b4 in PyEval_EvalCodeEx () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#25 0x00dbb691 in PyEval_EvalCode () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#26 0x00db8601 in _PyExc_Fini () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#27 0x00db95b4 in PyEval_EvalCodeEx () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#28 0x00dbb691 in PyEval_EvalCode () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#29 0x00db8601 in _PyExc_Fini () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#30 0x00db95b4 in PyEval_EvalCodeEx () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#31 0x00dbb630 in PyEval_EvalCode () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#32 0x00dd5ae1 in PyOS_setsig () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#33 0x00dd5a92 in PyOS_setsig () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#34 0x00dd558e in PyRun_String () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#35 0x00d1c63b in ?? () from ~/gems/simics-2.2.19/x86-linux/lib/python-frontend.so
#36 0x0835fee0 in ?? ()
#37 0x00000101 in ?? ()
#38 0x0809d2c4 in ?? ()
#39 0x0809d2c4 in ?? ()
#40 0x75646f6d in ?? ()
#41 0x5f73656c in ?? ()
#42 0x5f646e61 in ?? ()
#43 0x286e7572 in ?? ()
#44 0x005e0a29 in ?? ()
#45 0x00000000 in ?? ()

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

On Mon, Oct 9, 2006 at 3:11 PM, Dan Gibson <degibson@xxxxxxxx> wrote:
I was referring to the host.
We experience a similar problem when accessing AFS during simulations,
and we have no workaround. If you can reproduce the problem, you might
be able to diagnose it, but there is some interaction between simics and
its file I/O that cause the SIGBUS (we think).

You might try posting this on the Simics forums as well.

Regards,
Dan

Thomas Yeh wrote:
> yes, I am using a NFS on the machines used to run the simulations.
>
> Or are you referring to the virtual machine inside simice?
>
>
>
> On Mon, 9 Oct 2006, Dan Gibson wrote:
>
>
>> Are you using a network file system of some type (eg. NFS or AFS)?
>>
>> Thomas Yeh wrote:
>>
>>> A few of my simulations are hitting the following problem:
>>>
>>> ### Executing "opal0.stats"
>>> Bus error (SIGBUS) in main thread
>>> The simulation state has been corrupted. Simulation cannot continue.
>>> Please restart Simics.
>>> Command aborted
>>>
>>> I am running simics 3.0.19 with gems. These simulations run for a while
>>> before this happens. Also, it seems to happen when I call opal0.stats 1
>>> after the other.
>>>
>>> Tom
>>>
>>> _______________________________________________
>>> Gems-users mailing list
>>> Gems-users@xxxxxxxxxxx
>>> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>>> Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
>>>
>>>
>>>
>> --
>> http://www.cs.wisc.edu/~gibson [esc]:wq!
>>
>> _______________________________________________
>> Gems-users mailing list
>> Gems-users@xxxxxxxxxxx
>> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>> Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
>>
>>
> _______________________________________________
> Gems-users mailing list
> Gems-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
> Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.
>
>

--
http://www.cs.wisc.edu/~gibson [esc]:wq!

_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.


[← Prev in Thread] Current Thread [Next in Thread→]
  • Re: [Gems-users] simulation state corrupted, Nauman Rafique <=