Recent

Author Topic: Access violation when running lazarus trunk build  (Read 3176 times)

nilpointer

  • New member
  • *
  • Posts: 7
Access violation when running lazarus trunk build
« 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?

Lazarus 1.2.4, FPC 2.6.4 32 bit on Win7 64 bit

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Access violation when running lazarus trunk build
« Reply #1 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
« Last Edit: June 28, 2014, 01:55:23 pm by BigChimp »
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

nilpointer

  • New member
  • *
  • Posts: 7
Re: Access violation when running lazarus trunk build
« Reply #2 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
Lazarus 1.2.4, FPC 2.6.4 32 bit on Win7 64 bit

 

TinyPortal © 2005-2018