[NOTABUG] Linking to libField.so causes seg violation [message #18629] |
Mon, 02 November 2015 18:20 |
|
Hi everyone,
I have a strange behaviour with fopiROOT/FairROOT: I have a minimal helloworld example (MickeyMouse.cc), that I can compile and use... as long as I do not link its executable to fopiROOTs .../build/lib/libField.so.0 -- if so, the execution will crash with a segmentation violation. To the best of my knowledge, this does not happen if I link it to another library in FairROOT, but I haven't tried every possible combination^^.
Is this a known behaviour? Has anyone tried to link to the .so's with success? Am I doing s.th. wrong?
Attached, there are my CMakeLists.txt, where l. 63 triggers the crash, and the Valgrind log, with ll. 96 ff. pointing to an error in PndFieldContFact.cxx. I am using revision 28577 of https://subversion.gsi.de/fairroot/fopiroot/trunk on a CentOS 7 machine with CMake 2.8.11.
Any help is welcomed! Cheers,
Philipp
[Updated on: Wed, 03 February 2016 23:34] by Moderator Report message to a moderator
|
|
|
|
|
|
Re: Linking to libField.so causes seg violation [message #18633 is a reply to message #18632] |
Tue, 03 November 2015 10:05 |
|
Hi,
sorry, not quite sure what you asked for -- is there an official version number? How would I determine it?
Meanwhile, here's the result of some "svn info":
Working Copy Root Path: ~/g2fopiroot
URL: https://subversion.gsi.de/fairroot/fopiroot/trunk
Repository Root: https://subversion.gsi.de/fairroot
Repository UUID: 0381ead4-6506-0410-b988-94b70fbc4730
Revision: 28577
Node Kind: directory
Schedule: normal
Last Changed Author: sdorheim
Last Changed Rev: 28425
Last Changed Date: 2015-09-01 14:25:59 +0200 (Tue, 01 Sep 2015)
Working Copy Root Path: ~/g2fopiroot/base
URL: https://subversion.gsi.de/fairroot/fairbase/release/base
Repository Root: https://subversion.gsi.de/fairroot
Repository UUID: 0381ead4-6506-0410-b988-94b70fbc4730
Revision: 15199
Node Kind: directory
Schedule: normal
Last Changed Author: karabowi
Last Changed Rev: 15197
Last Changed Date: 2012-04-03 12:06:01 +0200 (Tue, 03 Apr 2012)
Working Copy Root Path: ~/g2fopiroot/field
URL: https://subversion.gsi.de/fairroot/pandaroot/trunk/field
Repository Root: https://subversion.gsi.de/fairroot
Repository UUID: 0381ead4-6506-0410-b988-94b70fbc4730
Revision: 13982
Node Kind: directory
Schedule: normal
Last Changed Author: turany
Last Changed Rev: 11527
Last Changed Date: 2011-04-13 15:48:58 +0200 (Wed, 13 Apr 2011)
Best regards!
|
|
|
|