supertuxkart / stk-code

The code base of supertuxkart
Other
4.53k stars 1.06k forks source link

SuperTuxKart segfaults after a failed attempt of registering online account #1518

Closed Vdragon closed 9 years ago

Vdragon commented 10 years ago

Reproduce step

  1. failed to register an online account
  2. try to go back to the main menu

    GDB output

gdb ./bin/supertuxkart
GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./bin/supertuxkart...done.
(gdb) run
Starting program: stk-code/cmake_build/bin/supertuxkart 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Irrlicht Engine version 1.8.0
Linux 3.16.0-13-lowlatency #19-Ubuntu SMP PREEMPT Thu Sep 4 23:32:27 UTC 2014 i686
[debug  ] main: Error messages and other text output will be logged to /home/Vdragon/.config/supertuxkart/stdout.log.
[info   ] [FileManager]: Data files will be fetched from: '../data/'
[info   ] [FileManager]: Data files will be fetched from: '../data/../../stk-assets/'
[info   ] [FileManager]: User directory is '/home/Vdragon/.config/supertuxkart/'.
[info   ] [FileManager]: Addons files will be stored in '/home/Vdragon/.local/share/supertuxkart/addons/'.
[info   ] [FileManager]: Screenshots will be stored in '/home/Vdragon/.cache/supertuxkart/screenshots/'.
[info   ] [FileManager]: User-defined grand prix will be stored in '/home/Vdragon/.local/share/supertuxkart/grandprix/'.
[info   ] [FileManager]: Asset 0 will be loaded from '../data/challenges/'.
[info   ] [FileManager]: Asset 1 will be loaded from '../data/fonts/'.
[info   ] [FileManager]: Asset 2 will be loaded from '../data/gfx/'.
[info   ] [FileManager]: Asset 3 will be loaded from '../data/grandprix/'.
[info   ] [FileManager]: Asset 4 will be loaded from '../data/gui/'.
[info   ] [FileManager]: Asset 5 will be loaded from '../data/../../stk-assets/models/'.
[info   ] [FileManager]: Asset 6 will be loaded from '../data/../../stk-assets/music/'.
[info   ] [FileManager]: Asset 7 will be loaded from '../data/../../stk-assets/sfx/'.
[info   ] [FileManager]: Asset 8 will be loaded from '../data/shaders/'.
[info   ] [FileManager]: Asset 9 will be loaded from '../data/skins/'.
[info   ] [FileManager]: Asset 10 will be loaded from '../data/../../stk-assets/textures/'.
[info   ] [FileManager]: Asset 11 will be loaded from '../data/po/'.
Adding language fallback zh
[New Thread 0xb17c8b40 (LWP 32097)]
[New Thread 0xb0fc7b40 (LWP 32098)]
[New Thread 0xb0487b40 (LWP 32099)]
[Thread 0xb0487b40 (LWP 32099) exited]
[New Thread 0xb0487b40 (LWP 32100)]
[New Thread 0xabaffb40 (LWP 32101)]
[New Thread 0xab0ffb40 (LWP 32102)]
[New Thread 0xaa8feb40 (LWP 32103)]
[New Thread 0xaa0fdb40 (LWP 32104)]
[Thread 0xb0fc7b40 (LWP 32098) exited]
[error  ] material: Cannot find texture 'body.jpg'.
[error  ] material: Cannot find texture 'mosteztmiért.jpg'.
[warn   ] AchievementInfo: Achievement check type '' unknown.
[New Thread 0xb0fc7b40 (LWP 32105)]
[New Thread 0x913c9b40 (LWP 32106)]
[New Thread 0x90bc8b40 (LWP 32107)]
/!\ Warning /!\ : alignment  'bottom' is unknown in widget options
/!\ Warning /!\ : widget options of type 0 has no position
[New Thread 0x8f8beb40 (LWP 32108)]
Sep  9 17:20:24 Vubuntu dbus[1391]: [system] Activating service na
Sep  9 17:20:24 Vubuntu dbus[1391]: [system] Activated service 'oround or permissions invalid
[Thread 0x8f8beb40 (LWP 32108) exited]
[error  ] XMLRequest::afterOperation: curl_easy_perform() failed: 
[New Thread 0x8f8beb40 (LWP 32135)]
[Thread 0x8f8beb40 (LWP 32135) exited]
[error  ] XMLRequest::afterOperation: curl_easy_perform() failed: 
Sep  9 17:22:24 Vubuntu dbus[1391]: [system] Activating service na
Sep  9 17:22:24 Vubuntu dbus[1391]: [system] Activated service 'oround or permissions invalid
Sep  9 17:24:24 Vubuntu dbus[1391]: [system] Activating service na
Sep  9 17:24:24 Vubuntu dbus[1391]: [system] Activated service 'oround or permissions invalid
/!\ Warning /!\ : widget options of type 0 has no position

Program received signal SIGSEGV, Segmentation fault.
0x08c11070 in ?? ()
(gdb) bt
#0  0x08c11070 in ?? ()
#1  0x244cb60f in ?? ()
#2  0x89108b0c in ?? ()
#3  0x8b0c244c in ?? ()
#4  0x8b08244c in ?? ()
#5  0x244c8909 in ?? ()
#6  0x4c428b08 in ?? ()
#7  0x9066e0ff in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb) set $pc = *(void **)$esp
(gdb) set $esp = $esp + 4
(gdb) bt
#0  0x08489430 in BaseUserScreen::eventCallback (this=0x10342538, widget=0x1048d1a0, name=..., player_id=0)
    at stk-code/src/states_screens/user_screen.cpp:285
#1  0x082d1758 in GUIEngine::EventHandler::sendEventToUser (this=0x8c26040, widget=widget@entry=0x1048d1a0, name=..., 
    playerID=playerID@entry=0)
    at stk-code/src/guiengine/event_handler.cpp:512
#2  0x082d199f in GUIEngine::EventHandler::onWidgetActivated (this=this@entry=0x8c26040, w=w@entry=0x1048f730, 
    playerID=playerID@entry=0)
    at stk-code/src/guiengine/event_handler.cpp:552
#3  0x082d1c6b in GUIEngine::EventHandler::onGUIEvent (this=this@entry=0x8c26040, event=...)
    at stk-code/src/guiengine/event_handler.cpp:597
#4  0x082d1e7d in GUIEngine::EventHandler::OnEvent (this=0x8c26040, event=...)
    at stk-code/src/guiengine/event_handler.cpp:149
#5  0x0876a023 in irr::gui::CGUIButton::OnEvent (this=0x10569cd0, event=...)
    at stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:225
#6  0x0876a13f in irr::gui::CGUIButton::OnEvent (this=0x107d3a38, event=...)
    at stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:215
#7  0x0865ae1c in irr::gui::CGUIEnvironment::postEventFromUser (this=0x8ab1f60, event=...)
    at stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:570
#8  0x085f3460 in irr::CIrrDeviceStub::postEventFromUser (this=0x89c7388, event=...)
    at stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:220
#9  0x085ec353 in irr::CIrrDeviceLinux::run (this=0x89c7388)
    at stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1242
#10 0x083b4563 in IrrDriver::update (this=0x89c6df0, dt=dt@entry=0.029000001)
    at stk-code/src/graphics/irr_driver.cpp:2011
#11 0x084ce751 in MainLoop::run (this=0x966ca20)
    at stk-code/src/main_loop.cpp:153
#12 0x08232bca in main (argc=1, argv=0xbfffe9c4)
    at stk-code/src/main.cpp:1373

Reporter's environment

OS

Ubuntu 14.04 x86 32-bit

SuperTuxKart

commit 81da7cc2f7f5f3b449af7c7dcd01e1ae2570ca36

Graphics setup

NVIDIA GTS 450 via NVIDIA 331 branch proprietary driver

hiker commented 10 years ago

I can't reproduce this. What exactly do you mean with: "failed to register an online account" ?

What screen did you use - the 'login' one from the main menu, or the players tab under options?

hiker commented 9 years ago

Closing this now due to missing feedback. Please reopen if you still can reproduce this issue.

Thanks! Joerg