https://bugs.freedesktop.org/show_bug.cgi?id=86843
Bug ID: 86843
Summary: vba crashes after fireChangeEvent is called
Product: LibreOffice
Version: 4.0.0.3 release
Hardware: Other
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: [email protected]
Reporter: [email protected]
Created attachment 110217
--> https://bugs.freedesktop.org/attachment.cgi?id=110217&action=edit
xls macro that demonstrates crashes when combobox, radiobutton, textbox values
are modified using VBA code
On Fri May 10 17:04:39 2013, VBA was updated so that the change() routine of
textboxes and comboboxes would be triggered if macro code sets the value.
LibreOffice frequently crashes (complete exit) when that happens.
This could easily be the same problem noted in bug 86667, but I wrote in that
bug that it should focus on the "two documents" part of the crash. I'll mark
that one as depending on this bug, which will focus on a crash with a single
document open.
This commit added the fireChangeEvent call:
author Noel Power <[email protected]> 2013-04-23 17:13:37 (GMT)
committer Noel Power <[email protected]> 2013-05-09 13:11:18 (GMT)
commit 4bad1a8e314269f2538133eb241135a225ac3f4f (patch)
tree b608bf79ffd0b34bd74d142cd89bb58cda498618
parent 3fb03cc873280c49e04c59062c1ad21b53c7f5df (diff)
support api initiated change_event for combox & textbox
Change-Id: Iff51a184792e9d12accb902df1772fc07589443b
To replicate the bug: Use the test document by clicking on a non-empty cell,
which will set the control's value to the value of the cell. The crash occurs
VERY easily in Linux - usually within the first three cells selected. On
Windows it can also crash, but with much less frequency.
If you use the VBA debugger to "step into" the code, you will see the crash
happening when you "Exit Sub" from a change() routine.
I found three controls in the libreoffice codebase that call fireChangeEvent().
All three are included in the test document, and all can cause the crash.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs