Bug 34859

Summary: telepathy-logger crashed with SIGSEGV in free()
Product: Telepathy Reporter: Omer Akram <om26er>
Component: loggerAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED DUPLICATE QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
See Also: https://launchpad.net/bugs/725512
Whiteboard:
i915 platform: i915 features:

Description Omer Akram 2011-03-01 01:23:57 UTC
telepathy-logger have been crashing alot in Ubuntu. it sometimes crashes on sending a message.

#0  0x00a4c429 in __libc_free (mem=0x728b40) at malloc.c:3724
        ar_ptr = <value optimized out>
        p = 0x728b38
        hook = <value optimized out>
#1  0x00157de6 in g_free (mem=0x728b40) at /build/buildd/glib2.0-2.28.1/./glib/gmem.c:263
No locals.
#2  0x00717aab in add_text_event (store=0x8eee0c0, event=0x8ef94e8, error=0xbff95c1c) at log-store-xml.c:521
        bus_daemon = 0x8ef9458
        account = 0x8f27000
        body = 0x84b0cf "9\307\017\204\376\376\377\377\211\307\351R\377\377\377f\220\215\203F\261\377\377\061\366\211D$\b\215\203j\320\377\377\211D$\004\215\203\232W\377\377\211\004$\350P\202\375\377\203\304,\211\360[^_]\303\061\366\353\262\215\264&"
        timestamp = 0x8f20ba8 ""
        event = 0x8efd4b8 "\254\344\357\b"
        msg_type = <value optimized out>
        ret = 0
        avatar_token = 0x0
        contact_name = 0x0
        contact_id = 0x728b40 "tpl_log_store_sqlite_add_message_counter"
        sender = <value optimized out>
        body_str = <value optimized out>
#3  log_store_xml_add_event (store=0x8eee0c0, event=0x8ef94e8, error=0xbff95c1c) at log-store-xml.c:547
        self = 0x8eee0c0
        __PRETTY_FUNCTION__ = "log_store_xml_add_event"
#4  0x00714c76 in _tpl_log_store_add_event (self=0x8eee0c0, event=0x8ef94e8, error=0xbff95c1c) at log-store.c:162
        __PRETTY_FUNCTION__ = "_tpl_log_store_add_event"
#5  0x0071480d in _tpl_log_manager_add_event (manager=0x8ef3300, event=0x8ef94e8, error=0xbff95cbc) at log-manager.c:360
        loc_error = 0x0
        store = <value optimized out>
        result = <value optimized out>
        priv = <value optimized out>
        l = 0x8efed80
        retval = <value optimized out>
        __PRETTY_FUNCTION__ = "_tpl_log_manager_add_event"
#6  0x007217e7 in on_sent_signal_cb (proxy=0x8f310d0, timestamp=1298719831, type=0, text=0x8f31d00 "\320\277\320\276\321\207\321\202\320\260 \320\261\321\213\320\273\320\260 \320\267\320\260\320\272\321\200\321\213\321\202\320\260 :-(", user_data=0x8f310d0, weak_object=0x0) at text-channel.c:1131
        error = 0x0
        tpl_text = 0x8f310d0
        me = <value optimized out>
        sender = 0x8f1be00
        receiver = 0x8f1be20
        text_log = 0x8ef94e8
        logmanager = 0x8ef3300
        account = 0x728b38
        channel_path = 0x8f2af60 "/org/freedesktop/Telepathy/Connection/haze/icq/_3233036096/ImChannel5"
        log_id = 0x8f32778 "74acc427c68e5e9d29088a59e4f54b5da6155e1d"
        __PRETTY_FUNCTION__ = "on_sent_signal_cb"
#7  0x00ec7f8d in _tp_cli_channel_type_text_invoke_callback_for_sent (tpproxy=0x8f310d0, error=0x0, args=0x8f380a0, generic_callback=0x721580 <on_sent_signal_cb>, user_data=0x8f310d0, weak_object=0x0) at _gen/tp-cli-channel-body.h:13673
        callback = 0x721580 <on_sent_signal_cb>
#8  0x00f6ab07 in tp_proxy_signal_invocation_run (p=0x8f38090) at proxy-signals.c:266
        invocation = 0x8f38090
        popped = 0x8f38090
        __PRETTY_FUNCTION__ = "tp_proxy_signal_invocation_run"
#9  0x0014c451 in g_idle_dispatch (source=0x8f2ae58, callback=0xf6aa70 <tp_proxy_signal_invocation_run>, user_data=0x8f38090) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:4537
No locals.
#10 0x00150c08 in g_main_dispatch (context=0x8ef7bd0) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:2440
        dispatch = 0x14c430 <g_idle_dispatch>
        was_in_call = 0
        user_data = 0x8f38090
        callback = 0xf6aa70 <tp_proxy_signal_invocation_run>
        cb_funcs = 0x1e633c
        cb_data = 0x8f209c0
        current_source_link = {data = 0x8f2ae58, next = 0x0}
        need_destroy = <value optimized out>
        source = 0x8f2ae58
        current = 0x8efe450
        i = <value optimized out>
#11 g_main_context_dispatch (context=0x8ef7bd0) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:3013
No locals.
#12 0x001513d0 in g_main_context_iterate (context=0x8ef7bd0, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:3091
        max_priority = -100
        timeout = 0
        some_ready = 1
        nfds = <value optimized out>
        allocated_nfds = <value optimized out>
        fds = 0x8f26048
#13 0x00151a93 in g_main_loop_run (loop=0x8f25f70) at /build/buildd/glib2.0-2.28.1/./glib/gmain.c:3299
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#14 0x080493ee in main (argc=1, argv=0xbff95fc4) at telepathy-logger.c:189
        dbus_srv = <value optimized out>
        observer = 0x8efc820
        error = 0x0
        __PRETTY_FUNCTION__ = "main"
Comment 1 Nicolas Dufresne 2011-03-01 04:53:08 UTC
Please give more details about your system when reporting bugs, otherwise they are completly useless.

I need at least the logger version you where testing and the type of system you are running on (e.g. 32bit vs 64bit).
Comment 2 Nicolas Dufresne 2011-03-01 04:55:15 UTC

*** This bug has been marked as a duplicate of bug 34860 ***
Comment 3 Omer Akram 2011-03-01 04:59:13 UTC
really sorry. telepathy-logger is 0.2.1 and its a i386 Ubuntu Natty install. here is the launchpad bug https://bugs.launchpad.net/ubuntu/+source/telepathy-logger/+bug/725512

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.