[Bug 36178] New: xml log store sometimes asserts when getting entities

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Apr 12 20:00:13 CEST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=36178

           Summary: xml log store sometimes asserts when getting entities
           Product: Telepathy
           Version: git master
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: logger
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: pochu27 at gmail.com
         QAContact: telepathy-bugs at lists.freedesktop.org


>From time to time I see the logger assert when getting entities. May be because
of concurrent calls. I guess there should be a mutex to access/set
self->priv->basedir


tp-logger-CRITICAL **: log_store_xml_set_basedir: assertion
`self->priv->basedir == NULL' failed
aborting...

tp-logger-CRITICAL **: log_store_xml_set_basedir: assertion
`self->priv->basedir == NULL' failed
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffdb5cd700 (LWP 11439)]
0x00007fffee1a5165 in raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64    ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
    in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00007fffee1a5165 in raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007fffee1a7f70 in abort () at abort.c:92
#2  0x00007fffee52332a in g_logv (log_domain=0x7ffff3265ba0 "tp-logger", 
    log_level=<value optimized out>, 
    format=0x7fffee569f88 "%s: assertion `%s' failed", args1=0x7fffdb5cc9a0)
    at /tmp/buildd/glib2.0-2.28.4/./glib/gmessages.c:557
#3  0x00007fffee5233b3 in g_log (log_domain=<value optimized out>, 
    log_level=<value optimized out>, format=<value optimized out>)
    at /tmp/buildd/glib2.0-2.28.4/./glib/gmessages.c:577
#4  0x00007ffff325627f in log_store_xml_get_basedir (self=0x8d2590)
    at log-store-xml.c:1511
#5  0x00007ffff32563d0 in log_store_xml_get_dir (self=0x8d2590, 
    account=<value optimized out>, target=0x0) at log-store-xml.c:333
#6  0x00007ffff32566a5 in log_store_xml_get_entities (store=0x8d2590, 
    account=0x98f060) at log-store-xml.c:1465
#7  0x00007ffff3253e7d in _tpl_log_manager_get_entities (
    manager=<value optimized out>, account=0x98f060) at log-manager.c:671
#8  0x00007ffff3253f3b in _get_entities_async_thread (simple=0x7fffe0097360, 
    object=<value optimized out>, cancellable=<value optimized out>)
    at log-manager.c:1237
#9  0x00007fffef08e8cc in run_in_thread (job=<value optimized out>, c=0x0, 
    _data=0xafcf40)
    at /tmp/buildd/glib2.0-2.28.4/./gio/gsimpleasyncresult.c:838
#10 0x00007fffef0802a6 in io_job_thread (data=0xa8dbb0, 
    user_data=<value optimized out>)
    at /tmp/buildd/glib2.0-2.28.4/./gio/gioscheduler.c:181
#11 0x00007fffee5443e4 in g_thread_pool_thread_proxy (
    data=<value optimized out>)
    at /tmp/buildd/glib2.0-2.28.4/./glib/gthreadpool.c:319
#12 0x00007fffee541cf6 in g_thread_create_proxy (data=0xa38fc0)
    at /tmp/buildd/glib2.0-2.28.4/./glib/gthread.c:1897
#13 0x00007ffff47198ba in start_thread (arg=<value optimized out>)
    at pthread_create.c:300
#14 0x00007fffee2423cd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()
(gdb)

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list