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

Crash after clicking right while moving a TObject

    Details

      Description

      Hello
      1/run test.C (root -l test.C)
      2/Some TGraphs and TPaveTexts appear.
      3/Click on, for example, a TPaveText and move it
      4/While you are moving it, click with the right button of your mouse to display the menu.
      5/Click with the left button outside the menu to remove it.
      6/Observe the crash

      It crashes also if you move a TGraphI have the problem with ROOT 5.34/20 but not with ROOT 5.28b on another computer.

      I got the following backtrace

          • Break *** segmentation violation

      ===========================================================
      There was a crash (kSigSegmentationViolation).
      This is the entire stack trace of all threads:
      ===========================================================
      #0 0x0000003ae12ac2ce in waitpid () from /lib64/libc.so.6
      #1 0x0000003ae124107e in do_system () from /lib64/libc.so.6
      #2 0x00007f9152ec756c in TUnixSystem::Exec (this=0x1841a70, shellcmd=0x2181f90 "/etc/root/gdb-backtrace.sh 12742 1>&2") at /home/plaisir/root/core/unix/src/TUnixSystem.cxx:2172
      #3 0x00007f9152ec7da9 in TUnixSystem::StackTrace (this=0x1841a70) at /home/plaisir/root/core/unix/src/TUnixSystem.cxx:2419
      #4 0x00007f9152ec5815 in TUnixSystem::DispatchSignals (this=0x1841a70, sig=kSigSegmentationViolation) at /home/plaisir/root/core/unix/src/TUnixSystem.cxx:1294
      #5 0x00007f9152ec3af5 in SigHandler (sig=kSigSegmentationViolation) at /home/plaisir/root/core/unix/src/TUnixSystem.cxx:440
      #6 0x00007f9152ecb508 in sighandler (sig=11) at /home/plaisir/root/core/unix/src/TUnixSystem.cxx:3738
      #7 0x00007f9152efcdea in textinput::TerminalConfigUnix::HandleSignal (this=0x7f91536c22e0, signum=11) at /home/plaisir/root/core/textinput/src/textinput/TerminalConfigUnix.cpp:96
      #8 0x00007f9152efcb19 in (anonymous namespace)::TerminalConfigUnix__handleSignal (signum=11) at /home/plaisir/root/core/textinput/src/textinput/TerminalConfigUnix.cpp:36
      #9 <signal handler called>
      #10 0x0000003aea6b8786 in __dynamic_cast () from /usr/lib64/libstdc++.so.6
      #11 0x00007f914fa6d29f in TPad::ShowGuidelines (this=0x2181f90, object=0x2181f90, event=21, mode=105 'i', cling=true) at /home/plaisir/root/graf2d/gpad/src/TPad.cxx:5718
      #12 0x00007f914fa5b000 in TPad::ExecuteEvent (this=0x2181f90, event=21, px=342, py=507) at /home/plaisir/root/graf2d/gpad/src/TPad.cxx:2058
      #13 0x00007f914fa9699e in TCanvas::HandleInput (this=0x201f8c0, event=kButton1Motion, px=346, py=503) at /home/plaisir/root/graf2d/gpad/src/TCanvas.cxx:1227
      #14 0x00007f914ebed6e6 in TRootCanvas::HandleContainerMotion (this=0x201fcb0, event=0x7fff7129eaa0) at /home/plaisir/root/gui/gui/src/TRootCanvas.cxx:1906
      #15 0x00007f914ebee8ba in TRootContainer::HandleMotion (this=0x20bbac0, ev=0x7fff7129eaa0) at /home/plaisir/root/gui/gui/src/TRootCanvas.cxx:244
      #16 0x00007f914ebc62a5 in TGFrame::HandleEvent (this=0x20bbac0, event=0x7fff7129eaa0) at /home/plaisir/root/gui/gui/src/TGFrame.cxx:512
      #17 0x00007f914ec06285 in TGClient::HandleEvent (this=0x1f69db0, event=0x7fff7129eaa0) at /home/plaisir/root/gui/gui/src/TGClient.cxx:811
      #18 0x00007f914ec05b85 in TGClient::ProcessOneEvent (this=0x1f69db0) at /home/plaisir/root/gui/gui/src/TGClient.cxx:621
      #19 0x00007f914ec05d1e in TGClient::HandleInput (this=0x1f69db0) at /home/plaisir/root/gui/gui/src/TGClient.cxx:668
      #20 0x00007f914ec04298 in TGInputHandler::Notify (this=0x1f8f780) at /home/plaisir/root/gui/gui/src/TGClient.cxx:87
      #21 0x00007f9152ec4d1b in TUnixSystem::DispatchOneEvent (this=0x1841a70, pendingOnly=false) at /home/plaisir/root/core/unix/src/TUnixSystem.cxx:1093
      #22 0x00007f9152e3ab1d in TSystem::InnerLoop (this=0x1841a70) at /home/plaisir/root/core/base/src/TSystem.cxx:410
      #23 0x00007f9152e3a8bc in TSystem::Run (this=0x1841a70) at /home/plaisir/root/core/base/src/TSystem.cxx:360
      #24 0x00007f9152e4c87c in TApplication::Run (this=0x19930a0, retrn=false) at /home/plaisir/root/core/base/src/TApplication.cxx:1118
      #25 0x00007f915296fca9 in TRint::Run (this=0x19930a0, retrn=false) at /home/plaisir/root/core/rint/src/TRint.cxx:455
      #26 0x00000000004011c5 in main (argc=1, argv=0x7fff712a0ee8) at /home/plaisir/root/main/src/rmain.cxx:29
      ===========================================================

      The lines below might hint at the cause of the crash.
      If they do not help you then please submit a bug 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 0x0000003aea6b8786 in __dynamic_cast () from /usr/lib64/libstdc++.so.6
      #11 0x00007f914fa6d29f in TPad::ShowGuidelines (this=0x2181f90, object=0x2181f90, event=21, mode=105 'i', cling=true) at /home/plaisir/root/graf2d/gpad/src/TPad.cxx:5718
      #12 0x00007f914fa5b000 in TPad::ExecuteEvent (this=0x2181f90, event=21, px=342, py=507) at /home/plaisir/root/graf2d/gpad/src/TPad.cxx:2058
      #13 0x00007f914fa9699e in TCanvas::HandleInput (this=0x201f8c0, event=kButton1Motion, px=346, py=503) at /home/plaisir/root/graf2d/gpad/src/TCanvas.cxx:1227
      #14 0x00007f914ebed6e6 in TRootCanvas::HandleContainerMotion (this=0x201fcb0, event=0x7fff7129eaa0) at /home/plaisir/root/gui/gui/src/TRootCanvas.cxx:1906
      #15 0x00007f914ebee8ba in TRootContainer::HandleMotion (this=0x20bbac0, ev=0x7fff7129eaa0) at /home/plaisir/root/gui/gui/src/TRootCanvas.cxx:244
      #16 0x00007f914ebc62a5 in TGFrame::HandleEvent (this=0x20bbac0, event=0x7fff7129eaa0) at /home/plaisir/root/gui/gui/src/TGFrame.cxx:512
      #17 0x00007f914ec06285 in TGClient::HandleEvent (this=0x1f69db0, event=0x7fff7129eaa0) at /home/plaisir/root/gui/gui/src/TGClient.cxx:811
      #18 0x00007f914ec05b85 in TGClient::ProcessOneEvent (this=0x1f69db0) at /home/plaisir/root/gui/gui/src/TGClient.cxx:621
      #19 0x00007f914ec05d1e in TGClient::HandleInput (this=0x1f69db0) at /home/plaisir/root/gui/gui/src/TGClient.cxx:668
      #20 0x00007f914ec04298 in TGInputHandler::Notify (this=0x1f8f780) at /home/plaisir/root/gui/gui/src/TGClient.cxx:87
      #21 0x00007f9152ec4d1b in TUnixSystem::DispatchOneEvent (this=0x1841a70, pendingOnly=false) at /home/plaisir/root/core/unix/src/TUnixSystem.cxx:1093
      #22 0x00007f9152e3ab1d in TSystem::InnerLoop (this=0x1841a70) at /home/plaisir/root/core/base/src/TSystem.cxx:410
      #23 0x00007f9152e3a8bc in TSystem::Run (this=0x1841a70) at /home/plaisir/root/core/base/src/TSystem.cxx:360
      #24 0x00007f9152e4c87c in TApplication::Run (this=0x19930a0, retrn=false) at /home/plaisir/root/core/base/src/TApplication.cxx:1118
      #25 0x00007f915296fca9 in TRint::Run (this=0x19930a0, retrn=false) at /home/plaisir/root/core/rint/src/TRint.cxx:455
      #26 0x00000000004011c5 in main (argc=1, argv=0x7fff712a0ee8) at /home/plaisir/root/main/src/rmain.cxx:29
      ===========================================================

        Attachments

          Activity

            People

            • Assignee:
              couet Olivier Couet
              Reporter:
              4aa1957e0394b6104dd6 Olivier Delaune
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: