View Issue Details

IDProjectCategoryView StatusLast Update
0026726LazarusIDEpublic2018-08-20 20:00
ReporterJim Welch Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
PlatformODROID U3OSUbuntu Linux 
Product Version1.3 (SVN) 
Summary0026726: Dropping a component from the 'System' tab causes Lazarus to exit (Odroid)
DescriptionDropping a component from the 'System' tab (and some others) causes Lazarus to exit. Running Lazarus from a command prompt and adding a 'TTimer' yields the attached file. Also opening any project that has a system component will cause the same thing.
Steps To ReproduceOpen Lazarus, start a new 'Application Project' and drop a 'TTimer' on the newly created form. Program will exit.
TagsNo tags attached.
Fixed in Revision
LazTarget-
Widgetset
Attached Files

Relationships

related to 0034145 new The component's palette and menu are not displayed properly (Odroid) 

Activities

Jim Welch

2014-09-16 03:01

reporter  

bug report (2,513 bytes)   
./startlazarus
using config file /home/odroid/development/lazarus/lazarus.cfg
Adding "--primary-config-path=~/development/config_lazarus" as a parameter
 is a file
SetPrimaryConfigPath NewValue="~/development/config_lazarus" -> "/home/odroid/development/config_lazarus"
TLazarusManager.Run starting /home/odroid/development/lazarus/lazarus ...
using config file /home/odroid/development/lazarus/lazarus.cfg
SetPrimaryConfigPath NewValue="~/development/config_lazarus" -> "/home/odroid/development/config_lazarus"
SetPrimaryConfigPath NewValue="~/development/config_lazarus" -> "/home/odroid/development/config_lazarus"
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="/home/odroid/development/config_lazarus/"
  SecondaryConfigPath="/etc/lazarus"
Looking for code tools config file:  "/home/odroid/development/config_lazarus//codetoolsoptions.xml"
NOTE: codetools config file not found - using defaults
TIDEAnchorDockMaster.MakeIDEWindowDockSite MainIDE:TMainIDEBar
NOTE: help options config file not found - using defaults
TIDEAnchorDockMaster.LoadUserLayout anchordocklayout.xml
TIDEAnchorDockMaster.LoadUserLayout loading default layout ...
TIDEAnchorDockMaster.ShowForm AControl=ObjectInspectorDlg:TObjectInspectorDlg NeedPlacing=True Floating=True
TIDEAnchorDockMaster.ShowForm placing ObjectInspectorDlg:TObjectInspectorDlg ...
TIDEAnchorDockMaster.ShowForm creator for ObjectInspectorDlg:TObjectInspectorDlg found: Left=0 Top=120 Right=+230 Bottom=-120 DockSiblingName= DockAlign=alNone l=0,t=200,r=230,b=750
TIDEAnchorDockMaster.ShowForm MakeVisible ObjectInspectorDlg:TObjectInspectorDlg l=0,t=0,r=300,b=669 Floating=True
AddComponent TTimer Parent=Form1:TForm1 94,109,6,3
Parent is 'Form1:TForm1'
TMainIDE.OnPropHookPersistentAdded A Timer1:TTimer
TPkgManager.AddUnitDependenciesForComponentClasses Extending Uses unit1.pas ExtCtrls
[TEventsCodeTool.CompleteComponent]  CurComponent=Timer1:TTimer
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 77062 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.)
bug report (2,513 bytes)   

Jim Welch

2014-09-16 03:43

reporter   ~0077294

The Installation was done using the instructions found at http://wiki.lazarus.freepascal.org/Odroid

Bart Broersma

2014-11-09 16:19

developer   ~0079047

Did you do this:
   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.)

Uwe Sch├Ąchterle

2015-03-09 16:49

reporter   ~0081769

The behavior is unfortunaly still the same. It seems to be a problem with the gtk2 connection (in my cases its always rendering 24-bit to a32-bit canvas).

Here is the forum link with my gdb trace :

[german] http://www.lazarusforum.de/viewtopic.php?f=3&t=8537

Links that confirm the same problem
[german] http://www.lazarusforum.de/viewtopic.php?f=5&t=8456

My try with a brand new Odroid Image
[english] http://forum.odroid.com/viewtopic.php?f=77&t=10840

In the link from Jim Welch there is a hint
>FPC revision r26550 together with Lazarus revision 43823 seems to work. Other versions may also work. Please use fpcrevision and lazrevision options; both when compiling fpcup and when using fpcup to compile FPC/Lazarus.

which also not work.

CudaText man

2017-01-04 14:01

reporter   ~0097289

I cannot reproduce.Linux Ubuntu 14.04 x64, dropped many compos from the System tab. Then run this empty app. No exits.
Laz 1.7 trunk, FPC 3.0.0.

Juha Manninen

2017-01-04 14:41

developer   ~0097290

AlexeyT, are you surely testing with ODROID U3?
The gadget has an ARM CPU. The fundamental problem can also be a compiler bug, nobody knows yet.

Issue History

Date Modified Username Field Change
2014-09-16 03:01 Jim Welch New Issue
2014-09-16 03:01 Jim Welch File Added: bug report
2014-09-16 03:43 Jim Welch Note Added: 0077294
2014-09-16 06:24 Zeljan Rikalo LazTarget => -
2014-09-16 06:24 Zeljan Rikalo Assigned To => Zeljan Rikalo
2014-09-16 06:24 Zeljan Rikalo Status new => feedback
2014-09-27 15:59 Zeljan Rikalo Assigned To Zeljan Rikalo =>
2014-10-09 00:18 Juha Manninen Status feedback => acknowledged
2014-11-09 16:19 Bart Broersma Note Added: 0079047
2015-03-09 16:49 Uwe Sch├Ąchterle Note Added: 0081769
2015-03-09 20:34 Maxim Ganetsky Summary Droping a component from the system tab causes Lazarus to exit. => Dropping a component from the 'System' tab causes Lazarus to exit.
2017-01-04 14:01 CudaText man Note Added: 0097289
2017-01-04 14:41 Juha Manninen Note Added: 0097290
2018-08-18 11:57 Juha Manninen Relationship added related to 0034145
2018-08-20 20:00 Juha Manninen Summary Dropping a component from the 'System' tab causes Lazarus to exit. => Dropping a component from the 'System' tab causes Lazarus to exit (Odroid)