[Bug 207301] editors/openoffice-devel: Does not end on Ctrl-Q or file menu
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Feb 18 10:11:16 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207301
Bug ID: 207301
Summary: editors/openoffice-devel: Does not end on Ctrl-Q or
file menu
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: office at FreeBSD.org
Reporter: guru at unixarea.de
Flags: maintainer-feedback?(office at FreeBSD.org)
Assignee: office at FreeBSD.org
Created attachment 167143
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=167143&action=edit
patch-main_sal_osl_unx_pipe.c
I have compiled the port editors/openoffice-devel (which brings
openoffice-4.2.1712473) ... the socket.c change was already included in the
source, but not the pipe.c change; I elaborated the attached two patch
files for AOO and recompiled; but
/usr/local/openoffice-4.2.1712473/openoffice4/program/soffice.bin
hangs on Ctrl-Q in accept; a gdb bt of the hanging thread shows:
(gdb) bt
#0 0x00000008018a141a in _accept () from /lib/libc.so.7
#1 0x00000008015a6936 in __thr_accept (s=8, addr=0x0, addrlen=0x0)
at /usr/local/r292778/src/lib/libthr/thread/thr_syscalls.c:106
#2 0x000000080085479e in osl_acceptPipe ()
from /usr/local/openoffice-4.2.1712473/openoffice4/program/libuno_sal.so.3
#3 0x000000080567f894 in vos::OPipe::accept ()
from /usr/local/openoffice-4.2.1712473/openoffice4/program/libvos3gcc3.so
#4 0x0000000800c5e4cb in ?? ()
from /usr/local/openoffice-4.2.1712473/openoffice4/program/libsofficeapp.so
#5 0x000000080567badf in vos::threadWorkerFunction_impl ()
from /usr/local/openoffice-4.2.1712473/openoffice4/program/libvos3gcc3.so
#6 0x000000080084ecb5 in osl_setThreadTextEncoding ()
from /usr/local/openoffice-4.2.1712473/openoffice4/program/libuno_sal.so.3
#7 0x00000008015a4824 in thread_start (curthread=0x80cfee000)
at /usr/local/r292778/src/lib/libthr/thread/thr_create.c:288
#8 0x0000000000000000 in ?? ()
i.e. the typical situation, as the pipe.c patch wasn't in effect; but it
is; I think osl_closePipe() is not called for some reason...
I went debugging through the frames (with printf) and can verify that
the Ctrl-Q is still visible in
work/aoo-4.2.0/main/vcl/source/window/winproc.cxx
and we see on pressing 'Ctrl' the nEvent 0x0007 and on 'Q' the nEvent 0x005
(I grabbed the defines from work/aoo-4.2.0/main/vcl/inc/salwtype.hxx); I
pressed only 'Ctrl' two times and on the second I pressed 'Q' while
holding down 'Ctrl':
returned from Application::Yield() pSVData->maAppData.mbAppQuit: 0
calling Application::Yield() for the 127 time
ImplWindowFrameProc() nEvent: 0007
ImplWindowFrameProc() we have SALEVENT_KEYMODCHANGE and do
ImplHandleSalKeyMod()
returned from Application::Yield() pSVData->maAppData.mbAppQuit: 0
calling Application::Yield() for the 128 time
ImplWindowFrameProc() nEvent: 0007
ImplWindowFrameProc() we have SALEVENT_KEYMODCHANGE and do
ImplHandleSalKeyMod()
returned from Application::Yield() pSVData->maAppData.mbAppQuit: 0
calling Application::Yield() for the 129 time
returned from Application::Yield() pSVData->maAppData.mbAppQuit: 0
calling Application::Yield() for the 130 time
ImplWindowFrameProc() nEvent: 0005
ImplWindowFrameProc() we have SALEVENT_KEYINPUT and do ImplHandleKey()
returned from Application::Yield() pSVData->maAppData.mbAppQuit: 0
calling Application::Yield() for the 131 time
ImplWindowFrameProc() nEvent: 0016
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-office
mailing list