[Debian-on-mobile-maintainers] Bug#985688: chatty: segfault when syncing history with certain accounts

Vagrant Cascadian vagrant at debian.org
Mon Mar 22 20:46:24 GMT 2021


On 2021-03-22, Guido Günther wrote:
> Could you provide a gdb backtrace with debugging symbols?

Thanks for the quick response.

Hopefully this is what you were looking for (swapped out my client with
USERNAME at EXAMPLE and the connection to a multi-user-chat with
MUC at EXAMPLE):

(gdb) r
Starting program: /usr/bin/chatty
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff1272700 (LWP 3560323)]
[New Thread 0x7ffff0a71700 (LWP 3560324)]
[New Thread 0x7fffebfff700 (LWP 3560325)]
[New Thread 0x7fffeb7fe700 (LWP 3560326)]
[New Thread 0x7fffeaffd700 (LWP 3560327)]
[New Thread 0x7fffea7fc700 (LWP 3560328)]
[New Thread 0x7fffe9ffb700 (LWP 3560329)]

(sm.puri.Chatty:3560301): chatty-folks-WARNING **: 13:38:26.372: Error:
Error calling StartServiceByName for
org.gnome.evolution.dataserver.Sources5: Unit
evolution-source-registry.service not found.
[Thread 0x7fffeaffd700 (LWP 3560327) exited]
[Thread 0x7fffea7fc700 (LWP 3560328) exited]
[New Thread 0x7fffea7fc700 (LWP 3560330)]
[New Thread 0x7fffeaffd700 (LWP 3560331)]
[New Thread 0x7fffbfe85700 (LWP 3560332)]

** (sm.puri.Chatty:3560301): CRITICAL **: 13:38:27.041:
   purple_presence_get_active_status: assertion 'presence != NULL'
   failed

** (sm.puri.Chatty:3560301): CRITICAL **: 13:38:27.041:
   purple_status_is_available: assertion 'status != NULL' failed
[Detaching after fork from child process 3560333]

** (sm.puri.Chatty:3560301): CRITICAL **: 13:38:27.043:
   purple_presence_get_active_status: assertion 'presence != NULL'
   failed

** (sm.puri.Chatty:3560301): CRITICAL **: 13:38:27.047:
   purple_presence_is_online: assertion 'presence != NULL' failed

** (sm.puri.Chatty:3560301): CRITICAL **: 13:38:27.054:
   purple_presence_is_online: assertion 'presence != NULL' failed
[Detaching after fork from child process 3560334]
[Detaching after fork from child process 3560353]

** (sm.puri.Chatty:3560301): CRITICAL **: 13:38:28.063:
   xmlnode_set_attrib_full: assertion 'value != NULL' failed

** (sm.puri.Chatty:3560301): CRITICAL **: 13:38:28.063:
   purple_find_conversation_with_account: assertion 'name != NULL'
   failed

** (sm.puri.Chatty:3560301): CRITICAL **: 13:38:28.063:
   purple_conversation_new: assertion 'name != NULL' failed

Thread 1 "chatty" received signal SIGSEGV, Segmentation fault.
cb_chatty_mam_msg_received (pc=<optimized out>, type=<optimized out>,
id=<optimized out>, from=<optimized out>,
    to=<optimized out>, msg=<optimized out>) at
    ../src/xeps/chatty-xep-0313.c:800
800     ../src/xeps/chatty-xep-0313.c: No such file or directory.
(gdb) bt
#0  cb_chatty_mam_msg_received (pc=<optimized out>, type=<optimized
out>, id=<optimized out>, from=<optimized out>,
    to=<optimized out>, msg=<optimized out>) at
    ../src/xeps/chatty-xep-0313.c:800
#1  0x00007ffff71351b4 in
purple_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER_POINTER
(
    cb=<optimized out>, args=<optimized out>, data=<optimized out>,
    return_val=0x7fffffffdb28)
    at ././libpurple/signals.c:1019
