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 ...

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libreoffice in Ubuntu.
https://bugs.launchpad.net/bugs/975503

Title:
  "Find" crashes Libreoffice (GTK)

Status in LibreOffice Productivity Suite:
  Fix Released
Status in “libreoffice” package in Ubuntu:
  Fix Committed

Bug description:
  I've discovered that using "Find" in Libreoffice crashes the program
  without producing a crash report. The program just shuts down. I'm
  running a (fairly) clean install of Ubuntu 12.04 Beta 2. Libreoffice
  only crashes with libreoffice-gtk installed.

  I tried to follow the instructions, but apport/libreoffice didn't
  create a crash report):
  https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/975430

  WORKAROUND: Remove libreoffice-gtk.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: libreoffice-gtk 1:3.5.1-1ubuntu5
  ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
  Uname: Linux 3.2.0-22-generic x86_64
  ApportVersion: 2.0-0ubuntu4
  Architecture: amd64
  Date: Fri Apr  6 22:58:19 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
  SourcePackage: libreoffice
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/df-libreoffice/+bug/975503/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to