Mantis - evince
Viewing Issue Advanced Details
4841 regular use block always 2011-10-09 11:08 2012-04-15 09:27
ghenry  
cgrzemba  
normal  
closed  
fixed  
none    
none  
0004841: Bus error
% evince --version
GNOME evince 2.22.2
penelope-henry% evince
/opt/csw/share/evince/evince-toolbar.xml:1: parser error : Document is empty

^
/opt/csw/share/evince/evince-toolbar.xml:1: parser error : Start tag expected, '<' not found

^
Bus error

and no, the file evince-toolbar is not empty.
related to 0004842closed  libxml2_2 /opt/csw/lib/libxml2.so.2 make evince crash (Bus Error) 
Issue History
2011-10-09 11:08 ghenry New Issue
2011-10-09 11:09 ghenry Issue Monitored: ghenry
2011-10-09 11:10 ghenry Note Added: 0009324
2011-10-09 11:19 ghenry Note Added: 0009325
2011-10-09 11:22 maciej Note Added: 0009326
2011-10-09 14:25 dam Relationship added related to 0004842
2011-10-09 14:32 dam Note Added: 0009327
2011-10-12 10:59 ghenry Note Added: 0009329
2012-03-27 16:21 cgrzemba Note Added: 0009779
2012-03-27 16:21 cgrzemba Status new => resolved
2012-03-27 16:21 cgrzemba Resolution open => fixed
2012-03-27 16:21 cgrzemba Assigned To => cgrzemba
2012-04-15 09:27 cgrzemba Note Added: 0009809
2012-04-15 09:27 cgrzemba Status resolved => closed

Notes
(0009324)
ghenry   
2011-10-09 11:10   
Solaris 10 sparc
(0009325)
ghenry   
2011-10-09 11:19   
a simple workaround: remove /opt/csw/lib/sparcv8/libxml2.so.2

because:
% ldd /opt/csw/bin/evince | grep xml
        libxml2.so.2 => /opt/csw/lib/sparcv8/libxml2.so.2
if you remove it:
% ldd /opt/csw/bin/evince | grep xml
        libxml2.so.2 => /usr/lib/libxml2.so.2

and evince works!
(0009326)
maciej   
2011-10-09 11:22   
This means that evince needs to be rebuilt and relinked against the OpenCSW libxml. Thanks for the workaround information.
(0009327)
dam   
2011-10-09 14:32   
libxml2 is no direct dependency of evince:
  http://www.opencsw.org/packages/evince/ [^]
Nonetheless evince directly depends on libxml2.so.2.
  [16] NEEDED libxml2.so.2
As evince pulls in a whole load of GNOME libs I suspect the error more in that area. A specific truss to see from which library libxml2 was called could be used to further narrow down the error.
(0009329)
ghenry   
2011-10-12 10:59   
be careful, a library is missing when you install evince:

(evince:26097): Gtk-WARNING **: ld.so.1: evince: fatal: libgcrypt.so.11: open failed: No such file or directory

Without this library, none printer appears, you can't print.

Please add libgcrypt11 to evince dependancies
(0009779)
cgrzemba   
2012-03-27 16:21   
fixed in 2.30.3
(0009809)
cgrzemba   
2012-04-15 09:27   
fixed in 2.30.3