Issue 16909 - deadlock deiconizing this file ( with backtraces )
Summary: deadlock deiconizing this file ( with backtraces )
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 RC
Hardware: Other Linux, all
: P2 Trivial (vote)
Target Milestone: OOo 1.1
Assignee: michael.ruess
QA Contact: issues@framework
URL:
Keywords: crash, oooqa
: 17228 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-07-15 23:29 UTC by con.hennessy
Modified: 2003-09-19 09:55 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
a sxw file showing a deadlock problem (23.37 KB, application/octet-stream)
2003-07-15 23:35 UTC, con.hennessy
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description con.hennessy 2003-07-15 23:29:54 UTC
Opening the attached file causes a problem with the threads as I get a grey screen 
when I iconize this OpenOffice when this ifle is open. This is on SuSE 8.1 and 
kernel 2.4.21-pre4. 
 
The following are the stack traces I get for each thread : 
thread 1:*************************************************** 
#0  0x40b79b86 in uno_type_sequence_assign () from /home/yamed/oo/OpenOffice.
org1.1rc1/program/libcppu.so.3 
#1  0x40b790e7 in uno_type_sequence_construct () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libcppu.so.3 
#2  0x4518f027 in SvxNumberType::GetNumStr(unsigned long, com::sun::star::lang::
Locale const&) const () 
   from /home/yamed/oo/OpenOffice.org1.1rc1/program/libsvx645li.so 
#3  0x4518eecd in SvxNumberType::GetNumStr(unsigned long) const () from /home/
yamed/oo/OpenOffice.org1.1rc1/program/libsvx645li.so 
#4  0x472a0320 in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#5  0x47208c1e in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#6  0x471eacef in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#7  0x471eaf9d in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#8  0x471e9406 in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#9  0x471eba4e in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#10 0x471d3c6c in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#11 0x471d4987 in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#12 0x471d50eb in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#13 0x471d59a1 in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#14 0x471662eb in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#15 0x47163b4e in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#16 0x47188721 in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#17 0x472df1b9 in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#18 0x47041313 in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#19 0x470420c8 in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#20 0x4703f672 in typeinfo for com::sun::star::scanner::ScannerException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libsw645li.so 
#21 0x47826d3e in CreateObjSwWebDocShellDll () from /home/yamed/oo/OpenOffice.
org1.1rc1/program/libsw645li.so 
#22 0x45bfb66a in SfxViewFrame::DoAdjustPosSizePixel(SfxViewShell*, Point const&, 
Size const&) () 
   from /home/yamed/oo/OpenOffice.org1.1rc1/program/libsfx645li.so 
#23 0x45bfe6df in SfxViewFrame::Resize(unsigned char) () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libsfx645li.so 
#24 0x45c0569f in SfxTopViewWin_Impl::Resize() () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libsfx645li.so 
#25 0x4020be67 in Window::ImplCallResize() () from /home/yamed/oo/OpenOffice.
org1.1rc1/program/libvcl645li.so 
#26 0x40210abc in Window::ImplPosSizeWindow(long, long, long, long, unsigned 
short) () 
   from /home/yamed/oo/OpenOffice.org1.1rc1/program/libvcl645li.so 
#27 0x40210a13 in Window::ImplPosSizeWindow(long, long, long, long, unsigned 
short) () 
   from /home/yamed/oo/OpenOffice.org1.1rc1/program/libvcl645li.so 
#28 0x402196b2 in Window::SetPosSizePixel(long, long, long, long, unsigned short) () 
   from /home/yamed/oo/OpenOffice.org1.1rc1/program/libvcl645li.so 
#29 0x45bdc13d in SfxFrame::SetToolSpaceBorderPixel_Impl(SvBorder const&) () 
from /home/yamed/oo/OpenOffice.org1.1rc1/program/libsfx645li.so 
#30 0x45bdc65d in SfxFrame::Resize() () from /home/yamed/oo/OpenOffice.
org1.1rc1/program/libsfx645li.so 
#31 0x45c054a2 in SfxTopWindow_Impl::DoResize() () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libsfx645li.so 
#32 0x45c053b5 in SfxTopWindow_Impl::Resize() () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libsfx645li.so 
#33 0x4020be67 in Window::ImplCallResize() () from /home/yamed/oo/OpenOffice.
org1.1rc1/program/libvcl645li.so 
#34 0x40210abc in Window::ImplPosSizeWindow(long, long, long, long, unsigned 
short) () 
   from /home/yamed/oo/OpenOffice.org1.1rc1/program/libvcl645li.so 
#35 0x40210a13 in Window::ImplPosSizeWindow(long, long, long, long, unsigned 
short) () 
   from /home/yamed/oo/OpenOffice.org1.1rc1/program/libvcl645li.so 
