Comment 0 for bug 1837707

Revision history for this message
SwagTron (swag) wrote :

While attempting to make an in-game browser, I enabled the online multiplayer menu in the main menu. When connecting to another server by using the bookmark menu or custom connect menu, the server segfaults

Nelg generated the backtrace from a sty-ct-ap server.
#0 0x0000000000000000 in ?? ()
#1 0x00005555555fbcf7 in tControlledPTR<nNetObject>::AddRef (
    this=0x7fffffffd938) at ./tools/tSafePTR.h:176
#2 0x00005555555f9693 in tControlledPTR<nNetObject>::tControlledPTR (
    this=0x7fffffffd938, x=0x555556049ef0) at ./tools/tSafePTR.h:194
#3 0x000055555574e2c9 in nNetObject::ClearKnows (user=2, clear=true)
    at network/nNetObject.cpp:1815
#4 0x000055555574e31a in ClearKnows (user=2, clear=true)
    at network/nNetObject.cpp:1825
#5 0x000055555574e649 in login_callback () at network/nNetObject.cpp:1893
#6 0x000055555579e555 in tCallback::Exec (anchor=0x555555ace520 <_ZL3nlc>)
    at tools/tCallback.cpp:38
#7 0x000055555579e569 in tCallback::Exec (anchor=0x555555ae4300 <_ZL3nlc>)
    at tools/tCallback.cpp:39
#8 0x0000555555761a63 in nCallbackLoginLogout::UserLoggedOut (u=2)
    at network/nNetwork.cpp:3854
#9 0x00005555557616ba in sn_DisconnectUserNoWarn (i=2, reason=..., redirectTo=
    0x0) at network/nNetwork.cpp:3803
#10 0x00005555557613cc in sn_DisconnectUser (i=2, reason=..., redirectTo=0x0)
    at network/nNetwork.cpp:3739
#11 0x000055555575ba27 in logout_handler (m=...) at network/nNetwork.cpp:2188
#12 0x000055555575707d in nDescriptor::HandleMessage (message=...)
    at network/nNetwork.cpp:618

I added the ret_to_MainMenu() function to my in-game browser to stop the crashing, but still thought I'd report the issue. This crashes all branches 2.8 - 0.4.