[Lazarus] startlazarus: EAccessViolation : Access violation

Mattias Gaertner nc-gaertnma at netcologne.de
Sun Jul 26 12:14:14 CEST 2009


On Sun, 26 Jul 2009 11:56:05 +0200
Giuseppe Luigi Punzi Ruiz <glpunzi at lordzealon.com> wrote:

> Hi,
> 
> El 26/07/2009, a las 11:49, Mattias Gaertner escribió:
> 
> > I fixed the crash in 20963.
> >
> > Note:
> > startlazarus under OS X must be started with the bundle path:
> >
> > ./startlazarus.app/Contents/MacOS/startlazarus --pcp=./config
> >
> > Otherwise OS X does not give focus to an application.
> 
> 
> But I don't have startlazarus.app.

Ah. I forgot it was deleted from svn.

 
> with (without apply your fix):
> ./lazarus.app/Contents/MacOS/lazarus --pcp=./config
> 
> works...what your fix do then ? :D

The bug was to read some bundle properties without checking the result.
For example starting lazarus without bundle
./lazarus
crashed.
(Of course starting lazarus without bundle does not make much sense).

Mattias




More information about the Lazarus mailing list