Das Problem war die fpc.cfg nach neuinstallation des FPC 2.4.3. Diese enthielt ein paar Standard-Flags (-Xs -Crtoi...) wobei wenigstens eines davon, wahrscheinlich -Xs (strip) das Problem hervorgerufen hat. Nach abändern der fpc.cfg und rebuild läuft Lazarus wieder.
[ORIGINAL]
Hallo,
ich habe folgendes Problem. Vor wenigen Tagen bin ich vom FPC 2.5.x wieder auf den fixes Zweig umgestiegen. Lazarus wurde entsprechend neu gebaut. Seit dem startet Lazarus nicht mehr korrekt. Der Splashscreen wird angezeigt, aber danach kommt nurnoch eine EAccessViolation und Lazarus wird beendet (egal ob AV ignoriert wird).
FPC: 2.4.3 (fixes zweig, svn rev 16036)
Lazarus: 0.9.29, svn rev 27653 (und mehrere davor)
OS: x86_64-pc-linux-gnu (gentoo stable, relativ neuer und stabiler stand aller libs)
Oberfläche: XFCE 4.6.2, X 1.7.7
LCL Platform: gtk2
Reproduzierbar: immer, Ursachen unbekannt also nicht beschreibbar.
Ausgabe (gekürzt, vorher kommt noch ein haufen TGtk2WidgetSet zeug):
Code: Alles auswählen
TMainIDE.ParseCmdLineOptions:
PrimaryConfigPath="/home/matthias/.lazarus"
SecondaryConfigPath="/etc/lazarus"
Note: environment config file not found - using defaults
NOTE: editor options config file not found - using defaults
NOTE: miscellaneous options file not found - using defaults
Hinweis: CodeTools-Konfigurationsdatei nicht gefunden - verwende Voreinstellungen
NOTE: Compiler filename not set! (see Environment / Options ... / Environment / Files)
NOTE: FPC source directory not set! (see Environment / Options ... / Environment / Files)
TFPCTargetConfigCache.NeedsUpdate compiler file changed "/usr/local/bin/fpc" FileAge=1286699478 StoredAge=0
TFPCTargetConfigCache.Update /usr/local/bin/fpc TargetOS=linux TargetCPU=x86_64 CompilerOptions= ExtraOptions= PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3:/usr/lib64/subversion/bin:/usr/games/bin
RunTool /usr/local/bin/fpc -iTOTP -Px86_64 -Tlinux
RunTool /usr/local/bin/fpc -va -Px86_64 -Tlinux compilertest.pas
TFPCTargetConfigCache.Update: has changed
[TMainIDE.Destroy] A
[FORMS.PP] ExceptionOccurred
Sender=EAccessViolation
Exception=Access violation
Stack trace:
$000000000094A56A line 4751 of include/control.inc
$00000000007523ED line 1404 of main.pp
$00000000007520CE line 1369 of main.pp
$00000000006F5641 line 102 of lazarus.pp
TApplication.HandleException Access violation
Stack trace:
$000000000094A56A line 4751 of include/control.inc
$00000000007523ED line 1404 of main.pp
[TWinControl.LMDestroy] TSplashForm
[TWinControl.Remove] TSplashForm(SplashForm) --> Remove: TImage(Image)
> [TGtk2WidgetSet.ReleaseDC] DC:0x7F68925E7400
< [TGtk2WidgetSet.ReleaseDC] FDeviceContexts DC:0x7F68925E7400
$00000000007520CE line 1369 of main.pp
$00000000006F5641 line 102 of lazarus.pp
> [TGtk2WidgetSet.SetCapture] 0x0
[TMainIDE.Destroy] A
[FORMS.PP] ExceptionOccurred
[TMainIDE.Destroy] A
[FORMS.PP] ExceptionOccurred