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

Random Crashing #2013

Closed
simonb02 opened this issue May 26, 2020 · 15 comments
Closed

Random Crashing #2013

simonb02 opened this issue May 26, 2020 · 15 comments

Comments

@simonb02
Copy link

simonb02 commented May 26, 2020

Affects versions :

  • OS: Linux Manjaro
    -Desktop Environment: KDE Plasma

Describe the bug
When writing with a pen on my Yoga 370 xournalpp is randomly crashing. I can't fix it with the errorlog. Maybe someone of you have an idea.

Errorlog

Error: signal 11
[bt]: (0) /usr/bin/xournalpp(+0x1ce889) [0x561ead00a889]
[bt]: (1) /usr/lib/libc.so.6(+0x3bd70) [0x7f820a42bd70]
[bt]: (2) /usr/lib/libgtk-3.so.0(+0x2032a3) [0x7f820b2d22a3]
[bt]: (3) /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x12c0) [0x7f820ac220a0]
[bt]: (4) /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90) [0x7f820ac236b0]
[bt]: (5) /usr/lib/libgtk-3.so.0(+0x2d2948) [0x7f820b3a1948]
[bt]: (6) /usr/lib/libgtk-3.so.0(+0x2d2992) [0x7f820b3a1992]
[bt]: (7) /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__BOXEDv+0xa3) [0x7f820ac3a903]
[bt]: (8) /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x12c0) [0x7f820ac220a0]
[bt]: (9) /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90) [0x7f820ac236b0]
[bt]: (10) /usr/lib/libgtk-3.so.0(+0x2d3088) [0x7f820b3a2088]
[bt]: (11) /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1aa) [0x7f820ac3d61a]
[bt]: (12) /usr/lib/libgobject-2.0.so.0(+0x1f97e) [0x7f820ac1e97e]
[bt]: (13) /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0xcd9) [0x7f820ac21ab9]
[bt]: (14) /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90) [0x7f820ac236b0]
[bt]: (15) /usr/lib/libgtk-3.so.0(+0x28739d) [0x7f820b35639d]
[bt]: (16) /usr/lib/libgtk-3.so.0(+0x39e8b0) [0x7f820b46d8b0]
[bt]: (17) /usr/lib/libgtk-3.so.0(+0x287444) [0x7f820b356444]
[bt]: (18) /usr/lib/libgtk-3.so.0(+0x287444) [0x7f820b356444]
[bt]: (19) /usr/lib/libgtk-3.so.0(+0x39e8b0) [0x7f820b46d8b0]
[bt]: (20) /usr/lib/libgtk-3.so.0(+0x287444) [0x7f820b356444]
[bt]: (21) /usr/lib/libgtk-3.so.0(+0x39e8b0) [0x7f820b46d8b0]
[bt]: (22) /usr/lib/libgtk-3.so.0(+0x287444) [0x7f820b356444]
[bt]: (23) /usr/lib/libgtk-3.so.0(+0x258451) [0x7f820b327451]
[bt]: (24) /usr/lib/libgtk-3.so.0(+0x287444) [0x7f820b356444]
[bt]: (25) /usr/lib/libgtk-3.so.0(+0x124c6a) [0x7f820b1f3c6a]
[bt]: (26) /usr/lib/libgtk-3.so.0(+0x287444) [0x7f820b356444]
[bt]: (27) /usr/lib/libgtk-3.so.0(+0x2875f3) [0x7f820b3565f3]
[bt]: (28) /usr/lib/libgtk-3.so.0(+0x229384) [0x7f820b2f8384]
[bt]: (29) /usr/lib/libgtk-3.so.0(+0x3d15cd) [0x7f820b4a05cd]
[bt]: (30) /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x12c0) [0x7f820ac220a0]
[bt]: (31) /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90) [0x7f820ac236b0]
[bt]: (32) /usr/lib/libgtk-3.so.0(+0x2d5811) [0x7f820b3a4811]
[bt]: (33) /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__BOXEDv+0xa3) [0x7f820ac3a903]
[bt]: (34) /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x12c0) [0x7f820ac220a0]
[bt]: (35) /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90) [0x7f820ac236b0]
[bt]: (36) /usr/lib/libgtk-3.so.0(+0x2d301f) [0x7f820b3a201f]
[bt]: (37) /usr/lib/libgtk-3.so.0(+0x2d6cbb) [0x7f820b3a5cbb]
[bt]: (38) /usr/lib/libgtk-3.so.0(+0x2d2083) [0x7f820b3a1083]
[bt]: (39) /usr/lib/libgtk-3.so.0(gtk_event_controller_handle_event+0x73) [0x7f820b3d6c83]
[bt]: (40) /usr/lib/libgtk-3.so.0(+0x140acf) [0x7f820b20facf]
[bt]: (41) /usr/lib/libgtk-3.so.0(+0x1413da) [0x7f820b2103da]
[bt]: (42) /usr/lib/libgtk-3.so.0(+0x3d7e1c) [0x7f820b4a6e1c]
[bt]: (43) /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x12c0) [0x7f820ac220a0]
[bt]: (44) /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90) [0x7f820ac236b0]
[bt]: (45) /usr/lib/libgtk-3.so.0(+0x140c26) [0x7f820b20fc26]
[bt]: (46) /usr/lib/libgtk-3.so.0(+0x287095) [0x7f820b356095]
[bt]: (47) /usr/lib/libgtk-3.so.0(gtk_main_do_event+0x115c) [0x7f820b35962c]
[bt]: (48) /usr/lib/libgdk-3.so.0(+0x95234) [0x7f820b06a234]
[bt]: (49) /usr/lib/libgdk-3.so.0(+0x41c34) [0x7f820b016c34]
[bt]: (50) /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x27e) [0x7f820b8b96be]
[bt]: (51) /usr/lib/libglib-2.0.so.0(+0x6d531) [0x7f820b8bb531]
[bt]: (52) /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x83) [0x7f820b8bc543]
[bt]: (53) /usr/lib/libgtk-3.so.0(gtk_main+0x7f) [0x7f820b352c0f]
[bt]: (54) /usr/bin/xournalpp(_ZN11XournalMain3runEiPPc+0xc49) [0x561eacf01169]
[bt]: (55) /usr/bin/xournalpp(main+0x37) [0x561eaced8067]
[bt]: (56) /usr/lib/libc.so.6(__libc_start_main+0xf3) [0x7f820a417023]
[bt]: (57) /usr/bin/xournalpp(_start+0x2e) [0x561eaced85fe]

