# Rootn.exe startup crashes on Ubuntu 14.04.4

**URL:** <https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825>\
**Category:** ROOT\
**Created:** [March 18, 2016, 1:48pm UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825 "2016-03-18T13:48:33Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![tjohnson53](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/e9bcb4/32.png) [@tjohnson53](https://root-forum.cern.ch/u/tjohnson53)\
**Post date:** [March 18, 2016, 1:48pm UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825/1 "2016-03-18T13:48:33Z")

</div>

Hi guys,

I’ve installed root on Ubuntu 14.04…4 (uname results are 3.13.0-79-generic x86\_64 GNU/Linux). The gcc version is: 4.8.4. The root versions I’ve tried are 6.06/02 and 6.04/16, and building using appropriate architecture and --prefix=/usr/local (and /usr/local/root), and of course setting the appropriate path in libc.conf in /etc/ld.so.conf and running ldconfig. I’ve also tried downloading the binary distribution, setting LD\_LIBRARY\_PATH and running from within my home directory. In all cases, root works fine. However, rootn.exe (which is what we need) always fails on startup. A piece of the stack trace from one of the tests is:  
/usr/local/root/bin/rootn.exe  
Fatal in : storage area overwritten  
aborting  
#0 0x00007fe8f3aebb4c in \_\_libc\_waitpid (pid=17203, stat\_loc=stat\_loc  
entry=0x7ffe00f9cb40, options=options  
  
#15 0x00007fe8f0a7643e in CreateInterpreter () from /usr/local/root/lib/root/libCling.so  
#16 0x00007fe8f494cf9b in TROOT::InitInterpreter() () from /usr/local/root/lib/root/libCore.so  
#17 0x00007fe8f494d316 in ROOT::GetROOT2() () from /usr/local/root/lib/root/libCore.so  
#18 0x00007fe8f4d3cff5 in operator delete(void\*) () from /usr/local/root/lib/root/libNew.so  
#19 0x00007fe8f498ca5e in TClassTable::Add(char const\*, short, std::type\_info const&, TClass\* (_)(), int) () from /usr/local/root/lib/root/libCore.so  
 #20 0x00007fe8f49bd0e6 in ROOT::TGenericClassInfo::TGenericClassInfo(char const_, int, char const\*, int, ROOT::TInitBehavior const\*, TClass\* (\*)(), int) () from /usr/local/root/lib/root/libCore.so  
#21 0x00007fe8f48ff218 in TMath::ROOT::GenerateInitInstance() () from /usr/local/root/lib/root/libCore.so  
#22 0x00007fe8f489639c in \_GLOBAL\_\_sub\_I\_G\_\_Core.cxx () from /usr/local/root/lib/root/libCore.so  
#23 0x00007fe8f4f4f13a in call\_init (l=, argc=argc  
entry=1, argv=argv  
entry=0x7ffe00fa0cc8, env=env

I’m attaching the whole thing for convenience, but maybe the above is enough to give somebody a clue.[problem.txt](https://root-forum.cern.ch/uploads/default/original/2X/9/948850af951cb5342e4f210a4eb490863b6e7a47.txt) (3.57 KB)

Does anybody have any ideas on this, or is there some other information I need to provide to shed on it? Should I backtrack down to one of the root 5 versions?

Thanks,  
Tim

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [March 18, 2016, 3:11pm UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825/2 "2016-03-18T15:11:56Z")

</div>

Hi Tim,

did you configure with cmake and, f not, may you try this out?

Danilo

---

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [March 21, 2016, 10:58pm UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825/3 "2016-03-21T22:58:50Z")

</div>

I confirm this problem (ROOT v6-06-02 built with cmake).

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [March 22, 2016, 12:29am UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825/4 "2016-03-22T00:29:07Z")

</div>

Hi,

did you proceed with a vanilla “cmake path/to/root” or did you specify some flags for the configuration?

Cheers,  
Danilo

---

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [March 22, 2016, 1:30am UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825/5 "2016-03-22T01:30:06Z")

</div>

`cd /full/path/to/build
unset ROOTSYS
cmake -DCMAKE_INSTALL_PREFIX="/full/path/to/install" -Dall="ON" -Dgeocad="ON" -DOCC_INCLUDE_DIR="/usr/include/oce" -Dbuiltin_ftgl="OFF" -Dbuiltin_glew="OFF" -Dsoversion="ON" /full/path/to/source
cmake --build .
cmake --build . --target install` `[...]$ . /full/path/to/install/bin/thisroot.sh
[...]$ root-config --features
asimage astiff bonjour builtin_afterimage builtin_llvm cxx11 cling davix exceptions explicitlink fftw3 fitsio fortran gviz gdml geocad genvector http krb5 ldap mathmore memstat minuit2 mysql odbc opengl pch pgsql pythia8 python qt qtgsi roofit r shadowpw shared soversion sqlite ssl table thread tmva unuran vc vdt xft xml x11`

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [March 22, 2016, 8:51pm UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825/6 "2016-03-22T20:51:04Z")

</div>

Hi,

I could not reproduce the issue on my kubuntu box.  
I propose to simplify the configuration command in order to converge more rapidly on a solution:

```auto
cmake -DCMAKE_INSTALL_PREFIX="/full/path/to/install" /full/path/to/source
cmake --build .
cmake --build . --target install
```

Cheers,  
Danilo

---

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [March 22, 2016, 11:16pm UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825/7 "2016-03-22T23:16:15Z")

</div>

`[...]$ cat /etc/issue
Ubuntu 14.04.4 LTS \n \l
[...]$ uname -a
Linux h111 3.13.0-83-generic #127-Ubuntu SMP Fri Mar 11 00:25:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux` `[...]$ . /opt/ROOT/debug/install/bin/thisroot.sh
[...]$ root-config --features
asimage astiff bonjour builtin_afterimage builtin_ftgl builtin_glew builtin_llvm cxx11 cling davix exceptions explicitlink fftw3 fitsio fortran gviz genvector krb5 ldap mathmore memstat mysql odbc opengl pch pgsql pythia8 python shadowpw shared sqlite ssl thread tmva vdt xft xml x11` [code][…]$ gdb /opt/ROOT/debug/install/bin/rootn.exe  
GNU gdb (Ubuntu 7.7.1-0ubuntu5~14.04.2) 7.7.1  
Copyright © 2014 Free Software Foundation, Inc.  
License GPLv3+: GNU GPL version 3 or later [http://gnu.org/licenses/gpl.html](http://gnu.org/licenses/gpl.html)  
This is free software: you are free to change and redistribute it.  
There is NO WARRANTY, to the extent permitted by law. Type "show copying"  
and “show warranty” for details.  
This GDB was configured as “x86\_64-linux-gnu”.  
Type “show configuration” for configuration details.  
For bug reporting instructions, please see:  
[http://www.gnu.org/software/gdb/bugs/](http://www.gnu.org/software/gdb/bugs/).  
Find the GDB manual and other documentation resources online at:  
[http://www.gnu.org/software/gdb/documentation/](http://www.gnu.org/software/gdb/documentation/).  
For help, type “help”.  
Type “apropos word” to search for commands related to “word”…  
Reading symbols from /opt/ROOT/debug/install/bin/rootn.exe…done.  
(gdb) run  
Starting program: /opt/ROOT/debug/install/bin/rootn.exe  
[Thread debugging using libthread\_db enabled]  
Using host libthread\_db library “/lib/x86\_64-linux-gnu/libthread\_db.so.1”.  
Fatal in : storage area overwritten  
aborting

Program received signal SIGABRT, Aborted.  
0x00007ffff6b37cc9 in \_\_GI\_raise (sig=sig@entry=6) at …/nptl/sysdeps/unix/sysv/linux/raise.c:56  
56 …/nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.  
(gdb) where  
#0 0x00007ffff6b37cc9 in \_\_GI\_raise (sig=sig@entry=6) at …/nptl/sysdeps/unix/sysv/linux/raise.c:56  
#1 0x00007ffff6b3b0d8 in \_\_GI\_abort () at abort.c:89  
#2 0x00007ffff78c0c49 in TUnixSystem::Abort (this=) at /opt/ROOT/debug/source/core/unix/src/TUnixSystem.cxx:2124  
#3 0x00007ffff77e977f in DefaultErrorHandler (level=, abort\_bool=, location=0x7ffff7bd8374 “operator delete”, msg=0x7fffffffbb50 “storage area overwritten”)  
at /opt/ROOT/debug/source/core/base/src/TError.cxx:193  
#4 0x00007ffff77e91ba in ErrorHandler(Int\_t, const char _, const char , typedef \_\_va\_list\_tag \_\_va\_list\_tag ) (level=level@entry=6000, location=location@entry=0x7ffff7bd8374 “operator delete”, fmt=fmt@entry=0x7ffff7bd8253 “%s”,  
ap=ap@entry=0x7fffffffbca8) at /opt/ROOT/debug/source/core/base/src/TError.cxx:251  
 #5 0x00007ffff77e9612 in Fatal (location=location@entry=0x7ffff7bd8374 “operator delete”, fmt=fmt@entry=0x7ffff7bd8253 “%s”) at /opt/ROOT/debug/source/core/base/src/TError.cxx:347  
 #6 0x00007ffff7bd7fe0 in operator delete (ptr=0x675580) at /opt/ROOT/debug/source/core/newdelete/src/NewDelete.cxx:271  
 #7 0x00007ffff41ae8fc in clang::driver::toolchains::Linux::Linux(clang::driver::Driver const&, llvm::Triple const&, llvm::opt::ArgList const&) () from /opt/ROOT/debug/install/lib/libCling.so  
 #8 0x00007ffff41862fb in clang::driver::Driver::getToolChain(llvm::opt::ArgList const&, llvm::StringRef) const () from /opt/ROOT/debug/install/lib/libCling.so  
 #9 0x00007ffff418ddd3 in clang::driver::Driver::BuildCompilation(llvm::ArrayRef\<char const\>) () from /opt/ROOT/debug/install/lib/libCling.so  
 #10 0x00007ffff38b0e21 in (anonymous namespace)::createCIImpl(std::unique\_ptr\<llvm::MemoryBuffer, std::default\_deletellvm::MemoryBuffer \>, int, char const const_, char const\*, bool) () from /opt/ROOT/debug/install/lib/libCling.so  
#11 0x00007ffff38b37db in cling::CIFactory::createCI(llvm::StringRef, int, char const\* const\*, char const\*) () from /opt/ROOT/debug/install/lib/libCling.so  
#12 0x00007ffff388a105 in cling::IncrementalParser::IncrementalParser(cling::Interpreter\*, int, char const\* const\*, char const\*) () from /opt/ROOT/debug/install/lib/libCling.so  
#13 0x00007ffff3839e28 in cling::Interpreter::Interpreter(int, char const\* const\*, char const\*, bool) () from /opt/ROOT/debug/install/lib/libCling.so  
#14 0x00007ffff37d0985 in TCling::TCling (this=0x667b28, name=, title=) at /opt/ROOT/debug/source/core/meta/src/TCling.cxx:1097  
#15 0x00007ffff37d1bfe in CreateInterpreter (interpLibHandle=) at /opt/ROOT/debug/source/core/meta/src/TCling.cxx:577  
#16 0x00007ffff775131b in TROOT::InitInterpreter (this=0x7ffff7b9e820 ROOT::Internal::GetROOT1()::alloc) at /opt/ROOT/debug/source/core/base/src/TROOT.cxx:1766  
#17 0x00007ffff77516c6 in ROOT::Internal::GetROOT2 () at /opt/ROOT/debug/source/core/base/src/TROOT.cxx:362  
#18 0x00007ffff7bd8006 in WhichMapFile (addr=0x655460) at /opt/ROOT/debug/build/include/TMapFile.h:176  
#19 operator delete (ptr=0x655468) at /opt/ROOT/debug/source/core/newdelete/src/NewDelete.cxx:274  
#20 0x00007ffff784a1be in \_M\_dispose (\_\_a=…, this=0x655468) at /usr/include/c++/4.8/bits/basic\_string.h:249  
#21 ~basic\_string (this=0x7fffffffd9e0, \_\_in\_chrg=) at /usr/include/c++/4.8/bits/basic\_string.h:539  
#22 TClassTable::Add (cname=, id=, info=…, dict=, pragmabits=) at /opt/ROOT/debug/source/core/cont/src/TClassTable.cxx:350  
#23 0x00007ffff788b016 in ROOT::TGenericClassInfo::TGenericClassInfo (this=0x7ffff7bb6d80 TMath::ROOT::GenerateInitInstance()::instance, fullClassname=, version=, declFileName=,  
declFileLine=, action=, dictionary=0x7ffff77956c0 TMath::ROOT::TMath\_Dictionary(), pragmabits=0) at /opt/ROOT/debug/source/core/meta/src/TGenericClassInfo.cxx:102  
#24 0x00007ffff77ba668 in TMath::ROOT::GenerateInitInstance () at /opt/ROOT/debug/build/core/base/G\_\_Core.cxx:260  
#25 0x00007ffff7749b3c in \_\_static\_initialization\_and\_destruction\_0 (\_\_initialize\_p=1, \_\_priority=65535) at /opt/ROOT/debug/build/core/base/G\_\_Core.cxx:266  
#26 \_GLOBAL\_\_sub\_I\_G\_\_Core.cxx(void) () at /opt/ROOT/debug/build/core/base/G\_\_Core.cxx:27690  
#27 0x00007ffff7dea13a in call\_init (l=, argc=argc@entry=1, argv=argv@entry=0x7fffffffdb18, env=env@entry=0x7fffffffdb28) at dl-init.c:78  
#28 0x00007ffff7dea223 in call\_init (env=, argv=, argc=, l=) at dl-init.c:36  
#29 \_dl\_init (main\_map=0x7ffff7ffe1c8, argc=1, argv=0x7fffffffdb18, env=0x7fffffffdb28) at dl-init.c:126  
#30 0x00007ffff7ddb30a in \_dl\_start\_user () from /lib64/ld-linux-x86-64.so.2  
#31 0x0000000000000001 in ?? ()  
#32 0x00007fffffffdf32 in ?? ()  
#33 0x0000000000000000 in ?? ()  
(gdb) [/code]

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [March 23, 2016, 2:15pm UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825/8 "2016-03-23T14:15:19Z")

</div>

Ok,

```auto
cat /etc/issue
Ubuntu 14.04.1 LTS \n \l
```

All what you have but

```auto
bonjour fftw3 fitsio odbc pythia8 
```

Cannot reproduce. Looking inside the issue deeper.

---

<div class="post-metadata">

**Author:** ![Pepe\_Le\_Pew](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pepe_le_pew/32/12365_2.png) [@Pepe\_Le\_Pew](https://root-forum.cern.ch/u/Pepe_Le_Pew)\
**Post date:** [March 23, 2016, 2:21pm UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825/9 "2016-03-23T14:21:31Z")

</div>

Run: `sync && sudo apt-get clean && sudo apt-get update && sudo apt-get check && sudo apt-get dist-upgrade && sudo apt-get upgrade && sudo apt-get clean && sync` and then reboot.

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [March 24, 2016, 12:30pm UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825/10 "2016-03-24T12:30:15Z")

</div>

Hi,

I can now reproduce the issue. More information to come.

Danilo

---

<div class="post-metadata">

**Author:** ![tjohnson53](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/e9bcb4/32.png) [@tjohnson53](https://root-forum.cern.ch/u/tjohnson53)\
**Post date:** [March 24, 2016, 8:13pm UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825/11 "2016-03-24T20:13:45Z")

</div>

Hi all,

Thanks for looking into, which, after a short break while diverted to other projects, I am looking at again. We didn’t have cmake installed (?!) on our system, so after taking take care of that, as per the first suggestion, I tried using cmake, after a make uninstall/clean, etc. Just trying:  
cmake -DCMAKE\_INSTALL\_PREFIX="/usr/local" /home/johnsont/rootsrc/root-6.06.02  
cmake --build .  
sudo cmake --build . --target install

This somehow resulted in different errors when starting rootn.exe, which unfortunately I don’t remember (this was a couple of days ago) as I then tried to go back, after cleaning and redoing the make procedure from the README to see if anything changed (since I had installed cmake and did other general system updates). Now this resulted in “Fatal in TROOT::InitInterpreter: cannot load symbol /usr/local/root/bin/root.exe: undefined symbol: CreateInterpreter”. I suspect something in the cmake cache went awry with all the trials I’ve been doing, since certainly all the library paths are o.k. So, I’m going to try to clean everything up and start from scratch, using cmake again, and see what happens.

Of course, as Pepe Le Pew says he’s confirmed the problem cmake on 6-06-2, I’m not too hopeful. It may be as I thought, I might have to back down to one of the 5 versions.

Thanks for all your help and I’ll let you know what else I find out…

cheers,  
Tim

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [March 25, 2016, 8:01am UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825/12 "2016-03-25T08:01:58Z")

</div>

Hi Tim,

thanks for the helpful post.  
I could also verify that the crash is not due to the installing procedure: it’s there also if rootn is ran after building.  
I’ll debug this during or immediately after the break.

Danilo

---

<div class="post-metadata">

**Author:** ![Otto\_Schaile](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/o/90ced4/32.png) [@Otto\_Schaile](https://root-forum.cern.ch/u/Otto_Schaile)\
**Post date:** [March 29, 2016, 7:42am UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825/13 "2016-03-29T07:42:57Z")

</div>

Hi,

as far as I remember libNew and hence rootn does not work with root 6 (yet):  
pcanal:  
"If you need the TMapFile functionality … indeed you will need libNew and we would need to get it to work properly in v6."  
We use 6.06.00 on Ubuntu 14.04.4 and the same happens with rootn.exe or any  
application linked with libNew:  
“Fatal in : storage area overwritten”

Cheers  
Otto

---

<div class="post-metadata">

**Author:** ![tjohnson53](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/t/e9bcb4/32.png) [@tjohnson53](https://root-forum.cern.ch/u/tjohnson53)\
**Post date:** [April 6, 2016, 3:15pm UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825/14 "2016-04-06T15:15:38Z")

</div>

Hi all,

So after a break to do an experiment elsewhere, I’m back to this problem. Looks like what Otto said is correct. So, I backed off version 6 and put on 5.34/6 and this seems to work fine. Thanks for all the responses…

cheers,  
Tim

---

<div class="post-metadata">

**Author:** ![pcanal](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/pcanal/32/12439_2.png) [@pcanal](https://root-forum.cern.ch/u/pcanal)\
**Post date:** [January 18, 2017, 10:10pm UTC](https://root-forum.cern.ch/t/rootn-exe-startup-crashes-on-ubuntu-14-04-4/20825/15 "2017-01-18T22:10:10Z")

</div>

Hi,

This problem is finally resolved in the master and the v6.08 patch branch (so in v6.10/00 and v6.08/06.

Our apologies for the long delay and thanks for your patience.

Cheers,  
Philippe.
