bcedu / VGrive

Google Drive client for linux
GNU General Public License v3.0
313 stars 33 forks source link

SegFault After Random Amount Of Time #53

Closed lots0logs closed 4 years ago

lots0logs commented 4 years ago

I'm experiencing the app crashing within as little as seconds and as much as minutes from starting:

LOG: INFO: Divi X - Proposal - 3 - Integration Testing ignored
LOG: INFO: Divi X - Proposal - 2 - VB performance ignored
LOG: INFO: Divi X - Proposal - 1 - Render & Save in JS -> Serve rendered HTML ignored
LOG: INFO: Divi X :: Architecture issues and ideas ignored
LOG: INFO: Divi X :: Exploration ignored

(com.github.bcedu.vgrive:49679): Gtk-WARNING **: 23:11:07.301: Invalid text buffer iterator: either the ittor is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iteratoas created.
You must use marks, character numbers, or line numbers to preserve a position across buffer modifications.
You can apply tags and insert marks without invalidating your iterators,
but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character oet)
will invalidate all outstanding iterators
LOG: INFO: Divi X :: Architecture Decision Record (ADR) ignored
LOG: INFO: Divi X - Decision Proposal - 1 ignored
Segmentation fault (core dumped)

Output from running with GDB:

** (com.github.bcedu.vgrive:51424): CRITICAL **: 23:19:44.283: file ../src/VGriveClient.vala: line 1271: uncaught error: Setting attribute standard::type not supported (g-io-error-quark, 15)
LOG: NEW REMOTE FILE: SoFi - Invest-ActiveAccount-Transactions.png downloaded ✓
LOG: NEW REMOTE FILE: SoFi - Invest-ActiveAccount.png downloading...

(com.github.bcedu.vgrive:51424): Gtk-WARNING **: 23:19:44.283: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created.
You must use marks, character numbers, or line numbers to preserve a position across buffer modifications.
You can apply tags and insert marks without invalidating your iterators,
but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset)
will invalidate all outstanding iterators

Thread 1 "com.github.bced" received signal SIGSEGV, Segmentation fault.

#0  0x00007ffff772beca in  () at /usr/lib/libgtk-3.so.0
#1  0x00007ffff773079f in  () at /usr/lib/libgtk-3.so.0
#2  0x00007ffff772514b in gtk_text_layout_get_line_display () at /usr/lib/libgtk-3.so.0
#3  0x00007ffff7727ea5 in  () at /usr/lib/libgtk-3.so.0
#4  0x00007ffff77453c8 in  () at /usr/lib/libgtk-3.so.0
#5  0x00007ffff7720b43 in gtk_text_layout_validate_yrange () at /usr/lib/libgtk-3.so.0
#6  0x00007ffff77188b4 in  () at /usr/lib/libgtk-3.so.0
#7  0x00007ffff771a09f in  () at /usr/lib/libgtk-3.so.0
#8  0x00007ffff771a0d9 in  () at /usr/lib/libgtk-3.so.0
#9  0x00007ffff75183fc in  () at /usr/lib/libgdk-3.so.0
#10 0x00007ffff7cbf2bf in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#11 0x00007ffff7cc1201 in  () at /usr/lib/libglib-2.0.so.0
#12 0x00007ffff7cc1241 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#13 0x00007ffff7e72a3e in g_application_run () at /usr/lib/libgio-2.0.so.0
#14 0x0000555555575821 in  ()
#15 0x00007ffff7094153 in __libc_start_main () at /usr/lib/libc.so.6
#16 0x000055555555c54e in  ()

My system specs:

dustin@dUsTiN
OS: Arch Linux
Kernel: x86_64 Linux 5.3.7-arch1-2-ARCH
Uptime: 2h 32m
Packages: 1644
Shell: bash 5.0.11
Resolution: 2560x1440
DE: KDE 5.63.0 / Plasma 5.17.1
WM: KWin
GTK Theme: Numix-Frost [GTK2/3]
Icon Theme: breeze-dark
Font: Open Sans Regular
Disk: 2.5T / 8.8T (30%)
CPU: AMD Ryzen 9 3900X 12-Core @ 24x 3.8GHz
GPU: Radeon RX 580 Series (POLARIS10, DRM 3.33.0, 5.3.7-arch1-2-ARCH, LLVM 9.0.0)
RAM: 9660MiB / 32095MiB

