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

Cannot reload TGedFrame.h

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 6.04/02
    • Fix Version/s: 6.08/00, 6.10/00
    • Component/s: GUI
    • Labels:
      None
    • Environment:

      CentOs 6 - 64 bits

    • Development:

      Description

      Hello, I create a very small macro that crashes ROOT when you run it twice.

      #include <TCanvas.h>
       
      void test() {
        TCanvas *c = new TCanvas("c","c");
      }

      Save it as test.C and then do these steps:

      1. .x test.C++
      2. Open the editor clicking on View > Editor
      3. Close the TCanvas
      4. .x test.C++
      5. Open the editor clicking on View > Editor
      6. You should observe the crash in your terminal.
        Here I get

        .x test.C++
        Info in <TUnixSystem::ACLiC>: creating shared library /media/TRANSCEND/ROOT/./test_C.so
        .x test.C++
        Info in <ACLiC>: unmodified script has already been compiled and loaded
        Info in <ACLiC>: it will be regenerated and reloaded!
        Info in <TUnixSystem::ACLiC>: creating shared library /media/TRANSCEND/ROOT/./test_C.so
        root[2] In file included from input_line_39:34:
        /opt/root6//include/root/TGedEditor.h:49:1: error: incomplete type 'TGedEditor' named in nested name specifier
        class TGedEditor : public TVirtualPadEditor, public TGMainFrame
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /home/delaune/Downloads/root-6.04.02/include/TGedFrame.h:33:7: note: forward declaration of 'TGedEditor'
        class TGedEditor;
        ^
        Error in <TQObject::CheckConnectArgs>: slot TGedEditor::SetModel(TVirtualPad*,TObject*,int) does not exist
        In file included from input_line_39:24:
        /opt/root6//include/root/TAttFillEditor.h:34:1: error: incomplete type 'TAttFillEditor' named in nested name
        specifier
        class TAttFillEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:10:149: note: forward declaration of 'TAttFillEditor'
        ...editing fill attributes)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TAttFillEditor.h"))) TAttFill...
        ^
        Error in <TQObject::CheckConnectArgs>: slot TAttFillEditor::DoFillColor(unsigned long) does not exist
        In file included from input_line_39:24:
        /opt/root6//include/root/TAttFillEditor.h:34:1: error: incomplete type 'TAttFillEditor' named in nested name
        specifier
        class TAttFillEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:10:149: note: forward declaration of 'TAttFillEditor'
        ...editing fill attributes)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TAttFillEditor.h"))) TAttFill...
        ^
        Error in <TQObject::CheckConnectArgs>: slot TAttFillEditor::DoFillAlphaColor(unsigned long) does not exist
        In file included from input_line_39:36:
        In file included from /opt/root6//include/root/TGedMarkerSelect.h:34:
        /opt/root6//include/root/TGedPatternSelect.h:151:1: error: incomplete type 'TGedPatternSelect' named in nested name
        specifier
        class TGedPatternSelect : public TGedSelect {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        /delaune/home/delaune/Downloads/root-6.04.02/include/TSpiderEditor.h:39:7: note: forward declaration of 'TGedPatternSelect'
        class TGedPatternSelect;
        ^
        Error in <TQObject::CheckConnectArgs>: signal TGedPatternSelect::PatternSelected(short) does not exist
        In file included from input_line_39:24:
        /opt/root6//include/root/TAttFillEditor.h:34:1: error: incomplete type 'TAttFillEditor' named in nested name
        specifier
        class TAttFillEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:10:149: note: forward declaration of 'TAttFillEditor'
        ...editing fill attributes)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TAttFillEditor.h"))) TAttFill...
        ^
        Error in <TQObject::CheckConnectArgs>: slot TAttFillEditor::DoAlpha() does not exist
        In file included from input_line_39:24:
        /opt/root6//include/root/TAttFillEditor.h:34:1: error: incomplete type 'TAttFillEditor' named in nested name
        specifier
        class TAttFillEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:10:149: note: forward declaration of 'TAttFillEditor'
        ...editing fill attributes)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TAttFillEditor.h"))) TAttFill...
        ^
        Error in <TQObject::CheckConnectArgs>: slot TAttFillEditor::DoLiveAlpha(int) does not exist
        In file included from input_line_39:24:
        /opt/root6//include/root/TAttFillEditor.h:34:1: error: incomplete type 'TAttFillEditor' named in nested name
        specifier
        class TAttFillEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:10:149: note: forward declaration of 'TAttFillEditor'
        ...editing fill attributes)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TAttFillEditor.h"))) TAttFill...
        ^
        Error in <TQObject::CheckConnectArgs>: slot TAttFillEditor::DoAlphaField() does not exist
        In file included from input_line_39:24:
        /opt/root6//include/root/TAttFillEditor.h:34:1: error: incomplete type 'TAttFillEditor' named in nested name
        specifier
        class TAttFillEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:10:149: note: forward declaration of 'TAttFillEditor'
        ...editing fill attributes)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TAttFillEditor.h"))) TAttFill...
        ^
        Error in <TQObject::CheckConnectArgs>: slot TAttFillEditor::GetCurAlpha() does not exist
        In file included from input_line_39:42:
        /opt/root6//include/root/TPadEditor.h:34:1: error: incomplete type 'TPadEditor' named in nested name specifier
        class TPadEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:25:136: note: forward declaration of 'TPadEditor'
        ...of TPad objects)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TPadEditor.h"))) TPadEditor;
        ^
        Error in <TQObject::CheckConnectArgs>: slot TPadEditor::DoFixedAspectRatio(bool) does not exist
        In file included from input_line_39:42:
        /opt/root6//include/root/TPadEditor.h:34:1: error: incomplete type 'TPadEditor' named in nested name specifier
        class TPadEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:25:136: note: forward declaration of 'TPadEditor'
        ...of TPad objects)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TPadEditor.h"))) TPadEditor;
        ^
        Error in <TQObject::CheckConnectArgs>: slot TPadEditor::DoCrosshair(bool) does not exist
        In file included from input_line_39:42:
        /opt/root6//include/root/TPadEditor.h:34:1: error: incomplete type 'TPadEditor' named in nested name specifier
        class TPadEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:25:136: note: forward declaration of 'TPadEditor'
        ...of TPad objects)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TPadEditor.h"))) TPadEditor;
        ^
        Error in <TQObject::CheckConnectArgs>: slot TPadEditor::DoEditable(bool) does not exist
        In file included from input_line_39:42:
        /opt/root6//include/root/TPadEditor.h:34:1: error: incomplete type 'TPadEditor' named in nested name specifier
        class TPadEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:25:136: note: forward declaration of 'TPadEditor'
        ...of TPad objects)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TPadEditor.h"))) TPadEditor;
        ^
        Error in <TQObject::CheckConnectArgs>: slot TPadEditor::DoGridX(bool) does not exist
        In file included from input_line_39:42:
        /opt/root6//include/root/TPadEditor.h:34:1: error: incomplete type 'TPadEditor' named in nested name specifier
        class TPadEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:25:136: note: forward declaration of 'TPadEditor'
        ...of TPad objects)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TPadEditor.h"))) TPadEditor;
        ^
        Error in <TQObject::CheckConnectArgs>: slot TPadEditor::DoGridY(bool) does not exist
        In file included from input_line_39:42:
        /opt/root6//include/root/TPadEditor.h:34:1: error: incomplete type 'TPadEditor' named in nested name specifier
        class TPadEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:25:136: note: forward declaration of 'TPadEditor'
        ...of TPad objects)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TPadEditor.h"))) TPadEditor;
        ^
        Error in <TQObject::CheckConnectArgs>: slot TPadEditor::DoTickX(bool) does not exist
        In file included from input_line_39:42:
        /opt/root6//include/root/TPadEditor.h:34:1: error: incomplete type 'TPadEditor' named in nested name specifier
        class TPadEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:25:136: note: forward declaration of 'TPadEditor'
        ...of TPad objects)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TPadEditor.h"))) TPadEditor;
        ^
        Error in <TQObject::CheckConnectArgs>: slot TPadEditor::DoTickY(bool) does not exist
        In file included from input_line_39:42:
        /opt/root6//include/root/TPadEditor.h:34:1: error: incomplete type 'TPadEditor' named in nested name specifier
        class TPadEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:25:136: note: forward declaration of 'TPadEditor'
        ...of TPad objects)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TPadEditor.h"))) TPadEditor;
        ^
        Error in <TQObject::CheckConnectArgs>: slot TPadEditor::DoLogX(bool) does not exist
        In file included from input_line_39:42:
        /opt/root6//include/root/TPadEditor.h:34:1: error: incomplete type 'TPadEditor' named in nested name specifier
        class TPadEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:25:136: note: forward declaration of 'TPadEditor'
        ...of TPad objects)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TPadEditor.h"))) TPadEditor;
        ^
        Error in <TQObject::CheckConnectArgs>: slot TPadEditor::DoLogY(bool) does not exist
        In file included from input_line_39:42:
        /opt/root6//include/root/TPadEditor.h:34:1: error: incomplete type 'TPadEditor' named in nested name specifier
        class TPadEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:25:136: note: forward declaration of 'TPadEditor'
        ...of TPad objects)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TPadEditor.h"))) TPadEditor;
        ^
        Error in <TQObject::CheckConnectArgs>: slot TPadEditor::DoLogZ(bool) does not exist
        In file included from input_line_39:42:
        /opt/root6//include/root/TPadEditor.h:34:1: error: incomplete type 'TPadEditor' named in nested name specifier
        class TPadEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:25:136: note: forward declaration of 'TPadEditor'
        ...of TPad objects)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TPadEditor.h"))) TPadEditor;
        ^
        Error in <TQObject::CheckConnectArgs>: slot TPadEditor::DoBorderMode() does not exist
        In file included from input_line_39:42:
        /opt/root6//include/root/TPadEditor.h:34:1: error: incomplete type 'TPadEditor' named in nested name specifier
        class TPadEditor : public TGedFrame {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        input_line_38:25:136: note: forward declaration of 'TPadEditor'
        ...of TPad objects)ATTRDUMP"))) _attribute_((annotate("$clingAutoload$TPadEditor.h"))) TPadEditor;
        ^
        Error in <TQObject::CheckConnectArgs>: slot TPadEditor::DoBorderSize(int) does not exist

        Attachments

          Activity

            People

            Assignee:
            axel Axel Naumann
            Reporter:
            4aa1957e0394b6104dd6 Olivier Delaune
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: