[Lazarus] Regular Lazarus crash when starting a new project

Maxim Ganetsky ganmax at narod.ru
Thu May 9 21:04:43 CEST 2024


09.05.2024 17:45, Michael Van Canneyt via lazarus пишет:
> 
> Hi,
> 
> I'm getting a regular lazarus crash when starting a new project that 
> opens a
> dialog that allows you to configure the project (fpcunit, web browser..)
> 
> Today's lazarus from git. Linux 64-bit, gtk2 widgetset, linux mint 
> running cinnamon.
> 
> Console output:
> -----
> Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=x86_64-linux--gtk2 
> New=x86_64-linux--gtk2 Changed: OS/CPU=True LCL=False
> ----------------
> Hint: (lazarus) [TMainIDE.DoOpenProjectFile] 
> "/home/michael/projects/fresnel/demo/Basic/basic.lpi"
> Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=x86_64-linux--gtk2 
> New=wasm32-wasi-browser-gtk2 Changed: OS/CPU=True LCL=False
> The program 'lazarus' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadWindow (invalid Window parameter)'.
>    (Details: serial 111751 error_code 3 request_code 12 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.)
> ----
> 
> Projects that do not open a project configuration dialog seem unaffected.
> 
> I recently switched to using a docked IDE, maybe this has some influence ?
> 
> Any hints, things I can try ?

Do I understand correctly that it crashes when you try to open 
Project->"Create Project ..." or "File"->"Create ..." dialog?

It works just fine here with FPC 3.2.2 (in Xfce, but I doubt that it 
matters in this case). Are you using FPC 3.3.1?

-- 
Best regards,
  Maxim Ganetsky                  mailto:ganmax at narod.ru



More information about the lazarus mailing list