[MacPorts] #50110: Evince seg fault
#50110: Evince seg fault --------------------------------+-------------------------------- Reporter: pf15@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: evince, dvi, gnome | Port: evince @3.18.2_0 --------------------------------+-------------------------------- OS X 10.11.2 MacPorts 2.3.4 Xcode 7.1.1 evince @3.18.2_0 Evince crashes when it tries to open a simple .dvi file. (seg. fault 11) Moreover it is very slow to launch with dbus error ** (evince:2145): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. More generally gnome-session doesn't work as many other gnome applications (dbus error) -- Ticket URL: <https://trac.macports.org/ticket/50110> MacPorts <https://www.macports.org/> Ports system for OS X
#50110: Evince seg fault -------------------------------+-------------------------------- Reporter: pf15@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: evince, dvi, gnome Port: evince @3.18.2_0 | -------------------------------+-------------------------------- Comment (by devans@…): As mentioned via email, I have confirmed that there is an issue with evince concerning the rendering of .dvi files that causes a segfault in t1lib. I'm working to identify the specific cause and hopefully a fix. Currently, it's not clear whether this is a problem with the .dvi file that you provided or .dvi files in general. Other supported file types such as pdf, jpeg, tiff, etc work fine. I have not been able to reproduce any dbus problems. I see errors at all when evince starts up, only when I attempt to open the .dvi file that you provided. If you would submit the exact text of the error message that you see (using Wikiformatting) that would help in understanding the nature of the error you are seeing. It seems to be specific to your system, however. Will update this ticket when I have more information. Thanks for your report. -- Ticket URL: <https://trac.macports.org/ticket/50110#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50110: Evince seg fault ---------------------+---------------------- Reporter: pf15@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: evince | ---------------------+---------------------- Changes (by devans@…): * status: new => assigned * cc: devans@… (removed) * owner: macports-tickets@… => devans@… * version: 2.3.4 => * keywords: evince, dvi, gnome => * port: evince @3.18.2_0 => evince -- Ticket URL: <https://trac.macports.org/ticket/50110#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50110: Evince seg fault ---------------------+---------------------- Reporter: pf15@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: evince | ---------------------+---------------------- Comment (by pf15@…): {{{ #!div style="font-size: 80%" Message obtained from the command evince essai.dvi {{{#!python ** (evince:933): WARNING **: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Segmentation fault: 11 }}} }}} The Dbus error is probably due to a bad configuration ... Evince works fine with pdf files but seems to crash with any simple dvi (produced by LateX). I attach a simpler dvi. -- Ticket URL: <https://trac.macports.org/ticket/50110#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50110: Evince seg fault ---------------------+---------------------- Reporter: pf15@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: evince | ---------------------+---------------------- Comment (by devans@…): I concur. I've tried a number of dvi files some complex, others very simple. All fail. In addition, all the files (including yours) work fine with xdvi (provided by port texlive-basic) and I can convert them to pdf with dvipdfm. So definitely a generic dvi problem. -- Ticket URL: <https://trac.macports.org/ticket/50110#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50110: Evince seg fault ---------------------+---------------------- Reporter: pf15@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: evince | ---------------------+---------------------- Comment (by devans@…): Tentative fix committed in r143824. I've disabled the use of t1lib for font rasterization in the dvi backend. This is where the error was occurring. In addition, I added a patch to fix dvi font map handling in some rare instances. To clean up the console output, debug output is now disabled. Evince now correctly renders dvi files (yours in particular) both as thumbnails and the normal page display. To take advantage of these changes, update your port tree and rebuild evince. {{{ sudo port selfupdate sudo port clean evince sudo port upgrade evince }}} Let me know if this fixes the problem for you as well so I can close the ticket. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/50110#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#50110: Evince seg fault ---------------------+---------------------- Reporter: pf15@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: evince | ---------------------+---------------------- Comment (by devans@…): Replying to [comment:3 pf15@…]:
{{{ #!div style="font-size: 80%" Message obtained from the command evince essai.dvi {{{#!python ** (evince:933): WARNING **: Error retrieving accessibility bus
address: org.freedesktop.DBus.Error.NoReply: Did not receive a reply.
Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
The dbus issue is independent of the segmentation fault. The accessibility bus is a separate dbus instance from the main session dbus and is started on demand by processes that support it. This is what's failing for you. If you look at dbus related processes you should see something like this is all is well: {{{ $ ps ax 18381 ?? S 0:00.17 /opt/local/bin/dbus-daemon --nofork --session 18384 ?? S 0:00.07 /opt/local/bin/dbus-daemon --config- file=/opt/local/etc/at-spi2/accessibility.conf --nofork --print-address 3 21493 ?? Ss 0:00.01 /opt/local/bin/dbus-daemon --system --nofork }}} The first is the normal session bus daemon, the second is the accessibility bus daemon and the third is the system dbus daemon. Make sure at at-spi2-atk (a dependency of gtk3) is installed and that you haven't changed any dbus related conf files. You can also try logging out and then logging back in again to cause the dbus system to restart in case something has gotten hung up. Sorry I can't offer too much more on this one. It should just work as shipped.
Segmentation fault: 11
}}} }}}
The Dbus error is probably due to a bad configuration ... Evince works fine with pdf files but seems to crash with any simple dvi (produced by LateX). I attach a simpler dvi.
-- Ticket URL: <https://trac.macports.org/ticket/50110#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#50110: Evince seg fault ---------------------+---------------------- Reporter: pf15@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: evince | ---------------------+---------------------- Comment (by pf15@…): The upgrade has fixed the problem with dvi files. Thanks ! I still have the Dbus problem which I don't understand ... After closing Evince I also get the following {{{ #!div style="font-size: 80%" Message warning: {{{#!python (evince:41502): Gtk-WARNING **: Attempting to store changes into '/opt/local/share/recently-used.xbel', but faile\ d: La création du fichier « /opt/local/share/recently-used.xbel.5JHP9X » a échoué : dcv7\xe3h (evince:41502): Gtk-WARNING **: Attempting to set the permissions of '/opt/local/share/recently-used.xbel', but f\ ailed: \xccP\xff\u007f }}} }}} -- Ticket URL: <https://trac.macports.org/ticket/50110#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#50110: Evince seg fault ---------------------+---------------------- Reporter: pf15@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: evince | ---------------------+---------------------- Comment (by pf15@…): Thanks again for your helpful messages! I forgot to mention that after a ps I don't get the accessibility bus daemon. I just get {{{ #!div style="font-size: 80%" {{{#!python 1838 ?? Ss 0:00.01 /opt/local/bin/dbus-daemon --system --nofork 40717 ?? S 0:00.03 /opt/local/bin/dbus-daemon --nofork --session }}} }}} -- Ticket URL: <https://trac.macports.org/ticket/50110#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#50110: Evince seg fault ---------------------+---------------------- Reporter: pf15@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: evince | ---------------------+---------------------- Comment (by devans@…): Replying to [comment:7 pf15@…]: After closing Evince I also get the following
{{{ #!div style="font-size: 80%" Message warning: {{{#!python
(evince:41502): Gtk-WARNING **: Attempting to store changes into '/opt/local/share/recently-used.xbel', but faile\ d: La création du fichier « /opt/local/share/recently-used.xbel.5JHP9X » a échoué : dcv7\xe3h
(evince:41502): Gtk-WARNING **: Attempting to set the permissions of '/opt/local/share/recently-used.xbel', but f\ ailed: \xccP\xff\u007f }}} }}}
This is the file that GTK+ uses to keep track of recently used files for each GTK application. For example, by default, when you open a new window in evince, a window of file thumbnails is presented showing the files that you have recently opened with evince. Because it is regularly updated by GTK+, it needs to be in a directory to which you have read/write access. `/opt/local/share` doesn't meet this criteria: {{{ $ ls -ld /opt/local/share drwxr-xr-x 98 root admin 3332 Dec 24 08:19 /opt/local/share }}} This file is normally stored in your $HOME directory. For instance on my system, it's stored in {{{ $ echo $HOME /Users/devans }}} as `/Users/devans/.local/share/recently-used.xbel` This makes me think that your HOME environment variable is not set correctly. -- Ticket URL: <https://trac.macports.org/ticket/50110#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#50110: Evince seg fault ---------------------+---------------------- Reporter: pf15@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: evince | ---------------------+---------------------- Comment (by devans@…): Replying to [comment:8 pf15@…]:
Thanks again for your helpful messages! I forgot to mention that after a ps I don't get the accessibility bus daemon. I just get
{{{ #!div style="font-size: 80%" {{{#!python
1838 ?? Ss 0:00.01 /opt/local/bin/dbus-daemon --system --nofork 40717 ?? S 0:00.03 /opt/local/bin/dbus-daemon --nofork --session
}}} }}}
This is consistent with your error message and shows that the accessibility bus could not be started. Possibly due to permissions or other configuration problems. I'm heading off for the Christmas holiday now but will take a look at the details of how this normally gets started after I return next week. Other than issuing the warning message this shouldn't effect the basic operation of evince or the other GNOME apps (other than possibly accessibility features). -- Ticket URL: <https://trac.macports.org/ticket/50110#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#50110: Evince seg fault ---------------------+---------------------- Reporter: pf15@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: evince | ---------------------+---------------------- Comment (by pf15@…): Thanks for your explanations: I made some progress.. First, after a cleaning of at-spi2-core and at-spi2-core and dbus , Evince can start rapidly without any error message. My $HOME was correct. However I put in .xinitrc the following {{{ #!div style="font-size: 80%" {{{#!python export XDG_DATA_HOME=/Users/UUUUU/.local/share }}} }}} where "UUUUU" is my user name. In this way I can get rid off the messages about recently-used.xbel. But, when I use Evince I still get the following messages {{{ #!div style="font-size: 80%" {{{#!python ** (evince:22569): WARNING **: AT-SPI: Could not obtain desktop path or name ** (evince:22563): WARNING **: atk-bridge: GetRegisteredEvents returned message with unknown signature ** (evince:22563): WARNING **: atk-bridge: get_device_events_reply: unknown signature }}} }}} And now I have the 3 processes {{{ #!div style="font-size: 80%" {{{#!python 77 ?? Ss 0:00.02 /opt/local/bin/dbus-daemon --system --nofork 389 ?? S 0:00.36 /opt/local/bin/dbus-daemon --nofork --session 7512 ?? S 0:00.05 /opt/local/bin/dbus-daemon --config- file=/opt/local/etc/at-spi2/accessibility.conf --nofork --print-address 3 }}} }}} Happy Christmas! -- Ticket URL: <https://trac.macports.org/ticket/50110#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#50110: Evince seg fault ---------------------+---------------------- Reporter: pf15@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: evince | ---------------------+---------------------- Comment (by pf15@…): Bad news: after a reboot, I have only 2 processes related to dbus and once again Evince takes a long time to start ...What are the configuration files should I look at ? Thanks! -- Ticket URL: <https://trac.macports.org/ticket/50110#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts