[Libreoffice-bugs] [Bug 136476] New: bad_alloc when using the uno bridge
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Sep 4 20:01:26 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=136476
Bug ID: 136476
Summary: bad_alloc when using the uno bridge
Product: LibreOffice
Version: 7.0.0.3 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: framework
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: roth-a at gmx.de
Description:
In Ubuntu 20.04.1 LTS x86_64 , LibreOffice Version: 7.0.1.2
When opening libreoffice with
libreoffice --accept="socket,host=localhost,port=2002;urp;" --norestore
--nologo
and then trying to open a Calc document throught he uno bridge, I get:
com.sun.star.uno.RuntimeException: C++ code threw St9bad_alloc
Steps to Reproduce:
1. libreoffice --accept="socket,host=localhost,port=2002;urp;" --norestore
--nologo
2. Start python, install pyoo (also add here
https://github.com/roth-a/pyoo/commit/7e2c21e445e4d620bfa61010c59ea571a8998851
the path, if necessary)
Run in python
desktop = pyoo.Desktop('localhost', 2002)
desktop.open_spreadsheet('myfile.ods') # <-- here it crashes
Actual Results:
Traceback (most recent call last):
File "<mypath>/LibreOfficeConnector.py", line 1251, in <module>
desktop.open_spreadsheet('myfile.ods')
File "./pyoo/pyoo.py", line 1849, in open_spreadsheet
document = self._open_url(url, extra)
File "./pyoo/pyoo.py", line 1855, in _open_url
return self._target.loadComponentFromURL(url, '_blank', 0, extra)
com.sun.star.uno.RuntimeException: C++ code threw St9bad_alloc: std::bad_alloc
/build/libreoffice-YUrEy7/libreoffice-7.0.1~rc2/bridges/source/cpp_uno/gcc3_linux_x86-64/uno2cpp.cxx:243
Expected Results:
Should open the file.
Reproducible: Always
User Profile Reset: No
Additional Info:
I tried it on Ubuntu 20.04.1 LTS x86_64 with Libreoffice Version 7.0.1.2 and
version 6.4.5.2, both times with the same crash
Enabeling/Disabeling OpenGl does not make a difference
--
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/20200904/9a743e99/attachment.htm>
More information about the Libreoffice-bugs
mailing list