From owner-freebsd-ports-bugs@freebsd.org Thu Feb 18 10:11:16 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6123CAACD94 for ; Thu, 18 Feb 2016 10:11:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 527291DAC for ; Thu, 18 Feb 2016 10:11:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u1IABGUC011907 for ; Thu, 18 Feb 2016 10:11:16 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Thu, 18 Feb 2016 10:11:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: guru@unixarea.de X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Feb 2016 10:11:16 -0000 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.=