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

Crashing while saving on USB drive #5648

Closed
Heldingar opened this issue Apr 29, 2024 · 2 comments
Closed

Crashing while saving on USB drive #5648

Heldingar opened this issue Apr 29, 2024 · 2 comments

Comments

@Heldingar
Copy link

Operating System

Linux

(Linux only) Distribution

Kubuntu

(Linux only) Desktop Environment

KDE

(Linux Only) Display Server

X.Org

Installation Method

apt

Xournal++ Version

1.2.1

libgtk Version

3.24.38

Bug Description

When I try to save a new file on my USB drive it won't let me and it crashes
`Date: Mon Apr 29 16:32:42 2024
Error: signal 6
Xournal++ version 1.2.1
Gtk version 3.24.38

[bt]: (0) /usr/bin/xournalpp(+0xc9b9e) [0x5c8ab7f91b9e]
[bt]: (1) /lib/x86_64-linux-gnu/libc.so.6(+0x42990) [0x784825042990]
[bt]: (2) /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b) [0x784825099a1b]
[bt]: (3) /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x7848250428e6]
[bt]: (4) /lib/x86_64-linux-gnu/libc.so.6(abort+0xd7) [0x7848250268b7]
[bt]: (5) /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x1fe60) [0x78482593ce60]
[bt]: (6) /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_assertion_message_error+0xb5) [0x7848259a2f25]
[bt]: (7) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x1bb450) [0x784825fbb450]
[bt]: (8) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x1bb7ee) [0x784825fbb7ee]
[bt]: (9) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x1bba87) [0x784825fbba87]
[bt]: (10) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x1d2e75) [0x784825fd2e75]
[bt]: (11) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x116797) [0x784825f16797]
[bt]: (12) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x127760) [0x784825f27760]
[bt]: (13) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x1cf4c7) [0x784825fcf4c7]
[bt]: (14) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
[bt]: (15) /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
[bt]: (16) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xcdd97) [0x784825ecdd97]
[bt]: (17) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x116797) [0x784825f16797]
[bt]: (18) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x127760) [0x784825f27760]
[bt]: (19) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xc5867) [0x784825ec5867]
[bt]: (20) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
[bt]: (21) /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
[bt]: (22) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x296c30) [0x784826096c30]
[bt]: (23) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x116797) [0x784825f16797]
[bt]: (24) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x127760) [0x784825f27760]
[bt]: (25) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xd21c7) [0x784825ed21c7]
[bt]: (26) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
[bt]: (27) /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
[bt]: (28) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x4087a4) [0x7848262087a4]
[bt]: (29) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x31c0fd) [0x78482611c0fd]
[bt]: (30) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
[bt]: (31) /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
[bt]: (32) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x27e0c2) [0x78482607e0c2]
[bt]: (33) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x116797) [0x784825f16797]
[bt]: (34) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x127760) [0x784825f27760]
[bt]: (35) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x27fa87) [0x78482607fa87]
[bt]: (36) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
[bt]: (37) /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
[bt]: (38) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xcdd97) [0x784825ecdd97]
[bt]: (39) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x116797) [0x784825f16797]
[bt]: (40) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x127760) [0x784825f27760]
[bt]: (41) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xc5867) [0x784825ec5867]
[bt]: (42) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
[bt]: (43) /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
[bt]: (44) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x2a25a2) [0x7848260a25a2]
[bt]: (45) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x116797) [0x784825f16797]
[bt]: (46) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x127760) [0x784825f27760]
[bt]: (47) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x29bc2b) [0x78482609bc2b]
[bt]: (48) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
[bt]: (49) /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
[bt]: (50) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xcdd97) [0x784825ecdd97]
[bt]: (51) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x116797) [0x784825f16797]
[bt]: (52) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x127760) [0x784825f27760]
[bt]: (53) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xc5867) [0x784825ec5867]
[bt]: (54) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
[bt]: (55) /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
[bt]: (56) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xcdd97) [0x784825ecdd97]
[bt]: (57) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x116797) [0x784825f16797]
[bt]: (58) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x127760) [0x784825f27760]
[bt]: (59) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xc5867) [0x784825ec5867]
[bt]: (60) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
[bt]: (61) /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
[bt]: (62) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x296c30) [0x784826096c30]
[bt]: (63) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x2290f1) [0x7848260290f1]
[bt]: (64) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x116797) [0x784825f16797]
[bt]: (65) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x127760) [0x784825f27760]
[bt]: (66) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x226a57) [0x784826026a57]
[bt]: (67) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
[bt]: (68) /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
[bt]: (69) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xcdd97) [0x784825ecdd97]
[bt]: (70) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x116797) [0x784825f16797]
[bt]: (71) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x127760) [0x784825f27760]
[bt]: (72) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xc5867) [0x784825ec5867]
[bt]: (73) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
[bt]: (74) /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
[bt]: (75) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xcdd97) [0x784825ecdd97]
[bt]: (76) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x116797) [0x784825f16797]
[bt]: (77) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x127760) [0x784825f27760]
[bt]: (78) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xc5867) [0x784825ec5867]
[bt]: (79) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
[bt]: (80) /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
[bt]: (81) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xcdd97) [0x784825ecdd97]
[bt]: (82) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x116797) [0x784825f16797]
[bt]: (83) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x127760) [0x784825f27760]
[bt]: (84) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xc5867) [0x784825ec5867]
[bt]: (85) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
[bt]: (86) /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
[bt]: (87) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x362552) [0x784826162552]
[bt]: (88) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
[bt]: (89) /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
[bt]: (90) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x405614) [0x784826205614]
[bt]: (91) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3606f7) [0x7848261606f7]
[bt]: (92) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x3641e7) [0x7848261641e7]
[bt]: (93) /lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x33add) [0x784825a97add]
[bt]: (94) /lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x36) [0x784825a97bd6]
[bt]: (95) /lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93) [0x784825a97c93]
[bt]: (96) /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x112db8) [0x784825f12db8]
[bt]: (97) /lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x33add) [0x784825a97add]
[bt]: (98) /lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0x36) [0x784825a97bd6]
[bt]: (99) /lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x93) [0x784825a97c93]

Try to get a better stracktrace...
[bt] #1 /usr/bin/xournalpp(+0xca0d4) [0x5c8ab7f920d4]
??:0
[bt] #2 /lib/x86_64-linux-gnu/libc.so.6(+0x42990) [0x784825042990]
??:0
[bt] #3 /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x11b) [0x784825099a1b]
??:0
[bt] #4 /lib/x86_64-linux-gnu/libc.so.6(raise+0x16) [0x7848250428e6]
??:0
[bt] #5 /lib/x86_64-linux-gnu/libc.so.6(abort+0xd7) [0x7848250268b7]
??:0
[bt] #6 /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x1fe60) [0x78482593ce60]
??:0
[bt] #7 /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_assertion_message_error+0xb5) [0x7848259a2f25]
??:0
[bt] #8 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x1bb450) [0x784825fbb450]
??:0
[bt] #9 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x1bb7ee) [0x784825fbb7ee]
??:0
[bt] #10 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x1bba87) [0x784825fbba87]
??:0
[bt] #11 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x1d2e75) [0x784825fd2e75]
??:0
[bt] #12 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x116797) [0x784825f16797]
??:0
[bt] #13 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x127760) [0x784825f27760]
??:0
[bt] #14 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x1cf4c7) [0x784825fcf4c7]
??:0
[bt] #15 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
??:0
[bt] #16 /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
??:0
[bt] #17 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xcdd97) [0x784825ecdd97]
??:0
[bt] #18 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x116797) [0x784825f16797]
??:0
[bt] #19 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x127760) [0x784825f27760]
??:0
[bt] #20 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xc5867) [0x784825ec5867]
??:0
[bt] #21 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
??:0
[bt] #22 /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
??:0
[bt] #23 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x296c30) [0x784826096c30]
??:0
[bt] #24 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x116797) [0x784825f16797]
??:0
[bt] #25 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x127760) [0x784825f27760]
??:0
[bt] #26 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0xd21c7) [0x784825ed21c7]
??:0
[bt] #27 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
??:0
[bt] #28 /lib/x86_64-linux-gnu/libgtk-3.so.0(gtk_widget_get_preferred_width+0x5d) [0x7848260967ed]
??:0
[bt] #29 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x4087a4) [0x7848262087a4]
??:0
[bt] #30 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x31c0fd) [0x78482611c0fd]
??:0
[bt] #31 /lib/x86_64-linux-gnu/libgtk-3.so.0(+0x295dc1) [0x784826095dc1]
??:0

Execution log:

DEBUG : GLib-GIO :: Using cross-namespace EXTERNAL authentication (this will deadlock if server is GDBus < 2.73.3)
DEBUG : GLib :: unsetenv() is not thread-safe and should not be used after threads are created
DEBUG : GLib-GIO :: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
MESSAGE : xopp :: TEXTDOMAINDIR = (null), Platform-specific locale dir = /usr/share/xournalpp/../locale, chosen directory = /usr/share/xournalpp/../locale
INFO : xopp :: Loading plugins from: /usr/share/xournalpp/plugins
INFO : xopp :: Loading plugins from: /home/heldin/.config/xournalpp/plugins
MESSAGE : xopp :: Plugin "MigrateFontSizes" UI initialized
WARNING : xopp :: Could not remove element from layer, it's not on the layer!
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’
WARNING : xopp :: [Crash Handler] Crashed with signal 6
WARNING : xopp :: [Crash Handler] Wrote crash log to: /home/heldin/.cache/xournalpp/errorlogs/errorlog.20240429-163242.log
`

Expected Behaviour

It shouldn't crash trying to save a new file on USB drive.

Steps to Reproduce

  1. Open Xournalpp, creating a new file, not an existing one (at least not based on a PDF one)
  2. Save file
  3. Asks where to save
  4. Select USB drive
  5. Crashes

Additional Context

No response

@Heldingar Heldingar added the bug label Apr 29, 2024
@rolandlo
Copy link
Member

Please upgrade to version 1.2.3 (or wait for the upcoming 1.2.4 release). You shouldn't get a crash there.

@bhennion
Copy link
Contributor

bhennion commented May 21, 2024

Closing for inactivity, assuming the bug was fixed in 1.2.3. Please reopen if that's not the case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants