Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#4539 closed defect (invalid)

Segmentation fault at lobby login

Reported by: ffm Owned by:
Priority: Should Have Milestone:
Component: Multiplayer lobby Keywords:
Cc: echotangoecho Patch:

Description

When i try to login to the lobby i get a segfault error. I can still play by IP.

OS: arch linux 0ad rev. 19462 gcc (GCC) 6.3.1 20170306 gloox 1.0.19 libc 2.25

output from: gdb pyrogensis run (join lobby in gui)

(gdb) info stack
#0  0x00007ffff36e8dcb in _int_malloc () from /usr/lib/libc.so.6
#1  0x00007ffff36eb06b in calloc () from /usr/lib/libc.so.6
#2  0x00007ffff51f1913 in ?? () from /usr/lib/libgloox.so.16
#3  0x00007ffff51d51b0 in gloox::JID::setJID(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
   from /usr/lib/libgloox.so.16
#4  0x00007ffff5209ccd in gloox::RosterItem::RosterItem(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) () from /usr/lib/libgloox.so.16
#5  0x00007ffff520f804 in gloox::RosterManager::RosterManager(gloox::ClientBase*) () from /usr/lib/libgloox.so.16
#6  0x00007ffff51f2e03 in gloox::Client::init() () from /usr/lib/libgloox.so.16
#7  0x00007ffff51f4d23 in gloox::Client::Client(gloox::JID const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) () from /usr/lib/libgloox.so.16
#8  0x0000000000960fec in glooxwrapper::Client::Client (this=0x267cb20, jid=..., password=..., port=-1)
    at ../../../source/lobby/glooxwrapper/glooxwrapper.cpp:301
#9  0x0000000000954c2b in XmppClient::XmppClient (this=0x267a2c0, sUsername=...,
    sPassword=, sRoom=..., sNick="ffm", historyRequestSize=25, regOpt=false)
    at ../../../source/lobby/XmppClient.cpp:86
#10 0x00000000009554e5 in IXmppClient::create (sUsername="ffm", sPassword=,
    sRoom="arena22", sNick="ffm", historyRequestSize=historyRequestSize@entry=25, regOpt=regOpt@entry=false) at ../../../source/lobby/XmppClient.cpp:57
#11 0x0000000000948097 in JSI_Lobby::StartXmppClient (username=L"ffm", password=,

PW removed ...

Change History (4)

comment:1 by elexis, 7 years ago

Cc: echotangoecho added
Component: UI & SimulationMultiplayer lobby

CC'ing echotangoecho for the unlikely case that he reads this. He definitely had the same issue and uses Arch as well.

comment:2 by leper, 7 years ago

Milestone: Alpha 22Backlog
Priority: Release BlockerShould Have

Is this always reproducible? Tried a clean build (unlikely to change anything, but I can't reproduce this locally)? System updated?

comment:3 by ffm, 7 years ago

Resolution: invalid
Status: newclosed

Deleting all and installing it again fixed it. (was always, system was up to date, workspaces cleaned). Was very likely my mistake, sorry to bother you.

comment:4 by ffm, 7 years ago

Milestone: Backlog
Note: See TracTickets for help on using tickets.