This might be relevant :thinking: https://stackoverflow.com/a/26054332/2639936

Edit: I built from source and ran with GDB again:

**
Gtk:ERROR:../gtk/gtk/gtktextview.c:4451:gtk_text_view_validate_onscreen: assertion failed: (priv->onscreen_validated)
LOG: INFO: Divi X :: Feature Roadmap ignored
Bail out! Gtk:ERROR:../gtk/gtk/gtktextview.c:4451:gtk_text_view_validate_onscreen: assertion failed: (priv->onscreen_validated)

Thread 1 "com.github.bced" received signal SIGABRT, Aborted.
0x00007ffff70a8f25 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff70a8f25 in raise () at /usr/lib/libc.so.6
#1  0x00007ffff7092897 in abort () at /usr/lib/libc.so.6
#2  0x00007ffff7c71062 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff7c9db7d in g_assertion_message_expr () at /usr/lib/libglib-2.0.so.0
#4  0x00007ffff77188f3 in  () at /usr/lib/libgtk-3.so.0
#5  0x00007ffff771a09f in  () at /usr/lib/libgtk-3.so.0
#6  0x00007ffff771a0d9 in  () at /usr/lib/libgtk-3.so.0
#7  0x00007ffff75183fc in  () at /usr/lib/libgdk-3.so.0
#8  0x00007ffff7cbf2bf in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#9  0x00007ffff7cc1201 in  () at /usr/lib/libglib-2.0.so.0
#10 0x00007ffff7cc1241 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#11 0x00007ffff7e72a3e in g_application_run () at /usr/lib/libgio-2.0.so.0
#12 0x0000555555575821 in  ()
#13 0x00007ffff7094153 in __libc_start_main () at /usr/lib/libc.so.6
#14 0x000055555555c54e in  ()
coding-rheum commented 4 years ago

Experienced same phenomenon with elementary OS.

`<LOG: NEW REMOTE FILE: coi_disclosure_rashmi.pdf downloding...

(com.github.bcedu.vgrive:9049): Gtk-WARNING **: 09:26:20.147: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created. You must use marks, character numbers, or line numbers to preserve a position across buffer modifications. You can apply tags and insert marks without invalidating your iterators, but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset) will invalidate all outstanding iterators

(com.github.bcedu.vgrive:9049): Gtk-WARNING **: 09:26:20.147: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created. You must use marks, character numbers, or line numbers to preserve a position across buffer modifications. You can apply tags and insert marks without invalidating your iterators, but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset) will invalidate all outstanding iterators Segmentation fault>`

bcedu commented 4 years ago

This should fix it: 98329b5e3811771fd0b1d724423ab94611223c46

I made as suggested in https://stackoverflow.com/a/26054332/2639936 , but I don't have an easy way to test it. If the error persists, reopen this issue. Thanks! :smile:

Axl-Dz commented 4 years ago

I have this problem since yesterday when I updated to elementary 5.1, run for a while and then this...

(com.github.bcedu.vgrive:1549): Json-CRITICAL **: 12:25:35.808: json_object_get_boolean_member: assertion 'node != NULL' failed

** (com.github.bcedu.vgrive:1549): CRITICAL **: 12:25:35.808: file /build/com.github.bcedu.vgrive-1.3.0/src/VGriveClient.vala: line 1271: uncaught error: Establecer el atributo standard::type no está soportado (g-io-error-quark, 15)
LOG: NUEVO FICHERO REMOTO: behavior.obj descargado ✓
LOG: NUEVO FICHERO REMOTO: hdllib.ref descargando...

(com.github.bcedu.vgrive:1549): Gtk-WARNING **: 12:25:35.808: Invalid text buffer iterator: either the iterator is uninitialized, or the characters/pixbufs/widgets in the buffer have been modified since the iterator was created.
You must use marks, character numbers, or line numbers to preserve a position across buffer modifications.
You can apply tags and insert marks without invalidating your iterators,
but any mutation that affects 'indexable' buffer contents (contents that can be referred to by character offset)
will invalidate all outstanding iterators
Violación de segmento