dva
March 25, 2007, 7:40am
1
Hello ROOTers.
After the v5.15.04 installation i found a new feature, when trying to reload an ACLICed
library. Have a look at the following example:
[rootmacros] > root
Compiled on 20 March 2007 for linux with thread support.
CINT/ROOT C/C++ Interpreter version 5.16.19, March 16, 2007
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .L test1.C++
Info in TUnixSystem::ACLiC : creating shared library /home/dorofeev/private/rootmacros/./test1_C.so
root [1] test1();
root [2] .q
[rootmacros] > root -l
root [0] .L test1.C+
root [1] test1();
Warning in TCanvas::ResizePad : c1 width changed from 0 to 10
Warning in TCanvas::ResizePad : c1 height changed from 0 to 10
*** Break *** segmentation violation
(no debugging symbols found)
Using host libthread_db library “/lib/tls/libthread_db.so.1”.
Attaching to program: /proc/2449/exe, process 2449
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
[Thread debugging using libthread_db enabled]
[New Thread -1218561504 (LWP 2449)]
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
(no debugging symbols found)…done.
0x009f44de in __waitpid_nocancel () from /lib/tls/libc.so.6
Thread 1 (Thread -1218561504 (LWP 2449)):
#0 0x009f44de in __waitpid_nocancel () from /lib/tls/libc.so.6
#1 0x009891c4 in do_system () from /lib/tls/libc.so.6
#2 0x00172d7f in system () from /lib/tls/libpthread.so.0
#3 0x0037b8f9 in TUnixSystem::Exec ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libCore.so
#4 0x0037bd29 in TUnixSystem::StackTrace ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libCore.so
#5 0x00379e1f in TUnixSystem::DispatchSignals ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libCore.so
#6 0x00377eff in SigHandler ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libCore.so
#7 0x0037e559 in sighandler ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libCore.so
#8
#9 0x009067a4 in TGX11::DrawBox ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libGX11.so
#10 0x03101d26 in TPad::PaintBox ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libGpad.so
#11 0x03cc16da in TBox::PaintBox ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libGraf.so
#12 0x03d4052a in TWbox::PaintWbox ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libGraf.so
#13 0x03d404b9 in TWbox::Paint ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libGraf.so
#14 0x03ccce9a in TFrame::Paint ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libGraf.so
#15 0x031016b9 in TPad::PaintPadFrame ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libGpad.so
#16 0x0857b8b3 in THistPainter::PaintFrame ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libHistPainter.so
#17 0x0857423f in THistPainter::Paint ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libHistPainter.so
#18 0x010c3b2e in TH1::Paint ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libHist.so
#19 0x0310198f in TPad::PaintModified ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libGpad.so
#20 0x030e9c97 in TCanvas::Update ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libGpad.so
#21 0x00354828 in TCint::UpdateAllCanvases ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libCore.so
#22 0x0035046c in TCint::ProcessLine ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libCore.so
#23 0x003505ec in TCint::ProcessLineSynch ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libCore.so
#24 0x0034fe2f in TCint::EndOfLineAction ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libCore.so
#25 0x0011dd4c in TRint::HandleTermInput ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libRint.so
#26 0x0011c624 in TTermInputHandler::Notify ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libRint.so
#27 0x0011e52c in TTermInputHandler::ReadNotify ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libRint.so
#28 0x0037a254 in TUnixSystem::CheckDescriptors ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libCore.so
#29 0x00379128 in TUnixSystem::DispatchOneEvent ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libCore.so
#30 0x0031c588 in TSystem::InnerLoop ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libCore.so
#31 0x0031c52d in TSystem::Run ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libCore.so
#32 0x002ce952 in TApplication::Run ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libCore.so
#33 0x0011d718 in TRint::Run ()
from /work/dorofeev/root/v5.15.04/slc3_gcc3.2.3/root/lib/libRint.so
#34 0x08048899 in main ()
OS - SLC3, downloaded binary.
Regards, Valery.
test1.C (576 Bytes)
pcanal
March 27, 2007, 10:13am
2
Hi,
We can reproduce the problem. We are looking for the best solution. In the meantime, create a canvas (or explicitly load libGpad) before loading your pre-compiled library.
Cheers,
Philippe.
pcanal
March 30, 2007, 1:53pm
3
This problem is now fixed in the CVS repository.
Cheers,
Philippe