Sign in Join

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

Mailing lists / lazarus / 2010-01

AV in TGtk2WSCustomListBox.SetItemIndex

6 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Flávio Etrusco

Hello,
is anybody else experiencing an AV with TListBox on Ubuntu (gtk2), e.g. when trying opening the Add Unit/Requirement in the project inspector.
The AV is raised by calls to gtk_tree_row_reference_valid (gtk_tree_row_reference_free would raise it too) in the ClearCursor subfunction of TGtk2WSCustomListBox.SetItemIndex
(lcl/interfaces/gtk2/gtk2wsstdctrls.pp, line 483). It seems that PGtkTreeView(Widget)^.priv^.cursor is invalid (its value is 0xffffd8f0).

Best regards,
Fl?vio

Reply by email

zeljko
to Flávio Etrusco
Fl?vio Etrusco wrote 10 lines
Hello, is anybody else experiencing an AV with TListBox on Ubuntu (gtk2), e.g. when trying opening the Add Unit/Requirement in the project inspector. The AV is raised by calls to gtk_tree_row_reference_valid (gtk_tree_row_reference_free would raise it too) in the ClearCursor subfunction of TGtk2WSCustomListBox.SetItemIndex (lcl/interfaces/gtk2/gtk2wsstdctrls.pp, line 483). It seems that PGtkTreeView(Widget)^.priv^.cursor is invalid (its value is 0xffffd8f0).

Why don't you fill up an mantis issue ?

zeljko

Reply by email

Flávio Etrusco
to zeljko
zeljko wrote 16 lines
On Saturday 23 January 2010 04:03, Fl?vio Etrusco wrote: > Hello, > is anybody else experiencing an AV with TListBox on Ubuntu (gtk2), > e.g. when trying opening the Add Unit/Requirement in the project > inspector. > The AV is raised by calls to gtk_tree_row_reference_valid > (gtk_tree_row_reference_free would raise it too) in the ClearCursor > subfunction of TGtk2WSCustomListBox.SetItemIndex > (lcl/interfaces/gtk2/gtk2wsstdctrls.pp, line 483). > It seems that PGtkTreeView(Widget)^.priv^.cursor is invalid (its value > is 0xffffd8f0). Why don't you fill up an mantis issue ? zeljko

I'll do it, as soon as somebody say they can reproduce it ;) The bug just seemed too obvious/easy to trigger for it to go unnoticed so I thought it had to be something on my end.

Best regards,
Fl?vio

Reply by email

Flávio Etrusco
to Flávio Etrusco

2010/1/23 Fl?vio Etrusco :

Show quoted text 25 lines
On Sat, Jan 23, 2010 at 5:09 AM, zeljko wrote: > On Saturday 23 January 2010 04:03, Fl?vio Etrusco wrote: >> Hello, >> is anybody else experiencing an AV with TListBox on Ubuntu (gtk2), >> e.g. when trying opening the Add Unit/Requirement in the project >> inspector. >> The AV is raised by calls to gtk_tree_row_reference_valid >> (gtk_tree_row_reference_free would raise it too) in the ClearCursor >> subfunction of TGtk2WSCustomListBox.SetItemIndex >> (lcl/interfaces/gtk2/gtk2wsstdctrls.pp, line 483). >> It seems that PGtkTreeView(Widget)^.priv^.cursor is invalid (its value >> is 0xffffd8f0). > > Why don't you fill up an mantis issue ? > > zeljko > I'll do it, as soon as somebody say they can reproduce it ;) The bug just seemed too obvious/easy to trigger for it to go unnoticed so I thought it had to be something on my end. Best regards, Fl?vio

Sorry for being a little annoying, but can anybody using svn Lazarus on gtk2 please confirm or deny the bug so I know where to start looking?

Thanks,
Fl?vio

Reply by email

Marc Weustink
to Flávio Etrusco
Fl?vio Etrusco wrote 28 lines
2010/1/23 Fl?vio Etrusco : > On Sat, Jan 23, 2010 at 5:09 AM, zeljko wrote: >> On Saturday 23 January 2010 04:03, Fl?vio Etrusco wrote: >>> Hello, >>> is anybody else experiencing an AV with TListBox on Ubuntu (gtk2), >>> e.g. when trying opening the Add Unit/Requirement in the project >>> inspector. >>> The AV is raised by calls to gtk_tree_row_reference_valid >>> (gtk_tree_row_reference_free would raise it too) in the ClearCursor >>> subfunction of TGtk2WSCustomListBox.SetItemIndex >>> (lcl/interfaces/gtk2/gtk2wsstdctrls.pp, line 483). >>> It seems that PGtkTreeView(Widget)^.priv^.cursor is invalid (its value >>> is 0xffffd8f0). >> Why don't you fill up an mantis issue ? >> >> zeljko >> > I'll do it, as soon as somebody say they can reproduce it ;) > The bug just seemed too obvious/easy to trigger for it to go unnoticed > so I thought it had to be something on my end. > > Best regards, > Fl?vio > Sorry for being a little annoying, but can anybody using svn Lazarus on gtk2 please confirm or deny the bug so I know where to start looking?

i don't see any errors when opening Add Unit/Requirement in the project inspector

Marc

Reply by email

Flávio Etrusco
to Marc Weustink

Thanks!
Turned out I still had fpc 2.4rc1 on this box :-$ Updating it fixed the problem.

Best regards,
Fl?vio

Marc Weustink wrote 47 lines
Fl?vio Etrusco wrote: > > 2010/1/23 Fl?vio Etrusco : >> >> On Sat, Jan 23, 2010 at 5:09 AM, zeljko wrote: >>> >>> On Saturday 23 January 2010 04:03, Fl?vio Etrusco wrote: >>>> >>>> Hello, >>>> is anybody else experiencing an AV with TListBox on Ubuntu (gtk2), >>>> e.g. when trying opening the Add Unit/Requirement in the project >>>> inspector. >>>> The AV is raised by calls to gtk_tree_row_reference_valid >>>> (gtk_tree_row_reference_free would raise it too) in the ClearCursor >>>> subfunction of TGtk2WSCustomListBox.SetItemIndex >>>> (lcl/interfaces/gtk2/gtk2wsstdctrls.pp, line 483). >>>> It seems that PGtkTreeView(Widget)^.priv^.cursor is invalid (its value >>>> is 0xffffd8f0). >>> >>> Why don't you fill up an mantis issue ? >>> >>> zeljko >>> >> I'll do it, as soon as somebody say they can reproduce it ;) >> The bug just seemed too obvious/easy to trigger for it to go unnoticed >> so I thought it had to be something on my end. >> >> Best regards, >> Fl?vio >> > > Sorry for being a little annoying, but can anybody using svn Lazarus > on gtk2 please confirm or deny the bug so I know where to start > looking? i don't see any errors when opening Add Unit/Requirement in the project inspector Marc -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email