Recent

Author Topic: Copying a lot of messages to the clipboard causes Lazarus to crash  (Read 607 times)

vfclists

  • Hero Member
  • *****
  • Posts: 1013
    • HowTos Considered Harmful?
I just noticed that copying all the output of the Messages window to the clipboard causes Lazarus 3.0 on Linux KDE to crash.

The files size in question is about 1.6 Mb.

Anyone else experienced this bug?

Saving it to a file is OK.
« Last Edit: February 21, 2024, 10:28:08 am by vfclists »
Lazarus 3.0/FPC 3.2.2

Thaddy

  • Hero Member
  • *****
  • Posts: 14367
  • Sensorship about opinions does not belong here.
Re: Copying a lot of messages to the clipboard causes Lazarus to crash
« Reply #1 on: February 21, 2024, 01:15:32 pm »
On 32 bit this is likely, but not on 64 bit and over 4 Gb memory.
You wrote Mb, that should be ok.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

TRon

  • Hero Member
  • *****
  • Posts: 2506
Re: Copying a lot of messages to the clipboard causes Lazarus to crash
« Reply #2 on: February 21, 2024, 03:08:50 pm »
Anyone else experienced this bug?
Can't say that I have (I'll try make an attempt to let it crash but so far was out of luck -> GTK2).

In case it is reproducible, you could opt to create debug build of the IDE, catch the exception log and create an issue on the bugtracker with al gathered information. Note that KDE/Wayland is far from stable (despite what the buzz on the internet is telling). Advisable is to switch to xwayland (most distributions based on KDE/Wayland have some form of a quick toggle to switch to X). My experience with wayland and Lazarus is very negative because it is riddled with annoying bugs that unexpectedly pops up and makes it impossible to use in a serious work environment.

zeljko

  • Hero Member
  • *****
  • Posts: 1596
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Copying a lot of messages to the clipboard causes Lazarus to crash
« Reply #3 on: February 21, 2024, 03:42:44 pm »
No bug here - trunk lazarus-qt5, fpc-3.2.2

vfclists

  • Hero Member
  • *****
  • Posts: 1013
    • HowTos Considered Harmful?
Re: Copying a lot of messages to the clipboard causes Lazarus to crash
« Reply #4 on: February 21, 2024, 04:52:34 pm »
No bug here - trunk lazarus-qt5, fpc-3.2.2

Try Clean up and Build (check all the boxes) on a large project?

My Lazarus is GTK build though.
Lazarus 3.0/FPC 3.2.2

 

TinyPortal © 2005-2018