Sign in Join

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

Mailing lists / lazarus / 2008-05

BT of AV while exiting Lazarus

7 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

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

Joost van der Sluis

Hi all,

After the problem with a TFPWebModule (see other mail), I can not close the IDE anymore. I get a combobox with the message 'Access violation'.

Maybe that someone can do something with this bt? (latest trunk, Lazarus and fpc)

Program received signal SIGSEGV, Segmentation fault. 0x0000000000aff7fb in SEARCH (ANUNITINFO=0x2aaab04fa1e0, ACOMPONENT=0x2aaab000dc40, parentfp=0x7fffa7185c20) at project.pp:3658
3658 if (PropInfo^.PropType^.Kind=tkClass) then begin (gdb) bt
#0 0x0000000000aff7fb in SEARCH (ANUNITINFO=0x2aaab04fa1e0, ACOMPONENT=0x2aaab000dc40, parentfp=0x7fffa7185c20) at project.pp:3658
#1 0x0000000000aff50c in UPDATEUNITCOMPONENTDEPENDENCIES ( this=0x2aaab04e2040) at project.pp:3736
#2 0x00000000006cd85f in UNITCOMPONENTISUSED (
UNITCOMPONENTISUSED=false, ANUNITINFO=0x2aaab04fa1e0, CHECKHASDESIGNER=false, this=0x2aaaaf7c2200) at main.pp:6269 #3 0x00000000006cd31d in CLOSEUNITCOMPONENT (CLOSEUNITCOMPONENT=264, ANUNITINFO=0x2aaab04fa1e0, FLAGS=0, this=0x2aaaaf7c2200) at main.pp:6158
#4 0x00000000006d0f8b in DOCLOSEEDITORFILE (DOCLOSEEDITORFILE=2, PAGEINDEX=3, FLAGS=4, this=0x2aaaaf7c2200) at main.pp:7145 #5 0x00000000006d596b in DOCLOSEPROJECT (DOCLOSEPROJECT=1, this=0x2aaaaf7c2200) at main.pp:8276
#6 0x00000000006b7cc7 in MAINIDEFORMCLOSEQUERY (SENDER=0x2aaaaf7c2200, , this=0x2aaaaf7c2200) at main.pp:1498
#7 0x00000000006d909d in QUITIDE (QUITIDE=false, this=0x2aaaaf7c2200) at main.pp:9011
#8 0x00000000006bfc99 in MNUQUITCLICKED (SENDER=0x2aaaab703b00, this=0x2aaaaf7c2200) at main.pp:3140
#9 0x0000000000ac01ac in MENUITEMCLICK (SENDER=0x2aaaab73cb20, this=0x2aaaab703b00) at menuintf.pas:525
---Type <return> to continue, or q <return> to quit--- #10 0x0000000000ac3b21 in MENUITEMCLICK (SENDER=0x2aaaab73cb20, this=0x2aaaab703b00) at menuintf.pas:1500
#11 0x00000000007b367a in CLICK (this=0x2aaaab73cb20) at include/menuitem.inc:74
#12 0x00000000007b3e80 in DOCLICKED (,
this=0x2aaaab73cb20) at include/menuitem.inc:261
#13 0x000000000068301c in SYSTEM_TOBJECT_$__DISPATCH$formal () #14 0x00000000007b3e50 in ?? () at include/mainmenu.inc:27 #15 0x00002aaaab73cb20 in ?? ()
#16 0x0000000001225b70 in _$MENUS$_Ld45 ()
#17 0x0000000000000001 in ?? ()
#18 0x0000000000000006 in ?? ()
#19 0x00007fffa7186288 in ?? ()
#20 0x00002aaaab73cb20 in ?? ()
#21 0x00002aaaab73b020 in ?? ()
#22 0x00000000017dd440 in ?? ()
#23 0x00007fffa7186320 in ?? ()
#24 0x00000000017dd440 in ?? ()
#25 0x0000000000000000 in ?? ()

Reply by email

OsvaldoTCF
to Joost van der Sluis

error acs

/home/eu/deskx/programas/pascal/componentes/lazarus-ccr/components/acs/Src/classes/acs_classes.pas(148,24) Error: Identifier not found "class"
/home/eu/deskx/programas/pascal/componentes/lazarus-ccr/components/acs/Src/classes/acs_classes.pas(149,3) Error: Error in type definition
/home/eu/deskx/programas/pascal/componentes/lazarus-ccr/components/acs/Src/classes/acs_classes.pas(149,3) Fatal: Syntax error, ";" expected but "END" found

==============================
rxgrid rxdateedit dbdateedit

access violation

/home/eu/deskx/programas/pascal/componentes/lazarus-ccr/components/rx/tooledit.pas

initialization
  {.$I tooledit.lrs} before
  {$I tooledit.lrs} after (Ok)
end.

Reply by email

Алексей Лагунов
to OsvaldoTCF: error acs /home/eu/deskx/programas/pascal/componentes/lazarus-ccr/components/acs/Src/class…
Show quoted text 8 lines
initialization {.$I tooledit.lrs} before {$I tooledit.lrs} after (Ok) end.

What exactly did you correct in a file? Here my original text of a file: tooledit.pas:

procedure TCustomRxDateEdit.UpdateMask;
var
  DateValue: TDateTime;
  OldFormat: string[10];
begin
  DateValue := GetDate;
  OldFormat := FDateFormat;
  UpdateFormat;
{  if (GetDateMask  EditMask) or (OldFormat  FDateFormat) then
  begin
    { force update }
    EditMask := '';
    EditMask := GetDateMask;
  end;}
  UpdatePopup;
  SetDate(DateValue);
end;
initialization
  {$I tooledit.lrs}
end.

Reply by email

OsvaldoTCF
to Алексей Лагунов

Sorry,
i is using lazarus svn with ubuntu 8.04

When i update from subversion i have problem with RX and the file tooledit.pas has the
?> {.$I tooledit.lrs} before
not
?> {$I tooledit.lrs} before

??????? ??????? wrote 39 lines
> initialization > > {.$I tooledit.lrs} before > > {$I tooledit.lrs} after (Ok) > > end. > What exactly did you correct in a file? Here my original text of a file: tooledit.pas: procedure TCustomRxDateEdit.UpdateMask; var DateValue: TDateTime; OldFormat: string[10]; begin DateValue := GetDate; OldFormat := FDateFormat; UpdateFormat; { if (GetDateMask EditMask) or (OldFormat FDateFormat) then begin { force update } EditMask := ''; EditMask := GetDateMask; end;} UpdatePopup; SetDate(DateValue); end; initialization {$I tooledit.lrs} end. _______________________________________________ Lazarus mailing list http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Vincent Snijders
to OsvaldoTCF: i is using lazarus svn with ubuntu 8.04 When i update from subversion i have problem with…
OsvaldoTCF wrote 9 lines
Sorry, i is using lazarus svn with ubuntu 8.04 When i update from subversion i have problem with RX and the file tooledit.pas has the ?> {.$I tooledit.lrs} before not ?> {$I tooledit.lrs} before

Doesn't look like that with this file from svn:
https://lazarus-ccr.svn.sourceforge.net/svnroot/lazarus-ccr/components/rx/tooledit.pas

Vincent

Reply by email