source ID not found

Jane Atkinson jane at janeatkinson.co.nz
Mon Feb 3 22:22:31 UTC 2014


On 03/02/14 22:26, Patrick Ohly wrote:
> On Mon, 2014-02-03 at 21:48 +1300, Jane Atkinson wrote:
>> On 03/02/14 21:16, Patrick Ohly wrote:
>>> On Sun, 2014-02-02 at 11:22 +1300, Jane Atkinson wrote:
>>>> Probably not connected with this behaviour, but I regularly see an error
>>>> message:
>>>> [ERROR] GLib: Source ID 9 was not found when attempting to remove it
>>> Where exactly do you see that? Does it appear in any of the log files?
>>>
>>>
>> I run syncevolution from the command line. The error appears in the
>> terminal as the final message just as the program terminates. I can't
>> find it in the html log file. As far as I can tell, it doesn't cause any
>> problems.
> So it could come from either syncevo-dbus-server or from the
> syncevolution command line tool; better run both under gdb, just to be
> sure to catch it.
>
>> It's getting a bit late for me to do testing now; I'll look at it in the
>> morning.
> Sure, no hurry.
>

I've run some tests. I'm not sure if the second and third ones give what
you're looking for - I'm not very familiar with gdb.

----
$G_DEBUG=fatal_criticals gdb ./test-remove
GNU gdb (GDB) 7.6.50.20131218-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./test-remove...done.
(gdb) run
Starting program: /home/ja/Desktop/test-remove
warning: File "/lib/i386-linux-gnu/libglib-2.0.so.0.3903.0-gdb.py"
auto-loading has been declined by your `auto-load safe-path' set to
"$debugdir:$datadir/auto-load".
To enable execution of this file add
    add-auto-load-safe-path
/lib/i386-linux-gnu/libglib-2.0.so.0.3903.0-gdb.py
line to your configuration file "/home/ja/.gdbinit".
To completely disable this security protection add
    set auto-load safe-path /
line to your configuration file "/home/ja/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the
shell:
    info "(gdb)Auto-loading safe path"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
tag: 1
first remove: okay

(process:13707): GLib-CRITICAL **: Source ID 1 was not found when
attempting to remove it

Program received signal SIGTRAP, Trace/breakpoint trap.
0xb7f1115a in g_logv () from /lib/i386-linux-gnu/libglib-2.0.so.0
(gdb) where
#0  0xb7f1115a in g_logv () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb7f11273 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb7f08cbc in g_source_remove () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x0804863c in main (argc=1, argv=0xbffff1f4) at test-remove.c:11
(gdb)

----
running syncevolution from the command line:

(normal sync details removed)
Data modified locally during synchronization:
*** addressbook ***
no changes
*** calendar ***
no changes
*** memo ***
no changes
*** todo ***
no changes

[ERROR] GLib: Source ID 9 was not found when attempting to remove it
[Inferior 1 (process 13791) exited normally]
(gdb)

----
running gdb sync-evo-dbus-server in one terminal and syncevolution from
command line in another:

 G_DEBUG=fatal_criticals gdb "/usr/libexec/syncevo-dbus-server"
GNU gdb (GDB) 7.6.50.20131218-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/libexec/syncevo-dbus-server...done.
(gdb) run
Starting program: /usr/libexec/syncevo-dbus-server
warning: File
"/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3903.0-gdb.py" auto-loading
has been declined by your `auto-load safe-path' set to
"$debugdir:$datadir/auto-load".
To enable execution of this file add
    add-auto-load-safe-path
/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3903.0-gdb.py
line to your configuration file "/home/ja/.gdbinit".
To completely disable this security protection add
    set auto-load safe-path /
line to your configuration file "/home/ja/.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual.  E.g., run from the
shell:
    info "(gdb)Auto-loading safe path"
