Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when inserting image #5326

Closed
atantet opened this issue Nov 7, 2023 · 1 comment
Closed

Crash when inserting image #5326

atantet opened this issue Nov 7, 2023 · 1 comment
Labels

Comments

@atantet
Copy link

atantet commented Nov 7, 2023

Operating System

Linux

(Linux only) Distribution

Ubuntu

(Linux only) Desktop Environment

GNOME

(Linux Only) Display Server

X.Org

Installation Method

Ubuntu Software

Xournal++ Version

1.2.1 (b48932a)

libgtk Version

3.24.38

Bug Description

I have inserted images in a multi-page PDF. I was trying to select an image to delete it and did some clicks with the hand tool. Then it crashed unexpectedly. It is not clear for me when exactly and why it happened.

Expected Behaviour

Application crash.

Steps to Reproduce

Insert images to a multi-page document and click with the hand tool. I am not sure how reproducible this is, but I hope that the log will help.

Additional Context

Date: Tue Nov 7 11:16:12 2023
Error: signal 6
Xournal++ version 1.2.1
Git commit b48932a from xournalpp/HEAD
Gtk version 3.24.38

[bt]: (0) /snap/xournalpp/86/usr/bin/xournalpp(+0x3e3555) [0x561325e67555]
[bt]: (1) /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f52ac4f1520]
[bt]: (2) /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c) [0x7f52ac545a7c]
[bt]: (3) /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x7f52ac4f1476]
[bt]: (4) /lib/x86_64-linux-gnu/libc.so.6(abort+0xd3) [0x7f52ac4d77f3]
[bt]: (5) /lib/x86_64-linux-gnu/libc.so.6(+0x2871b) [0x7f52ac4d771b]
[bt]: (6) /lib/x86_64-linux-gnu/libc.so.6(+0x39e96) [0x7f52ac4e8e96]
[bt]: (7) /snap/xournalpp/86/usr/bin/xournalpp(_ZN9RenderJob17rerenderRectangleERKN3xoj4util9RectangleIdEE+0x11d) [0x5613260af459]
[bt]: (8) /snap/xournalpp/86/usr/bin/xournalpp(_ZN9RenderJob3runEv+0x26a) [0x5613260af752]
[bt]: (9) /snap/xournalpp/86/usr/bin/xournalpp(_ZN3Job7executeEv+0x27) [0x561325fac839]
[bt]: (10) /snap/xournalpp/86/usr/bin/xournalpp(ZN9Scheduler17jobThreadCallbackEPS+0x1e1) [0x561325e78e61]
[bt]: (11) /snap/xournalpp/86/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x97ce1) [0x7f52acc6fce1]
[bt]: (12) /lib/x86_64-linux-gnu/libc.so.6(+0x94b43) [0x7f52ac543b43]
[bt]: (13) /lib/x86_64-linux-gnu/libc.so.6(+0x126a00) [0x7f52ac5d5a00]

Try to get a better stracktrace...
[bt] #1 /snap/xournalpp/86/usr/bin/xournalpp(+0x3e3cbf) [0x561325e67cbf]
??:0
[bt] #2 /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f52ac4f1520]
??:0
[bt] #3 /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c) [0x7f52ac545a7c]
??:0
[bt] #4 /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x7f52ac4f1476]
??:0
[bt] #5 /lib/x86_64-linux-gnu/libc.so.6(abort+0xd3) [0x7f52ac4d77f3]
??:0
[bt] #6 /lib/x86_64-linux-gnu/libc.so.6(+0x2871b) [0x7f52ac4d771b]
??:0
[bt] #7 /lib/x86_64-linux-gnu/libc.so.6(+0x39e96) [0x7f52ac4e8e96]
??:0
[bt] #8 /snap/xournalpp/86/usr/bin/xournalpp(_ZN9RenderJob17rerenderRectangleERKN3xoj4util9RectangleIdEE+0x11d) [0x5613260af459]
??:0
[bt] #9 /snap/xournalpp/86/usr/bin/xournalpp(_ZN9RenderJob3runEv+0x26a) [0x5613260af752]
??:0
[bt] #10 /snap/xournalpp/86/usr/bin/xournalpp(_ZN3Job7executeEv+0x27) [0x561325fac839]
??:0
[bt] #11 /snap/xournalpp/86/usr/bin/xournalpp(ZN9Scheduler17jobThreadCallbackEPS+0x1e1) [0x561325e78e61]
??:0
[bt] #12 /snap/xournalpp/86/gnome-platform/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x97ce1) [0x7f52acc6fce1]
??:0
[bt] #13 /lib/x86_64-linux-gnu/libc.so.6(+0x94b43) [0x7f52ac543b43]
??:0
[bt] #14 /lib/x86_64-linux-gnu/libc.so.6(+0x126a00) [0x7f52ac5d5a00]
??:0

Execution log:

DEBUG : GLib-GIO :: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
DEBUG : GLib-GIO :: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
DEBUG : GLib :: unsetenv() is not thread-safe and should not be used after threads are created
MESSAGE : xopp :: TEXTDOMAINDIR = /snap/xournalpp/86/usr/share/locale, Platform-specific locale dir = /usr/share/xournalpp/../locale, chosen directory = /snap/xournalpp/86/usr/share/locale
INFO : xopp :: Loading plugins from: /snap/xournalpp/86/usr/share/xournalpp/plugins
INFO : xopp :: Loading plugins from: /home/atantet/snap/xournalpp/86/.config/xournalpp/plugins
MESSAGE : xopp :: Plugin "MigrateFontSizes" UI initialized
WARNING : GLib-GIO :: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)
DEBUG : GLib-GIO :: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
DEBUG : GLib-GIO :: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for ‘gsettings-backend’
MESSAGE : xopp :: Info: autosave document...
MESSAGE : xopp :: Sauvegarde automatique vers /home/atantet/snap/xournalpp/common/.cache/xournalpp/autosaves/80201.autosave.xopp
WARNING : GLib-GIO :: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)
DEBUG : GLib-GIO :: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
WARNING : GLib-GIO :: Error creating IO channel for /proc/self/mountinfo: Permission denied (g-file-error-quark, 2)
DEBUG : GLib-GIO :: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
WARNING : xopp :: [Crash Handler] Crashed with signal 6
WARNING : xopp :: [Crash Handler] Wrote crash log to: /home/atantet/snap/xournalpp/common/.cache/xournalpp/errorlogs/errorlog.20231107-111612.log

@atantet atantet added the bug label Nov 7, 2023
@tmoerschell
Copy link
Contributor

This is a known issue that was fixed by d8b9ea5. The fix is included in the latest release 1.2.2. You can use that version by switching to the "candidate" or "edge" channel in the snap store.

Have fun with Xournal++ !

@bhennion bhennion closed this as completed Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants