Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2013-09

Access violation during compile...

6 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Samps

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.freepascal.org/pipermail/lazarus/attachments/20130920/a17573c0/attachment-0001.html>

Reply by email

Kjow
to Samps

2013/9/20 Samps

Show quoted text 10 lines
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='

Same here with Lazarus Trunk (v1.3 - r42892M) and FPC 2.7.1 (r25524). Also loading an existing project make an instant crash.

Kjow

PS all ok with latest branches/fixes_1_0 and FPC 2.6.x -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130920/89736b0c/attachment.html>

Reply by email

Kjow
to Kjow

2013/9/20 Kjow

Show quoted text 20 lines
2013/9/20 Samps > 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=' > Same here with Lazarus Trunk (v1.3 - r42892M) and FPC 2.7.1 (r25524). Also loading an existing project make an instant crash. Kjow PS all ok with latest branches/fixes_1_0 and FPC 2.6.x

Note: reverting to r42885 it works again (no other revisions attempts) -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130920/d9688a93/attachment.html>

Reply by email

Kjow
to Kjow: 2013/9/20 Samps Same here with Lazarus Trunk (v1.3 - r42892M) and FPC 2.7.1 (r25524).…

2013/9/20 Kjow

Show quoted text 20 lines
2013/9/20 Samps > 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=' > Same here with Lazarus Trunk (v1.3 - r42892M) and FPC 2.7.1 (r25524). Also loading an existing project make an instant crash. Kjow PS all ok with latest branches/fixes_1_0 and FPC 2.6.x

I'm sorry, I forgot to write that I'm on Windows 8 -------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20130920/98630c5d/attachment.html>

Reply by email

Mattias Gaertner
to Samps: Trying to compile (anything, but in this case, just an empty form in a stock project) I…
Show quoted text 15 lines
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?

Not yet. But I know the revision. I reverted it.

Mattias

Reply by email

Mattias Gaertner
to Mattias Gaertner
Show quoted text 20 lines
On Fri, 20 Sep 2013 15:12:21 +0930 Samps wrote: > 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? Not yet. But I know the revision. I reverted it.

It was duplicated code.

Mattias

Reply by email