View Issue Details

IDProjectCategoryView StatusLast Update
0036306LazarusWidgetsetpublic2019-11-30 09:36
ReporterMartin FriebeAssigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformlinuxOSarchOS Version-
Product Version2.1 (SVN)Product Build 
Target VersionFixed in Version 
Summary0036306: GTK2 libraries crash (SIGSEGV) at combination of TFrame, TToolbar dropdown menu and TPopupMenu and dynamic menu item creation
DescriptionSee original issue 0036305

QUOTE:
For some odd reason, underlying GTK2 libraries barfs (SIGSEGV) at combination of TFrame, TToolbar dropdown menu and TPopupMenu and dynamic menu item creation and their deletion by clearing menu items.
Attached patch will fix this by always creating them and leaving freeing of them by owning class (the TTframe).
TagsNo tags attached.
Fixed in Revision
LazTarget-
WidgetsetGTK 2
Attached Files

Relationships

parent of 0036305 resolvedMartin Friebe Sudden exit when changing debug profile or clicking on the profile item at Lazarus IDE options dialog. 

Activities

Zeljan Rikalo

2019-11-13 09:03

developer   ~0119260

@Martin, there's no attached patch

Cyrax

2019-11-13 09:27

reporter   ~0119261

The quote needs some editing about the patch.
The patch is in parent report (0036305) and probably is work around for real bug.

Martin Friebe

2019-11-13 12:40

manager   ~0119265

As indicated by Cyrax, this is part of the Quote. Probably should have cut the quote short to leave this out. sorry

Martin Friebe

2019-11-29 03:59

manager   ~0119544

When fixing, please revert the workaround revision 62313 (also undo the workaround for testing)

When fixed close parent issue too.

Anton Kavalenka

2019-11-30 09:36

reporter   ~0119557

Is not TList.BeginUpdate / EndUpdate is intended for prevention of passing actual changes before update complete?
Items.BeginUpdate;
try
   item:=TMenuItem.Create(Self);
   item.....

   Items.Add(Item);
finally
  Items.EndUpdate; // here widgetset shoud update GUI
end;

Issue History

Date Modified Username Field Change
2019-11-13 02:59 Martin Friebe New Issue
2019-11-13 02:59 Martin Friebe Relationship added child of 0036305
2019-11-13 02:59 Martin Friebe Summary GTK2 libraries barfs (SIGSEGV) at combination of TFrame, TToolbar dropdown menu and TPopupMenu and dynamic menu item creation => GTK2 libraries crash (SIGSEGV) at combination of TFrame, TToolbar dropdown menu and TPopupMenu and dynamic menu item creation
2019-11-13 02:59 Martin Friebe LazTarget => -
2019-11-13 02:59 Martin Friebe Widgetset GTK 2 => GTK 2
2019-11-13 03:02 Martin Friebe Description Updated View Revisions
2019-11-13 03:02 Martin Friebe Widgetset GTK 2 => GTK 2
2019-11-13 09:03 Zeljan Rikalo Status new => feedback
2019-11-13 09:03 Zeljan Rikalo Note Added: 0119260
2019-11-13 09:27 Cyrax Note Added: 0119261
2019-11-13 12:40 Martin Friebe Note Added: 0119265
2019-11-13 12:40 Martin Friebe Status feedback => new
2019-11-29 03:59 Martin Friebe Note Added: 0119544
2019-11-29 15:53 Martin Friebe Relationship replaced parent of 0036305
2019-11-30 09:36 Anton Kavalenka Note Added: 0119557