Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-10545

.qqqqqq does not exit root



    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: master
    • Fix Version/s: 6.22/00
    • Component/s: Core Libraries
    • Labels:
    • Environment:

      Linux 64bit


      Typing .qqqqqq in ROOT prompt causing error, but ROOT does not exit.

      Seems to be, ROOT now catches abort interrupt and handle it.

      Result, that .qqqqqq cannot be used for exit from the ROOT.

      To reproduce, just do ```root -l -e '.qqqqqq'```

      Error output is:

      root [0]  *** Break *** abort===========================================================
      There was a crash (kSigAbort).
      This is the entire stack trace of all threads:
      #0  0x00007efbfeb2a256 in waitpid () from /lib64/libc.so.6
      #1  0x00007efbfeaa6f37 in do_system () from /lib64/libc.so.6
      #2  0x00007efbff3dfb64 in TUnixSystem::Exec (this=0x2429800, shellcmd=0x3a373e0 "/home/linev/build/webgui/etc/gdb-backtrace.sh 4735 1>&2") at /home/linev/git/webgui/core/unix/src/TUnixSystem.cxx:2109
      #3  0x00007efbff3e03a0 in TUnixSystem::StackTrace (this=0x2429800) at /home/linev/git/webgui/core/unix/src/TUnixSystem.cxx:2399
      #4  0x00007efbff3e3c86 in TUnixSystem::DispatchSignals (this=0x2429800, sig=kSigAbort) at /home/linev/git/webgui/core/unix/src/TUnixSystem.cxx:3635
      #5  0x00007efbff3dbdea in SigHandler (sig=kSigAbort) at /home/linev/git/webgui/core/unix/src/TUnixSystem.cxx:403
      #6  0x00007efbff3e3b9d in sighandler (sig=6) at /home/linev/git/webgui/core/unix/src/TUnixSystem.cxx:3608
      #7  0x00007efbff3d552a in textinput::TerminalConfigUnix::HandleSignal (this=0x7efbff67b340 <textinput::TerminalConfigUnix::Get()::s>, signum=6) at /home/linev/git/webgui/core/textinput/src/textinput/TerminalConfigUnix.cpp:100
      #8  0x00007efbff3d523e in (anonymous namespace)::TerminalConfigUnix__handleSignal (signum=6) at /home/linev/git/webgui/core/textinput/src/textinput/TerminalConfigUnix.cpp:36
      #9  <signal handler called>
      #10 0x00007efbfea99fb1 in raise () from /lib64/libc.so.6
      #11 0x00007efbfea8355d in abort () from /lib64/libc.so.6
      #12 0x00007efbff3dfc0a in TUnixSystem::Abort (this=0x2429800) at /home/linev/git/webgui/core/unix/src/TUnixSystem.cxx:2156
      #13 0x00007efbff264dc2 in TApplication::ProcessLine (this=0x247eeb0, line=0x7ffbffff85e0 ".qqqqqq", sync=false, err=0x7ffbffffa638) at /home/linev/git/webgui/core/base/src/TApplication.cxx:1348
      #14 0x00007efbff6b7286 in TRint::ProcessLineNr (this=0x247eeb0, filestem=0x7efbff6c7522 "ROOT_cli_", line=0x7ffbffff85e0 ".qqqqqq", error=0x7ffbffffa638) at /home/linev/git/webgui/core/rint/src/TRint.cxx:763
      #15 0x00007efbff6b5bb6 in TRint::Run (this=0x247eeb0, retrn=false) at /home/linev/git/webgui/core/rint/src/TRint.cxx:423
      #16 0x00000000004011d4 in main (argc=1, argv=0x7ffbffffa7c8) at /home/linev/git/webgui/main/src/rmain.cxx:30
      The lines below might hint at the cause of the crash.
      You may get help by asking at the ROOT forum http://root.cern.ch/forum
      Only if you are really convinced it is a bug in ROOT then please submit a
      report at http://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.
      #10 0x00007efbfea99fb1 in raise () from /lib64/libc.so.6
      #11 0x00007efbfea8355d in abort () from /lib64/libc.so.6
      #12 0x00007efbff3dfc0a in TUnixSystem::Abort (this=0x2429800) at /home/linev/git/webgui/core/unix/src/TUnixSystem.cxx:2156





            • Assignee:
              etejedor Enric Tejedor Saavedra
              slinev Serguei Linev
            • Votes:
              0 Vote for this issue
              6 Start watching this issue


              • Created: