PdfFloatingToolbox::switchSelectTypeCb
Operating System/Distribution
CachyOS Linux
(Linux only) Desktop Environment
Umbriel
(Linux Only) Display Server
Wayland
Installation Method
Pacman
Xournal++ Version
xournalpp 1.3.8 (938bdb8d from startdir/makepkg)
libgtk Version
3.24.52
Describe the bug When opening Xournal++ with a corrupted emergency save file at ~/.config/xournalpp/emergencysave.xopp, a PDF selection floating toolbar (PdfFloatingToolbox) appears on its own, without any user action. After clicking on create a new page or the pdf tool box the application then crashes with signal 11. Duplicate of #
Steps to Reproduce
- Have a corrupted emergencysave.xopp (0 pages) in the config folder
- Open Xournal++
- The PDF floating selection toolbar appears on its own
- Click on anything
- Application crashes (signal 11)
Confirmed Removing the corrupted emergencysave.xopp resolved the issue — the app now opens normally without the toolbar appearing.
Crash log
Executing "/usr/bin/xournalpp" Xournal++ started with PID: 13445 Crashed with signal: 11 Date: Sat Sep 26 06:47:29 2026
xournalpp 1.3.8 (938bdb8d from startdir/makepkg) ├──libgtk: 3.24.52 ├──glib: 2.88.3 ├──cairo: 1.18.6 └──OS info: CachyOS Linux (The GDK backend is probably printed out below)
*** Output: ***
(com.github.xournalpp.xournalpp:13445): xopp-DEBUG: 06:47:19.508: TEXTDOMAINDIR = (null), Platform-specific locale dir = /usr/share/locale, chosen directory = /usr/share/locale ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) [error.pcm] Unknown PCM cards.pcm.rear ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) [error.pcm] Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2722:(snd_pcm_open_noupdate) [error.pcm] Unknown PCM cards.pcm.side ALSA lib pcm_route.c:886:(find_matching_chmap) [error.pcm] Found no matching channel map ALSA lib pcm_route.c:886:(find_matching_chmap) [error.pcm] Found no matching channel map ALSA lib pcm_route.c:886:(find_matching_chmap) [error.pcm] Found no matching channel map ALSA lib pcm_route.c:886:(find_matching_chmap) [error.pcm] Found no matching channel map Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock ALSA lib pcm_oss.c:404:(_snd_pcm_oss_open) [error.] Cannot open device /dev/dsp ALSA lib pcm_oss.c:404:(_snd_pcm_oss_open) [error.] Cannot open device /dev/dsp ALSA lib pcm_a52.c:1036:(_snd_pcm_a52_open) [error.] a52 is only for playback ALSA lib confmisc.c:160:(snd_config_get_card) [error.core] Invalid field card ALSA lib pcm_usb_stream.c:481:(_snd_pcm_usb_stream_open) [error.] Invalid card 'card' ALSA lib confmisc.c:160:(snd_config_get_card) [error.core] Invalid field card ALSA lib pcm_usb_stream.c:481:(_snd_pcm_usb_stream_open) [error.] Invalid card 'card' Cannot connect to server socket err = No such file or directory Cannot connect to server request channel jack server is not running or cannot be started JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock xopp-INFO: 06:47:19.574: Loading plugins from: /usr/share/xournalpp/plugins xopp-INFO: 06:47:19.574: Loading plugins from: /home/wint/.config/xournalpp/plugins (com.github.xournalpp.xournalpp:13445): xopp-DEBUG: 06:47:19.603: Extracted theme info: Name = Adwaita, rootname = Adwaita, dark = false (com.github.xournalpp.xournalpp:13445): xopp-DEBUG: 06:47:19.618: Theme name: Adwaita (com.github.xournalpp.xournalpp:13445): xopp-DEBUG: 06:47:19.618: Modified in GtkSettings: false (com.github.xournalpp.xournalpp:13445): xopp-DEBUG: 06:47:19.618: Theme variant: dark (com.github.xournalpp.xournalpp:13445): xopp-DEBUG: 06:47:19.618: Icon theme: iconsColor
(com.github.xournalpp.xournalpp:13445): xopp-WARNING **: 06:47:19.670: Error opening file "/home/wint/.config/xournalpp/emergencysave.xopp" Document is corrupted (no pages found in file) (com.github.xournalpp.xournalpp:13445): xopp-DEBUG: 06:47:19.675: Window moved to monitor "Unknown" (com.github.xournalpp.xournalpp:13445): xopp-DEBUG: 06:47:19.675: Automatic DPI conf: monitor height 300 mm - DPI = 91.440000
(com.github.xournalpp.xournalpp:13445): xopp-WARNING **: 06:47:19.677: Cannot update zoomPresentationValue yet. This should only happen on startup!
(com.github.xournalpp.xournalpp:13445): xopp-WARNING **: 06:47:19.717: Cannot update zoomPresentationValue yet. This should only happen on startup!
(com.github.xournalpp.xournalpp:13445): xopp-WARNING **: 06:47:19.717: Cannot update zoomPresentationValue yet. This should only happen on startup!
(com.github.xournalpp.xournalpp:13445): xopp-WARNING **: 06:47:21.810: Cannot update zoomPresentationValue yet. This should only happen on startup!
(com.github.xournalpp.xournalpp:13445): xopp-WARNING **: 06:47:22.319: Cannot update zoomPresentationValue yet. This should only happen on startup!
(com.github.xournalpp.xournalpp:13445): xopp-WARNING **: 06:47:29.440: Cannot update zoomPresentationValue yet. This should only happen on startup!
[Crash Handler] Crashed 1 time(s) with signal 11 xournalpp 1.3.8 (938bdb8d from startdir/makepkg) ├──libgtk: 3.24.52 ├──glib: 2.88.3 ├──cairo: 1.18.6 ├──GDK backend: Wayland └──OS info: CachyOS Linux
Try to get a stacktrace... Stack trace (most recent call first): #0 0x00005619de639f64 in Stacktrace::printStacktrace(std::ostream&) at /usr/bin/xournalpp #1 0x00005619de447293 in crashHandler at /usr/bin/xournalpp #2 0x00007f6793044e6f at /usr/lib/libc.so.6 #3 0x00005619de499b3e in PdfFloatingToolbox::createStrokes(PdfMarkerStyle, PdfMarkerStyle, int) at /usr/bin/xournalpp #4 0x00005619de49a6c2 in PdfFloatingToolbox::strikethroughCb(_GtkButton*, PdfFloatingToolbox*) at /usr/bin/xournalpp #5 0x00007f679401bd0a at /usr/lib/libgobject-2.0.so.0 #6 0x00007f679401c348 in g_signal_emit_valist at /usr/lib/libgobject-2.0.so.0 #7 0x00007f679401c40b in g_signal_emit at /usr/lib/libgobject-2.0.so.0 #8 0x00007f67946c0401 at /usr/lib/libgtk-3.so.0 #9 0x00007f679401bd0a at /usr/lib/libgobject-2.0.so.0 #10 0x00007f679401c348 in g_signal_emit_valist at /usr/lib/libgobject-2.0.so.0 #11 0x00007f679401c40b in g_signal_emit at /usr/lib/libgobject-2.0.so.0 #12 0x00007f67946bda84 at /usr/lib/libgtk-3.so.0 #13 0x00007f6794675f00 at /usr/lib/libgtk-3.so.0 #14 0x00007f679401bd0a at /usr/lib/libgobject-2.0.so.0 #15 0x00007f679401c348 in g_signal_emit_valist at /usr/lib/libgobject-2.0.so.0 #16 0x00007f679401c40b in g_signal_emit at /usr/lib/libgobject-2.0.so.0 #17 0x00007f67947c6bfc at /usr/lib/libgtk-3.so.0 #18 0x00007f6793ff18b4 in g_cclosure_marshal_VOID__BOXEDv at /usr/lib/libgobject-2.0.so.0 #19 0x00007f679401bd0a at /usr/lib/libgobject-2.0.so.0 #20 0x00007f679401c348 in g_signal_emit_valist at /usr/lib/libgobject-2.0.so.0 #21 0x00007f679401c40b in g_signal_emit at /usr/lib/libgobject-2.0.so.0 #22 0x00007f67947bb70a at /usr/lib/libgtk-3.so.0 #23 0x00007f67947c64ca at /usr/lib/libgtk-3.so.0 #24 0x00007f67947cae0b at /usr/lib/libgtk-3.so.0 #25 0x00007f679477fde2 in gtk_event_controller_handle_event at /usr/lib/libgtk-3.so.0 #26 0x00007f67949b817b at /usr/lib/libgtk-3.so.0 #27 0x00007f679467458f at /usr/lib/libgtk-3.so.0 #28 0x00007f679401bd0a at /usr/lib/libgobject-2.0.so.0 #29 0x00007f679401c348 in g_signal_emit_valist at /usr/lib/libgobject-2.0.so.0 #30 0x00007f679401c40b in g_signal_emit at /usr/lib/libgobject-2.0.so.0 #31 0x00007f67949c17f4 at /usr/lib/libgtk-3.so.0 #32 0x00007f6794821452 at /usr/lib/libgtk-3.so.0 #33 0x00007f67948221e6 in gtk_main_do_event at /usr/lib/libgtk-3.so.0 #34 0x00007f6794523666 at /usr/lib/libgdk-3.so.0 #35 0x00007f6794567337 at /usr/lib/libgdk-3.so.0 #36 0x00007f6793ec2f4c at /usr/lib/libglib-2.0.so.0 #37 0x00007f6793ec4477 at /usr/lib/libglib-2.0.so.0 #38 0x00007f6793ec45d1 in g_main_context_iteration at /usr/lib/libglib-2.0.so.0 #39 0x00007f679432be0d in g_application_run at /usr/lib/libgio-2.0.so.0 #40 0x00005619de448000 in XournalMain::run(int, char**) at /usr/bin/xournalpp #41 0x00007f6793027d0d at /usr/lib/libc.so.6 #42 0x00007f6793027e4a in __libc_start_main at /usr/lib/libc.so.6 #43 0x00005619de4423f4 in _start at /usr/bin/xournalpp
Trying to emergency save the current open document... Successfully saved document to "/home/wint/.config/xournalpp/emergencysave.xopp"
Additional Context
Source: xournalpp/xournalpp