ich habe meinen Odroid U3 neu aufgesetzt und nun habe ich ein sehr merkwürdiges verhalten beim Laden meiner Projekte.
Mein System :
Linux odroid 3.8.13.29 #1 SMP PREEMPT Sat Jan 10 17:32:31 BRST 2015 armv7l armv7l armv7l GNU/Linux
odroid@odroid:~$ pgrep -l "gnome|kde|mate|cinnamon|lx|xfce|jwm"
26 kdevtmpfs
1085 gnome-keyring-d
1115 lxsession
1204 lxpanel
Lazarus ist die Aktuelle SVN Revision : 47827M
Wenn ich in der IDE ein neues Projekt erstelle, speichere, die IDE beende und dann via "Startlazarus project1.lpi" starte (danach wieder beende) sehe ich folgenden Consolen Output
odroid@odroid:~/Desktop/test$ startlazarus project1.lpi
project1.lpi is a file
is a file
TLazarusManager.Run starting /home/odroid/lazarus/lazarus ...
TMainIDE.ParseCmdLineOptions:
PrimaryConfigPath="/home/odroid/.lazarus"
SecondaryConfigPath="/etc/lazarus"
TLazSourceFileManager.LoadLFM Creating designer for hidden component of /home/odroid/Desktop/test/unit1.pas
TLazSourceFileManager.InitOpenedProjectFile select form in designer: Form1:TForm1 TDesigner
TIDEAnchorDockMaster.OnIDEClose auto save ...
TAnchorDockMaster.SaveMainLayoutToTree AForm=MainIDE:TMainIDEBar
WriteChildAnchors MainIDE:TMainIDEBar Caption="Lazarus IDE v1.5 - project1" Align=alNone
TAnchorDockMaster.SaveMainLayoutToTree AForm=AnchorDockSite4:TAnchorDockHostSite
WriteChildAnchors AnchorDockSite4:TAnchorDockHostSite Caption="Quelltexteditor,Nachrichten" Align=alNone
AnchorDockSite1:TAnchorDockHostSite Caption="Quelltexteditor" Align=alNone Bounds=l=0,t=0,r=1563,b=697
akTop=True Parent asrTop
akLeft=True Parent asrLeft
akRight=True Parent asrRight
akBottom=True AnchorDockSplitter1:TAnchorDockSplitter asrTop
SourceNotebook:TSourceNotebook Caption="Quelltexteditor" Align=alClient Bounds=l=0,t=0,r=1563,b=697
akTop=True nil asrTop
akLeft=True nil asrLeft
akRight=True nil asrLeft
akBottom=True nil asrTop
AnchorDockSite2:TAnchorDockHostSite Caption="Nachrichten" Align=alNone Bounds=l=0,t=701,r=1563,b=896
akTop=True AnchorDockSplitter1:TAnchorDockSplitter asrBottom
akLeft=True Parent asrLeft
akRight=True Parent asrRight
akBottom=True Parent asrBottom
MessagesView:TMessagesView Caption="Nachrichten" Align=alClient Bounds=l=0,t=0,r=1563,b=195
akTop=True nil asrTop
akLeft=True nil asrLeft
akRight=True nil asrLeft
akBottom=True nil asrTop
TAnchorDockMaster.SaveMainLayoutToTree AForm=AnchorDockSite3:TAnchorDockHostSite
WriteChildAnchors AnchorDockSite3:TAnchorDockHostSite Caption="Objektinspektor" Align=alNone
ObjectInspectorDlg:TObjectInspectorDlg Caption="Objektinspektor" Align=alClient Bounds=l=0,t=11,r=345,b=894
akTop=True nil asrTop
akLeft=True nil asrLeft
akRight=True nil asrLeft
akBottom=True nil asrTop
WriteDebugLayout TAnchorDockMaster.SaveLayoutToConfig :
DrawNode Node= ARect=l=1,t=1,r=79,b=20
DrawNode Node=MainIDE ARect=l=2,t=2,r=78,b=19
+-----------------------------------------------------------------------------+
|+MainIDE--------------------------------------------------------------------+|
|| ||
|| ||
|| ||
|| ||
|| ||
|| ||
|| ||
|| ||
|| ||
|| ||
|| ||
|| ||
|| ||
|| ||
|| ||
|| ||
|+---------------------------------------------------------------------------+|
+-----------------------------------------------------------------------------+
LAZARUS END - cleaning up ...
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B -> inherited Destroy... TMainIDE
[TMainIDE.Destroy] END
[FORMS.PP] ExceptionOccurred
Sender=EAccessViolation
Exception=Access violation
Stack trace:
$002141C4 TCONTROL__DOCK, line 4447 of ./include/control.inc
$0005344C TCUSTOMFORM__DOCK, line 2993 of ./include/customform.inc
$002131DC TCONTROL__SETHOSTDOCKSITE, line 4073 of ./include/control.inc
$001FF6DC TWINCONTROL__DESTROY, line 6464 of ./include/wincontrol.inc
$00218228 TCUSTOMCONTROL__DESTROY, line 54 of ./include/customcontrol.inc
$000494F0 TSCROLLINGWINCONTROL__DESTROY, line 290 of ./include/scrollingwincontrol.inc
$0004AB40 TCUSTOMFORM__DESTROY, line 207 of ./include/customform.inc
$00B70D30 TANCHORDOCKHOSTSITE__DESTROY, line 4996 of anchordocking.pas
$000CC8D8
$00024E70
$00028208
TApplication.HandleException Access violation
Stack trace:
$002141C4 TCONTROL__DOCK, line 4447 of ./include/control.inc
$0005344C TCUSTOMFORM__DOCK, line 2993 of ./include/customform.inc
$002131DC TCONTROL__SETHOSTDOCKSITE, line 4073 of ./include/control.inc
$001FF6DC TWINCONTROL__DESTROY, line 6464 of ./include/wincontrol.inc
$00218228 TCUSTOMCONTROL__DESTROY, line 54 of ./include/customcontrol.inc
$000494F0 TSCROLLINGWINCONTROL__DESTROY, line 290 of ./include/scrollingwincontrol.inc
$0004AB40 TCUSTOMFORM__DESTROY, line 207 of ./include/customform.inc
$00B70D30 TANCHORDOCKHOSTSITE__DESTROY, line 4996 of anchordocking.pas
$000CC8D8
$00024E70
$00028208
exception at 002141C4:
Access violation.
[TGtk2WidgetSet.Destroy]WARNUNG: Es gibt 6 nicht freigegebene GDI-Objekte. Es folgt ein detaillierter Dump:
[TGtk2WidgetSet.Destroy] GDIOs: A676F380 A676F740 A676F500 A676F7A0 A676F560 A676E120
[TGtk2WidgetSet.Destroy] gdiBitmap: 6
odroid@odroid:~/Desktop/test$
Was man sieht es wird nicht alles sauber frei gegeben. Prinzipiell böse aber damit könnte ich leben.
Starte ich nun aber ein Project welches "alt" ist kommt folgendes :
odroid@odroid:~/Projects/Sample/Graphik/minipaint$ startlazarus project1.lpi
project1.lpi is a file
is a file
TLazarusManager.Run starting /home/odroid/lazarus/lazarus ...
TMainIDE.ParseCmdLineOptions:
PrimaryConfigPath="/home/odroid/.lazarus"
SecondaryConfigPath="/etc/lazarus"
TLazSourceFileManager.LoadLFM Creating designer for hidden component of /home/odroid/Projects/Sample/Graphik/minipaint/unit1.pas
TLazSourceFileManager.InitOpenedProjectFile select form in designer: Form1:TForm1 TDesigner
The program 'lazarus' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 8977 error_code 8 request_code 66 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
odroid@odroid:~/Projects/Sample/Graphik/minipaint$
Witzigerweise, wenn ich das selbe Projekt durch eine SSH Session mit X-Forwarding von meinem KDE-Linux Rechner aus starte, dann Startet Lazarus korrekt.
Hat einer von Euch eine Idee, wie ich dem Problem auf die schliche komme ? Ich befürchte ja, dass es kein direktes Lazarus Problem ist, sondern eher etwas mit meinem Linux Fenstermanager zu tun hat ...