Try to get a better stracktrace...
[bt] #1 /usr/bin/xournalpp(+0x1ceb4b) [0x561ead00ab4b]
??:0
[bt] #2 /usr/lib/libc.so.6(+0x3bd70) [0x7f820a42bd70]
??:0
[bt] #3 /usr/lib/libgtk-3.so.0(+0x2032a3) [0x7f820b2d22a3]
??:0
[bt] #4 /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x12c0) [0x7f820ac220a0]
??:0
[bt] #5 /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90) [0x7f820ac236b0]
??:0
[bt] #6 /usr/lib/libgtk-3.so.0(+0x2d2948) [0x7f820b3a1948]
??:0
[bt] #7 /usr/lib/libgtk-3.so.0(+0x2d2992) [0x7f820b3a1992]
??:0
[bt] #8 /usr/lib/libgobject-2.0.so.0(g_cclosure_marshal_VOID__BOXEDv+0xa3) [0x7f820ac3a903]
??:0
[bt] #9 /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x12c0) [0x7f820ac220a0]
??:0
[bt] #10 /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90) [0x7f820ac236b0]
??:0
[bt] #11 /usr/lib/libgtk-3.so.0(+0x2d3088) [0x7f820b3a2088]
??:0
[bt] #12 /usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1aa) [0x7f820ac3d61a]
??:0
[bt] #13 /usr/lib/libgobject-2.0.so.0(+0x1f97e) [0x7f820ac1e97e]
??:0
[bt] #14 /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0xcd9) [0x7f820ac21ab9]
??:0
[bt] #15 /usr/lib/libgobject-2.0.so.0(g_signal_emit+0x90) [0x7f820ac236b0]
??:0
[bt] #16 /usr/lib/libgtk-3.so.0(+0x28739d) [0x7f820b35639d]
??:0
[bt] #17 /usr/lib/libgtk-3.so.0(+0x39e8b0) [0x7f820b46d8b0]
??:0
[bt] #18 /usr/lib/libgtk-3.so.0(+0x287444) [0x7f820b356444]
??:0
[bt] #19 /usr/lib/libgtk-3.so.0(+0x287444) [0x7f820b356444]
??:0
[bt] #20 /usr/lib/libgtk-3.so.0(+0x39e8b0) [0x7f820b46d8b0]
??:0
[bt] #21 /usr/lib/libgtk-3.so.0(+0x287444) [0x7f820b356444]
??:0
[bt] #22 /usr/lib/libgtk-3.so.0(+0x39e8b0) [0x7f820b46d8b0]
??:0
[bt] #23 /usr/lib/libgtk-3.so.0(+0x287444) [0x7f820b356444]
??:0
[bt] #24 /usr/lib/libgtk-3.so.0(+0x258451) [0x7f820b327451]
??:0
[bt] #25 /usr/lib/libgtk-3.so.0(+0x287444) [0x7f820b356444]
??:0
[bt] #26 /usr/lib/libgtk-3.so.0(+0x124c6a) [0x7f820b1f3c6a]
??:0
[bt] #27 /usr/lib/libgtk-3.so.0(+0x287444) [0x7f820b356444]
??:0
[bt] #28 /usr/lib/libgtk-3.so.0(+0x2875f3) [0x7f820b3565f3]
??:0
[bt] #29 /usr/lib/libgtk-3.so.0(+0x229384) [0x7f820b2f8384]
??:0
[bt] #30 /usr/lib/libgtk-3.so.0(+0x3d15cd) [0x7f820b4a05cd]
??:0
[bt] #31 /usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x12c0) [0x7f820ac220a0]
??:0

other errorlog

Error: signal 11
[bt]: (0) /usr/bin/xournalpp(+0x1ce889) [0x55a7857d9889]
[bt]: (1) /usr/lib/libc.so.6(+0x3bd70) [0x7fbe37f16d70]
[bt]: (2) /usr/bin/xournalpp(_Z16xoj_type_getNamei+0x1002) [0x55a7857e3402]
[bt]: (3) /usr/bin/xournalpp(_ZNK7Element7getTypeEv+0x45) [0x55a7857ab695]
[bt]: (4) /usr/bin/xournalpp(_ZN12DocumentView11drawElementEP6_cairoP7Element+0x8a) [0x55a7857d034a]
[bt]: (5) /usr/bin/xournalpp(_ZN12DocumentView9drawLayerEP6_cairoP5Layer+0xfc) [0x55a7857d04ec]
[bt]: (6) /usr/bin/xournalpp(_ZN12DocumentView8drawPageE7PageRefP6_cairobb+0x142) [0x55a7857d0f92]
[bt]: (7) /usr/bin/xournalpp(_ZN10PreviewJob8drawPageEi+0x14d) [0x55a7856d9bbd]
[bt]: (8) /usr/bin/xournalpp(_ZN10PreviewJob3runEv+0x119) [0x55a7856d9d19]
[bt]: (9) /usr/bin/xournalpp(ZN9Scheduler17jobThreadCallbackEPS+0x14a) [0x55a7856dc5ea]
[bt]: (10) /usr/lib/libglib-2.0.so.0(+0x495b1) [0x7fbe393825b1]
[bt]: (11) /usr/lib/libpthread.so.0(+0x946f) [0x7fbe384ef46f]
[bt]: (12) /usr/lib/libc.so.6(clone+0x43) [0x7fbe37fda3d3]

Try to get a better stracktrace...
[bt] #1 /usr/bin/xournalpp(+0x1ceb4b) [0x55a7857d9b4b]
??:0
[bt] #2 /usr/lib/libc.so.6(+0x3bd70) [0x7fbe37f16d70]
??:0
[bt] #3 /usr/bin/xournalpp(_Z16xoj_type_getNamei+0x1002) [0x55a7857e3402]
??:0
[bt] #4 /usr/bin/xournalpp(_ZNK7Element7getTypeEv+0x45) [0x55a7857ab695]
??:0
[bt] #5 /usr/bin/xournalpp(_ZN12DocumentView11drawElementEP6_cairoP7Element+0x8a) [0x55a7857d034a]
??:0
[bt] #6 /usr/bin/xournalpp(_ZN12DocumentView9drawLayerEP6_cairoP5Layer+0xfc) [0x55a7857d04ec]
??:0
[bt] #7 /usr/bin/xournalpp(_ZN12DocumentView8drawPageE7PageRefP6_cairobb+0x142) [0x55a7857d0f92]
??:0
[bt] #8 /usr/bin/xournalpp(_ZN10PreviewJob8drawPageEi+0x14d) [0x55a7856d9bbd]
??:0
[bt] #9 /usr/bin/xournalpp(_ZN10PreviewJob3runEv+0x119) [0x55a7856d9d19]
??:0
[bt] #10 /usr/bin/xournalpp(ZN9Scheduler17jobThreadCallbackEPS+0x14a) [0x55a7856dc5ea]
??:0
[bt] #11 /usr/lib/libglib-2.0.so.0(+0x495b1) [0x7fbe393825b1]
??:0
[bt] #12 /usr/lib/libpthread.so.0(+0x946f) [0x7fbe384ef46f]
??:0
[bt] #13 /usr/lib/libc.so.6(clone+0x43) [0x7fbe37fda3d3]
??:0

@simonb02 simonb02 added the bug label May 26, 2020
@simonb02
Copy link
Author

errorlogs.zip

@ghost
Copy link

ghost commented May 27, 2020

I'm also experiencing random crashing. Here's my most recent error log https://gist.github.com/Segfavlt/bd1bfa6c9d754af09e5b4188ac9e7ffd

OS: Fedora 32
Desktop: Gnome 3.36.2 on Wayland
Device: Surface Pro 6
Xournal Version 1.0.18

@Technius
Copy link
Member

What version of Xournal++ are you using (check the about dialog)?

@ghost
Copy link

ghost commented May 27, 2020

What version of Xournal++ are you using (check the about dialog)?

Updated my response, but in order to get the notification as well:
Xournal version: 1.0.18

@simonb02
Copy link
Author

simonb02 commented May 27, 2020

What version of Xournal++ are you using (check the about dialog)?

The Version is also 1.0.18

@simonb02
Copy link
Author

Do you need more information? If I could I would help by finding the solution.

@Technius
Copy link
Member

Technius commented Jun 3, 2020

Are you only using your pen or are you also switching between pen and mouse occasionally?

@ghost
Copy link

ghost commented Jun 3, 2020

Only the pen. though wayland/gnome does keep the mouse active as a secondary pointing device. Not sure which part of the stack that is.

@LittleHuba
Copy link
Member

Are you using the old input system by any chance? Please activate the new one in the settings if that is the case.

@ghost
Copy link

ghost commented Jun 3, 2020

I'm using the experimental input system. That was the first thing I tried unfortunately.

@simonb02
Copy link
Author

simonb02 commented Jun 3, 2020

Are you only using your pen or are you also switching between pen and mouse occasionally?

I'm only using the pen. But the display is a touchsreen and sometimes the handdetection does not work.

@simonb02
Copy link
Author

Are you using the old input system by any chance? Please activate the new one in the settings if that is the case.

I tried both, but that does not make a difference.

@LittleHuba
Copy link
Member

Could you try to disable your touchscreen (within xournal++) and see if the bug still occurs?

@ghost
Copy link

ghost commented Jun 19, 2020

Could you try to disable your touchscreen (within xournal++) and see if the bug still occurs?

That seems to have resolved it, at least, it hasn't occured since. Now is the problem with xournal++ or my touch driver? both?

This was referenced Jul 31, 2023
@bhennion
Copy link
Contributor

bhennion commented Mar 9, 2024

Duplicate of #4931

@bhennion bhennion marked this as a duplicate of #4931 Mar 9, 2024
@bhennion bhennion closed this as not planned Won't fix, can't repro, duplicate, stale Mar 9, 2024
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

4 participants