On 07/20/17 20:38, Ed Greshko wrote: > On 07/20/17 00:58, Rick Stevens wrote: >> On 07/19/2017 09:35 AM, Alex Aycinena wrote: >>> ---------- Forwarded message ---------- >>> From: Antonio M <antonio.montagnani@xxxxxxxxx >>> <mailto:antonio.montagnani@xxxxxxxxx>> >>> To: Community support for Fedora users >>> <users@xxxxxxxxxxxxxxxxxxxxxxx <mailto:users@xxxxxxxxxxxxxxxxxxxxxxx>> >>> Cc: >>> Bcc: >>> Date: Wed, 19 Jul 2017 09:46:00 +0200 >>> Subject: Re: Adobe Acrobat & F26 >>> /opt/Adobe/Reader9/bin/acroread >>> No protocol specified >>> >>> (acroread:5276): Gtk-WARNING **: cannot open display: :0 >>> >>> in Fedora 26... >>> >>> Antonio Montagnani >>> >>> Linux Fedora 26(Workstation) >>> inviato da Gmail >>> >>> >>> Have you tried logging in under X11 instead of Wayland to see if that >>> makes any difference. Other applications give that warning and fail to >>> start under Wayland but work under X11. >> Also look to see if you're getting an selinux AVC denial. > Well.... What I would do.... > > Since /usr/bin/acroread is a symbolic link to a shell script and since the shell > scripts sets up a bunch of environment variables so the binary > /opt/Adobe/Reader9/Reader/intellinux/bin/acroread will run I would modify the shell > script to first output the environment to a file and then just prior to shell script > executing /opt/Adobe/Reader9/Reader/intellinux/bin/acroread I would again save the > environment to a file. > > Then I would determine the difference in the environment .... apply that difference > to my running shell to mimic and then execute the binary > /opt/Adobe/Reader9/Reader/intellinux/bin/acroread from gdb. > So, no takers? Well then..... The shell script sets up the following environment variables LD_LIBRARY_PATH=/opt/Adobe/Reader9/Reader/intellinux/lib:/opt/Adobe/Reader9/Reader/intellinux/sidecars:/usr/lib/xulrunner-2 ACRO_ARG0=/usr/bin/acroread SYNCAPP_EXEC_CMD=/opt/Adobe/Reader9/Reader/intellinux/bin/SynchronizerApp ACRO_CONFIG=intellinux ACRO_AT_ACTIVE=false ACRO_INSTALL_DIR=/opt/Adobe/Reader9/Reader ADOBE_USER_PREFERENCES=/home/egreshko/.adobe/Acrobat/9.0/Preferences MOZILLA_FIVE_HOME=/usr/lib/xulrunner-2 ACRO_LANG=ENU MOZILLA_COMP_PATH=/usr/lib/xulrunner-2 ACRO_EXEC_CMD=/opt/Adobe/Reader9/Reader/intellinux/bin/acroread ADOBE_HELP_PATH=/opt/Adobe/Reader9/Reader/../../.. ACRO_LD_LIBRARY_PATH= ACRO_RES_DIR=/opt/Adobe/Reader9/Reader/../Resource It also alters the PATH, but that isn't important.... So, then we do.... [egreshko@meimei tmp]$ gdb /opt/Adobe/Reader9/Reader/intellinux/bin/acroread GNU gdb (GDB) Fedora 8.0-13.fc26 Copyright (C) 2017 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /opt/Adobe/Reader9/Reader/intellinux/bin/acroread...(no debugging symbols found)...done. Missing separate debuginfos, use: dnf debuginfo-install AdobeReader_enu-9.5.5-1.i486 (gdb) run Starting program: /opt/Adobe/Reader9/Reader/intellinux/bin/acroread [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". (acroread:15593): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", (acroread:15593): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property `gtk-primary-button-warps-slider' of type `gboolean' from rc file value "((GString*) 0x9842680)" of type `gboolean' (acroread:15593): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", (acroread:15593): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita", Program received signal SIGSEGV, Segmentation fault. <<<<<<<<<<< Ah Ha!!!!!!! 0xf62f48f3 in __strpbrk_sse42 () from /lib/libc.so.6 And just for fun..... (gdb) thread apply all bt Thread 1 (Thread 0xf4ccc8c0 (LWP 15593)): #0 0xf62f48f3 in __strpbrk_sse42 () from /lib/libc.so.6 #1 0xf663c9d6 in pango_language_matches () from /lib/libpango-1.0.so.0 #2 0xf663cb48 in find_best_lang_match () from /lib/libpango-1.0.so.0 #3 0xf663cc0f in pango_language_get_sample_string () from /lib/libpango-1.0.so.0 #4 0xf53fe9a2 in _pango_cairo_font_get_metrics () from /lib/libpangocairo-1.0.so.0 #5 0xf663e3f0 in pango_layout_get_empty_extents_at_index.part () from /lib/libpango-1.0.so.0 #6 0xf664148e in pango_layout_line_get_extents () from /lib/libpango-1.0.so.0 #7 0xf6843081 in gtk_entry_adjust_scroll () from /lib/libgtk-x11-2.0.so.0 #8 0xf684346e in gtk_entry_realize () from /lib/libgtk-x11-2.0.so.0 #9 0xf65db9b2 in g_closure_invoke () from /lib/libgobject-2.0.so.0 #10 0xf65f00ea in signal_emit_unlocked_R () from /lib/libgobject-2.0.so.0 #11 0xf65f9134 in g_signal_emit_valist () from /lib/libgobject-2.0.so.0 #12 0xf65f9993 in g_signal_emit () from /lib/libgobject-2.0.so.0 #13 0xf6a3af03 in gtk_widget_realize () from /lib/libgtk-x11-2.0.so.0 #14 0xf6a3c6e0 in gtk_widget_set_parent () from /lib/libgtk-x11-2.0.so.0 #15 0x0852690c in _start () So, it seems to me, the fix would be to recompile Adobe Acrobat.... Oh, wait, you can't :-) :-) Others may wish to try the same procedure to verify my attempt. -- Fedora Users List - The place to go to speculate endlessly
Attachment:
signature.asc
Description: OpenPGP digital signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx