Hi,

I'm using Lazarus 0.9.23 (r11312) under Linux compiled with the GTK1 widget set.

Since about 3 weeks back I noticed a new issue in Lazarus with two of
my forms. I was working on another project since then, but have to get
it fixed now.

Anyway, the form consists of a TPageControl with a few tabs. I can
switch to all the different tabs except one, the 'Addresses' tab.
Both forms have this exact issue and is probably because after I
designed the one from, I copied all the components and event handlers
from the one form to the other (damn, where is TFrame support now...
:-)).

The Addresses tab contains a few TSpeedButton's with glyphs,
TSplitter, TListView's and TLabel's.  This all worked fine up until I
got a new update from svn. As I said, this happened some three weeks
ago, but couldn't look at it 'till now.

When Lazarus crashes, it doesn't prompt me with a error message or
anything. I ran Lazarus from the command line in the hopes that it
will output something to give me a hint of where the problem could
be... Here is the output.

The form loads in the Form Designer, which is the output show up until
the two blank lines. Then when I change to the Addresses tab and it
crashes, it outputs four lines or errors.

Can anybody make any sense of this output?  I also attached the lfm
code for the Addresses tabsheet, if that might help.

----------------------------  CUT ----------------------------
[EMAIL PROTECTED]:Source$ /opt/lazarus/lazarus
TApplication.IconChanged - TODO: convert this message...no
implementation in gtk or win32
WARNING: obsolete call to RecreateWnd for TComponentTreeView
Warning: TWinControl.DestroyHandle ComponentTree:TComponentTreeView
Handle not Allocated
TMainIDE.DoLoadLFM A
/home/graemeg/programming/MasterMaths/M2Browser_v3/Source/LearnerMaint.pas
IsPartOfProject=True
TMainIDE.DoLoadComponentDependencyHidden
/home/graemeg/programming/MasterMaths/M2Browser_v3/Source/LearnerMaint.pas
AComponentName=TBasicEditFrm AComponentClass=nil
TMainIDE.DoLoadLFM A
/home/graemeg/programming/MasterMaths/M2Browser_v3/Source/BasicEditForm.pas
IsPartOfProject=True
TMainIDE.DoLoadLFM
Filename="/home/graemeg/programming/MasterMaths/M2Browser_v3/Source/BasicEditForm.pas"
NewClassName=TBasicEditFrm. Unable to find ancestor class:
TCodeToolManager.InitCurCodeTool MainCode=nil
SUCCESS: streaming
lfm="/home/graemeg/programming/MasterMaths/M2Browser_v3/Source/BasicEditForm.lfm"
TMainIDE.DoLoadComponentDependencyHidden Wanted=TBasicEditFrm
Class=TBasicEditFrm
SUCCESS: streaming
lfm="/home/graemeg/programming/MasterMaths/M2Browser_v3/Source/LearnerMaint.lfm"


Gdk-ERROR **: BadAlloc (insufficient resources for operation)
 serial 38851 error_code 11 request_code 53 minor_code 0
Gdk-ERROR **: BadDrawable (invalid Pixmap or Window parameter)
 serial 38852 error_code 9 request_code 55 minor_code 0
--------------------------   END  ----------------------------


I hope somebody can point me in the right direction.

