[Libreoffice-bugs] [Bug 46687] 'Find' toolbar causes writer, calc, impress, not responding

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Apr 19 15:04:22 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=46687

--- Comment #27 from Michael Meeks <michael.meeks at novell.com> 2012-04-19 06:04:22 PDT ---
Looks like the XSetInputFocus call (causing the error):

002:<:1394: 12: Request(42): SetInputFocus revert-to=Parent(0x02)
focus=0x0460044e time=CurrentTime(0x00000000)
...
002:>:1394:Error 8=Match: major=42, minor=0, bad=73401422

is this one:

Breakpoint 1, XSetInputFocus (dpy=0x80ff600, focus=75498915, revert_to=2,
time=0) at SetIFocus.c:38
38    SetIFocus.c: No such file or directory.
    in SetIFocus.c
(gdb) bt
#0  XSetInputFocus (dpy=0x80ff600, focus=75498915, revert_to=2, time=0) at
SetIFocus.c:38
#1  0xb23536ac in ToTop (nFlags=12, this=0x8f767a8) at
/home/opt/libreoffice/master/vcl/unx/gtk/window/gtkframe.cxx:2233
#2  GtkSalFrame::ToTop (this=0x8f767a8, nFlags=12) at
/home/opt/libreoffice/master/vcl/unx/gtk/window/gtkframe.cxx:2206
#3  0xb5374a0b in Window::ImplGrabFocus (this=0x8f6f880, nFlags=0) at
/home/opt/libreoffice/master/vcl/source/window/window.cxx:3986
#4  0xb5374d36 in Window::GrabFocus (this=0x8f6f880) at
/home/opt/libreoffice/master/vcl/source/window/window.cxx:7476
#5  0xb6ddf6c9 in svx::FindbarDispatcher::dispatch (this=0x8f6be20, aURL=...)
    at
/home/opt/libreoffice/master/svx/source/tbxctrls/tbunosearchcontrollers.cxx:730
#6  0xb6c9bc3b in svt::AsyncAccelExec::impl_ts_asyncCallback (this=0x8f6bd60)
    at
/home/opt/libreoffice/master/svtools/source/misc/acceleratorexecute.cxx:501
#7  0xb530675c in Call (pCaller=0x0, this=0x8f6bd64) at
/home/opt/libreoffice/master/solver/unxlngi6.pro/inc/tools/link.hxx:143
#8  DoEvent_Impl (pEvent=0x0, this=0x8f6bd60) at
/home/opt/libreoffice/master/vcl/source/helper/evntpost.cxx:59
#9  vcl::EventPoster::LinkStubDoEvent_Impl (pThis=0x8f6bd60, pCaller=0x0) at
/home/opt/libreoffice/master/vcl/source/helper/evntpost.cxx:62
#10 0xb5380fb1 in Call (pCaller=<optimized out>, this=<optimized out>)
    at /home/opt/libreoffice/master/solver/unxlngi6.pro/inc/tools/link.hxx:143
#11 ImplHandleUserEvent (pSVEvent=0x8f6a7a8) at
/home/opt/libreoffice/master/vcl/source/window/winproc.cxx:1991
#12 ImplWindowFrameProc (pWindow=0x87bd110, nEvent=22, pEvent=0x8f6a7a8) at
/home/opt/libreoffice/master/vcl/source/window/winproc.cxx:2563
#13 0xb5387aea in CallCallback (pEvent=0x8f6a7a8, nEvent=22, this=0x87bd388) at
/home/opt/libreoffice/master/vcl/inc/salframe.hxx:281
#14 SalGenericDisplay::DispatchInternalEvent (this=0x80ee160) at
/home/opt/libreoffice/master/vcl/generic/app/gendisp.cxx:102
#15 0xb23463bd in GtkData::userEventFn (data=0x80eb5f0) at
/home/opt/libreoffice/master/vcl/unx/gtk/app/gtkdata.cxx:942
#16 0xb234641c in call_userEventFn (data=0x80eb5f0) at
/home/opt/libreoffice/master/vcl/unx/gtk/app/gtkdata.cxx:952
#17 0xb1a9ad10 in g_idle_dispatch (source=0x8f6ccc0, callback=0xb23463f0
<call_userEventFn(void*)>, user_data=0x80eb5f0) at gmain.c:4785

*but* - it is surrounded by the error trap push/pop:

unx/gtk/window/gtkframe.cxx-                GetGenericData()->ErrorTrapPush();
unx/gtk/window/gtkframe.cxx-                XSetInputFocus(
getDisplay()->GetDisplay(), widget_get_xid(m_pWindow), RevertToParent,
CurrentTime );
unx/gtk/window/gtkframe.cxx:                GetGenericData()->ErrorTrapPop();

Possibly we are missing an XSync in there ...

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list