Bug 267404 - graphics/atril: Thread 1 received signal SIGBUS, Bus error.
Summary: graphics/atril: Thread 1 received signal SIGBUS, Bus error.
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL: https://www.freshports.org/graphics/a...
Keywords: crash, needs-qa
Depends on:
Blocks:
 
Reported: 2022-10-28 17:44 UTC by Martin Filla
Modified: 2025-03-08 11:15 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Filla 2022-10-28 17:44:40 UTC
Hi.
i have issue with atril when open epub book.Here is backtrace.

Thread 1 received signal SIGBUS, Bus error.
Object-specific hardware error.
strlen () at /usr/src/lib/libc/amd64/string/strlen.S:47
warning: Source file is more recent than executable.
47		movq	(%rdi),%r11
(gdb) bt
#0  strlen () at /usr/src/lib/libc/amd64/string/strlen.S:47
#1  0x000000080636a227 in g_strdup () at /usr/local/lib/libglib-2.0.so.0
#2  0x000000080c980be9 in epub_document_get_page (document=0x80a19dd60, index=55) at epub-document.c:1425
#3  0x0000000800314dae in ev_document_get_page (document=0x80a19dd60, index=55) at ev-document.c:388
#4  0x00000000002660c5 in ev_thumbnails_size_cache_new (document=0x80a19dd60) at ev-sidebar-thumbnails.c:134
#5  0x00000000002657e4 in ev_thumbnails_size_cache_get (document=0x80a19dd60) at ev-sidebar-thumbnails.c:238
#6  0x00000000002654da in ev_sidebar_thumbnails_document_changed_cb (model=0x80a0ec520, pspec=0x809f65a70, sidebar_thumbnails=0x80a2c7cc0) at ev-sidebar-thumbnails.c:916
#7  0x00000008055bf156 in g_closure_invoke () at /usr/local/lib/libgobject-2.0.so.0
#8  0x00000008055d6b2d in  () at /usr/local/lib/libgobject-2.0.so.0
#9  0x00000008055d7c16 in g_signal_emit_valist () at /usr/local/lib/libgobject-2.0.so.0
#10 0x00000008055d8046 in g_signal_emit () at /usr/local/lib/libgobject-2.0.so.0
#11 0x00000008055ca1f3 in  () at /usr/local/lib/libgobject-2.0.so.0
#12 0x00000008055c4d54 in  () at /usr/local/lib/libgobject-2.0.so.0
#13 0x000000080034cf0a in ev_document_model_set_document (model=0x80a0ec520, document=0x80a19dd60) at ev-document-model.c:338
#14 0x0000000000243ed6 in ev_window_load_job_cb (job=0x80c4f1680, data=0x808b25b10) at ev-window.c:1929
#15 0x00000008055bf156 in g_closure_invoke () at /usr/local/lib/libgobject-2.0.so.0
#16 0x00000008055d6b2d in  () at /usr/local/lib/libgobject-2.0.so.0
#17 0x00000008055d7c16 in g_signal_emit_valist () at /usr/local/lib/libgobject-2.0.so.0
#18 0x00000008055d8046 in g_signal_emit () at /usr/local/lib/libgobject-2.0.so.0
#19 0x0000000800355b9d in emit_finished (job=0x80c4f1680) at ev-jobs.c:157
#20 0x00000008063489b4 in g_main_context_dispatch () at /usr/local/lib/libglib-2.0.so.0
#21 0x0000000806348d44 in  () at /usr/local/lib/libglib-2.0.so.0
#22 0x0000000806348e08 in g_main_context_iteration () at /usr/local/lib/libglib-2.0.so.0
#23 0x00000008061e918d in g_application_run () at /usr/local/lib/libgio-2.0.so.0
#24 0x000000000026698f in main (argc=1, argv=0x7fffffffd8e0) at main.c:284
Comment 1 Martin Filla 2022-10-28 17:46:08 UTC
atril --version 
MATE Document Viewer 1.26.0

 uname -a
FreeBSD  13.1-RELEASE-p1 FreeBSD 13.1-RELEASE-p1 GENERIC amd64

 cc -v
FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303)
Target: x86_64-unknown-freebsd13.1
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2022-10-29 15:33:13 UTC
I get a crash, with the FreeBSD-provided package on FreeBSD 14.0-CURRENT, I'm not sure that it's the same. The backtrace here is not useful. 


(In reply to Martin Filla from comment #0)

> warning: Source file is more recent than executable.

Built yourself, or did you use a package? Latest or quarterly?
Comment 3 Martin Filla 2022-10-29 15:45:08 UTC
(In reply to Graham Perrin from comment #2)
Hi.
issue is in also here and also own build
pkg -  url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",

less /etc/make.conf 
DISABLE_VULNERABILITIES=yes
DEFAULT_VERSIONS+=ssl=openssl
DEVELOPER=yes
MAKE_FORCE_JOBS=yes
WITH_DEBUG=yes
MAKE_JOBS_UNSAFE=yes