Regards,
 - Graeme -
    object tsAddresses: TTabSheet
      Caption = 'tsAddresses'
      ClientHeight = 456
      ClientWidth = 544
      object pnlEAdrs: TPanel
        Height = 187
        Width = 544
        Align = alTop
        Anchors = [akTop, akLeft, akRight, akBottom]
        BevelOuter = bvNone
        ClientHeight = 187
        ClientWidth = 544
        Color = clGreen
        ParentColor = False
        TabOrder = 0
        object lblEAdrs: TLabel
          Left = 8
          Height = 17
          Top = 10
          Width = 60
          Caption = 'lblEAdrs'
          Color = clNone
          ParentColor = False
        end
        object sbEAdrsInsert: TSpeedButton
          Left = 17
          Height = 16
          Hint = 'Insert'
          Top = 30
          Width = 16
          Action = acEAdrsInsert
          Color = clBtnFace
          Flat = True
          Glyph.Data = {
            F8000000424DF800000000000000360000002800000008000000080000000100
            180000000000C2000000120B0000120B00000000000000000000FF00FFC6A390
            8D47208E461E8E461EC7A38FFF00FFFF00FFDCAE87B95D0FDE6E00EAB47FD268
            0092481BC9A48DFF00FFB95D0FEA7500DB6D00FFFFFFCE6600D2680092481BFF
            00FFD36904F6BA7FFFFFFFFFFFFFFFFFFFEAB47F994C1BFF00FFD36904F57900
            E97300FFFFFFDB6C00E26F00994C1BFF00FFE9B482E57201F67A00F7BB7FEF75
            00C2600CCCA68DFF00FFFF00FFE7B483CE6807CE6807C4610DE2B086FF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF0000
          }
          NumGlyphs = 0
        end
        object sbEAdrsEdit: TSpeedButton
          Left = 32
          Height = 16
          Hint = 'Edit'
          Top = 30
          Width = 16
          Action = acEAdrsEdit
          Color = clBtnFace
          Flat = True
          Glyph.Data = {
            F8000000424DF800000000000000360000002800000008000000080000000100
            180000000000C2000000120B0000120B00000000000000000000FF00FFC6A390
            8D47208E461E8E461EC7A38FFF00FFFF00FFDCAE87B95D0FDE6E00D56A00D268
            0092481BC9A48DFF00FFB95D0FEA7500DB6D00D26800CE6600D2680092481BFF
            00FFD36904F19133FFFFFFFFFFFFFFFFFFDE8833994C1BFF00FFD36904F57900
            F1A459FFFFFFE89F59E26F00994C1BFF00FFE9B482E57201F67A00F5A659EF75
            00C2600CCCA68DFF00FFFF00FFE7B483CE6807CE6807C4610DE2B086FF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF0000
          }
          NumGlyphs = 0
        end
        object sbEAdrsDelete: TSpeedButton
          Left = 48
          Height = 16
          Hint = 'Delete'
          Top = 30
          Width = 16
          Action = acEAdrsDelete
          Color = clBtnFace
          Flat = True
          Glyph.Data = {
            F8000000424DF800000000000000360000002800000008000000080000000100
            180000000000C2000000120B0000120B00000000000000000000FF00FFC6A390
            8D47208E461E8E461EC7A38FFF00FFFF00FFDCAE87B95D0FDE6E00D56A00D268
            0092481BC9A48DFF00FFB95D0FEA7500DB6D00D26800CE6600D2680092481BFF
            00FFD36904ED7600FFFFFFFFFFFFFFFFFFD66A00994C1BFF00FFD36904F57900
            E97300DB6C00DB6C00E26F00994C1BFF00FFE9B482E57201F67A00EF7700EF75
            00C2600CCCA68DFF00FFFF00FFE7B483CE6807CE6807C4610DE2B086FF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF0000
          }
          NumGlyphs = 0
        end
        object lvEAddress: TListView
          Left = 8
          Height = 132
          Top = 47
          Width = 531
          Anchors = [akTop, akLeft, akRight, akBottom]
          Columns = <>
          TabOrder = 0
        end
      end
      object pnlAdrs: TPanel
        Height = 264
        Top = 192
        Width = 544
        Align = alClient
        BevelOuter = bvNone
        ClientHeight = 264
        ClientWidth = 544
        Color = clTeal
        ParentColor = False
        TabOrder = 1
        object lblAdrs: TLabel
          Left = 9
          Height = 17
          Top = 7
          Width = 49
          Caption = 'lblAdrs'
          Color = clNone
          ParentColor = False
        end
        object sbAdrsDelete: TSpeedButton
          Left = 48
          Height = 16
          Hint = 'Delete'
          Top = 30
          Width = 16
          Action = acAdrsDelete
          Color = clBtnFace
          Flat = True
          Glyph.Data = {
            F8000000424DF800000000000000360000002800000008000000080000000100
            180000000000C2000000120B0000120B00000000000000000000FF00FFC6A390
            8D47208E461E8E461EC7A38FFF00FFFF00FFDCAE87B95D0FDE6E00D56A00D268
            0092481BC9A48DFF00FFB95D0FEA7500DB6D00D26800CE6600D2680092481BFF
            00FFD36904ED7600FFFFFFFFFFFFFFFFFFD66A00994C1BFF00FFD36904F57900
            E97300DB6C00DB6C00E26F00994C1BFF00FFE9B482E57201F67A00EF7700EF75
            00C2600CCCA68DFF00FFFF00FFE7B483CE6807CE6807C4610DE2B086FF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF0000
          }
          NumGlyphs = 0
        end
        object sbAdrsEdit: TSpeedButton
          Left = 32
          Height = 16
          Hint = 'Edit'
          Top = 30
          Width = 16
          Action = acAdrsEdit
          Color = clBtnFace
          Flat = True
          Glyph.Data = {
            F8000000424DF800000000000000360000002800000008000000080000000100
            180000000000C2000000120B0000120B00000000000000000000FF00FFC6A390
            8D47208E461E8E461EC7A38FFF00FFFF00FFDCAE87B95D0FDE6E00D56A00D268
            0092481BC9A48DFF00FFB95D0FEA7500DB6D00D26800CE6600D2680092481BFF
            00FFD36904F19133FFFFFFFFFFFFFFFFFFDE8833994C1BFF00FFD36904F57900
            F1A459FFFFFFE89F59E26F00994C1BFF00FFE9B482E57201F67A00F5A659EF75
            00C2600CCCA68DFF00FFFF00FFE7B483CE6807CE6807C4610DE2B086FF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF0000
          }
          NumGlyphs = 0
        end
        object sbAdrsInsert: TSpeedButton
          Left = 17
          Height = 16
          Hint = 'Insert'
          Top = 30
          Width = 16
          Action = acAdrsInsert
          Color = clBtnFace
          Flat = True
          Glyph.Data = {
            F8000000424DF800000000000000360000002800000008000000080000000100
            180000000000C2000000120B0000120B00000000000000000000FF00FFC6A390
            8D47208E461E8E461EC7A38FFF00FFFF00FFDCAE87B95D0FDE6E00EAB47FD268
            0092481BC9A48DFF00FFB95D0FEA7500DB6D00FFFFFFCE6600D2680092481BFF
            00FFD36904F6BA7FFFFFFFFFFFFFFFFFFFEAB47F994C1BFF00FFD36904F57900
            E97300FFFFFFDB6C00E26F00994C1BFF00FFE9B482E57201F67A00F7BB7FEF75
            00C2600CCCA68DFF00FFFF00FFE7B483CE6807CE6807C4610DE2B086FF00FFFF
            00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FFFF00FF0000
          }
          NumGlyphs = 0
        end
        object lvAddress: TListView
          Left = 9
          Height = 209
          Top = 47
          Width = 528
          Anchors = [akTop, akLeft, akRight, akBottom]
          Columns = <>
          PopupMenu = pmAdrs
          TabOrder = 0
        end
      end
      object splAddress: TSplitter
        Cursor = crVSplit
        Height = 5
        Top = 187
        Width = 544
        Align = alTop
        ResizeAnchor = akTop
      end
    end

Reply via email to