#702220 Program received signal SIGSEGV, Segmentation fault.

Package:
evince
Source:
evince
Description:
Document (PostScript, PDF) viewer
Submitter:
Mathieu Malaterre
Date:
2026-04-21 17:57:03 UTC
Severity:
important
#702220#5
Date:
2013-03-04 09:09:18 UTC
From:
To:
evince simply crash on the attached ps file (need to zoom to 400%). Call stack is:

GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 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-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/evince...(no debugging symbols found)...done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0x7fffe97cd700 (LWP 18872)]
[New Thread 0x7fffe8fcc700 (LWP 18873)]
[New Thread 0x7fffe0a25700 (LWP 18874)]
[Thread 0x7fffe97cd700 (LWP 18872) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe8fcc700 (LWP 18873)]
0x00007fffe38a4d00 in ?? () from /usr/lib/libgs.so.8
(gdb) bt
#0  0x00007fffe38a4d00 in ?? () from /usr/lib/libgs.so.8
#1  0x00007fffe36e45f6 in ?? () from /usr/lib/libgs.so.8
#2  0x00007fffe36e5a24 in ?? () from /usr/lib/libgs.so.8
#3  0x00007fffe36e613f in ?? () from /usr/lib/libgs.so.8
#4  0x00007fffe3836bee in gs_opendevice () from /usr/lib/libgs.so.8
#5  0x00007fffe3628dbe in display_set_callback () from /usr/lib/libgs.so.8
#6  0x00007fffe3626398 in gs_main_init2 () from /usr/lib/libgs.so.8
#7  0x00007fffe36283a7 in gs_main_init_with_args () from /usr/lib/libgs.so.8
#8  0x00007fffe83695fc in spectre_gs_run () from /usr/lib/libspectre.so.1
#9  0x00007fffe836a2bf in spectre_device_render () from /usr/lib/libspectre.so.1
#10 0x00007fffe836a96a in spectre_page_render () from /usr/lib/libspectre.so.1
#11 0x00007fffe85aafc5 in ?? () from /usr/lib/evince/2/backends/libpsdocument.so
#12 0x00007ffff7793df3 in ?? () from /usr/lib/libevview.so.2
#13 0x00007ffff7794860 in ?? () from /usr/lib/libevview.so.2
#14 0x00007ffff3d78784 in ?? () from /lib/libglib-2.0.so.0
#15 0x00007ffff4aa38ca in start_thread (arg=<optimized out>) at pthread_create.c:300
#16 0x00007ffff35e5b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()
(gdb) quit
A debugging session is active.

#702220#10
Date:
2015-06-29 10:39:17 UTC
From:
To:
Dear Maintainer,

The segfaults happen in all the cases (start from the terminal or from the graphical menu). The problem is remains only if the file is postscript while the same file pdf does not give problems. So I can overcome the difficulty if I change the format of the graphic with ps2pdf.
The command dmesg show the following message

[13803.307651] evince[5374]: segfault at 7f5c85737cd0 ip 00007f5ca85443f5 sp 00007ffcf23e8780 error 4 in libpixman-1.so.0.32.6[7f5ca84f3000+a5000]

Thank you

Stefano Simonucci

#702220#15
Date:
2026-04-13 14:51:27 UTC
From:
To:
I have the same problem with PDF files that are being worked on (so they get updated).  In case it helps, here is the last lines of `strace`:

ppoll([{fd=4, events=POLLIN}, {fd=8, events=POLLIN}], 2, {tv_sec=6, tv_nsec=707522000}, NULL, 8) = 1 ([{fd=8, revents=POLLIN}], left {tv_sec=5, tv_nsec=961210652})
recvmsg(8, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\"\0\0\0\2\0\24\0\362mf\nr\n\1\0\212\254\2\0\"\0\0\0\5\0\10\0", iov_len=200}, {iov_base="", iov_len=3896}], msg_iovlen=2, msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 28
recvmsg(8, {msg_namelen=0}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = -1 EAGAIN (Resource temporarily unavailable)
ppoll([{fd=4, events=POLLIN}, {fd=8, events=POLLIN}], 2, {tv_sec=0, tv_nsec=0}, NULL, 8) = 0 (Timeout)
futex(0x7f9fae43da98, FUTEX_WAKE_PRIVATE, 2147483647) = 0
munmap(0x7f9f48034000, 1679360)         = 0
munmap(0x7f9fa219f000, 4096)            = 0
munmap(0x7f9f6802f000, 1712128)         = 0
munmap(0x7f9fa219e000, 4096)            = 0
munmap(0x7f9fa2193000, 4096)            = 0
munmap(0x7f9fa20d3000, 4096)            = 0
munmap(0x7f9fa2072000, 4096)            = 0
close(17)                               = 0
munmap(0x7f9f3b1fd000, 2109440)         = 0
close(24)                               = 0
munmap(0x7f9f3affa000, 2109440)         = 0
close(28)                               = 0
munmap(0x7f9f3a1e6000, 2109440)         = 0
close(30)                               = 0
munmap(0x7f9f385fd000, 2109440)         = 0
sendmsg(8, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="+\0\0\0\1\0\20\0\362\341\0\0\4\0\0\0\332\1\0\0\0\0\10\0\331\1\0\0\0\0\10\0"..., iov_len=92}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 92
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x18} ---
+++ killed by SIGSEGV +++

#702220#20
Date:
2026-04-21 17:54:41 UTC
From:
To:
I ran evince under gdb and the following happened (after a couple of days):

...
[Thread 0x7ff2f7bfe6c0 (LWP 763993) exited]
[Thread 0x7ff2f5bfa6c0 (LWP 763992) exited]
[Thread 0x7ff2f73fd6c0 (LWP 763991) exited]

Thread 1 "evince" received signal SIGSEGV, Segmentation fault.
Download failed: Invalid argument.  Continuing without source file ./debian/build/deb/../../../gtk/gtkmain.c.
gtk_synthesize_crossing_events (toplevel=toplevel@entry=0x5589c35bbcf0,
    crossing_type=crossing_type@entry=GTK_CROSSING_POINTER,
    old_target=old_target@entry=0x5589c8dbb220 [GtkPopoverContent],
    new_target=new_target@entry=0x5589c39a9e00 [EvView], surface_x=<optimized out>, surface_y=<optimized out>,
    mode=mode@entry=GDK_CROSSING_NORMAL, drop=drop@entry=0x0) at ../../../gtk/gtkmain.c:1299
⚠️ warning: 1299	../../../gtk/gtkmain.c: No such file or directory