[Bug 375551] New: acroread locks up X when it starts
https://bugzilla.novell.com/show_bug.cgi?id=375551 Summary: acroread locks up X when it starts Product: openSUSE 10.3 Version: Final Platform: 32bit OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Commercial AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: sitsofe@yahoo.com QAContact: qa@suse.de Found By: --- Description of the problem: Upon starting acroread for the first time the desktop will become unresponsive to clicks for about 25 seconds on a P4. Steps to reproduce: Assuming no instances of acroread are running (e.g. no acroread browser plugins or processes) 1. As root issue the following: echo 1 > /proc/sys/vm/drop_caches As a regular user run the following 2. Start a terminal and run top -d 0.5 3. Press alt-f2 and run acroread . Expected results: Updates to the desktop to continue happening. To be able to click on other programs and use the desktop as acroread is loading. Actual results: Updates (e.g. top inside the konsole) stop happening. Desktop is unresponsive, mouse pointer still moves but clicking on other windows does nothing until acroread has finished loading. How reproducible is the problem? Providing the caches are cleared every time it is reproducible every time. Additional information: Using ionice -c7 acroread and nice -19 acroread makes no difference. Regular Xorg (not XGL) is being used. Reproduced on a Pentium 4 CPU 3.06GHz + Radeon 9600 using the open source driver and a dual core Pentium D CPU 2.80GHz + NVIDIA 7600 using the binary only driver. Switching to a virtual console and using command line apps works. Might be a xorg bug. Version information: openSUSE 10.3 acroread-8.1.2-1.4 kdebase3-3.5.7-87.5 xorg-x11-server-7.2-143.11 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375551 User sitsofe@yahoo.com added comment https://bugzilla.novell.com/show_bug.cgi?id=375551#c1 --- Comment #1 from Sitsofe Wheeler <sitsofe@yahoo.com> 2008-04-01 03:45:38 MST --- A new and more frustrating variation of this problem is that a user can indefinitely lock up X entirely by launching acroread from a terminal and then pressing ctrl-z. If this happens the user has to log in at a virtual terminal/ssh and then kill off acroread with -9 before X will respond to mouse clicks again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375551 Mike Fabian <mfabian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mfabian@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |mfabian@novell.com Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375551 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=375551#c2 --- Comment #2 from Mike Fabian <mfabian@novell.com> 2008-04-04 01:36:06 MST --- Created an attachment (id=206214) --> (https://bugzilla.novell.com/attachment.cgi?id=206214) ltrace.gz ltrace obtained on openSUSE 10.2-i386 with the acroread 8.1.2 update by doing: acroread -DEBUG ltrace -f -o /tmp/ltrace $ACRO_EXEC_CMD -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375551 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=375551#c3 --- Comment #3 from Mike Fabian <mfabian@novell.com> 2008-04-04 01:39:36 MST --- acroread calls the function “XGrabServer”: mfabian@magellan:~$ zgrep rabServer /tmp/ltrace.gz 27779 XGrabServer(0x8f5a1f8, 0xbff0ca14, 602, 0, 0xbff0cb78) = 1 27779 XUngrabServer(0x8f5a1f8, 0xbff0ca14, 602, 0, 0xbff0cb78) = 1 mfabian@magellan:~$ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375551 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=375551#c4 --- Comment #4 from Mike Fabian <mfabian@novell.com> 2008-04-04 01:41:16 MST --- man page of XGrabServer: XGrabServer(3) XLIB FUNCTIONS XGrabServer(3) NAME XGrabServer, XUngrabServer - grab the server SYNTAX int XGrabServer(Display *display); int XUngrabServer(Display *display); ARGUMENTS display Specifies the connection to the X server. DESCRIPTION The XGrabServer function disables processing of requests and close downs on all other connections than the one this request arrived on. You should not grab the X server any more than is absolutely necessary. The XUngrabServer function restarts processing of requests and close downs on other connections. You should avoid grabbing the X server as much as possible. SEE ALSO XGrabButton(3X11), XGrabKey(3X11), XGrabKeyboard(3X11), XGrab- Pointer(3X11) Xlib - C Language X Interface X Version 11 libX11 1.1.3 XGrabServer(3) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375551 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=375551#c5 --- Comment #5 from Mike Fabian <mfabian@novell.com> 2008-04-04 01:43:10 MST --- man XGrabServer> You should avoid grabbing the X server as much as man XGrabServer> possible. Yes, I think acroread has no good reason to grab the X server and should stop doing this. acroread is a normal application, not a screen saver. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375551 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=375551#c6 --- Comment #6 from Mike Fabian <mfabian@novell.com> 2008-04-04 08:14:15 MST --- Reported to Adobe: http://www.adobeforums.com/webx/.59b4e4e9/0 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375551 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=375551#c7 --- Comment #7 from Mike Fabian <mfabian@novell.com> 2008-04-04 11:02:49 MST --- Created an attachment (id=206335) --> (https://bugzilla.novell.com/attachment.cgi?id=206335) suse-do-not-grab-server.tar.bz2 Library which contains versions of XGrabServer() and XUngrabServer() doing nothing. This can be used with LD_PRELOAD to prevent acroread from grabbing the X server. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375551 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=375551#c8 --- Comment #8 from Mike Fabian <mfabian@novell.com> 2008-04-04 11:06:00 MST --- Created an attachment (id=206337) --> (https://bugzilla.novell.com/attachment.cgi?id=206337) acroread.patch updated patch for the /usr/bin/acroread startscript which uses LD_PRELOAD to work around the problem. The part of the patch relevant to the problem here is: LaunchBinary() { if [ "`uname -s`" = "Linux" ] && [ ! -x /lib/ld-lsb.so.3 ]; then + # Workaround for http://bugzilla.novell.com/show_bug.cgi?id=375551 + export LD_PRELOAD=$ACRO_INSTALL_DIR/intellinux/lib/suse-do-not-grab-server.so exec /lib/ld-linux.so.2 ${1+"$@"} else + # Workaround for http://bugzilla.novell.com/show_bug.cgi?id=375551 + export LD_PRELOAD=$ACRO_INSTALL_DIR/intellinux/lib/suse-do-not-grab-server.so exec ${1+"$@"} fi } -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375551 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=375551#c9 --- Comment #9 from Mike Fabian <mfabian@novell.com> 2008-04-30 04:02:52 MST --- The XGrabServer() call found in the ltrace shows that this is an upstream problem in the acroread binary and not caused by the SuSE packaging. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375551 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=375551#c10 Mike Fabian <mfabian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #10 from Mike Fabian <mfabian@novell.com> 2008-05-07 08:08:32 MST --- SWAMP-ID: 17513. See also http://rudin.suse.de:8888/show_bug.cgi?id=382739#c23 Updated packages submitted to /work/src/done/{SLES10,10.1,10.2,10.3}. Patchinfos submitted to /work/src/done/PATCHINFO/acroread.patch.box /work/src/done/PATCHINFO/acroread.patch.maintained Closing as FIXED. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=375551 User meissner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=375551#c11 --- Comment #11 from Marcus Meissner <meissner@novell.com> 2008-07-02 07:21:12 MDT --- released updatge now. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com