Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2019-03

Lazarus crashes on launch - Ubuntu

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Mick Arundell

Hi Team

I've recently install Lazarus 1.8.2, fpc 4.0.4 using normal apt-get routines

Ubuntu is Linux wildone 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

On launch an Access Violation message box jumps up "Access violation, Press OK to ignore and risk data corruption. Press Abort to kill the program"

Can anyone diagnose the problem for me or tell me how to find the fault please?

I inspected /etc/lazarus/environmentoptions.xml and found that this set of directories do not exist

        <Item1 Value="/usr/local/bin/fpc"/>         <Item2 Value="/usr/bin/fpc"/>
        <Item3 Value="/opt/fpc/fpc"/>

I have already removed and reloaded several times. What should I do next?

Thank you in advance, Mick Arundell

Reply by email

Paul Breneman
to Mick Arundell
Mick Arundell wrote 27 lines
Hi Team I've recently install Lazarus 1.8.2, fpc 4.0.4 using normal apt-get routines Ubuntu is Linux wildone 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux On launch an Access Violation message box jumps up "Access violation, Press OK to ignore and risk data corruption. Press Abort to kill the program" Can anyone diagnose the problem for me or tell me how to find the fault please? I inspected /etc/lazarus/environmentoptions.xml and found that this set of directories do not exist         <Item1 Value="/usr/local/bin/fpc"/>         <Item2 Value="/usr/bin/fpc"/>         <Item3 Value="/opt/fpc/fpc"/> I have already removed and reloaded several times. What should I do next? Thank you in advance, Mick Arundell

I think I fixed that last year on my Xubuntu system by starting Lazarus as root. It needed root to update something. Once it updated something I could start it okay as a normal user from then on.

Regards,
Paul
www.ControlPascal.com

Reply by email

Mattias Gaertner
to Paul Breneman
Show quoted text 33 lines
On 3/20/2019 5:02 AM, Mick Arundell via lazarus wrote: > Hi Team > > I've recently install Lazarus 1.8.2, fpc 4.0.4 using normal apt-get > routines > > Ubuntu is Linux wildone 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 > 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux > > On launch an Access Violation message box jumps up "Access > violation, Press OK to ignore and risk data corruption. Press Abort > to kill the program" > > Can anyone diagnose the problem for me or tell me how to find the > fault please? > > I inspected /etc/lazarus/environmentoptions.xml and found that this > set of directories do not exist > >         <Item1 Value="/usr/local/bin/fpc"/> >         <Item2 Value="/usr/bin/fpc"/> >         <Item3 Value="/opt/fpc/fpc"/> > > I have already removed and reloaded several times. What should I do > next? > > > Thank you in advance, Mick Arundell > I think I fixed that last year on my Xubuntu system by starting Lazarus as root. It needed root to update something. Once it updated something I could start it okay as a normal user from then on.

I doubt that. Starting it as root might even increase the problem by creating new files as root.

Mattias

Reply by email

Mattias Gaertner
to Mick Arundell: Hi Team I've recently install Lazarus 1.8.2, fpc 4.0.4 using normal apt-get routines…
[...] I've recently install Lazarus 1.8.2, fpc 4.0.4 using normal apt-get routines

There is no fpc 4.0.4. Last release is 3.0.4. fpc 3.2.0 is in the making.

Show quoted text 16 lines
Ubuntu is Linux wildone 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux On launch an Access Violation message box jumps up "Access violation, Press OK to ignore and risk data corruption. Press Abort to kill the program" Can anyone diagnose the problem for me or tell me how to find the fault please? I inspected /etc/lazarus/environmentoptions.xml and found that this set of directories do not exist         <Item1 Value="/usr/local/bin/fpc"/>         <Item2 Value="/usr/bin/fpc"/>         <Item3 Value="/opt/fpc/fpc"/>

These are common paths of fpc. The IDE searches them only if it cannot find fpc.

I have already removed and reloaded several times. What should I do next?

Uninstall this old lazarus and use our deb packages from sourceforge:

https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%202.0.0/

Mattias

Reply by email