#36 0x402196b2 in Window::SetPosSizePixel(long, long, long, long, unsigned short) () 
#37 0x40ed0f1b in VCLXWindow::setPosSize(long, long, long, long, short) () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libtk645li.so 
#38 0x442aeca3 in typeinfo for com::sun::star::ucb::InteractiveIOException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libfwk645li.so 
#39 0x442ac298 in typeinfo for com::sun::star::ucb::InteractiveIOException () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libfwk645li.so 
#40 0x40f79204 in WindowListenerMultiplexer::windowResized(com::sun::star::awt::
WindowEvent const&) () 
   from /home/yamed/oo/OpenOffice.org1.1rc1/program/libtk645li.so 
#41 0x40ecf138 in VCLXWindow::ProcessWindowEvent(VclWindowEvent const&) () 
from /home/yamed/oo/OpenOffice.org1.1rc1/program/libtk645li.so 
#42 0x40ecee68 in VCLXWindow::WindowEventListener(VclSimpleEvent*) () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libtk645li.so 
#43 0x40ecee12 in VCLXWindow::LinkStubWindowEventListener(void*, void*) () 
from /home/yamed/oo/OpenOffice.org1.1rc1/program/libtk645li.so 
#44 0x400ea627 in VclEventListeners::Call(VclSimpleEvent*) const () from /home/
yamed/oo/OpenOffice.org1.1rc1/program/libvcl645li.so 
#45 0x4021650c in Window::CallEventListeners(unsigned long, void*) () from /home/
yamed/oo/OpenOffice.org1.1rc1/program/libvcl645li.so 
#46 0x40216489 in Window::ImplCallEventListeners(unsigned long, void*) () from /
home/yamed/oo/OpenOffice.org1.1rc1/program/libvcl645li.so 
#47 0x4020be7f in Window::ImplCallResize() () from /home/yamed/oo/OpenOffice.
org1.1rc1/program/libvcl645li.so 
#48 0x40210abc in Window::ImplPosSizeWindow(long, long, long, long, unsigned 
short) () 
   from /home/yamed/oo/OpenOffice.org1.1rc1/program/libvcl645li.so 
#49 0x401c8b80 in ImplBorderWindow::Resize() () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libvcl645li.so 
#50 0x4020be67 in Window::ImplCallResize() () from /home/yamed/oo/OpenOffice.
org1.1rc1/program/libvcl645li.so 
#51 0x402248c8 in ImplHandleResize(Window*, long, long) () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libvcl645li.so 
#52 0x402258ab in ImplWindowFrameProc(void*, SalFrame*, unsigned short, void 
const*) () 
   from /home/yamed/oo/OpenOffice.org1.1rc1/program/libvcl645li.so 
#53 0x40285f9a in SalFrameData::Dispatch(_XEvent*) () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libvcl645li.so 
#54 0x402b1919 in SalDisplay::Dispatch(_XEvent*) () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libvcl645li.so 
#55 0x402b1667 in SalDisplay::Yield(unsigned char) () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libvcl645li.so 
#56 0x402ad647 in SalDisplay::~SalDisplay() () from /home/yamed/oo/OpenOffice.
org1.1rc1/program/libvcl645li.so 
#57 0x402ac21a in SalXLib::Yield(unsigned char) () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libvcl645li.so 
#58 0x402b4f70 in SalInstance::Yield(unsigned char) () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libvcl645li.so 
#59 0x400e23c9 in Application::Yield() () from /home/yamed/oo/OpenOffice.org1.1rc1/
program/libvcl645li.so 
#60 0x400e22db in Application::Execute() () from /home/yamed/oo/OpenOffice.
org1.1rc1/program/libvcl645li.so 
#61 0x08064eac in desktop::Desktop::Main() () 
#62 0x400e7197 in SVMain() () from /home/yamed/oo/OpenOffice.org1.1rc1/program/
libvcl645li.so 
#63 0x402aab7c in main () from /home/yamed/oo/OpenOffice.org1.1rc1/program/
libvcl645li.so 
#64 0x412a24c2 in __libc_start_main () from /lib/i686/libc.so.6 
 
thread 2 ****************************************************** 
#0  0x4134e5ab in poll () from /lib/i686/libc.so.6 
#1  0x4112dc38 in __pthread_manager () from /lib/i686/libpthread.so.0 
 
