Re: [Geary] unable to open database connection, cancelling AsyncJob: Connection.ctor cancelled
- From: Federico Bruni <fede inventati org>
- To: Michael Gratton <mike vee net>
- Cc: geary-list <geary-list gnome org>
- Subject: Re: [Geary] unable to open database connection, cancelling AsyncJob: Connection.ctor cancelled
- Date: Thu, 02 Aug 2018 08:06:16 +0200
Il giorno mer 1 ago 2018 alle 11:40, Michael Gratton <mike vee net> ha
scritto:
Hey Federico,
On Wed, Aug 1, 2018 at 4:26 PM, Federico Bruni <fede inventati org>
wrote:
I have some syncing problems recently on my desktop installation
(compiled from master).
When I launch Geary the first time, the spinning wheel in the bottom
left turns and turns until I get bored and close Geary. When I
start it again, the sync works.
Hmm, that's pretty weird. You're on Fedora, right? What version of
sqlite and valac does meson report?
Native dependency sqlite3 found: YES 3.22.0
Native Vala compiler: valac (valac 0.40.7)
Doing a "make test" from the source dir works okay?
yes
$ make test
ninja: Entering directory `build'
[1/2] Running all tests.
1/2 engine-tests OK 0.84 s
2/2 client-tests OK 0.84 s
OK: 2
FAIL: 0
SKIP: 0
TIMEOUT: 0
In the log I see:
[deb] 08:20:15 0,041718 geary: db-database.vala:350: Warning: unable
to open database connection to
/home/fede/.local/share/geary/account_01/geary.db, cancelling
AsyncJob: Connection.ctor cancelled
Does anything appear before that?
Cannot see anything relevant. I should have saved and attached the full
log file.
You could try running with "-d --log-sql", which will print a lot of
debug info, but might at least say which SQL query is being cancelled.
Too much info... :-)
Anyway, I have the suspect that I did something wrong when I built
geary using meson+ninja commands. I got some errors, IIRC.
I've now used make&&sudo make install. No errors.
Sorry for the poor information, but I have little time these days.
I'll come back with better information if the problem arises again.
Thanks
Federico
PS When I run Geary the first time this morning, I got this:
Geary version: master~g4e85b516
GTK version: 3.22.30
Desktop: GNOME
Problem type: GEARY_PROBLEM_TYPE_GENERIC_ERROR
Account type: OTHER
Error type: GearyEngineError 0
Message: list_email_by_id_async failed: folder account_01:INBOX
(open_count=0 remote_opened=false) is not open
Back trace:
- geary_account_problem_report_construct
- geary_account_problem_report_new
- geary_controller_on_scan_error
-
_geary_controller_on_scan_error_geary_app_conversation_monitor_scan_error
- g_closure_invoke
- g_signal_handler_disconnect
- g_signal_emit_valist
- g_signal_emit
- geary_app_conversation_monitor_real_notify_scan_error
- geary_app_conversation_monitor_notify_scan_error
- geary_app_conversation_monitor_on_operation_error
-
_geary_app_conversation_monitor_on_operation_error_geary_app_conversation_operation_queue_operation_error
- g_cclosure_user_marshal_VOID__OBJECT_POINTER
- g_closure_invoke
- g_signal_handler_disconnect
- g_signal_emit_valist
- g_signal_emit
- geary_app_conversation_operation_queue_run_process_async_co
- geary_app_conversation_operation_queue_run_process_async_ready
- g_simple_proxy_resolver_set_uri_proxy
- g_task_attach_source
- geary_app_fill_window_operation_real_execute_async_co
- geary_app_fill_window_operation_execute_async_ready
- g_simple_proxy_resolver_set_uri_proxy
- g_task_attach_source
- geary_app_conversation_monitor_load_by_id_async_co
- geary_app_conversation_monitor_load_by_id_async_ready
- g_simple_proxy_resolver_set_uri_proxy
- g_simple_proxy_resolver_set_uri_proxy
- g_list_sort_with_data
- g_main_context_dispatch
- g_main_context_dispatch
- g_main_context_iteration
- g_application_run
- _vala_main
- main
- __libc_start_main
- _start
And this is what systemd reports:
$ coredumpctl dump
PID: 2898 (geary)
UID: 1000 (fede)
GID: 1000 (fede)
Signal: 11 (SEGV)
Timestamp: Thu 2018-08-02 07:53:40 CEST (1min 10s ago)
Command Line: geary -d --log-sql
Executable: /usr/local/bin/geary
Control Group:
/user.slice/user-1000.slice/user@1000.service/gnome-terminal-server.service
Unit: user@1000.service
User Unit: gnome-terminal-server.service
Slice: user-1000.slice
Owner UID: 1000 (fede)
Boot ID: 8f80257c47fd466bb6c491f012d9bb15
Machine ID: 632206f23825416c9521585b3569c6c4
Hostname: federico
Storage:
/var/lib/systemd/coredump/core.geary.1000.8f80257c47fd466bb6c491f012d9bb15.2898.1533189220000000.lz4
Message: Process 2898 (geary) of user 1000 dumped core.
Stack trace of thread 2898:
#0 0x000000000069bb6c
geary_smtp_outbox_folder_add_to_containing_folders_async_co (geary)
#1 0x000000000069b348
geary_smtp_outbox_folder_add_to_containing_folders_async (geary)
#2 0x000000000062f3d6
geary_imap_db_account_get_containing_folders_async_co (geary)
#3 0x000000000062f05a
geary_imap_db_account_get_containing_folders_async_ready (geary)
#4 0x00007f0125d0fd54 g_task_return_now
(libgio-2.0.so.0)
#5 0x00007f0125d10806 g_task_return (libgio-2.0.so.0)
#6 0x0000000000727bbd
geary_db_database_exec_transaction_async_co (geary)
#7 0x0000000000727964
geary_db_database_exec_transaction_async_ready (geary)
#8 0x00007f0125d0fd54 g_task_return_now
(libgio-2.0.so.0)
#9 0x00007f0125d10806 g_task_return (libgio-2.0.so.0)
#10 0x0000000000731f4a
geary_db_transaction_async_job_wait_for_completion_async_co (geary)
#11 0x0000000000731d44
geary_db_transaction_async_job_wait_for_completion_async_ready (geary)
#12 0x00007f0125d0fd54 g_task_return_now
(libgio-2.0.so.0)
#13 0x00007f0125d10806 g_task_return (libgio-2.0.so.0)
#14 0x00000000006c3b0c
geary_nonblocking_lock_real_wait_async_co (geary)
#15 0x00000000006c36e6
_geary_nonblocking_lock_real_wait_async_co_gsource_func (geary)
#16 0x0000000000718370
geary_scheduler_scheduled_instance_on_callback (geary)
#17 0x0000000000717e25
_geary_scheduler_scheduled_instance_on_callback_gsource_func (geary)
#18 0x00007f01265af1cb g_idle_dispatch
(libglib-2.0.so.0)
#19 0x00007f01265b28ad g_main_context_dispatch
(libglib-2.0.so.0)
#20 0x00007f01265b2c78 g_main_context_iterate.isra.21
(libglib-2.0.so.0)
#21 0x00007f01265b2d10 g_main_context_iteration
(libglib-2.0.so.0)
#22 0x00007f01253538a9 gtk_main_iteration
(libgtk-3.so.0)
#23 0x0000000000426ddc geary_application_exit (geary)
#24 0x000000000049f592 main_window_on_delete_event
(geary)
#25 0x000000000049f5be
_main_window_on_delete_event_gtk_widget_delete_event (geary)
#26 0x00007f01253557a8 _gtk_marshal_BOOLEAN__BOXEDv
(libgtk-3.so.0)
#27 0x00007f012688dd36 _g_closure_invoke_va
(libgobject-2.0.so.0)
#28 0x00007f01268a9ae4 g_signal_emit_valist
(libgobject-2.0.so.0)
#29 0x00007f01268aa663 g_signal_emit
(libgobject-2.0.so.0)
#30 0x00007f01254a3134 gtk_widget_event_internal
(libgtk-3.so.0)
#31 0x00007f01253547db gtk_main_do_event (libgtk-3.so.0)
#32 0x00007f01254b9865 send_delete_event (libgtk-3.so.0)
#33 0x00007f012749989c gdk_threads_dispatch
(libgdk-3.so.0)
#34 0x00007f01265af1cb g_idle_dispatch
(libglib-2.0.so.0)
#35 0x00007f01265b28ad g_main_context_dispatch
(libglib-2.0.so.0)
#36 0x00007f01265b2c78 g_main_context_iterate.isra.21
(libglib-2.0.so.0)
#37 0x00007f01265b2d10 g_main_context_iteration
(libglib-2.0.so.0)
#38 0x00007f0125d26675 g_application_run
(libgio-2.0.so.0)
#39 0x00000000004248a1 _vala_main (geary)
#40 0x00000000004248ea main (geary)
#41 0x00007f011f67224b __libc_start_main (libc.so.6)
#42 0x000000000042472a _start (geary)
Stack trace of thread 2899:
#0 0x00007f011fa1b52c pthread_cond_wait@@GLIBC_2.3.2
(libpthread.so.0)
#1 0x00007f01141c0290
_ZNSt18condition_variable4waitERSt11unique_lockISt5mutexE
(libstdc++.so.6)
#2 0x00007f0121e2f3cc
_ZN7bmalloc9Scavenger13threadRunLoopEv (libjavascriptcoregtk-4.0.so.18)
#3 0x00007f01141c6523 execute_native_thread_routine
(libstdc++.so.6)
#4 0x00007f011fa15594 start_thread (libpthread.so.0)
#5 0x00007f011f7490df __clone (libc.so.6)
Stack trace of thread 2900:
#0 0x00007f011f73e659 __poll (libc.so.6)
#1 0x00007f01265b2be6 g_main_context_iterate.isra.21
(libglib-2.0.so.0)
#2 0x00007f01265b2d10 g_main_context_iteration
(libglib-2.0.so.0)
#3 0x00007f01265b2d61 glib_worker_main
(libglib-2.0.so.0)
#4 0x00007f01265daf2a g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f011fa15594 start_thread (libpthread.so.0)
#6 0x00007f011f7490df __clone (libc.so.6)
Stack trace of thread 2909:
#0 0x00007f011f743ae9 syscall (libc.so.6)
#1 0x00007f01265f95d3 g_cond_wait (libglib-2.0.so.0)
#2 0x00007f012658510b
g_async_queue_pop_intern_unlocked (libglib-2.0.so.0)
#3 0x00007f01265db907 g_thread_pool_thread_proxy
(libglib-2.0.so.0)
#4 0x00007f01265daf2a g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f011fa15594 start_thread (libpthread.so.0)
#6 0x00007f011f7490df __clone (libc.so.6)
Stack trace of thread 2901:
#0 0x00007f011f73e659 __poll (libc.so.6)
#1 0x00007f01265b2be6 g_main_context_iterate.isra.21
(libglib-2.0.so.0)
#2 0x00007f01265b2fa2 g_main_loop_run
(libglib-2.0.so.0)
#3 0x00007f0125d536ba gdbus_shared_thread_func
(libgio-2.0.so.0)
#4 0x00007f01265daf2a g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f011fa15594 start_thread (libpthread.so.0)
#6 0x00007f011f7490df __clone (libc.so.6)
Stack trace of thread 2910:
#0 0x00007f011f743ae9 syscall (libc.so.6)
#1 0x00007f01265f95d3 g_cond_wait (libglib-2.0.so.0)
#2 0x00007f012658510b
g_async_queue_pop_intern_unlocked (libglib-2.0.so.0)
#3 0x00007f01265db907 g_thread_pool_thread_proxy
(libglib-2.0.so.0)
#4 0x00007f01265daf2a g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f011fa15594 start_thread (libpthread.so.0)
#6 0x00007f011f7490df __clone (libc.so.6)
Stack trace of thread 2903:
#0 0x00007f011f73e659 __poll (libc.so.6)
#1 0x00007f01265b2be6 g_main_context_iterate.isra.21
(libglib-2.0.so.0)
#2 0x00007f01265b2fa2 g_main_loop_run
(libglib-2.0.so.0)
#3 0x00007f0121e23060 _ZN3WTF7RunLoop3runEv
(libjavascriptcoregtk-4.0.so.18)
#4 0x00007f0121dfa17f
_ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE
(libjavascriptcoregtk-4.0.so.18)
#5 0x00007f0121e2112d _ZN3WTFL19wtfThreadEntryPointEPv
(libjavascriptcoregtk-4.0.so.18)
#6 0x00007f011fa15594 start_thread (libpthread.so.0)
#7 0x00007f011f7490df __clone (libc.so.6)
Stack trace of thread 2902:
#0 0x00007f011f73e659 __poll (libc.so.6)
#1 0x00007f01265b2be6 g_main_context_iterate.isra.21
(libglib-2.0.so.0)
#2 0x00007f01265b2d10 g_main_context_iteration
(libglib-2.0.so.0)
#3 0x00007f010c223e4d dconf_gdbus_worker_thread
(libdconfsettings.so)
#4 0x00007f01265daf2a g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f011fa15594 start_thread (libpthread.so.0)
#6 0x00007f011f7490df __clone (libc.so.6)
Stack trace of thread 3185:
#0 0x00007f011f73e659 __poll (libc.so.6)
#1 0x00007f01265b2be6 g_main_context_iterate.isra.21
(libglib-2.0.so.0)
#2 0x00007f01265b2fa2 g_main_loop_run
(libglib-2.0.so.0)
#3 0x00007f0121e23060 _ZN3WTF7RunLoop3runEv
(libjavascriptcoregtk-4.0.so.18)
#4 0x00007f0121dfa17f
_ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE
(libjavascriptcoregtk-4.0.so.18)
#5 0x00007f0121e2112d _ZN3WTFL19wtfThreadEntryPointEPv
(libjavascriptcoregtk-4.0.so.18)
#6 0x00007f011fa15594 start_thread (libpthread.so.0)
#7 0x00007f011f7490df __clone (libc.so.6)
Stack trace of thread 3182:
#0 0x00007f011fa1b52c pthread_cond_wait@@GLIBC_2.3.2
(libpthread.so.0)
#1 0x00007f0089234303 util_queue_thread_func
(nouveau_dri.so)
#2 0x00007f008923401b impl_thrd_routine
(nouveau_dri.so)
#3 0x00007f011fa15594 start_thread (libpthread.so.0)
#4 0x00007f011f7490df __clone (libc.so.6)
Stack trace of thread 3171:
#0 0x00007f011fa1b87a
pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f0121e21cae
_ZN3WTF15ThreadCondition9timedWaitERNS_5MutexENS_8WallTimeE
(libjavascriptcoregtk-4.0.so.18)
#2 0x00007f0121df6423
_ZN3WTF10ParkingLot21parkConditionallyImplEPKvRKNS_12ScopedLambdaIFbvEEERKNS3_IFvvEEERKNS_24TimeWithDynamicClockTypeE
(libjavascriptcoregtk-4.0.so.18)
#3 0x00007f0121de1fca _ZN3WTF5sleepENS_7SecondsE
(libjavascriptcoregtk-4.0.so.18)
#4 0x00007f0122a6754d
_ZN3WTF8FunctionIFvvEE15CallableWrapperIZN6WebKit21MemoryPressureMonitorC4EvEUlvE_E4callEv
(libwebkit2gtk-4.0.so.37)
#5 0x00007f0121dfa17f
_ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE
(libjavascriptcoregtk-4.0.so.18)
#6 0x00007f0121e2112d _ZN3WTFL19wtfThreadEntryPointEPv
(libjavascriptcoregtk-4.0.so.18)
#7 0x00007f011fa15594 start_thread (libpthread.so.0)
#8 0x00007f011f7490df __clone (libc.so.6)
Stack trace of thread 2911:
#0 0x00007f011f743ae9 syscall (libc.so.6)
#1 0x00007f01265f95d3 g_cond_wait (libglib-2.0.so.0)
#2 0x00007f012658510b
g_async_queue_pop_intern_unlocked (libglib-2.0.so.0)
#3 0x00007f01265db907 g_thread_pool_thread_proxy
(libglib-2.0.so.0)
#4 0x00007f01265daf2a g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f011fa15594 start_thread (libpthread.so.0)
#6 0x00007f011f7490df __clone (libc.so.6)
Stack trace of thread 2908:
#0 0x00007f011f743ae9 syscall (libc.so.6)
#1 0x00007f01265f95d3 g_cond_wait (libglib-2.0.so.0)
#2 0x00007f012658510b
g_async_queue_pop_intern_unlocked (libglib-2.0.so.0)
#3 0x00007f01265db907 g_thread_pool_thread_proxy
(libglib-2.0.so.0)
#4 0x00007f01265daf2a g_thread_proxy (libglib-2.0.so.0)
#5 0x00007f011fa15594 start_thread (libpthread.so.0)
#6 0x00007f011f7490df __clone (libc.so.6)
Stack trace of thread 2904:
#0 0x00007f011f73e659 __poll (libc.so.6)
#1 0x00007f01265b2be6 g_main_context_iterate.isra.21
(libglib-2.0.so.0)
#2 0x00007f01265b2fa2 g_main_loop_run
(libglib-2.0.so.0)
#3 0x00007f0121e23060 _ZN3WTF7RunLoop3runEv
(libjavascriptcoregtk-4.0.so.18)
#4 0x00007f0121dfa17f
_ZN3WTF6Thread10entryPointEPNS0_16NewThreadContextE
(libjavascriptcoregtk-4.0.so.18)
#5 0x00007f0121e2112d _ZN3WTFL19wtfThreadEntryPointEPv
(libjavascriptcoregtk-4.0.so.18)
#6 0x00007f011fa15594 start_thread (libpthread.so.0)
#7 0x00007f011f7490df __clone (libc.so.6)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]