Mantis - evince
Viewing Issue Advanced Details
4966 regular use block always 2012-06-24 08:30 2015-03-13 08:59
ghenry  
cgrzemba  
normal  
closed  
fixed  
none    
none  
0004966: Segmentation fault on S10 sparc
machine-me% evince file.pdf
Segmentation fault
machine-me% evince
Segmentation fault
machine-me% truss evince file.pdf
...
open("/opt/csw/share/evince/evince-toolbar.xml", O_RDONLY|O_LARGEFILE) = 8
llseek(8, 0, SEEK_CUR) = 0
brk(0x00167CD8) = 0
brk(0x00169CD8) = 0
brk(0x00169CD8) = 0
brk(0x0016BCD8) = 0
brk(0x0016BCD8) = 0
brk(0x0016FCD8) = 0
brk(0x0016FCD8) = 0
brk(0x00171CD8) = 0
read(8, " < ? x m l v e r s i o".., 8192) = 1235
read(8, 0x001691DB, 6957) = 0
    Incurred fault 0000006, FLTBOUNDS %pc = 0xFE1B25A0
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
    Received signal 0000011, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
Issue History
2012-06-24 08:30 ghenry New Issue
2012-06-24 08:38 ghenry Note Added: 0009976
2012-06-25 09:07 cgrzemba Status new => assigned
2012-06-25 09:07 cgrzemba Assigned To => cgrzemba
2012-06-25 09:12 cgrzemba Note Added: 0009981
2012-06-25 09:25 ghenry Note Added: 0009982
2013-07-26 08:33 cgrzemba Note Added: 0010505
2015-03-13 08:59 cgrzemba Note Added: 0011022
2015-03-13 08:59 cgrzemba Status assigned => closed
2015-03-13 08:59 cgrzemba Resolution open => fixed

Notes
(0009976)
ghenry   
2012-06-24 08:38   
looking at the bug https://www.opencsw.org/mantis/view.php?id=4885, [^] i deleted the file evince-toolbar.xml

machine-root% mv /opt/csw/share/evince/evince-toolbar.xml /opt/csw/share/evince/evince-toolbar.xml.BUG

and it works, even if i click on "Edit". So it is a workaround
(0009981)
cgrzemba   
2012-06-25 09:12   
Can not reproduce on:
# uname -a
SunOS testcsw 5.10 Generic_147440-07 sun4u sparc SUNW,Sun-Fire-V240
# pkgparam CSWevince VERSION
2.30.3,REV=2012.03.26
(0009982)
ghenry   
2012-06-25 09:25   
machine-root% pkgparam CSWevince VERSION
2.30.3,REV=2012.04.19
machine-root% uname -a
SunOS machine 5.10 Generic_142900-15 sun4u sparc SUNW,Sun-Fire-V440

i think the problem is X11 related. V440 is a Sunray Server. The displays are very different:
- centos sunray server (launching evince with ssh -X)
- X11 on macosx thru Secure Global Desktop
- VNC desktop

It always crashes on centos, with the following messages:
** (evince:11757): WARNING **: Setting attribute metadata::evince::sidebar_visibility not supported
The program 'evince' received an X Window System error.This probably reflects a bug in the program.
The error was 'BadLength (poly request too large or internal Xlib length erro'.
  (Details: serial 212 error_code 16 request_code 5 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
(0010505)
cgrzemba   
2013-07-26 08:33   
Can you test this with the latest build of the package: 2.30.3,REV=2013.07.23
(0011022)
cgrzemba   
2015-03-13 08:59   
new package provided