Hi.

MuPDF crashed on me, but not sure how I triggered it, as I cannot repro
now. It was an invoice, but reopening it again multiple times worked
fine. It was once off. Sending to the list, for the records. As this is
not that fresh -current I will upgrade soon.


$ sysctl -n kern.version
OpenBSD 8.0-beta (GENERIC.MP) #92: Sun Aug 16 11:10:06 MDT 2026
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP


$ ls -1 /var/db/pkg/ | grep mupdf
mupdf-1.28.2


$ egdb -quiet -batch -x gdb-commands.txt -e /usr/local/bin/mupdf-x11 -c 
mupdf-x11.core
[New process 414008]
Core was generated by `mupdf-x11'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000046ea4adfb27 in fz_do_catch () from /usr/local/lib/libmupdf.so.17.0
+show version
GNU gdb (GDB) 17.2
Copyright (C) 2025 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-unknown-openbsd8.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
+thread apply all bt

Thread 1 (process 414008):
+bt
#0  0x0000046ea4adfb27 in fz_do_catch () from /usr/local/lib/libmupdf.so.17.0
#1  0x0000046bd561870b in ?? ()
#2  0x0000000000000000 in ?? ()
+info registers
rax            0x46ec2c739e0       4873760750048
rbx            0x0                 0
rcx            0xdfdfdfdfdfdfdfdf  -2314885530818453537
rdx            0xfa                250
rsi            0x2eb               747
rdi            0x46e0a6e6000       4870667919360
rbp            0x76dbc27667e0      0x76dbc27667e0
rsp            0x76dbc27667e0      0x76dbc27667e0
r8             0x83a0              33696
r9             0x0                 0
r10            0xf9                249
r11            0xb5ec361403593687  -5337831998757456249
r12            0xffffffff          4294967295
r13            0x46e0a6e6000       4870667919360
r14            0x18d               397
r15            0xffffffff          4294967295
rip            0x46ea4adfb27       0x46ea4adfb27 <fz_do_catch+23>
eflags         0x10286             [ PF SF IF RF ]
cs             0x23                35
ss             0x1b                27
ds             0x1b                27
es             0x1b                27
fs             0x1b                27
gs             0x1b                27
fs_base        <unavailable>
gs_base        <unavailable>
+info threads
  Id   Target Id         Frame 
* 1    process 414008    0x0000046ea4adfb27 in fz_do_catch () from 
/usr/local/lib/libmupdf.so.17.0
+info locals
No symbol table info available.
+list
warning: 1      /usr/src/libexec/ld.so/library.c: No such file or directory


$ cat gdb-commands.txt
set height 0
set pagination off
set trace-commands on
show version
thread apply all bt
info registers
info threads
info locals
list

-- 
Regards,
 Mikolaj

Reply via email to