Recent

Author Topic: Lazarus instance is running but not responding.  (Read 2929 times)

guest65109

  • Guest
Lazarus instance is running but not responding.
« on: January 03, 2020, 02:33:22 pm »
My Lazarus show a message box asked me to choose between OK or Abort. I chose OK many time but the it's just hang, if I click anywhere inside the Lazarus's window the message box appear again, I chose Abort then Lazarus crashed. I attempt to launch it again via XFCE Menu Entry but it give a message box as the title.

MarkMLl

  • Hero Member
  • *****
  • Posts: 8578
Re: Lazarus instance is running but not responding.
« Reply #1 on: January 03, 2020, 06:39:22 pm »
You've broken something. Cut down your project to be the minimum possible and post it here so we can tell you what's going wrong.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12612
  • Debugger - SynEdit - and more
    • wiki
Re: Lazarus instance is running but not responding.
« Reply #2 on: January 03, 2020, 06:51:50 pm »
The IDE has a feature to optionally only run one instance of it. (Open new files in existing instance).

For that it uses a lockfile and IPC.
Even if you disable the feature it will still check....  related https://bugs.freepascal.org/view.php?id=35838

If you have no other IDE running, then maybe an old lockfile exists. (afaik somewhere in your tmp folder)

wp

  • Hero Member
  • *****
  • Posts: 13646
Re: Lazarus instance is running but not responding.
« Reply #3 on: January 03, 2020, 10:01:40 pm »
My Lazarus show a message box asked me to choose between OK or Abort. I chose OK many time but the it's just hang, if I click anywhere inside the Lazarus's window the message box appear again, I chose Abort then Lazarus crashed. I attempt to launch it again via XFCE Menu Entry but it give a message box as the title.
Opening a form which contains controls with unknown properties sometimes results in this state. Then all I can do is to check in the Task Manager (I'm on Windows usually) whether Lazarus is still running somewhere. After killing this instance Lazarus starts again normally -- of course the same thing will  happen again as long the root cause - the presence of unknown properties in my example - is not fixed.

guest65109

  • Guest
Re: Lazarus instance is running but not responding.
« Reply #4 on: January 04, 2020, 03:45:23 am »
My Lazarus show a message box asked me to choose between OK or Abort. I chose OK many time but the it's just hang, if I click anywhere inside the Lazarus's window the message box appear again, I chose Abort then Lazarus crashed. I attempt to launch it again via XFCE Menu Entry but it give a message box as the title.
Opening a form which contains controls with unknown properties sometimes results in this state. Then all I can do is to check in the Task Manager (I'm on Windows usually) whether Lazarus is still running somewhere. After killing this instance Lazarus starts again normally -- of course the same thing will  happen again as long the root cause - the presence of unknown properties in my example - is not fixed.

After I kill the lazarus process with Task Manager I could run the new instance properly. I just play around with layout management on Lazarus so I didn't save the project, after a restart everything is gone. As I remember, I was playing with the TFlowPanel, trying customize it properties and suddenly lazarus show me this dialog.

 

TinyPortal © 2005-2018