Hello,
strange this happened to me - two “identical” Ubuntu installations, same root from git, same compilation process, same .rootrc
, same source code of my program. My program crashes at the very end on one Ubuntu, while is ok on the other.
Earlier I was looking forward TMapFile
in root6, this apparently happened in v6-09-02. Thanks. Now I can compile my code with threads and TMapFile on Ubuntu 16.04. I did it on Lenovo notebok and small formfactor Gigabyte PC, i5 and i7 cpus.
Both computers have he same git cloned root tag v6-09-02
Both have: Linux ___ 4.4.0-66-generic #87-Ubuntu SMP Fri Mar 3 15:29:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Lenovo says Ubuntu 16.04.1, Gigabyte says 16.04.2 (very new install from an older ISO)
At the program end, where threads close and join in master, program is supposed to end, Gigabyte PC crashes.
#0 0x00007f161e22751b in __GI___waitpid (pid=5424, stat_loc=stat_loc
entry=0x7ffdbb18b680, options=options
entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1 0x00007f161e1a0fbb in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
#2 0x00007f161de0e09d in TUnixSystem::Exec (shellcmd=<optimized out>, this=0xfb7578) at /home/ojr/02_GIT/root/core/unix/src/TUnixSystem.cxx:2119
#3 TUnixSystem::StackTrace (this=0xfb7578) at /home/ojr/02_GIT/root/core/unix/src/TUnixSystem.cxx:2413
#4 0x00007f161de1069c in TUnixSystem::DispatchSignals (this=0xfb7578, sig=kSigSegmentationViolation) at /home/ojr/02_GIT/root/core/unix/src/TUnixSystem.cxx:3633
#5 <signal handler called>
#6 0x000000000004e166 in ?? ()
#7 0x00007f161dc78570 in (anonymous namespace)::R__ListSlowClose (files=0xfbd6d8) at /home/ojr/02_GIT/root/core/base/src/TROOT.cxx:1036
#8 0x00007f161dc791b0 in TROOT::CloseFiles (this=0x7f161e127b00 <ROOT::Internal::GetROOT1()::alloc>) at /home/ojr/02_GIT/root/core/base/src/TROOT.cxx:1123
#9 0x00007f161e19636a in __cxa_finalize (d=0x7f161e124540) at cxa_finalize.c:56
#10 0x00007f161dc77a43 in __do_global_dtors_aux () from /home/ojr/root/lib/libCore.so
#11 0x00007ffdbb18e350 in ?? ()
#12 0x00007f1621a56c17 in _dl_fini () at dl-fini.c:235
===========================================================
While Lenovo is fine, normal end. I checked libdl.so
on both PC’s, they look the same. My compiled program was crashing on Debian Jessie immediately, so I switched to Ubuntu.
I dont want to waste your time, but do you see some hint? Where should I go? Verify librarie’s checksums? root binaries?