Warning in <TGenericClassInfo>: The rule for class: "BDSOutputROOTEventInfo":

Issue #288 resolved
1129759189 created an issue

Dear expert, I updated the BDSim version from V1.3.3 to V1.4.0 and the operation procedure is according to the manual: cd ../bdsim-build rm -rf * cmake ../bdsim make -j4 make install

Then the error  occurred while running:

You have successfully registered the following user vis actions.
Run Duration User Vis Actions: none
End of Event User Vis Actions: none
End of Run User Vis Actions: none

Some /vis commands (optionally) take a string to specify colour.
"/vis/list" to see available colours.
Available UI session types: [ Qt, Xm, GAG, tcsh, csh ]
Warning in <TGenericClassInfo>: The rule for class: "BDSOutputROOTEventInfo": version, "[-5]" and data members: "durationWall" has been skipped because the target member (durationWall) is unknown.

BDSIM is about to crash or was interrupted!
With signal: Segment error
Ave, Imperator, morituri te salutant!
Segment error (core dumped)

The manual shows that output class version (BDSOutputROOTEventInfo ) is 5. Actually, I still don't know what the problem is.

I expect your guidance and best regard to you and all members.

Comments (4)

  1. Laurie Nevay

    Hello,

    So this looks like a different runtime library than at compile time to me. Please check your environment. Do you still source the old <bdsim-isntall-prefix>/bin/bdsim.sh? Do you have DYLD_LIBRARY_PATH (mac) or LD_LIBRARY_PATH (unix) set and if so do they include other bdsim installation directories? Do you perhaps source a thisroot.sh which is from a different version than BDSIM was compiled with?

    The error comes from ROOT picking up an old dictionary for one of the classes. These live beside the shared library.

    Note, you can specify a bdsim installation directory your self using ccmake and setting CMAKE_INSTALL_PREFIX which is often better than the system default and mixing several installations.

    Also, the master branch is currently at v1.4.1 but the little change for this shouldn’t make any difference here. You certainly shouldn’t get a segfault in running the program.

    Lastly, does this happen when you run in batch mode with --batch?

  2. 1129759189 reporter

    The error only happened when run in batch mode or input “/run/beamOn” in OpenGL.
    Your advice is very helpful to me! I recheck the CMAKE_INSTALL_PREFIX, it becomes default configuration and that's the cause of the problem. It now works well by resetting the installation path.
    Thank you very much again for your help!

  3. Laurie Nevay

    Hello,

    Ok, so it sounds like it’s when it starts a ‘Run’ in Geant4 with happens with run/beamOn in the visualiser or just in batch mode.

    If it was solved by resetting the installation path, then it was definitely a different (older) library at run time. I’ll close the issue now.

  4. Log in to comment