Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Feb 2016 10:11:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 207301] editors/openoffice-devel: Does not end on Ctrl-Q or file menu
Message-ID:  <bug-207301-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207301

            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@FreeBSD.org
          Reporter: guru@unixarea.de
             Flags: maintainer-feedback?(office@FreeBSD.org)
          Assignee: office@FreeBSD.org

Created attachment 167143
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D167143&action=
=3Dedit
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=3D8, addr=3D0x0, addrlen=3D0x0)
    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=3D0x80cfee000)
    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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207301-13>