[Lazarus] Lazarus crashes on launch - Ubuntu

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] Lazarus crashes on launch - Ubuntu

Free Pascal - Lazarus mailing list
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

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus crashes on launch - Ubuntu

Free Pascal - Lazarus mailing list
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.

Regards,
Paul
www.ControlPascal.com
--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus crashes on launch - Ubuntu

Free Pascal - Lazarus mailing list
On Wed, 20 Mar 2019 06:07:38 -0400
Paul Breneman via lazarus <[hidden email]> wrote:

> 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

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Lazarus crashes on launch - Ubuntu

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list
On Wed, 20 Mar 2019 18:32:47 +0930
Mick Arundell via lazarus <[hidden email]> wrote:

>[...]
> 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.

 

> 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
--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus