Crash during example run

Hi,

I was running RPC example by using nebem as a field solver on cern lxplus but found this crash , am not sure about the nature of this issue !!so i would be pleased for any help to understand and solve .

Preparing weighting field for 1-th set.
Computed weighting field solution
Computed primitive-averaged weighting field solutions
neBEMWtFldFastVol.inp absent … assuming OptWtFldFastVol = 0 …

*** Break *** segmentation violation

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

Thread 2 (Thread 0x7f3d2ef67700 (LWP 3075)):
#0 futex_wait (val=57521536, addr=0x59b1894) at /build/gcc/WORK/build/contrib/gcc-10.1.0/src/gcc/10.1.0/libgomp/config/linux/x86/futex.h:44
#1 do_wait (val=57521536, addr=0x59b1894) at /build/gcc/WORK/build/contrib/gcc-10.1.0/src/gcc/10.1.0/libgomp/config/linux/wait.h:67
#2 gomp_barrier_wait_end (bar=0x59b1890, state=57521536) at /build/gcc/WORK/build/contrib/gcc-10.1.0/src/gcc/10.1.0/libgomp/config/linux/bar.c:48
#3 0x00007f3d49312de0 in gomp_simple_barrier_wait (bar=0x59b1890) at /build/gcc/WORK/build/contrib/gcc-10.1.0/src/gcc/10.1.0/libgomp/config/posix/simple-bar.h:60
#4 gomp_thread_start (xdata=) at /build/gcc/WORK/build/contrib/gcc-10.1.0/src/gcc/10.1.0/libgomp/team.c:127
#5 0x00007f3db14e0ea5 in start_thread () from /lib64/libpthread.so.0
#6 0x00007f3d494369fd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3db5037c00 (LWP 2447)):
#0 0x00007f3d493fd549 in waitpid () from /lib64/libc.so.6
#1 0x00007f3d4937af62 in do_system () from /lib64/libc.so.6
#2 0x00007f3d4937b311 in system () from /lib64/libc.so.6
#3 0x00007f3db1281a3c in TUnixSystem::StackTrace() () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.06-1d426/x86_64-centos7-gcc10-opt/lib/libCore.so
#4 0x00007f3db127f055 in TUnixSystem::DispatchSignals(ESignals) () from /cvmfs/sft.cern.ch/lcg/releases/ROOT/v6.22.06-1d426/x86_64-centos7-gcc10-opt/lib/libCore.so
#5
#6 0x00007f3db2a65260 in neBEM::neBEMPrepareWeightingField(int, int*) () from /afs/cern.ch/user/t/tabdelha/garfield/garfieldpp/build/libGarfield.so.0.3.0
#7 0x00007f3db28dad50 in Garfield::ComponentNeBem3d::Initialise() () from /afs/cern.ch/user/t/tabdelha/garfield/garfieldpp/build/libGarfield.so.0.3.0
#8 0x0000000000407d58 in main ()

The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum ROOT Forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at Sign in to GitHub · GitHub Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.

#6 0x00007f3db2a65260 in neBEM::neBEMPrepareWeightingField(int, int*) () from /afs/cern.ch/user/t/tabdelha/garfield/garfieldpp/build/libGarfield.so.0.3.0
#7 0x00007f3db28dad50 in Garfield::ComponentNeBem3d::Initialise() () from /afs/cern.ch/user/t/tabdelha/garfield/garfieldpp/build/libGarfield.so.0.3.0
#8 0x0000000000407d58 in main ()

Hi,
is this the neBEM RPC example out of the box or a modified version?

PS: as we discussed some time ago, the ComponentParallelPlate class might be more suitable for simulating an RPC:
https://garfieldpp.web.cern.ch/examples/rpc/

Thanks @hschindl for your reply !
Yes it is a modified version of neBEM RPC . i am also working on RPC example you have mentioned. is that issue has a relation to the used field solver !!

Hi,
can you post a minimal working version of your modified neBEM RPC program which reproduces this crash?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.