Paul Ishenin ha scritto:
Giuliano Colla wrote:
Svn r 12899 doesn't compile under linux/fpc 2.0.4.
The error reported is "wrong number of parameters specified" in two BoolToStr calls in lcl/graphtype.pp module. Commenting out the second parameter of the call , it compiles fine, but the application crashes with a sigsev in TImageCacheItems.GetIemForListener (imagelistcache.pas)
Do you have stack trace?

I should have thought it myself. Sorry.
Please find it here attached.
Rev is 12918, platform Linux, fpc 2.0.4.
I tested three different applications, and they all crash, with pretty much identical stack trace.

Thanks

Giuliano


[FORMS.PP] ExceptionOccurred 
  Sender=EAccessViolation
  Exception=Access violation
  Stack trace:
  $080A6F55
  $080ADBC6
  $081A0A29  TIMAGELISTCACHE__UNREGISTERLISTENER,  line 177 of 
imagelistcache.pas
  $08158284  TBUTTONGLYPH__DESTROY,  line 33 of ./include/buttonglyph.inc
  $0805ED65
  $08096E6B
  $08158ACC  TCUSTOMSPEEDBUTTON__DESTROY,  line 66 of ./include/speedbutton.inc
  $080ABB15
  $080ABA77
  $0815D3CB  TLCLCOMPONENT__DESTROY,  line 92 of lclclasses.pp
  $0813D799  TCONTROL__DESTROY,  line 3737 of ./include/control.inc
  $0813244D  TWINCONTROL__DESTROY,  line 5772 of ./include/wincontrol.inc
  $0813F43B  TCUSTOMCONTROL__DESTROY,  line 61 of ./include/customcontrol.inc
  $08070977  TSCROLLINGWINCONTROL__DESTROY,  line 248 of 
./include/scrollingwincontrol.inc
  $08071178  TCUSTOMFORM__DESTROY,  line 123 of ./include/customform.inc
  $08073BC9  TCUSTOMFORM__CREATE,  line 1377 of ./include/customform.inc
  $0807A2F6  TAPPLICATION__CREATEFORM,  line 1607 of ./include/application.inc
TApplication.HandleException Access violation
  Stack trace:
  $080A6F55
  $080ADBC6
  $081A0A29  TIMAGELISTCACHE__UNREGISTERLISTENER,  line 177 of 
imagelistcache.pas
  $08158284  TBUTTONGLYPH__DESTROY,  line 33 of ./include/buttonglyph.inc
  $0805ED65
  $08096E6B
  $08158ACC  TCUSTOMSPEEDBUTTON__DESTROY,  line 66 of ./include/speedbutton.inc
  $080ABB15
  $080ABA77
  $0815D3CB  TLCLCOMPONENT__DESTROY,  line 92 of lclclasses.pp
  $0813D799  TCONTROL__DESTROY,  line 3737 of ./include/control.inc
  $0813244D  TWINCONTROL__DESTROY,  line 5772 of ./include/wincontrol.inc
  $0813F43B  TCUSTOMCONTROL__DESTROY,  line 61 of ./include/customcontrol.inc
  $08070977  TSCROLLINGWINCONTROL__DESTROY,  line 248 of 
./include/scrollingwincontrol.inc
  $08071178  TCUSTOMFORM__DESTROY,  line 123 of ./include/customform.inc
  $08073BC9  TCUSTOMFORM__CREATE,  line 1377 of ./include/customform.inc
  $0807A2F6  TAPPLICATION__CREATEFORM,  line 1607 of ./include/application.inc
[FORMS.PP] ExceptionOccurred 
[TGtkWidgetSet.Destroy] WARNING: There are 2 unreleased GDIObjects, a detailed 
dump follows:
[TGtkWidgetSet.Destroy]   GDIOs: 00FD67A8 00FD6448
[TGtkWidgetSet.Destroy]   gdiBitmap: 2

Reply via email to