Hi,

I found the issue and reported it in Mantis.
 http://www.freepascal.org/mantis/view.php?id=9156

It seems a ActionList with accociated ImageList and SpeedButtons don't
play nicely under Linux. This used to work fine about 1.5 months ago.
Now it causes a instant crash under Linux.

Graeme.



On 20/06/07, Graeme Geldenhuys <[EMAIL PROTECTED]> wrote:
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 -



_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to