thread 3 ****************************************************** 
#0  0x413565a2 in accept () from /lib/i686/libc.so.6 
#1  0x41132a63 in accept () from /lib/i686/libpthread.so.0 
#2  0x40bb0942 in osl_acceptPipe () from /home/yamed/oo/OpenOffice.org1.1rc1/
program/libsal.so.3 
#3  0x40b195ba in vos::OPipe::accept(vos::OStreamPipe&) () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libvos3gcc3.so 
#4  0x0806e1bb in desktop::OfficeIPCThread::run() () 
#5  0x40b12f66 in vos::_cpp_OThread_WorkerFunction(void*) () from /home/yamed/
oo/OpenOffice.org1.1rc1/program/libvos3gcc3.so 
#6  0x40b12f4b in _OThread_WorkerFunction(void*) () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libvos3gcc3.so 
#7  0x40ba5565 in osl_getTextEncodingFromLocale () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libsal.so.3 
#8  0x4112e020 in pthread_start_thread () from /lib/i686/libpthread.so.0 
 
 
thread 4 ****************************************************** 
#0  0x413277f1 in nanosleep () from /lib/i686/libc.so.6 
#1  0x41130818 in __pthread_timedsuspend_new () from /lib/i686/libpthread.so.0 
#2  0x4112d199 in pthread_cond_timedwait_relative () from /lib/i686/libpthread.so.0 
#3  0x40ba1fd4 in osl_waitCondition () from /home/yamed/oo/OpenOffice.org1.1rc1/
program/libsal.so.3 
#4  0x40b0bffb in vos::OCondition::wait(TimeValue const*) () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libvos3gcc3.so 
#5  0x40b16874 in vos::OTimerManager::run() () from /home/yamed/oo/OpenOffice.
org1.1rc1/program/libvos3gcc3.so 
#6  0x40b12f66 in vos::_cpp_OThread_WorkerFunction(void*) () from /home/yamed/
oo/OpenOffice.org1.1rc1/program/libvos3gcc3.so 
#7  0x40b12f4b in _OThread_WorkerFunction(void*) () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libvos3gcc3.so 
#8  0x40ba5565 in osl_getTextEncodingFromLocale () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libsal.so.3 
#9  0x4112e020 in pthread_start_thread () from /lib/i686/libpthread.so.0 
 
 
thread 5 ****************************************************** 
#0  0x4134e5ab in poll () from /lib/i686/libc.so.6 
#1  0x402bcfaf in ICEConnectionWorker () from /home/yamed/oo/OpenOffice.
org1.1rc1/program/libvcl645li.so 
#2  0x40ba5565 in osl_getTextEncodingFromLocale () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libsal.so.3 
#3  0x4112e020 in pthread_start_thread () from /lib/i686/libpthread.so.0 
 
 
thread 6 ****************************************************** 
#0  0x4134e5ab in poll () from /lib/i686/libc.so.6 
#1  0x444a75dd in XRenderExtensionInfo () from /home/yamed/oo/OpenOffice.
org1.1rc1/program/libdtransX11645li.so 
#2  0x444a7740 in XRenderExtensionInfo () from /home/yamed/oo/OpenOffice.
org1.1rc1/program/libdtransX11645li.so 
#3  0x40ba5565 in osl_getTextEncodingFromLocale () from /home/yamed/oo/
OpenOffice.org1.1rc1/program/libsal.so.3 
#4  0x4112e020 in pthread_start_thread () from /lib/i686/libpthread.so.0
Comment 1 con.hennessy 2003-07-15 23:35:02 UTC
Created attachment 7718 [details]
a sxw file showing a deadlock problem
Comment 2 atr 2003-07-16 07:45:24 UTC
ATR->ES: Hi eric, please have a look, thanks.
Comment 3 eric.savary 2003-07-28 14:30:42 UTC
ES->MIB: as described. Freezes when the doc is minimized. Reproduced
on SuSR 8.1 too. But not on RedHat 9.
Comment 4 dankegel 2003-07-30 05:27:22 UTC
Reproduced on Red Hat 8 (see issue 17228 for a simple testcase with
identical stack)
Comment 5 dankegel 2003-07-30 05:29:56 UTC
*** Issue 17228 has been marked as a duplicate of this issue. ***
Comment 6 dankegel 2003-07-30 05:32:17 UTC
adding keywords... note that this affects Windows, as well
(issue 17728 was reported against Windows originally),
so perhaps platform should be changed to 'all'?
Comment 7 derekhtodd 2003-07-30 11:53:43 UTC
Issue 17728 (and hence this issue) looks like a duplicate of issue 14844
Comment 8 michael.brauer 2003-08-20 10:49:03 UTC
It's a loop in the text formatting.
Comment 9 frank.meies 2003-08-21 10:30:47 UTC
FME: On minimizing the window, there seems to be a 'resize' event,
which makes it necessary to reformat the document, if it is in browse
mode. Unfortunately, the new window size is (0,0), wich can cause
loops in the text formatting. Comparing this with an older version, I
found out that the SwView::OuterResizePixel() function was not called
on minimizing the window. So there seem to be two solutions:

1. Do not sent the event on minimizing to window
2. Catch a window size of (0,0) in SwView::OuterResizePixel()
Comment 10 frank.meies 2003-08-22 10:21:13 UTC
FME->OS: Yours ;-)
Comment 11 frank.meies 2003-08-22 10:51:20 UTC
.
Comment 12 frank.meies 2003-08-22 11:56:35 UTC
FME: Fixed in viewport.cxx rev. 1.25.86.1
Comment 13 Oliver-Rainer Wittmann 2003-08-25 08:53:36 UTC
OD->MRU (25.08.2003):
Checked in installation set of SRX645m17, please verify.
Comment 14 michael.ruess 2003-08-25 11:44:36 UTC
MRU: checked fix in build srx645m17.
Comment 15 michael.ruess 2003-08-25 11:45:17 UTC
Verified. Fix will be part of OO 1.1 final.
Comment 16 michael.ruess 2003-09-19 09:55:44 UTC
Fixed in RC4.