[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #58403] "uicontextmenu" property is not empty
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #58403] "uicontextmenu" property is not empty immediately after deleting corresponding graphics object |
Date: |
Tue, 19 May 2020 09:15:04 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:77.0) Gecko/20100101 Firefox/77.0 |
URL:
<https://savannah.gnu.org/bugs/?58403>
Summary: "uicontextmenu" property is not empty immediately
after deleting corresponding graphics object
Project: GNU Octave
Submitted by: mmuetzel
Submitted on: Tue 19 May 2020 03:15:01 PM CEST
Category: Plotting with OpenGL
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: Confirmed
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: 6.0.90
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
The tests for the buildbots sporadically fail for this BIST:
>>>>> processing
/scratch/buildbot/workers/jwe-debian-x86_64-3/gcc-7-lto-debian/build/libinterp/corefcn/graphics.cc-tst
***** test
hf = figure ("visible", "off");
hax = axes ("parent", hf);
unwind_protect
hctx1 = uicontextmenu ("parent", hf);
hctx2 = uicontextmenu ("parent", hf);
set (hf, "uicontextmenu", hctx2);
set (hax, "uicontextmenu", hctx2);
assert (get (hf, "uicontextmenu"), hctx2);
assert (get (hax, "uicontextmenu"), hctx2);
assert (get (hf, "children"), [hctx2; hctx1; hax]);
delete (hctx2);
assert (get (hf, "uicontextmenu"), []);
assert (get (hax, "uicontextmenu"), []);
assert (get (hf, "children"), [hctx1; hax]);
set (hf, "uicontextmenu", hctx1);
assert (get (hf, "uicontextmenu"), hctx1);
set (hf, "uicontextmenu", []);
assert (get (hf, "uicontextmenu"), []);
assert (get (hf, "children"), [hctx1; hax]);
unwind_protect_cleanup
close (hf);
end_unwind_protect;
!!!!! test failed
ASSERT errors for: assert (get (hf, "uicontextmenu"),[])
Location | Observed | Expected | Reason
. O(1x1) E(0x0) Dimensions don't match
See e.g.:
http://buildbot.octave.org:8010/#/builders/24/builds/1235/steps/6/logs/stdio
This is probably a multi-threading issue that leads to the "uicontextmenu"
property of the figure not being empty immediately after the corresponding
"uicontextmenu" graphics object is deleted.
I also see this error randomly when running "make check" on my system.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?58403>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #58403] "uicontextmenu" property is not empty immediately after deleting corresponding graphics object,
Markus Mützel <=