Sign in Join

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

Mailing lists / lazarus / 2002-09

Warning during build / IDE crashes

13 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

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

Andrew Johnson
Show quoted text 10 lines
On Sat, 14 Sep 2002 17:42:52 +0200 "Vincent Snijders" wrote: > Hi, > > When I rebuild Lazarus with the build tool I get the following warning: > Warning: Unit DESIGNER was not found, but DESIGNERSTR >exists. I'm not sure, but it looks like an fpc compatibility warning for DOS 8.3 systems.
> I don't know what the consequences are. Apparently none.

I just realized that since I upgraded on saturday, I have had this too, under Linux so its not a Dos error I do not think. And since the same time Laz. has been somewhat unstable, where it will suddenly crash for no good reason. For instance I opened up a freshly built Lazarus from CVS, and made some changes, I hit save all, and it died. There was no stacktrace either, just said Acces Violation.. that's it. I tried again and it worked fine. Any thoughts?(note the instabilities are everywhere not just save all)

Andrew

_________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com

Reply by email

Michal Bukovjan
to Andrew Johnson
Andrew Johnson wrote 37 lines
On Sat, 14 Sep 2002 23:53:37 +0200 "Mattias Gaertner" wrote: > On Sat, 14 Sep 2002 17:42:52 +0200 > "Vincent Snijders" wrote: > > > Hi, > > > > When I rebuild Lazarus with the build tool I get the following > warning: > > Warning: Unit DESIGNER was not found, but DESIGNERSTR >exists. > I'm not sure, but it looks like an fpc compatibility warning for DOS > 8.3 systems. > > I don't know what the consequences are. > Apparently none. I just realized that since I upgraded on saturday, I have had this too, under Linux so its not a Dos error I do not think. And since the same time Laz. has been somewhat unstable, where it will suddenly crash for no good reason. For instance I opened up a freshly built Lazarus from CVS, and made some changes, I hit save all, and it died. There was no stacktrace either, just said Acces Violation.. that's it. I tried again and it worked fine. Any thoughts?(note the instabilities are everywhere not just save all) Andrew

The unit contains only resourcestrings, it could be renamed, though. It should have no impact on Lazarus stability, and Lazarus runs (reasonably) stable for me.

I just tried Save All, works normally. Perhaps some bitmaps problem? What resoltuion do you run? Bitdepth?

Michal

Reply by email

Mattias Gaertner
to Vincent Snijders: When I rebuild Lazarus with the build tool I get the following warning: Warning: Unit…
Hi, When I rebuild Lazarus with the build tool I get the following warning: Warning: Unit DESIGNER was not found, but DESIGNERSTR exists.

I'm not sure, but it looks like an fpc compatibility warning for DOS 8.3 systems.

I don't know what the consequences are.

Apparently none.

Show quoted text 8 lines
I have this other problem as well. If I try to remove a keymapping in the Editor Options and set it to none I get the following error: An unhandled exception occurred at 0x080C6F4B : Access violation 0x080C6F4B TSTRINGHASHLIST__HASHOF, line 243 of stringhashlist.pas 0x084D4958 main, line 294 of gtkint.ppgtkproc.inc 0x084DBB78 main, line 294 of gtkint.ppgtkproc.inc

Fixed.

Mattias

Reply by email

Mattias Gaertner
to Andrew Johnson: On Sat, 14 Sep 2002 23:53:37 +0200 I just realized that since I upgraded on saturday, I…
Show quoted text 22 lines
On Sat, 14 Sep 2002 23:53:37 +0200 "Mattias Gaertner" wrote: >On Sat, 14 Sep 2002 17:42:52 +0200 >"Vincent Snijders" wrote: > > > Hi, > > > > When I rebuild Lazarus with the build tool I get the following warning: > > Warning: Unit DESIGNER was not found, but DESIGNERSTR >exists. >I'm not sure, but it looks like an fpc compatibility warning for DOS 8.3 >systems. > > I don't know what the consequences are. >Apparently none. I just realized that since I upgraded on saturday, I have had this too, under Linux so its not a Dos error I do not think.

I didn't say error. I said compatibility warning. 'Designer' has 8 letters and they are the same to the first 8 letters of 'DesignerStr', so this can be a problem on DOS 8-3 filesystems and therefore fpc warns. It's just a warning, not the reason for the crashes. I have renamed the unit to objinspstrconsts.pas. I think, the name is better than designerstr.pas, because it contains the resourcestrings for the OI and its units.

Show quoted text 5 lines
And since the same time Laz. has been somewhat unstable, where it will suddenly crash for no good reason. For instance I opened up a freshly built Lazarus from CVS, and made some changes, I hit save all, and it died. There was no stacktrace either, just said Acces Violation.. that's it.

