Recent

Author Topic: Exceptions Changing Desktops  (Read 2357 times)

Grahame Grieve

  • Sr. Member
  • ****
  • Posts: 365
Exceptions Changing Desktops
« on: December 07, 2020, 10:38:10 am »
I'm having increasing trouble changing desktops on Laz2.1.0 on Win64 (win10). Randomly - and increasingly - when I change desktops, which includes whenever I execute my program, Lazarus will hang for a few seconds, and then bring up an exception "List index out of bounds (11)" (number varies). After that, it's useless, and I have to shoot it anyway if I don't abort.

This is becoming quite painful - Lazarus is becoming unusable. It's happening on both my development PCs. Does anyone have any ideas about this?


Grahame Grieve

  • Sr. Member
  • ****
  • Posts: 365
Re: Exceptions Changing Desktops
« Reply #1 on: December 07, 2020, 10:39:24 am »
btw, it never happens at start up, but does happen if I save the start up desktop to another desktop, and then change back to the start up one

Grahame Grieve

  • Sr. Member
  • ****
  • Posts: 365
Re: Exceptions Changing Desktops
« Reply #2 on: December 23, 2020, 08:40:48 am »
Now that I'm set up to debug Lazarus, trying to debug this resutls in crashing both instances of Lazarus...

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1186
    • Burdjia
Re: Exceptions Changing Desktops
« Reply #3 on: December 29, 2020, 11:38:46 am »
What's your Windows 10 version?  I haven't any problem with the latest one (20H2).
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

Grahame Grieve

  • Sr. Member
  • ****
  • Posts: 365
Re: Exceptions Changing Desktops
« Reply #4 on: December 31, 2020, 10:44:57 pm »
Windows 19042.685. but this happens on linux as well (ubuntu 20.10) so I think it's not OS specific. As far as I can tell, it happens randomly.

MarkMLl

  • Hero Member
  • *****
  • Posts: 6692
Re: Exceptions Changing Desktops
« Reply #5 on: December 31, 2020, 10:53:09 pm »
Could you explain what you mean by "desktop" in this context? Is this a released Lazarus version or trunk? If trunk what revision number? And in all cases, what FPC version?

I've used 2.1.0 from trunk fairly heavily on Debian x86_64 with 3.0.4, without seeing the sort of thing you appear to be describing, which is why I'm trying to get you to clarify your terminology.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Grahame Grieve

  • Sr. Member
  • ****
  • Posts: 365
Re: Exceptions Changing Desktops
« Reply #6 on: January 01, 2021, 10:29:24 pm »
I'm jusing a variety of different versions of 2.1.0 on a combination of windows (rolling v10), Linux (rolling ubuntu 20.x), and OSX (catalina/big sur). My main dev is currently svn revision 64099.

By desktops I mean Tools...Desktop in Lazarus. I have 2 desktops - Dev and Debug, and Lazarus switches between them automatically. Until it doesn't...  I'm not sure what else I should clarify?

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2023
  • Former Delphi 1-7, 10.2 user
Re: Exceptions Changing Desktops
« Reply #7 on: January 01, 2021, 10:51:37 pm »
I'm jusing a variety of different versions of 2.1.0 on a combination of windows (rolling v10), Linux (rolling ubuntu 20.x), and OSX (catalina/big sur).

Does it happen if you use a release version of Lazarus rather than the development version?

Grahame Grieve

  • Sr. Member
  • ****
  • Posts: 365
Re: Exceptions Changing Desktops
« Reply #8 on: January 02, 2021, 08:56:28 pm »
I don't really have that option; 2.0.10 trashes all my packages, and I need FPC 3.3.1 for various compile issues :-(

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2023
  • Former Delphi 1-7, 10.2 user
Re: Exceptions Changing Desktops
« Reply #9 on: January 03, 2021, 01:35:57 am »
I asked because if the issue cannot be easily reproduced, the likelihood of it being fixed is quite low. If it happens with Lazarus 2.1 but not 2.0.10 then it at least helps narrow the field and suggests where the issue might be located.

You can, of course, use FPC 3.3.1 with any Lazarus version. It's unfortunate that other Lazarus versions trash your packages - if that's a bug it should be logged.

It might also pay to compile Lazarus 2.1 with FPC 3.2.0 or even 3.0.4 (I'm assuming you're using 3.3.1).

 

TinyPortal © 2005-2018