[Gate-users] Problem with random engine

Barbara Genocchi Barbara.Genocchi at icr.ac.uk
Wed Jul 6 13:25:36 CEST 2016


Dear all,

we have added some macros in Gate 7.2 and these macros seem working, but from the moment we have added them we are having some problems with the random engine. Maybe without have a look at them you can't really help us...
The macros should not have nothing in common with the random engine but it doesn't work only in the case we use the module that we added.

Does anyone expertised this error? Have you got some suggestions? Or could you please tell us what does it means?


Following you can find the error we are having:

### === G4UAtomicDeexcitation::InitialiseForNewRun()

----- HepJamesRandom engine status -----
 Initial seed = 5219742668557587876
 u[] = 0.226218 0.461707 0.107639 0.551709 0.193241 0.271501 0.0179165 0.936496 0.489339 0.192117 0.908924 0.133655 0.388611 0.160607 0.951283 0.314024 0.812882 0.369947 0.029037 0.0989442 0.369972 0.116372 0.343457 0.206712 0.1867 0.33502 0.0674587 0.874369 0.276889 0.750174 0.242095 0.205739 0.704563 0.338389 0.8723 0.408147 0.0236266 0.545225 0.367544 0.881107 0.223168 0.953211 0.308861 0.296736 0.688602 0.718563 0.906025 0.400411 0.475223 0.148767 0.940889 0.83834 0.619278 0.105513 0.18383 0.736759 0.552346 0.508736 0.905497 0.628398 0.146594 0.221787 0.124913 0.641492 0.531683 0.76989 0.0940485 0.595601 0.177839 0.175476 0.0634102 0.554627 0.668369 0.544191 0.550494 0.164584 0.745134 0.479483 0.0691266 0.516521 0.0291359 0.824172 0.834624 0.302289 0.0830772 0.703638 0.524067 0.736201 0.20485 0.405195 0.369293 0.353943 0.702857 0.67056 0.194925 0.301124 0.45418
 c = 0.652903, cd = 0.456233, cm = 1
 i97 = 93, u[i97] = 0.67056
 j97 = 29, u[j97] = 0.750174
----------------------------------------

### === G4UAtomicDeexcitation::InitialiseForNewRun()
Value -0.0768541 out of bounds!!!
WARNING - Attempt to delete the physical volume store while geometry closed !
WARNING - Attempt to delete the logical volume store while geometry closed !
WARNING - Attempt to delete the solid store while geometry closed !
WARNING - Attempt to delete the region store while geometry closed !

 *** Break *** segmentation violation



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================

Thread 3 (Thread 0x7f8b3537f700 (LWP 17886)):
#0  pthread_cond_wait

GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8b38288da3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f8b38288557 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f8b42fcc182 in start_thread (arg=0x7f8b3537f700) at pthread_create.c:312
#4  0x00007f8b4224747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f8b34b7e700 (LWP 17887)):
#0  pthread_cond_wait

GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8b38288da3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007f8b38288557 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007f8b42fcc182 in start_thread (arg=0x7f8b34b7e700) at pthread_create.c:312
#4  0x00007f8b4224747d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f8b4af781c0 (LWP 17883)):
#0  0x00007f8b4220db99 in __libc_waitpid (pid=18029, stat_loc=stat_loc
entry=0x7ffc838f3e00, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
#1  0x00007f8b421932e2 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
#2  0x00007f8b44e38f23 in TUnixSystem::StackTrace() () from /home/gate/Progs/root/lib/libCore.so
#3  0x00007f8b44e3ab4c in TUnixSystem::DispatchSignals(ESignals) () from /home/gate/Progs/root/lib/libCore.so
#4  <signal handler called>
#5  __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:152
#6  0x00ffffffffffff00 in ?? ()
#7  0x0000000000000000 in ?? ()
===========================================================


The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5  __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:152
#6  0x00ffffffffffff00 in ?? ()
#7  0x0000000000000000 in ?? ()
===========================================================


Segmentation fault (core dumped)

The Institute of Cancer Research: Royal Cancer Hospital, a charitable Company Limited by Guarantee, Registered in England under Company No. 534147 with its Registered Office at 123 Old Brompton Road, London SW7 3RP.

This e-mail message is confidential and for use by the addressee only.  If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer and network.


More information about the Gate-users mailing list