[Libreoffice-bugs] [Bug 107920] New: Changing conditional format condition through api crashes LibO

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 17 19:33:34 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=107920

            Bug ID: 107920
           Summary: Changing conditional format condition through api
                    crashes LibO
           Product: LibreOffice
           Version: 5.2.3.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jeanmarczambon at gmail.com

Created attachment 133380
  --> https://bugs.documentfoundation.org/attachment.cgi?id=133380&action=edit
Simple macro that crashes LibO

When trying to change the condition of a conditional format (of whatever type)
with macro using the uno api, the program systematically crashes.

You can reproduce with the simple macro embedded in the attached file.
Tested on Linux and Win7 with LibO 5.2 and 5.3, using either basic or python.


A one line error message is displayed on the terminal :
(soffice:12264): GLib-GObject-WARNING **:
/build/glib2.0-prJhLS/glib2.0-2.48.2/./gobject/gsignal.c:3486: signal name
'selection_changed' is invalid for instance '0x2f1b800' of type
'OOoAtkObjCompTxt'


The backtrace log :
Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
0x00007fffc4e1839a in ScCompiler::NextSymbol(bool) () from
/opt/libreoffice5.3/program/../program/libsclo.so
#0  0x00007fffc4e1839a in ScCompiler::NextSymbol(bool) () from
/opt/libreoffice5.3/program/../program/libsclo.so
#1  0x00007fffc4e20d48 in ScCompiler::NextNewToken(bool) () from
/opt/libreoffice5.3/program/../program/libsclo.so
#2  0x00007fffc4e21b4e in ScCompiler::CompileString(rtl::OUString const&) ()
from /opt/libreoffice5.3/program/../program/libsclo.so
#3  0x00007fffc5354550 in ScConditionEntryObj::setPropertyValue(rtl::OUString
const&, com::sun::star::uno::Any const&) () from
/opt/libreoffice5.3/program/../program/libsclo.so
#4  0x00007fffb54b772f in (anonymous
namespace)::ImplIntrospectionAccess::setPropertyValue(rtl::OUString const&,
com::sun::star::uno::Any const&) () from
/opt/libreoffice5.3/program/libintrospectionlo.so
#5  0x00007ffff4c0034f in SbUnoObject::Notify(SfxBroadcaster&, SfxHint const&)
() from /opt/libreoffice5.3/program/libmergedlo.so
#6  0x00007ffff50ad86d in SfxBroadcaster::Broadcast(SfxHint const&) () from
/opt/libreoffice5.3/program/libmergedlo.so
#7  0x00007ffff4caa7a3 in SbxVariable::Broadcast(unsigned int) () from
/opt/libreoffice5.3/program/libmergedlo.so
#8  0x00007ffff4ca5fbc in SbxValue::Put(SbxValues const&) () from
/opt/libreoffice5.3/program/libmergedlo.so
#9  0x00007ffff4ca7225 in SbxValue::operator=(SbxValue const&) () from
/opt/libreoffice5.3/program/libmergedlo.so
#10 0x00007ffff4ca961f in SbxVariable::operator=(SbxVariable const&) () from
/opt/libreoffice5.3/program/libmergedlo.so

-- 
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/20170517/0d59e01d/attachment.html>


More information about the Libreoffice-bugs mailing list