Mantis - evince
Viewing Issue Advanced Details
4885 regular use crash always 2012-01-18 06:55 2012-04-15 09:27
ghenry  
cgrzemba  
normal  
closed  
fixed  
none    
none  
0004885: Segmentation fault on S10 sparc
calypso-henry% /opt/csw/bin/evince --version
GNOME evince 2.22.2
calypso-henry% /opt/csw/bin/evince
Segmentation fault

It seems related to xml. If i delete .gnome* files in my homedir, i can launch evince
Trying the following:
calypso-henry% \rm -rf .gnome*
calypso-root% mv /opt/csw/share/evince/evince-toolbar.xml /opt/csw/share/evince/evince-toolbar.xml-BUG

but it crashes again when i click on Edit menu
truss of the first crash:
/1: stat64("/tmp/A.pdf", 0xFFBFF258) Err#2 ENOENT
/1: stat64("/tmp/Bs.pdf", 0xFFBFF258) Err#2 ENOENT
/1: stat64("/tmp/C.pdf", 0xFFBFF258) Err#2 ENOENT
/1: access("/home/henry/.gnome2/evince/ev-metadata.xml", F_OK) = 0
/1: stat64("/home/henry/.gnome2/evince/ev-metadata.xml", 0xFFBFF0D8) = 0
/1: stat64("/home/henry/.gnome2/evince/ev-metadata.xml", 0xFFBFF0D8) = 0
/1: stat64("/home/henry/.gnome2/evince/ev-metadata.xml", 0xFFBFEF50) = 0
/1: open("/home/henry/.gnome2/evince/ev-metadata.xml", O_RDONLY|O_LARGEFILE) = 15
/1: llseek(15, 0, SEEK_CUR) = 0
/1: brk(0x001E8B10) = 0
/1: brk(0x001EAB10) = 0
/1: brk(0x001EAB10) = 0
/1: brk(0x001ECB10) = 0
/1: brk(0x001ECB10) = 0
/1: brk(0x001F0B10) = 0
/1: brk(0x001F0B10) = 0
/1: brk(0x001F2B10) = 0
/1: read(15, " < ? x m l v e r s i o".., 8192) = 1110
/1: read(15, 0x001EA6EE, 7082) = 0
/1: Incurred fault 0000006, FLTBOUNDS %pc = 0xFD7325A0
/1: siginfo: SIGSEGV SEGV_MAPERR addr=0x00001C4F
/1: Received signal 0000011, SIGSEGV [default]
/1: siginfo: SIGSEGV SEGV_MAPERR addr=0x00001C4F




truss of the second crash:
(evince:25165): Gtk-WARNING **: Error loading theme icon 'object-rotate-left' for stock: Icon 'object-rotate-left' not present in theme
/1: write(2, "\n ( e v i n c e : 2 5 1".., 137) = 137
/1: Incurred fault 0000005, FLTACCESS %pc = 0xFEC775C8
/1: siginfo: SIGBUS BUS_ADRALN addr=0xFEE7B971
/1: Received signal 0000010, SIGBUS [default]
/1: siginfo: SIGBUS BUS_ADRALN addr=0xFEE7B971
Issue History
2012-01-18 06:55 ghenry New Issue
2012-01-18 06:57 ghenry Note Added: 0009539
2012-01-18 07:26 ghenry Note Added: 0009540
2012-03-27 15:48 cgrzemba Note Added: 0009778
2012-03-27 15:48 cgrzemba Status new => resolved
2012-03-27 15:48 cgrzemba Resolution open => fixed
2012-03-27 15:48 cgrzemba Assigned To => cgrzemba
2012-04-15 09:27 cgrzemba Note Added: 0009810
2012-04-15 09:27 cgrzemba Status resolved => closed

Notes
(0009539)
ghenry   
2012-01-18 06:57   
the S10 sparc is SunRay env.
evince works on S10 x86
(0009540)
ghenry   
2012-01-18 07:26   
ok, this is just a packaging problem for the first crash:

calypso-root% pkgchk -v CSWlibxml2-2

/opt/csw/bin/xmlcatalog
/opt/csw/bin/xmllint
ERROR: /opt/csw/lib/libxml2.so.2
    pathname does not exist
/opt/csw/lib/libxml2.so.2.7.8

creating the link solves the first issue (xml related)
calypso-root% cd /opt/csw/lib
/opt/csw/lib
calypso-root% ln -s libxml2.so.2.7.8 libxml2.so.2

But evince continues to crash when clicking on "View" menu
(0009778)
cgrzemba   
2012-03-27 15:48   
fixed in 2.30.3
(0009810)
cgrzemba   
2012-04-15 09:27   
fixed in 2.30.3