Lazarus

Installation => Windows (32/64) => Topic started by: nilpointer on June 28, 2014, 01:47:06 pm

Title: Access violation when running lazarus trunk build
Post by: nilpointer on June 28, 2014, 01:47:06 pm
I'm trying to build Lazarus from the svn sources (trunk, rev. 45707) using fpc 2.6.4 (Win32 release on Windows 7 64). Everything compiles fines, but when I try to run startlazarus.exe I get the splash screen followed by an "Access violation" message. When clicking OK there are another two of those messages, but the IDE never shows up.

Any ideas?

Title: Re: Access violation when running lazarus trunk build
Post by: BigChimp on June 28, 2014, 01:52:56 pm
Run a debug log to find out what the problems are
http://wiki.lazarus.freepascal.org/Lazarus_Faq#How_can_I_use_a_Log-file_for_debugging_the_IDE_itself.3F

You could post the log in a zip file attached to a post in case people are willing to help analyse the problem.

Perhaps the problem is with one of the packages (or with the IDE itself of course)

Edit: I hope you are using the 32 bit FPC compiler and not the 64 bit one, because that combination is known to give problems in some cases (e.g. access violations...):
http://wiki.lazarus.freepascal.org/Windows_Programming_Tips#FPC_2.6.x.2FLazarus_warning_.28Missing_support_for_SEH.29
Title: Re: Access violation when running lazarus trunk build
Post by: nilpointer on June 28, 2014, 02:23:35 pm
Thanks for your reply.

I manged to find the problem.
There's another lazarus instance on my system (the stable precompiled Win32 release). The svn version interferred with the configuration of the existing instance. The solution was using the --pcp option to specify a separate configuration directory.

For all dealing with the same issue:
http://wiki.lazarus.freepascal.org/Multiple_Lazarus (http://wiki.lazarus.freepascal.org/Multiple_Lazarus)
TinyPortal © 2005-2018