[Libreoffice-bugs] [Bug 141034] New: Crash entire application on syntax error in basic
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Mar 14 22:30:43 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=141034
Bug ID: 141034
Summary: Crash entire application on syntax error in basic
Product: LibreOffice
Version: 7.1.1.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: BASIC
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: cla.bugzilla at gmail.com
Description:
LibreOffice crashes entirely when basic macro with syntax error in is run.
I had:
myResult - true
instead of:
myResult = true
(the - and = keys are right next to each other on my keyboard)
(myResult in the above is decalred as boolean)
(the macro is within the ods)
Steps to Reproduce:
1.Have macro with syntax error in, eg:
function myResult (toTest as string) as boolean
if ( toTest = "TEST" ) then
myResult - true REM should be =
else
myResult = false
end if
end function
2. Run macro (I run it from sub called by a button in a calc sheet)
3. Watch LibreOffice crash
Actual Results:
Entire application crashes
Expected Results:
No crash, maybe a syntax error warning
Reproducible: Always
User Profile Reset: No
OpenGL enabled: Yes
Additional Info:
Version: 7.1.1.2 / LibreOffice Community
Build: dd797d330b34196606d0970aa..
Environment: CPU threads: 4; OS: Linux 5.8
User Interface: default; VCL: gtk3
Locale: en-GB (en_GB.UTF-8); UI: en-US
Misc: Calc: threaded
I when I corrected my syntax error (changed the - to =) everything worked well.
I tested by changing back to the error (using a - instead of the =) and it
crashed.
I further tested by trying the other assignment (myResult - false) and this did
_not_ crash, so I think it is something to do with true.
I have not been able to test more so submitting this as a FYI
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210314/089e6d54/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list