[SyncEvolution] Syncing to Memotoo w SyncEvolution post-Fedora 37 upgrade (fwd)

Max Pyziur pyz at brama.com
Sat Feb 18 10:32:25 UTC 2023


This message also needed to go to the list.

fyi,

Max Pyziur
pyz at brama.com

---------- Forwarded message ----------
Date: Fri, 17 Feb 2023 10:51:05 -0500 (EST)
From: Max Pyziur <pyz at brama.com>
To: Milan Crha <mcrha at redhat.com>
Subject: Re: [SyncEvolution] Syncing to Memotoo w SyncEvolution post-Fedora 37
     upgrade (fwd)

On Thu, 16 Feb 2023, Milan Crha wrote:

> On Wed, 2023-02-15 at 17:05 -0500, Max Pyziur wrote:
> > Core was generated by `/usr/libexec/syncevo-dbus-helper --dbus-
> > verbosity
> > 3'.
> > Program terminated with signal SIGSEGV, Segmentation fault.
> > #0  0x00007f28c1252d70 in ?? () from /lib64/libcurl.so.4
> > [Current thread is 1 (Thread 0x7f28c082c1c0 (LWP 65192))]
> > (gdb)
>
> 	Hi,
> I saw in my tests that it also prints the backtrace, but it did not
> happen for you - or at least it did not print a complete backtrace.
> Maybe I'm wrong (incorrect observation on my side). Anyway, when you
> re-run that:
>
>   $ coredumpctl debug 65192

Done.

> ignore everything down to the place quoted above, then execute in the
> gdb prompt:
>
>   (gdb) bt
>   (gdb) t a a bt

I'm appending the output below.

> to print the current backtrace and then backtraces for each thread.
> 
> It's shown there the crash happens in the /lib64/libcurl.so.4 . I do
> not understand why the debuginfod could not find the debuginfo package
> for it. Maybe you updated the libcurl meanwhile? Even then the
> debuginfo should be available on the servers.
> 
> You can try one thing: if there's still running syncevo-dbus-helper in
> the bakcground, then kill it. After that run it under gdb:
>
>   $ gdb /usr/libexec/syncevo-dbus-helper --ex "r --dbus-verbosity 3"

No syncevo-dbus--helper is running in the background.

> and then wait for the debuginfo download and then reproduce the crash.
> The gdb prompt will stop at that place (similar to the quoted part
> above) and you can run:
>
>   (gdb) bt
>   (gdb) t a a bt
> 
> to get the baktraces from the current session, with the current
> packages and debug infos.
> 
> It can be SyncEvolution passes some odd pointer to the libcurl, or
> there is a bug in the libcurl. It's hard to tell right now.
> 
> By the way, did you fill an ABRT bug already? If so, do you have a link
> to it, please?

No I haven't; how do I do that?

There is some Fedora feature that asks "Do you want to submit a bug report."

I've done that once, but it failed because I didn't have a key.



> 	Bye,
> 	Milan
>

Much thanks,

Max

##############################


Output:
> coredumpctl debug 65192

<deleting output until (gdb) prompt>


(gdb) bt
#0  0x00007f28c1252d70 in  () at /lib64/libcurl.so.4
#1  0x00007f28c12278ed in Curl_fillreadbuffer (data=data at entry=0x562766d4c960,
bytes=<optimized out>, nreadp=nreadp at entry=0x7ffc403dba50) at
../../lib/transfer.c:235
#2  0x00007f28c1229a23 in readwrite_upload (didwhat=<synthetic pointer>,
conn=0x562767f760b0, data=0x562766d4c960) at ../../lib/transfer.c:995
#3  Curl_readwrite (conn=0x562767f760b0, data=0x562766d4c960, done=<optimized
out>, comeback=<optimized out>) at ../../lib/transfer.c:1228
#4  0x00007f28c1210377 in multi_runsingle (multi=multi at entry=0x562767f755a0,
nowp=nowp at entry=0x7ffc403dbbc0, data=data at entry=0x562766d4c960) at
../../lib/multi.c:2406
#5  0x00007f28c1212c1e in curl_multi_perform (multi=0x562767f755a0,
running_handles=0x7ffc403dbcc8) at ../../lib/multi.c:2684
#6  0x00007f28c11e920b in easy_transfer (multi=<optimized out>) at
../../lib/easy.c:662
#7  easy_perform (events=false, data=0x562766d4c960) at ../../lib/easy.c:752
#8  curl_easy_perform (data=0x562766d4c960) at ../../lib/easy.c:771
#9  0x00007f28c1eca155 in SyncEvo::CurlTransportAgent::send(char const*,
unsigned long) (this=0x5627674cdb40, data=<optimized out>, len=7192) at
src/syncevo/CurlTransportAgent.cpp:211
#10 0x00007f28c1f81d58 in SyncEvo::SyncContext::doSync() (this=0x562766c6e280)
at src/syncevo/SyncContext.cpp:4224
#11 0x00007f28c1f7ca68 in SyncEvo::SyncContext::sync(SyncEvo::SyncReport*)
(this=0x562766c6e280, report=0x7ffc403dd278) at src/syncevo/SyncContext.cpp:3396
#12 0x00007f28c1f15b7e in SyncEvo::Cmdline::run()
(this=this at entry=0x7ffc403dd230) at src/syncevo/Cmdline.cpp:1707
#13 0x000056276501d5ee in SyncEvo::CmdlineWrapper::run() (this=0x7ffc403dd230)
at src/dbus/server/cmdline-wrapper.h:68
#14
SyncEvo::SessionHelper::doExecute(std::vector<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > const&, std::map<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::less<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<std::pair<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
> > > const&, std::shared_ptr<GDBusCXX::Result<bool> > const&)
(this=0x562766c6a520, args=<optimized out>, vars=<optimized out>,
result=std::shared_ptr<GDBusCXX::Result<bool>> (use count 1, weak count 0) =
{...}) at src/dbus/server/session-helper.cpp:311
#15 0x000056276501bbcb in std::function<bool ()>::operator()() const
(this=0x562766c6a670) at /usr/include/c++/12/bits/std_function.h:587
#16 SyncEvo::SessionHelper::run() (this=0x562766c6a520) at
src/dbus/server/session-helper.cpp:197
#17 0x0000562765012b13 in main(int, char**, char**) (argc=<optimized out>,
argv=<optimized out>, envp=<optimized out>) at
/usr/include/c++/12/bits/shared_ptr_base.h:1665


(gdb) t a a bt

Thread 8 (Thread 0x7f28b5e776c0 (LWP 65200)):
#0  0x00007f28c172221f in __GI___poll (fds=0x562767ef68d0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f28c1b8e50d in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x562767ef68d0, timeout=<optimized out>, context=0x562767ef0f10) at
../glib/gmain.c:4543
#2  g_main_context_iterate.constprop.0 (context=0x562767ef0f10, block=1,
dispatch=1, self=<optimized out>) at ../glib/gmain.c:4233
#3  0x00007f28c1b3828f in g_main_loop_run (loop=0x7f28a0001370) at
../glib/gmain.c:4438
#4  0x00007f28be1dbfc7 in cal_client_dbus_thread (user_data=0x562767ef0f10) at
/usr/src/debug/evolution-data-server-3.46.3-2.fc37.x86_64/src/calendar/libecal/e-cal-client.c:330
#5  0x00007f28c1b629c2 in g_thread_proxy (data=0x562767ef0180) at
../glib/gthread.c:831
#6  0x00007f28c16ae12d in start_thread (arg=<optimized out>) at
pthread_create.c:442
#7  0x00007f28c172fbc0 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 7 (Thread 0x7f28b6ffd6c0 (LWP 65197)):
#0  0x00007f28c172221f in __GI___poll (fds=0x7f28a808db60, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f28c1b8e50d in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x7f28a808db60, timeout=<optimized out>, context=0x562767e4b210) at
../glib/gmain.c:4543
#2  g_main_context_iterate.constprop.0 (context=0x562767e4b210, block=1,
dispatch=1, self=<optimized out>) at ../glib/gmain.c:4233
#3  0x00007f28c1b3828f in g_main_loop_run (loop=0x562767e4b300) at
../glib/gmain.c:4438
#4  0x00007f28be0ec94f in source_registry_object_manager_thread
(data=0x562767e48cc0) at
/usr/src/debug/evolution-data-server-3.46.3-2.fc37.x86_64/src/libedataserver/e-source-registry.c:1167
#5  0x00007f28c1b629c2 in g_thread_proxy (data=0x7f28ac002360) at
../glib/gthread.c:831
#6  0x00007f28c16ae12d in start_thread (arg=<optimized out>) at
pthread_create.c:442
#7  0x00007f28c172fbc0 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 6 (Thread 0x7f28b77fe6c0 (LWP 65196)):
#0  0x00007f28c172221f in __GI___poll (fds=0x562767e49c10, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f28c1b8e50d in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x562767e49c10, timeout=<optimized out>, context=0x562767e486a0) at
../glib/gmain.c:4543
#2  g_main_context_iterate.constprop.0 (context=0x562767e486a0, block=1,
dispatch=1, self=<optimized out>) at ../glib/gmain.c:4233
#3  0x00007f28c1b35f40 in g_main_context_iteration
(context=context at entry=0x562767e486a0, may_block=may_block at entry=1) at
../glib/gmain.c:4303
#4  0x00007f28bc11938d in dconf_gdbus_worker_thread (user_data=0x562767e486a0)
at ../gdbus/dconf-gdbus-thread.c:82
#5  0x00007f28c1b629c2 in g_thread_proxy (data=0x7f28ac0022a0) at
../glib/gthread.c:831
#6  0x00007f28c16ae12d in start_thread (arg=<optimized out>) at
pthread_create.c:442
#7  0x00007f28c172fbc0 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 5 (Thread 0x7f28b7fff6c0 (LWP 65195)):
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007f28c1b8a4c4 in g_cond_wait_until (cond=<optimized out>,
mutex=0x562766c5cd00, end_time=<optimized out>) at ../glib/gthread-posix.c:1669
#2  0x00007f28c1b08451 in g_async_queue_pop_intern_unlocked
(queue=0x562766c5cd00, wait=1, end_time=30976032192) at
../glib/gasyncqueue.c:428
#3  0x00007f28c1b085e5 in g_async_queue_timeout_pop (queue=0x562766c5cd00,
timeout=<optimized out>) at ../glib/gasyncqueue.c:551
#4  0x00007f28c1b679a5 in g_thread_pool_wait_for_new_pool () at
../glib/gthreadpool.c:183
#5  g_thread_pool_thread_proxy (data=<optimized out>) at
../glib/gthreadpool.c:410
#6  0x00007f28c1b629c2 in g_thread_proxy (data=0x562766c7d460) at
../glib/gthread.c:831
#7  0x00007f28c16ae12d in start_thread (arg=<optimized out>) at
pthread_create.c:442
#8  0x00007f28c172fbc0 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 4 (Thread 0x7f28b66786c0 (LWP 65198)):
#0  0x00007f28c172221f in __GI___poll (fds=0x562767eee740, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f28c1b8e50d in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x562767eee740, timeout=<optimized out>, context=0x562767eee920) at
../glib/gmain.c:4543
#2  g_main_context_iterate.constprop.0 (context=0x562767eee920, block=1,
dispatch=1, self=<optimized out>) at ../glib/gmain.c:4233
#3  0x00007f28c1b3828f in g_main_loop_run (loop=0x7f289c002000) at
../glib/gmain.c:4438
#4  0x00007f28bd7b87f7 in book_client_dbus_thread (user_data=0x562767eee920) at
/usr/src/debug/evolution-data-server-3.46.3-2.fc37.x86_64/src/addressbook/libebook/e-book-client.c:321
#5  0x00007f28c1b629c2 in g_thread_proxy (data=0x562767e52ea0) at
../glib/gthread.c:831
#6  0x00007f28c16ae12d in start_thread (arg=<optimized out>) at
pthread_create.c:442
#7  0x00007f28c172fbc0 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 3 (Thread 0x7f28bc98c6c0 (LWP 65194)):
#0  0x00007f28c172221f in __GI___poll (fds=0x7f28a4005f10, nfds=4, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f28c1b8e50d in g_main_context_poll (priority=<optimized out>,
n_fds=4, fds=0x7f28a4005f10, timeout=<optimized out>, context=0x562766c67dd0) at
../glib/gmain.c:4543
--Type <RET> for more, q to quit, c to continue without paging--
#2  g_main_context_iterate.constprop.0 (context=0x562766c67dd0, block=1,
dispatch=1, self=<optimized out>) at ../glib/gmain.c:4233
#3  0x00007f28c1b3828f in g_main_loop_run (loop=0x562766c67ec0) at
../glib/gmain.c:4438
#4  0x00007f28c1d3888a in gdbus_shared_thread_func (user_data=0x562766c67da0) at
../gio/gdbusprivate.c:284
#5  0x00007f28c1b629c2 in g_thread_proxy (data=0x562766c67120) at
../glib/gthread.c:831
#6  0x00007f28c16ae12d in start_thread (arg=<optimized out>) at
pthread_create.c:442
#7  0x00007f28c172fbc0 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 2 (Thread 0x7f28bd18d6c0 (LWP 65193)):
#0  0x00007f28c172221f in __GI___poll (fds=0x562766c5d4e0, nfds=1, timeout=-1)
at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f28c1b8e50d in g_main_context_poll (priority=<optimized out>,
n_fds=1, fds=0x562766c5d4e0, timeout=<optimized out>, context=0x562766c5ee30) at
../glib/gmain.c:4543
#2  g_main_context_iterate.constprop.0 (context=0x562766c5ee30, block=1,
dispatch=1, self=<optimized out>) at ../glib/gmain.c:4233
#3  0x00007f28c1b35f40 in g_main_context_iteration (context=0x562766c5ee30,
may_block=may_block at entry=1) at ../glib/gmain.c:4303
#4  0x00007f28c1b37bd1 in glib_worker_main (data=<optimized out>) at
../glib/gmain.c:6414
#5  0x00007f28c1b629c2 in g_thread_proxy (data=0x562766c06400) at
../glib/gthread.c:831
#6  0x00007f28c16ae12d in start_thread (arg=<optimized out>) at
pthread_create.c:442
#7  0x00007f28c172fbc0 in clone3 () at
../sysdeps/unix/sysv/linux/x86_64/clone3.S:81

Thread 1 (Thread 0x7f28c082c1c0 (LWP 65192)):
#0  0x00007f28c1252d70 in  () at /lib64/libcurl.so.4
#1  0x00007f28c12278ed in Curl_fillreadbuffer (data=data at entry=0x562766d4c960,
bytes=<optimized out>, nreadp=nreadp at entry=0x7ffc403dba50) at
../../lib/transfer.c:235
#2  0x00007f28c1229a23 in readwrite_upload (didwhat=<synthetic pointer>,
conn=0x562767f760b0, data=0x562766d4c960) at ../../lib/transfer.c:995
#3  Curl_readwrite (conn=0x562767f760b0, data=0x562766d4c960, done=<optimized
out>, comeback=<optimized out>) at ../../lib/transfer.c:1228
#4  0x00007f28c1210377 in multi_runsingle (multi=multi at entry=0x562767f755a0,
nowp=nowp at entry=0x7ffc403dbbc0, data=data at entry=0x562766d4c960) at
../../lib/multi.c:2406
#5  0x00007f28c1212c1e in curl_multi_perform (multi=0x562767f755a0,
running_handles=0x7ffc403dbcc8) at ../../lib/multi.c:2684
#6  0x00007f28c11e920b in easy_transfer (multi=<optimized out>) at
../../lib/easy.c:662
#7  easy_perform (events=false, data=0x562766d4c960) at ../../lib/easy.c:752
#8  curl_easy_perform (data=0x562766d4c960) at ../../lib/easy.c:771
#9  0x00007f28c1eca155 in SyncEvo::CurlTransportAgent::send(char const*,
unsigned long) (this=0x5627674cdb40, data=<optimized out>, len=7192) at
src/syncevo/CurlTransportAgent.cpp:211
#10 0x00007f28c1f81d58 in SyncEvo::SyncContext::doSync() (this=0x562766c6e280)
at src/syncevo/SyncContext.cpp:4224
#11 0x00007f28c1f7ca68 in SyncEvo::SyncContext::sync(SyncEvo::SyncReport*)
(this=0x562766c6e280, report=0x7ffc403dd278) at src/syncevo/SyncContext.cpp:3396
#12 0x00007f28c1f15b7e in SyncEvo::Cmdline::run()
(this=this at entry=0x7ffc403dd230) at src/syncevo/Cmdline.cpp:1707
#13 0x000056276501d5ee in SyncEvo::CmdlineWrapper::run() (this=0x7ffc403dd230)
at src/dbus/server/cmdline-wrapper.h:68
#14
SyncEvo::SessionHelper::doExecute(std::vector<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > > > const&, std::map<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> >,
std::less<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > >,
std::allocator<std::pair<std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const,
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >
> > > const&, std::shared_ptr<GDBusCXX::Result<bool> > const&)
(this=0x562766c6a520, args=<optimized out>, vars=<optimized out>,
result=std::shared_ptr<GDBusCXX::Result<bool>> (use count 1, weak count 0) =
{...}) at src/dbus/server/session-helper.cpp:311
#15 0x000056276501bbcb in std::function<bool ()>::operator()() const
(this=0x562766c6a670) at /usr/include/c++/12/bits/std_function.h:587
#16 SyncEvo::SessionHelper::run() (this=0x562766c6a520) at
src/dbus/server/session-helper.cpp:197
#17 0x0000562765012b13 in main(int, char**, char**) (argc=<optimized out>,
argv=<optimized out>, envp=<optimized out>) at
/usr/include/c++/12/bits/shared_ptr_base.h:1665



End.


More information about the SyncEvolution mailing list