[Lazarus] Access violation during compile...

Samps samps at unplugd.com
Fri Sep 20 07:42:21 CEST 2013


Trying to compile (anything, but in this case, just an empty form in a
stock project) I get an Access Violation, with the option to continue and
risk data corruption (which does nothing but dismiss the error dialog) and
'cancel', which closes the IDE altogether without presenting me with a
'save' project' dialog.

FPC is 2.6.0 and Lazarus is 1.3 from SVN, rev. 42892 i386-linux-gtk2
compiled with: 'make clean all' and the IDE build with './lazbuild
--build-ide='


Started the IDE from terminal and the complete trace sequence is pasted
below.

Any ideas where and how it broke?

cheers
Samps

-------snip------------>

samps at pacer-II:~/lazarus$ ./lazarus
TMainIDE.ParseCmdLineOptions:
  PrimaryConfigPath="/home/samps/.lazarus"
  SecondaryConfigPath="/etc/lazarus"
TSourceEditorSharedValues.GetMainLinkScanner CodeBuffer=nil
TSourceEditorSharedValues.GetMainLinkScanner not a pascal source: unit1.pas
TApplication.HandleException Access violation
  Stack trace:
  $0867F934  TLAZSOURCEFILEMANAGER__SAVEUNITCOMPONENT,  line 3075 of
sourcefilemanager.pas
  $08678225  TLAZSOURCEFILEMANAGER__SAVEEDITORFILE,  line 1107 of
sourcefilemanager.pas
  $0867C067  TLAZSOURCEFILEMANAGER__SAVEPROJECT,  line 2239 of
sourcefilemanager.pas
  $080CD6C0  TMAINIDE__DOSAVEPROJECT,  line 6461 of main.pp
  $080CF12E  TMAINIDE__DOSAVEPROJECTTOTESTDIRECTORY,  line 6875 of main.pp
  $080CEEBA  TMAINIDE__DOSAVEFORBUILD,  line 6835 of main.pp
  $080CF656  TMAINIDE__DOBUILDPROJECT,  line 6993 of main.pp
  $080C63AB  TMAINIDE__MNUCOMPILEPROJECTCLICKED,  line 4314 of main.pp
  $0840DB06  TIDEMENUITEM__MENUITEMCLICK,  line 575 of menuintf.pas
  $08411427  TIDEMENUCOMMAND__MENUITEMCLICK,  line 1650 of menuintf.pas
  $0823F980  TMENUITEM__CLICK,  line 84 of ./include/menuitem.inc
  $0823F51D  HANDLEITEM,  line 247 of ./include/menu.inc
  $0823F4BB  TMENU__ISSHORTCUT,  line 266 of ./include/menu.inc
  $0809E3EA  TCUSTOMFORM__ISSHORTCUT,  line 2473 of ./include/customform.inc
  $08220453  ISSHORTCUT,  line 5646 of ./include/wincontrol.inc
  $082203A9  TWINCONTROL__DOKEYDOWNBEFOREINTERFACE,  line 5709 of
./include/wincontrol.inc
  $08222B49  TWINCONTROL__CNKEYDOWN,  line 7007 of ./include/wincontrol.inc

(lazarus:13933): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that
doesn't believe we're its parent.

(lazarus:13933): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that
doesn't believe we're its parent.

(lazarus:13933): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that
doesn't believe we're its parent.

(lazarus:13933): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that
doesn't believe we're its parent.

(lazarus:13933): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that
doesn't believe we're its parent.

(lazarus:13933): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that
doesn't believe we're its parent.

(lazarus:13933): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that
doesn't believe we're its parent.

(lazarus:13933): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that
doesn't believe we're its parent.

(lazarus:13933): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that
doesn't believe we're its parent.

(lazarus:13933): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that
doesn't believe we're its parent.

(lazarus:13933): LIBDBUSMENU-GLIB-WARNING **: Trying to remove a child that
doesn't believe we're its parent.
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  -> inherited Destroy... TMainIDE
WARNING: TLCLComponent.Destroy with LCLRefCount>0. Hint: Maybe the
component is processing an event?
[TMainIDE.Destroy] END
samps at pacer-II:~/lazarus$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130920/a17573c0/attachment-0002.html>


More information about the Lazarus mailing list