#2  0x00007ffff7133e05 in purple_signal_emit_vargs_return_1
(instance=<optimized out>, signal=0x7fffffffdb28 "",
    signal at entry=0x7ffff70818c2 "jabber-receiving-message",
    args=args at entry=0x7fffffffdb80)
    at ././libpurple/signals.c:563
#3  0x00007ffff7133f6e in purple_signal_emit_return_1
(instance=<optimized out>,
    signal=signal at entry=0x7ffff70818c2 "jabber-receiving-message") at
    ././libpurple/signals.c:506
#4  0x00007ffff706f1f4 in jabber_message_parse (js=0x555555c97ee0,
packet=0x5555556a34b0)
    at ././libpurple/protocols/jabber/message.c:530
#5  0x00007ffff7071794 in jabber_parser_element_end_libxml
(user_data=0x555555c97ee0, element_name=<optimized out>,
    prefix=<optimized out>, namespace=<optimized out>) at
    ././libpurple/protocols/jabber/parser.c:169
#6  0x00007ffff59174d7 in xmlParseEndTag2 (ctxt=0x555555d8e3d0,
prefix=0x0, URI=0x555555d8fe14 "jabber:client",
    nsNr=0, tlen=0, line=<optimized out>) at ../../parser.c:9690
#7  0x00007ffff5921ed9 in xmlParseTryOrFinish
(ctxt=ctxt at entry=0x555555d8e3d0, terminate=terminate at entry=0)
    at ../../parser.c:11568
#8  0x00007ffff5923138 in xmlParseChunk__internal_alias
(ctxt=0x555555d8e3d0,
    chunk=0x7ffff7098b00 <buf> "rplebfa0ca76'><forwarded
    xmlns='urn:xmpp:forward:0'><delay xmlns='urn:xmpp:delay'
    stamp='2021-03-20T17:49:36Z'/><message id='U02X4-93678'
    to='USERNAME at EXAMPLE.COM/SOMECLIENT from='MUC at EXAMPLE.ORG"...,
    size=<optimized out>, terminate=terminate at entry=0) at
    ../../parser.c:12281
#9  0x00007ffff7071c5e in jabber_parser_process (js=0x555555c97ee0,
buf=<optimized out>, len=<optimized out>)
    at ././libpurple/protocols/jabber/parser.c:279
#10 0x00007ffff7060a3a in jabber_recv_cb_ssl (data=0x555555c979f0,
gsc=0x555555d39190, cond=<optimized out>)
    at ././libpurple/protocols/jabber/jabber.c:694
#11 0x000055555556f502 in purple_glib_io_invoke (source=<optimized out>,
condition=<optimized out>,
    data=0x555555699940) at ../src/chatty-manager.c:299
#12 0x00007ffff7c9bd6f in g_main_dispatch (context=0x5555556375d0) at
../../../glib/gmain.c:3325
#13 g_main_context_dispatch (context=0x5555556375d0) at
../../../glib/gmain.c:4043
--Type <RET> for more, q to quit, c to continue without paging--
#14 0x00007ffff7c9c118 in g_main_context_iterate
(context=context at entry=0x5555556375d0, block=block at entry=1,
    dispatch=dispatch at entry=1, self=<optimized out>) at
    ../../../glib/gmain.c:4119
#15 0x00007ffff7c9c1cf in g_main_context_iteration
(context=context at entry=0x5555556375d0, may_block=may_block at entry=1)
    at ../../../glib/gmain.c:4184
#16 0x00007ffff7eb2545 in g_application_run (application=0x555555636100,
argc=-7756, argc at entry=1,
    argv=argv at entry=0x7fffffffe318) at ../../../gio/gapplication.c:2559
#17 0x000055555556c17f in main (argc=1, argv=0x7fffffffe318) at
../src/main.c:28
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-on-mobile-maintainers/attachments/20210322/328ea39b/attachment.sig>


More information about the Debian-on-mobile-maintainers mailing list