This probably means a stack overflow.
Since two weeks the codetools show cache inconsistencies. But because the codetool cache systems are the big part of the IDE mem, this can mean nothing.

Mattias

Reply by email

Andrew Johnson
Show quoted text 5 lines
It should have no impact on Lazarus stability, and Lazarus runs (reasonably) stable for me. I just tried Save All, works normally. Perhaps some bitmaps problem? What resoltuion do you run? Bitdepth?

No way this is a bitmap problem as it also occurs on Menu Items, sometimes shortcuts.. besides, since one of my current projects is bitmaps, that was the very first thing I checked.. I have tried it on several res/bitdepth no change... it just sort of pops up... I just did a cvs update and recompiled. tried again, worked for a little while then happened again on Save-all(I figure thats a safe bet for tracing) this time I also got a stack trace. a very LONG stacktrace which I won't list here.. but at the top it said:

Access Violation
0x8193A21 TMAIN_SAVESOURCEEDITORPROJECTSPECIFICSETTINGS, line 3213 of main.pp

Don't know if this is a different problem or not.. but I also started getting AV on close as well since updating.

Andrew

_________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx

Reply by email

Tony Maro
to Andrew Johnson: On Sat, 14 Sep 2002 23:53:37 +0200 I just realized that since I upgraded on saturday, I…

With all the talk of streaming not fully functional yet, I was wondering what IS functional before I go develop my new component.

I'll need to be able to stream the contents of a TStringList and be able to save a Tstream as a file. Inbetween will be some compression algorithms so the finished product is a compressed text file.

So, to restate without the rambling, what is the current working status of the TStringList and TStream objects?

Thanks,
Tony

Reply by email

Vincent Snijders

Hi,

When I rebuild Lazarus with the build tool I get the following warning: Warning: Unit DESIGNER was not found, but DESIGNERSTR exists.

I don't know what the consequences are.

I have this other problem as well. If I try to remove a keymapping in the Editor Options and set it to none I get the following error:

An unhandled exception occurred at 0x080C6F4B :
Access violation
0x080C6F4B TSTRINGHASHLIST__HASHOF, line 243 of stringhashlist.pas 0x084D4958 main, line 294 of gtkint.ppgtkproc.inc 0x084DBB78 main, line 294 of gtkint.ppgtkproc.inc

forms.pp - finalization section
[TMainIDE.Destroy] A
An unhandled exception occurred at 0x08179C8F :
Access violation
0x08179C8F TAVLTREENODEMEMMANAGER__DISPOSENODE, line 998 of avl_tree.pas 0xBFFFEE08 main, line 294 of gtkint.ppgtkproc.inc 0x453B0C45 main, line 294 of gtkint.ppgtkproc.inc

An unhandled exception occurred at 0x20202020 :
Access violation
0x20202020 main, line 294 of gtkint.ppgtkproc.inc 0x00000001
0x08374E6C main, line 294 of gtkint.ppgtkproc.inc

Lazarus stops working. I have , but I didn't
see anything strange there. The calls it makes, looked rather complicted to me for a quick fix by me.

Regards,
Vincent.

Reply by email

Mattias Gaertner
to Andrew Johnson: ----Original Message Follows---- From: Mattias Gaertner Reply-To: To: Subject: Re:…
So far so good on everything.. except.. I still get an error on save all... but since I updated a most of my problems disapeared so I was able to determine what I do before it happens - I open a lot of units, then a close a few, then I do a SaveAll.

Hmm. I'm doing that very often.

This also is the error I am getting on close, it happens when it asks if I want to save, I say yes, and get almost the same stacktrace as with saveall. So this is probably an issue with saving what units are open in the Code Explorer.

Code Explorer?
I'm reading a lot of lazarus mails, and sometimes I even look into the code, but I didn't saw this. Must be one of the hidden features ... ;)

Try the memcheck. (activate the IDE_MEM_CHECK flag in ide.inc and rebuild clean all).

Mattias

Reply by email

Andrew Johnson
Show quoted text 6 lines
Code Explorer? I'm reading a lot of lazarus mails, and sometimes I even look into the code, but I didn't saw this. Must be one of the hidden features ... ;) Try the memcheck. (activate the IDE_MEM_CHECK flag in ide.inc and rebuild clean all).

gah!!!! I get the same initial error(AV in Main) and then follows a stacktrace of ... currently it is at 256,320 lines and still going.....

Andrew

_________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx

Reply by email

Andrew Johnson
With all the talk of streaming not fully functional yet, I was wondering what IS functional before I go develop my new component.

Only talk about incomplete streaming to my knowledge is Bitmap/Picture Streaming to .lfm(form files), and that is because the components themselves(not to mention the interface portion) are incomplete.

