[swift-users] Segfault when joining MUC

Kevin Smith kevin at kismith.co.uk
Tue Aug 30 21:52:35 CEST 2011


Thanks very much - this should hopefully be enough to go on, it looks
like recent is shot. I may not be able to get to it for a couple of
weeks, sorry.

/K


On Tue, Aug 30, 2011 at 8:40 PM, Mazhe <vmazhe at gmail.com> wrote:
> 2011/8/29 Tobias Markmann <tmarkmann at googlemail.com>:
>> Mind telling us which ejabberd server that is? If you don't want to
>> tell, do you at least know the version of ejabberd running there?
>> Are you able to reproduce this crash repeatedly?
>> "I'm using the latest git version." <-- Which version exactly? (You
>> can find out via "git log -n 1")
>
> Of course :
> * ejabberd version is 2.1.8 (it's a home hosted server, it used to
> work until a few weeks ago)
> * swift revision is commit 5dc7d1459b966ba5b848760bc43cbb1242d5da80
> (Sun Aug 28 16:44:32 2011 +0200)
>
> 2011/8/29 Kevin Smith <kevin at kismith.co.uk>:
>> On Mon, Aug 29, 2011 at 8:23 PM, Mazhe <vmazhe at gmail.com> wrote:
>> I don't easily see what this could be other than junk input, could you
>> grab the values of
>>
>> recent
>> chat.jid
>> activity[0]
>> chat.isMUC
>> chat.nick
>>
>> in frame 2, please?
>> [...]
>
> Here are the values :
>
> (gdb) print recent
> $1 = {static npos = 18446744073709551615,
>  _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
> fields>}, _M_p = 0x7fffffffb7f0 "\001����\177"}}
>
> (gdb) print chat.jid
> $2 = {valid_ = true, node_ = {static npos = 18446744073709551615,
>    _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
> fields>}, _M_p = 0x809919558 "dtc"}}, domain_ = {
>    static npos = 18446744073709551615,
>    _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
> fields>},
>      _M_p = 0x80994fb68 "conference.alkumuna.eu"}}, hasResource_ = false,
>  resource_ = {static npos = 18446744073709551615,
>    _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
> fields>}, _M_p = 0x8024226b8 ""}}}
>
> For some reason, I cannot access activity[0] in gdb, here is activity
> however that seems to be empty if I'm not mistaken (so it would
> explain my activity[0] problem)?
> (gdb) print activity
> $1 = {<std::_Vector_base<std::basic_string<char,
> std::char_traits<char>, std::allocator<char>
>>,std::allocator<std::basic_string<char, std::char_traits<char>,
> std::allocator<char> > > >> = {
>    _M_impl = {<std::allocator<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > >> =
> {<__gnu_cxx::new_allocator<std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > >> = {<No data
> fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
>      _M_end_of_storage = 0x0}}, <No data fields>}
>
> (gdb) print chat.isMUC
> $2 = true
>
> (gdb) print chat.nick
> $3 = {static npos = 18446744073709551615,
>  _M_dataplus = {<std::allocator<char>> =
> {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data
> fields>}, _M_p = 0x809916388 "Matthieu"}}
>
> Thanks for spending time on this,
>
> -- Mazhe
> _______________________________________________
> swift-users mailing list
> swift-users at swift.im
> http://swift.im/lists/mailman/listinfo/swift-users
>


More information about the swift-users mailing list