warning: File "/lib/i386-linux-gnu/libglib-2.0.so.0.3903.0-gdb.py"
auto-loading has been declined by your `auto-load safe-path' set to
"$debugdir:$datadir/auto-load".
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xb6ba8b40 (LWP 13875)]
[New Thread 0xb61ffb40 (LWP 13876)]

Program received signal SIGTRAP, Trace/breakpoint trap.
0xb7b7b15a in g_logv () from /lib/i386-linux-gnu/libglib-2.0.so.0
(gdb) where
#0  0xb7b7b15a in g_logv () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb7b7b273 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb7b72cbc in g_source_remove () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb7de2d99 in SyncEvo::ForkExecParent::~ForkExecParent
(this=0x8213518, __in_chrg=<optimized out>) at
/data/runtests/work/sources/syncevolution/src/syncevo/ForkExec.cpp:125
#4  0xb7decac9 in
boost::detail::sp_counted_impl_p<SyncEvo::ForkExecParent>::dispose() ()
from /usr/lib/libsyncevolution.so.0
#5  0x081055dd in release (this=<optimized out>) at
/usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145
#6  ~shared_count (this=<optimized out>, __in_chrg=<optimized out>) at
/usr/include/boost/smart_ptr/detail/shared_count.hpp:217
#7  ~shared_ptr (this=<optimized out>, __in_chrg=<optimized out>) at
/usr/include/boost/smart_ptr/shared_ptr.hpp:169
#8  SyncEvo::Session::~Session (this=0x8210e00, __in_chrg=<optimized
out>) at
/data/runtests/work/sources/syncevolution/src/dbus/server/session.cpp:754
#9  0x08111178 in checked_delete<SyncEvo::Session> (x=<optimized out>)
at /usr/include/boost/checked_delete.hpp:34
#10 boost::detail::sp_counted_impl_p<SyncEvo::Session>::dispose
(this=0x81e63e0) at
/usr/include/boost/smart_ptr/detail/sp_counted_impl.hpp:78
#11 0x080bf2c8 in release (this=<optimized out>) at
/usr/include/boost/smart_ptr/detail/sp_counted_base_gcc_x86.hpp:145
#12 boost::detail::shared_count::~shared_count (this=0x8215be4,
__in_chrg=<optimized out>) at
/usr/include/boost/smart_ptr/detail/shared_count.hpp:217
#13 0x080d8e0b in
boost::detail::function::functor_manager<boost::_bi::bind_t<void, void
(*)(boost::shared_ptr<SyncEvo::Session> const&),
boost::_bi::list1<boost::_bi::value<boost::shared_ptr<SyncEvo::Session>
> > > >::manage(boost::detail::function::function_buffer const&,
boost::detail::function::function_buffer&,
boost::detail::function::functor_manager_operation_type) ()
#14 0x080d4131 in clear (functor=..., this=<optimized out>) at
/usr/include/boost/function/function_template.hpp:504
#15 boost::function0<void>::clear (this=0x8215bd8) at
/usr/include/boost/function/function_template.hpp:856
#16 0x080dd439 in
boost::detail::function::functor_manager<boost::_bi::bind_t<bool,
boost::_mfi::mf2<bool, SyncEvo::Server,
boost::shared_ptr<SyncEvo::Timeout> const&, boost::function<void ()>
const&>, boost::_bi::list3<boost::_bi::value<SyncEvo::Server*>,
boost::reference_wrapper<boost::shared_ptr<SyncEvo::Timeout> >,
boost::_bi::value<boost::function<void ()> > > >
>::manage(boost::detail::function::function_buffer const&,
boost::detail::function::function_buffer&,
boost::detail::function::functor_manager_operation_type)
    ()
#17 0x080e0826 in SyncEvo::Timeout::triggered(void*) ()
#18 0xb7b74971 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#19 0xb7b73e37 in g_main_context_dispatch () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#20 0xb7b741f8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#21 0xb7b744fb in g_main_loop_run () from
/lib/i386-linux-gnu/libglib-2.0.so.0
#22 0x080c8216 in SyncEvo::Server::run (this=0x81e3898) at
/data/runtests/work/sources/syncevolution/src/dbus/server/server.cpp:534
#23 0x080bdf8a in main (argc=136186288, argv=0xffe798bf,
envp=0xbffff1ec) at
/data/runtests/work/sources/syncevolution/src/dbus/server/main.cpp:223
(gdb)



Regards

Jane Atkinson




More information about the SyncEvolution mailing list