So, to restate without the rambling, what is the current working status of the TStringList and TStream objects?

What you are talking about is TStringList on a code level correct? Well since TStringList and TStream are both non visual objects, they are part of the FCL, which is and has been for the most part fully functional.(The only thing which wasn't working right was TSringlist.sort, and this was I believe fixed 1.0.5).
And to my knowledge TStrings Streaming to the .lfm file also works properly.

Just to clarify, usually when talking about streaming things on this list, it has to do with Lazarus and LCL's completeness, not the completeness of the FCL and implementation therein.

Andrew

_________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com

Reply by email

Mattias Gaertner
to Andrew Johnson: On Sat, 14 Sep 2002 23:53:37 +0200 I just realized that since I upgraded on saturday, I…
Show quoted text 9 lines
With all the talk of streaming not fully functional yet, I was wondering what IS functional before I go develop my new component. I'll need to be able to stream the contents of a TStringList and be able to save a Tstream as a file. Inbetween will be some compression algorithms so the finished product is a compressed text file. So, to restate without the rambling, what is the current working status of the TStringList and TStream objects?

Fully functional. The fcl is very 'Delphi' complete.

The talk was/is about the component streaming. During streaming a lcl component is paralysed. And when streaming has finished it awakes and must apply all changes at once, ignoring all dependencies. This works now for almost all components and all properties (nearly one thousand).

Mattias

Reply by email

Mattias Gaertner
to Andrew Johnson: On Mon, 16 Sep 2002 18:31:10 +0200 No way this is a bitmap problem as it also occurs on…
Show quoted text 23 lines
On Mon, 16 Sep 2002 18:31:10 +0200 "Michal Bukovjan" wrote: >It should have no impact on Lazarus stability, and Lazarus runs >(reasonably) stable for me. >I just tried Save All, works normally. Perhaps some bitmaps problem? What >resoltuion do you run? Bitdepth? No way this is a bitmap problem as it also occurs on Menu Items, sometimes shortcuts.. besides, since one of my current projects is bitmaps, that was the very first thing I checked.. I have tried it on several res/bitdepth no change... it just sort of pops up... I just did a cvs update and recompiled. tried again, worked for a little while then happened again on Save-all(I figure thats a safe bet for tracing) this time I also got a stack trace. a very LONG stacktrace which I won't list here.. but at the top it said: Access Violation 0x8193A21 TMAIN_SAVESOURCEEDITORPROJECTSPECIFICSETTINGS, line 3213 of main.pp Don't know if this is a different problem or not.. but I also started getting AV on close as well since updating.

I fixed several mem leaks and some potential bugs in wincontrol.inc and customcombobox.inc. Mighty memcheck :)
Hopefully this will reduce your crashes.

Mattias

Reply by email

Andrew Johnson

----Original Message Follows----
From: Mattias Gaertner
Reply-To:
To:
Subject: Re: [lazarus] Warning during build / IDE crashes Date: Mon, 16 Sep 2002 21:25:58 +0200

Show quoted text 7 lines
On Mon, 16 Sep 2002 18:31:10 +0200 "Michal Bukovjan" wrote: >It should have no impact on Lazarus stability, and Lazarus runs >(reasonably) stable for me. >I just tried Save All, works normally. Perhaps some bitmaps problem?

What

>resoltuion do you run? Bitdepth? No way this is a bitmap problem as it also occurs on Menu Items,

sometimes

shortcuts.. besides, since one of my current projects is bitmaps, that

was

the very first thing I checked.. I have tried it on several res/bitdepth

no

change... it just sort of pops up... I just did a cvs update and

recompiled.

tried again, worked for a little while then happened again on Save-all(I figure thats a safe bet for tracing) this time I also got a stack trace.

a

Show quoted text 13 lines
very LONG stacktrace which I won't list here.. but at the top it said: Access Violation 0x8193A21 TMAIN_SAVESOURCEEDITORPROJECTSPECIFICSETTINGS, line 3213 of main.pp Don't know if this is a different problem or not.. but I also started getting AV on close as well since updating. I fixed several mem leaks and some potential bugs in wincontrol.inc and customcombobox.inc. Mighty memcheck :) Hopefully this will reduce your crashes.

So far so good on everything.. except.. I still get an error on save all... but since I updated a most of my problems disapeared so I was able to determine what I do before it happens - I open a lot of units, then a close a few, then I do a SaveAll. This also is the error I am getting on close, it happens when it asks if I want to save, I say yes, and get almost the same stacktrace as with saveall. So this is probably an issue with saving what units are open in the Code Explorer.

Andrew

_________________________________________________________________ Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com

Reply by email