https://bugs.freedesktop.org/show_bug.cgi?id=73206
Priority: medium
Bug ID: 73206
Assignee: [email protected]
Summary: NoSuchElementException from
acceleratorconfiguration.cxx:126
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: Other
Status: UNCONFIRMED
Version: 4.3.0.0.alpha0+ Master
Component: BASIC
Product: LibreOffice
Steps to reproduce:
(1) Open a new Writer document.
(2) Open the Basic IDE and navigate to the source code of a module of
the current file:
(2.1) Take menu options Tools > Macros > "Organize macros" >
"LibreOfficeDev Basic...". Program presents dialog
"LibreOfficeDev Basic Macros".
(2.2) In the left pane, "Macro from", click "Untitled 1" and then
click <New>. LibreOffice presents dialog "New Module" with Name
defaulted to "Module1".
(2.3) Click <OK>. Program presents window "Untitled 1.Standard"
(3) Into the source pane paste:
sub crash
dim price as double
price = 8.6
print price
end sub 'crash
(4) Place the caret on the line "sub crash" and type <F5> to run the macro.
Result expected : message box saying "8.6"
Result observed : SIGABRT.
These observations are on master commit 480c7c2, fetched 2013-12-127
02:33 UTC, configured as:
--enable-option-checking=fatal
--enable-dbgutil
--enable-crashdump
--without-system-postgresql
--without-myspell-dicts
--with-extra-buildid
--without-doxygen
--with-external-tar=/home/terry/lo_hacking/git/src
built and running on debian-wheezy 64-bit.
Note for comparison that version 4.2.0.1 displays the message box that
I expected. I cannot tell whether the difference is a recent commit
to master or my debug build.
I shall soon attach a typescript with a backtrace obtained from the
above steps. Note that the throw comes from
framework::XMLBasedAcceleratorConfiguration::getCommandByKeyEvent,
framework/source/accelerators/acceleratorconfiguration.cxx:126.
Just as an aside, and to head off those who would ask me to attach a
document demonstrating the crash ... I tried to prepare a Writer
document with a button invoking the macro 'crash'. It only crashed
sometimes, and when it did crash it crashed after different numbers of
throws executed and with different backtraces. The STR above, by
contrast have produced essentially identical results three times in a
row; I lack the courage to try for a fourth time <grin />.
--
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