{"action":"created","issue":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/14409","repository_url":"https://api.github.com/repos/cms-sw/cmssw","labels_url":"https://api.github.com/repos/cms-sw/cmssw/issues/14409/labels{/name}","comments_url":"https://api.github.com/repos/cms-sw/cmssw/issues/14409/comments","events_url":"https://api.github.com/repos/cms-sw/cmssw/issues/14409/events","html_url":"https://github.com/cms-sw/cmssw/issues/14409","id":153736242,"number":14409,"title":"[GCC 6] TBB (?) segfaults in Framework","user":{"login":"davidlt","id":197091,"avatar_url":"https://avatars.githubusercontent.com/u/197091?v=3","gravatar_id":"","url":"https://api.github.com/users/davidlt","html_url":"https://github.com/davidlt","followers_url":"https://api.github.com/users/davidlt/followers","following_url":"https://api.github.com/users/davidlt/following{/other_user}","gists_url":"https://api.github.com/users/davidlt/gists{/gist_id}","starred_url":"https://api.github.com/users/davidlt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidlt/subscriptions","organizations_url":"https://api.github.com/users/davidlt/orgs","repos_url":"https://api.github.com/users/davidlt/repos","events_url":"https://api.github.com/users/davidlt/events{/privacy}","received_events_url":"https://api.github.com/users/davidlt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/core-pending","name":"core-pending","color":"fbca04"},{"url":"https://api.github.com/repos/cms-sw/cmssw/labels/pending-signatures","name":"pending-signatures","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2016-05-09T09:26:51Z","updated_at":"2016-05-11T19:00:13Z","closed_at":null,"body":"There are two unit tests in `FWCore/Integration` and `FWCore/Concurrency` which segfault. Both might be the same issue:\r\n```\r\n===== Test \"TestFWCoreFrameworkMayConsumesDeadlock\" ====\r\nargument 0: TestFWCoreFrameworkMayConsumesDeadlock\r\nargument 1: /bin/bash\r\nargument 2: FWCore/Framework/test\r\nargument 3: run_deadlock_test.sh\r\nshell is: /bin/bash\r\nCurrent directory is: /tmp/cmsbuild/workspace/ib-run-qa/CMSSW_8_1_X_2016-05-06-2300\r\ntopdir is: /tmp/cmsbuild/workspace/ib-run-qa/CMSSW_8_1_X_2016-05-06-2300\r\ntestdir is: /tmp/cmsbuild/workspace/ib-run-qa/CMSSW_8_1_X_2016-05-06-2300/src/FWCore/Framework/test\r\ntmpdir is: /tmp/cmsbuild/workspace/ib-run-qa/CMSSW_8_1_X_2016-05-06-2300/tmp/slc6_amd64_gcc600\r\ntestbin is: /tmp/cmsbuild/workspace/ib-run-qa/CMSSW_8_1_X_2016-05-06-2300/test/slc6_amd64_gcc600\r\nRunning script: /tmp/cmsbuild/workspace/ib-run-qa/CMSSW_8_1_X_2016-05-06-2300/src/FWCore/Framework/test/run_deadlock_test.sh\r\n\r\n *** Break *** segmentation violation\r\n\r\n\r\n\r\n===========================================================\r\nThere was a crash.\r\nThis is the entire stack trace of all threads:\r\n===========================================================\r\n#0  0x00007f222b35965e in waitpid () from /lib64/libc.so.6\r\n#1  0x00007f222b2eb609 in do_system () from /lib64/libc.so.6\r\n#2  0x00007f222ccb5298 in TUnixSystem::StackTrace() () from /cvmfs/cms-ib.cern.ch/week1/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-05-06-2300/external/slc6_amd64_gcc600/lib/libCore.so\r\n#3  0x00007f222ccb724c in TUnixSystem::DispatchSignals(ESignals) () from /cvmfs/cms-ib.cern.ch/week1/slc6_amd64_gcc600/cms/cmssw/CMSSW_8_1_X_2016-05-06-2300/external/slc6_amd64_gcc600/lib/libCore.so\r\n#4  <signal handler called>\r\n#5  tbb::internal::generic_scheduler::allocate_task (this=this\r\nentry=0x7f2228b27000, number_of_bytes=number_of_bytes\r\nentry=8, parent=parent\r\nentry=0x0, context=context\r\nentry=0x7f222c55c6a0 <tbb::internal::the_dummy_context>) at ../../src/tbb/scheduler.cpp:315\r\n#6  0x00007f222c54367b in tbb::internal::generic_scheduler::generic_scheduler (this=this\r\nentry=0x7f2228b27000, m=...) at ../../src/tbb/scheduler.cpp:100\r\n#7  0x00007f222c545128 in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::custom_scheduler (m=..., this=0x7f2228b27000) at ../../src/tbb/custom_scheduler.h:59\r\n#8  tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::allocate_scheduler (m=...) at ../../src/tbb/custom_scheduler.h:115\r\n#9  0x00007f222c543f72 in tbb::internal::allocate_scheduler (m=...) at ../../src/tbb/scheduler.cpp:42\r\n#10 tbb::internal::generic_scheduler::create_master (a=0x7f2228b23a00) at ../../src/tbb/scheduler.cpp:1032\r\n#11 0x00007f222c53ea74 in tbb::internal::governor::init_scheduler (num_threads=num_threads\r\nentry=2, stack_size=stack_size\r\nentry=10485760, auto_init=auto_init\r\nentry=false) at ../../src/tbb/governor.cpp:206\r\n#12 0x00007f222c53eb2c in tbb::task_scheduler_init::initialize (this=0x7f22299ff398, number_of_threads=2, thread_stack_size=10485760) at ../../src/tbb/governor.cpp:349\r\n#13 0x000000000040b0fc in (anonymous namespace)::setNThreads(unsigned int, unsigned int, std::unique_ptr<tbb::task_scheduler_init, std::default_delete<tbb::task_scheduler_init> >&) ()\r\n#14 0x000000000040c877 in main::{lambda()#1}::operator()() const ()\r\n#15 0x000000000040a9e0 in main ()\r\n===========================================================\r\n\r\n\r\nThe lines below might hint at the cause of the crash.\r\nIf they do not help you then please submit a bug report at\r\nhttp://root.cern.ch/bugs. Please post the ENTIRE stack trace\r\nfrom above as an attachment in addition to anything else\r\nthat might help us fixing this issue.\r\n===========================================================\r\n#5  tbb::internal::generic_scheduler::allocate_task (this=this\r\nentry=0x7f2228b27000, number_of_bytes=number_of_bytes\r\nentry=8, parent=parent\r\nentry=0x0, context=context\r\nentry=0x7f222c55c6a0 <tbb::internal::the_dummy_context>) at ../../src/tbb/scheduler.cpp:315\r\n#6  0x00007f222c54367b in tbb::internal::generic_scheduler::generic_scheduler (this=this\r\nentry=0x7f2228b27000, m=...) at ../../src/tbb/scheduler.cpp:100\r\n#7  0x00007f222c545128 in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::custom_scheduler (m=..., this=0x7f2228b27000) at ../../src/tbb/custom_scheduler.h:59\r\n#8  tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::allocate_scheduler (m=...) at ../../src/tbb/custom_scheduler.h:115\r\n#9  0x00007f222c543f72 in tbb::internal::allocate_scheduler (m=...) at ../../src/tbb/scheduler.cpp:42\r\n#10 tbb::internal::generic_scheduler::create_master (a=0x7f2228b23a00) at ../../src/tbb/scheduler.cpp:1032\r\n#11 0x00007f222c53ea74 in tbb::internal::governor::init_scheduler (num_threads=num_threads\r\nentry=2, stack_size=stack_size\r\nentry=10485760, auto_init=auto_init\r\nentry=false) at ../../src/tbb/governor.cpp:206\r\n#12 0x00007f222c53eb2c in tbb::task_scheduler_init::initialize (this=0x7f22299ff398, number_of_threads=2, thread_stack_size=10485760) at ../../src/tbb/governor.cpp:349\r\n#13 0x000000000040b0fc in (anonymous namespace)::setNThreads(unsigned int, unsigned int, std::unique_ptr<tbb::task_scheduler_init, std::default_delete<tbb::task_scheduler_init> >&) ()\r\n#14 0x000000000040c877 in main::{lambda()#1}::operator()() const ()\r\n#15 0x000000000040a9e0 in main ()\r\n===========================================================\r\n```"},"comment":{"url":"https://api.github.com/repos/cms-sw/cmssw/issues/comments/218556768","html_url":"https://github.com/cms-sw/cmssw/issues/14409#issuecomment-218556768","issue_url":"https://api.github.com/repos/cms-sw/cmssw/issues/14409","id":218556768,"user":{"login":"Dr15Jones","id":3757616,"avatar_url":"https://avatars.githubusercontent.com/u/3757616?v=3","gravatar_id":"","url":"https://api.github.com/users/Dr15Jones","html_url":"https://github.com/Dr15Jones","followers_url":"https://api.github.com/users/Dr15Jones/followers","following_url":"https://api.github.com/users/Dr15Jones/following{/other_user}","gists_url":"https://api.github.com/users/Dr15Jones/gists{/gist_id}","starred_url":"https://api.github.com/users/Dr15Jones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dr15Jones/subscriptions","organizations_url":"https://api.github.com/users/Dr15Jones/orgs","repos_url":"https://api.github.com/users/Dr15Jones/repos","events_url":"https://api.github.com/users/Dr15Jones/events{/privacy}","received_events_url":"https://api.github.com/users/Dr15Jones/received_events","type":"User","site_admin":false},"created_at":"2016-05-11T19:00:13Z","updated_at":"2016-05-11T19:00:13Z","body":"#14460"}}