[Libreoffice-bugs] [Bug 133898] Call to loadCalendarTZ crashes LibreOffice

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jun 11 14:18:16 UTC 2020


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

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
                 OS|Windows (All)               |All
                 CC|                            |mikekaganski at hotmail.com
           Keywords|                            |haveBacktrace

--- Comment #2 from Julien Nabet <serval2412 at yahoo.fr> ---
Mike: thought you might be interested in this one.
The pb here is we got no context.
(gdb) frame 5
#5  0x00007fffe37c2283 in i18npool::CalendarImpl::loadCalendarTZ
(this=0x890ec80, uniqueID="gregorian", rLocale=..., rTimeZone="UTC") at
i18npool/source/calendar/calendarImpl.cxx:70
70              Reference < XInterface > xI =
m_xContext->getServiceManager()->createInstanceWithContext(
(gdb) list
65                  break;
66              }
67          }
68      
69          if (i >= sal::static_int_cast<sal_Int32>(lookupTable.size())) {
70              Reference < XInterface > xI =
m_xContext->getServiceManager()->createInstanceWithContext(
71                        "com.sun.star.i18n.Calendar_" + uniqueID,
m_xContext);
72      
73              if ( ! xI.is() ) {
74                  // check if the calendar is defined in localedata, load
gregorian calendar service.
(gdb) p m_xContext
$1 = empty uno::Reference

(I just launched Writer, copy pasted the code from the author)

-- 
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/20200611/59a02fe7/attachment.htm>


More information about the Libreoffice-bugs mailing list