[lazarus] More Detail for "Bug with save project contain TListView..."
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Nov 18 08:36:01 EST 2002
On Mon, 18 Nov 2002 08:40:15 +0300
Andrew Velikoredchanin <andrew at rodtext.indi.ru> wrote:
> andrew johnson wrote:
>
> OK! More detail for bug with TListView and TNoteBook:
> 1. Start "lazarus";
> 2. Create new project - "Application";
> 3. Add on Form1 element "Additional"->"TNoteBook";
> 4. Add 2 pages in "Notebook1";
> 5. On secont TPage add "Common Controls" -> "TListView";
> 6. For "Listview1" press on "..." button for "COLUMNS" property in
> object inspector;
> 7. Press "Add" for add 3 columns;
3 or more columns. That's it.
There was a buffer overrun.
Fixed.
Mattias
> 8. Change default caption "Caption" on "Caption1", "Caption2" and
> "Caption3";
> 9. Press "OK" in Columns editor;
> 10. Press "Save All..." icon on main lazarus window (menu and tool panel
> window);
> 11. After this I close lazarus.
>
> After close I get errors in console:
> ========================================================
> ...
> TMainIDE.DoSaveProject End
> TMainIDE.DoCloseEditorFile A PageIndex=0
> An unhandled exception occurred at 0x0824DDAA :
> Invalid pointer operation
> 0x0824DDAA
>
> [TMainIDE.Destroy] A
> An unhandled exception occurred at 0x08185C0F :
> Access violation
> 0x08185C0F TAVLTREENODEMEMMANAGER__DISPOSENODE, line 998 of
> avl_tree.pas 0x4C373A3B main, line 302 of lcllinux.pp
> 0x0000D7B2
>
> forms.pp - finalization section
> An unhandled exception occurred at 0x69447375 :
> Access violation
> 0x69447375 main, line 302 of lcllinux.pp
> 0x00293031
> An unhandled exception occurred at 0x08246ECA :
> Access violation
> 0x08246ECA
>
> [root at localhost local]#
> ========================================================
>
> But in last CVS lazarus caption for TListView columns saved. 8)
>
> And in next run time lazarus when load project or save project - this
> load CPU on 100% and not work.
>
> >That is what most of us are using. Linux is the main development
> >platform, so the developers(Mattias, Marc, etc) will all be using this.
> >When a bug is reported, unless OS (win32, *BSD) specific, it will first
> >be tested against current CVS ON Linux. Mattias needs details about the
> >steps you took to procure this bug, so that he can attempt to duplicate
> >it. Be as specific as possible, and possibly supply an example which
> >shows the bug. If possible try and duplicate the bug yourself on a new
> >project, and if you can send the sources and exactly what steps you took
> >to make it, it is far more likely that the bug can be found and fixed.
> >
> >Andrew
> >
> >On Sun, 2002-11-17 at 03:47, Andrew Velikoredchanin wrote:
> >
> >
> >>Mattias Gaertner wrote:
> >>
> >>
> >>
> >>>On Thu, 14 Nov 2002 18:08:27 +0300
> >>>Andrew Velikoredchanin <andrew at rodtext.indi.ru> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>>For TListView not saved in .lfm poperty "COLUMNS" after SaveAll.
> >>>>But this is only if TListView inserted in TPage (TNoteBook).
> >>>>
> >>>>
> >>>>
> >>>>
> >>>Hmm, seems to work.
> >>>Can you plz describe in more detail what you have done?
> >>>
> >>>
> >>>
> >>>
> >>This is for linux Lazarus in cvs.
> >>
> >>
> >>
>
>
>
> _________________________________________________________________
> To unsubscribe: mail lazarus-request at miraclec.com with
> "unsubscribe" as the Subject
> archives at http://www.lazarus.freepascal.org/mailarchives
More information about the Lazarus
mailing list