https://bugs.documentfoundation.org/show_bug.cgi?id=117375
Bug ID: 117375
Summary: LibreOffice Calc hangs when opening an (oldish) .xls
document; apparently in a loop in
"SfxBroadcaster::RemoveListener"
Product: LibreOffice
Version: 5.4.6.2 release
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Calc
Assignee: [email protected]
Reporter: [email protected]
Description:
I open a an .xls document from long ago. It may have an embedded chart
(unfortunately I cannot share the document). It has three tabs.
The document is displayed correctly. However, once one clicks anything, Calc
seems to hang while using 100% CPU.
I have attached GDB to the process (not my usual line of work though). There
are four threads. One called "soffice.bin" is doing low-level work in
"SfxBroadcaster::RemoveListener" after having stacked through calls like
"chart::ChartView::createShapes2D".
See attachment for backtrace.
The topmost stack line active before we go into the Standard Library is line
128 of https://docs.libreoffice.org/svl/html/SfxBroadcaster_8cxx_source.html
and the running loop is in
https://gcc.opensuse.org/gcc-lcov/usr/include/c++/7/bits/stl_algo.h.gcov.html
at line 120.
for (; __trip_count > 0; --__trip_count)
{
if (__pred(__first))
return __first;
++__first;
if (__pred(__first))
return __first;
++__first;
if (__pred(__first))
return __first;
++__first;
if (__pred(__first))
return __first;
++__first;
}
Unfortunately "__trip_count" has been "optimized out" but that loop seems not
about stop. "__trip_count" seems to be very large?
Steps to Reproduce:
1. Open my mystery Excel document
2. Hangs!
Actual Results:
Calc hangs.
Expected Results:
Calc should not hang.
Reproducible: Always
User Profile Reset: No
Additional Info:
User-Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:59.0) Gecko/20100101
Firefox/59.0
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs