global+ segmentation violation

Issue #33 resolved
Zaher Salman created an issue

When running a golobal+ fit, musrfit craches with the following message

msr2data: **INFO** Generating new global input msr file 3229+global_singleHist.msr

msr2data: **INFO** Generating new input msr file 3229-OneRunFit_singleHist.msr

*** Break *** segmentation violation

===========================================================

There was a crash.

This is the entire stack trace of all threads:

===========================================================

#0  0x00007f37a8f0a337 in __GI___waitpid (pid=5059, stat_loc=stat_loc

entry=0x7ffc5fe920e8, options=options

entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30

#1  0x00007f37a8e75047 in do_system (line=<optimised out>) at ../sysdeps/posix/system.c:149

#2  0x00007f37a9ed06f3 in TUnixSystem::StackTrace() () from /home/thomas/Apps/root/root_exec/lib/libCore.so

#3  0x00007f37a9ed31e5 in TUnixSystem::DispatchSignals(ESignals) () from /home/thomas/Apps/root/root_exec/lib/libCore.so

#4  <signal handler called>

#5  0x00007f37a98cd427 in PMsrHandler::WriteMsrFile(char const*, std::map<unsigned int, TString, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, TString> > >*, std::map<unsigned int, TString, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, TString> > >*, std::map<unsigned int, TString, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, TString> > >*, std::map<unsigned int, TString, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, TString> > >*) () from /home/thomas/Apps/root/root_exec/lib/libPMusr.so.1.3.0

#6  0x00007f37a989ed4a in PMsr2Data::PrepareNewSortedInputFile(unsigned int) const () from /home/thomas/Apps/root/root_exec/lib/libPMusr.so.1.3.0

#7  0x00007f37a98a4043 in PMsr2Data::PrepareGlobalInputFile(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int) const () from /home/thomas/Apps/root/root_exec/lib/libPMusr.so.1.3.0

#8  0x000055cd900a4e87 in main ()

===========================================================

The lines below might hint at the cause of the crash.

You may get help by asking at the ROOT forum https://root.cern.ch/forum

Only if you are really convinced it is a bug in ROOT then please submit a

report at https://root.cern.ch/bugs Please post the ENTIRE stack trace

from above as an attachment in addition to anything else

that might help us fixing this issue.

===========================================================

#5  0x00007f37a98cd427 in PMsrHandler::WriteMsrFile(char const*, std::map<unsigned int, TString, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, TString> > >*, std::map<unsigned int, TString, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, TString> > >*, std::map<unsigned int, TString, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, TString> > >*, std::map<unsigned int, TString, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, TString> > >*) () from /home/thomas/Apps/root/root_exec/lib/libPMusr.so.1.3.0

#6  0x00007f37a989ed4a in PMsr2Data::PrepareNewSortedInputFile(unsigned int) const () from /home/thomas/Apps/root/root_exec/lib/libPMusr.so.1.3.0

#7  0x00007f37a98a4043 in PMsr2Data::PrepareGlobalInputFile(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int) const () from /home/thomas/Apps/root/root_exec/lib/libPMusr.so.1.3.0

#8  0x000055cd900a4e87 in main ()

===========================================================

See attached input msr file and global+ settings to reproduce this

Comments (4)

  1. Log in to comment