Hello,
I am running
ROOT 5.20/00 (tags/v5-20-00@24532, Sep 23 2008, 17:12:35 on linuxx8664gcc)
on ubuntu hardy heron.
The configuration is the following:
[code]export ROOTSYS=/usr/local/root
./configure linuxx8664gcc --enable-soversion --enable-python --enable-gsl-shared --enable-shared --enable-fftw3 --with-fftw3-incdir=/usr/local --with-fftw3-libdir=/usr/lib
export ROOTSYS=/usr/local/root
export PATH=$ROOTSYS/bin:$PATH
export LD_LIBRARY_PATH=$ROOTSYS/lib:$LD_LIBRARY_PATH[/code]
I have installed the ubuntu fft packages:
fftw3, libfftw3-3, libfftw3-dev
These packages have version 3.1.2-2ubuntu2 (fftw3) and 3.1.2-3ubuntu1 (libfftw3-3 and libfftw3-dev).
When running the tutorial FFT.C, I am running into a segmentation violation when executing the line
[quote]*** Break *** segmentation violation
Attaching to program: /proc/16453/exe, process 16453
[Thread debugging using libthread_db enabled]
[New Thread 0x2b56e27f54d0 (LWP 16453)]
0x00002b56e22f74a5 in waitpid () from /lib/libc.so.6
error detected on stdin
The program is running. Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]
Detaching from program: /proc/16453/exe, process 16453
Root > Function FFT() busy flag cleared[/quote]
In gdb,
I get the following backtrace:
[quote]Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2b9a65511370 (LWP 16486)]
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00002b9a68dae256 in TFFTRealComplex::TFFTRealComplex () from /usr/local/root/lib/libFFTW.so
#2 0x00002b9a68db7f52 in G__G__FFTW_104_0_4 () from /usr/local/root/lib/libFFTW.so
#3 0x00002b9a6023c400 in Cint::G__CallFunc::Execute () from /usr/local/root/lib/libCint.so.5.20
#4 0x00002b9a5fa35851 in TCint::CallFunc_ExecInt () from /usr/local/root/lib/libCore.so.5.20
#5 0x00002b9a5fa2ccbb in TMethodCall::Execute () from /usr/local/root/lib/libCore.so.5.20
#6 0x00002b9a5f9ad4d7 in TPluginHandler::ExecPlugin () from /usr/local/root/lib/libCore.so.5.20
#7 0x00002b9a5f9f121c in TVirtualFFT::FFT () from /usr/local/root/lib/libCore.so.5.20
#8 0x00002b9a6156fced in TH1::FFT () from /usr/local/root/lib/libHist.so.5.20
#9 0x0000000000402e39 in main (argc=1, argv=0x7fff4b4dd688) at meinfft.cc:70
(gdb) [/quote]
I don’t know what is happening and would be glad if anyone could help me.