Giter VIP home page Giter VIP logo

stk-code's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stk-code's Issues

Darker Tux

Author: auria

See screenshot, Tux is much darker than other karts, why?

Rolloff doesn't work with some sounds

Author: auria

Reported by magned :

Sounds "goo.ogg" and "shoot.ogg" doesn't get any rolloff even though all info is correct in sfx.xml. I can still hear the others firing or hitting a gum even though I'm "miles" away, and rolloff value is 0.2, 0.9 or 9.9 and positional="true".
Other sounds work fine, that's why this is a very intriguing (and annoying) issue. It has persisted for a long time; I can't remember if these sounds have ever worked as intended - I just haven't bothered to tell before, as the old sounds were softer and easier to ignore.

Fog setting lost for skid marks

Author: auria

Reported by MiniBjorn :

In Lighthouse track (for example), go to the hills near the lighthouse, and fill them with bubble gum. Then drive near the sea, the first curve after the big nitro, and look at the bubble gum in the hills. They are near grey, just as the hill, which is the correct look. The fire a swapper, and the nitro tanks that appear are clearly visible. Fire one more, and the bubble gum that come back are visible too, no fog, pure pink.

Swapped items should have the fog flag set if the track has fog.


Item swapping fixed in r7483, but then noticed the skid marks left while
planting the gums ignores fog. And that one is not an one liner.

Remove our modifications to enet

Enet was modified as part of gsoc, but the needed functionality can be achieved even with a standard irrlicht. From irc:
(14:07:01) hilnius: when adress is NULL, you actually still want to call that bind function
(14:07:22) hilnius: when you're a client you define your address as NULL actually
(14:08:06) hilnius: so whithout changing the order, it just does not bind the socket. When you change the order it normally assigns the socket considering we'll be a client (no ports open)
(14:08:39) hiker: Could you just set address->port = 0, address->host = INADDR_ANY?

Chopped Player Names

Author: auria

At this time, if a player types a non-ASCII player name, it will get chopped when saved to ASCII config.xml file.

We already have the needed code to save (wide) Unicode config.xml files, but it is currently disabled because irrlicht 1.7 is unable to read unicode XML (see http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=30712&start=15 )

This irrlicht issue is apparently fixed in irrlicht 1.8, so when we update we should enable back the code to write unicode config files, so that player names are no more chopped

Please cosider supporting OpenGL 2.1

I just tried to build STK from git master based on the instructions on your wiki ( http://supertuxkart.sourceforge.net/Build_STK_on_Linux - which worked fine), however running it fails with my hardware:

    tomreyn@atibox:~/SCM/stk-code/cmake_build/bin$ glxinfo | grep ^OpenGL
    OpenGL vendor string: X.Org R300 Project
    OpenGL renderer string: Gallium 0.4 on ATI RV560
    OpenGL version string: 2.1 Mesa 9.2.1
    OpenGL shading language version string: 1.20
    OpenGL extensions:
    tomreyn@atibox:~/SCM/stk-code/cmake_build/bin$ LANGUAGE=en_US LIBGL_DEBUG=verbose ./supertuxkart
    Irrlicht Engine version 1.8.0
    Linux 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC 2013 x86_64
    [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/tomreyn/.config/supertuxkart/'.
    [info   ] FileManager: Addons files will be stored in '/home/tomreyn/.local/share/supertuxkart/addons/'.
    [info   ] FileManager: Screenshots will be stored in '/home/tomreyn/.cache/supertuxkart/screenshots/'.
    [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/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/'.
    [debug  ] translation: Env var LANGUAGE = 'en_US'.
    [debug  ] translation: Language 'English (United States)'.
    Adding language fallback en
    libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/r300_dri.so
    libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/r300_dri.so
    X Error of failed request:  GLXBadFBConfig
      Major opcode of failed request:  154 (GLX)
      Minor opcode of failed request:  34 ()
      Serial number of failed request:  34
      Current serial number in output stream:  31
    tomreyn@atibox:~/SCM/stk-code/cmake_build/bin$

This may or may not be intended. Some people on your IRC channel suggested I should file this bug since it seemed unlikely to them that OpenGL 2.1 will not be supported.

Gamepad configuration

Author: auria

This bug has been lingering on the Wiki TODO pages, not sure why no ticket was created about it.

It was reported to me that :
The game may not allow you to configure bindings for gamepads other than the first one.

I have no idea if this is still the case, but creating a ticket so we may verify, since I don't recall fixing that

Shader SPHERE_MAP failed to load

As reported on IRC:

(9:35:50 PM) Calinou: [fatal ] shaders: Shader SPHERE_MAP failed to load. Update your drivers, if the issue persists, report a bug to us.
(9:35:53 PM) Calinou: does not start
OpenGL version:
(9:57:16 PM) Calinou: 4.3 here.
(9:57:20 PM) Calinou: NVIDIA 319.32...

Irrlicht Engine version 1.8.0
Linux 3.11.0-15-generic #25-Ubuntu SMP Thu Jan 30 17:22:01 UTC 2014 x86_64
[info ] [FileManager]: Data files will be fetched from: 'data/'
[info ] [FileManager]: User directory is '/home/calinou/.config/supertuxkart/'.
[info ] [FileManager]: Addons files will be stored in '/home/calinou/.local/share/supertuxkart/addons/'.
[info ] [FileManager]: Screenshots will be stored in '/home/calinou/.cache/supertuxkart/screenshots/'.
[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/models/'.
[info ] [FileManager]: Asset 6 will be loaded from 'data/music/'.
[info ] [FileManager]: Asset 7 will be loaded from 'data/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/textures/'.
[info ] [FileManager]: Asset 11 will be loaded from 'data/po/'.
[debug ] translation: Env var LANGUAGE = 'fr_FR:en'.
[debug ] translation: Language 'French (France)'.
Adding language fallback fr
OPENGL VERSION IS 3
[info ] irr_driver: GLSL supported.
[warn ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn ] [IrrDriver Temp Logger]: Level 3: 0(14) : error C7533: global variable gl_Normal is deprecated after version 120
0(15) : error C7533: global variable gl_TextureMatrix is deprecated after version 120
0(15) : error C7533: global variable gl_MultiTexCoord0 is deprecated after version 120
0(16) : error C7533: global variable gl_MultiTexCoord1 is deprecated after version 120
0(17) : error C7533: global variable gl_Vertex is deprecated after version 120
0(18) : error C7533: global variable gl_Color is deprecated after version 120

[warn ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn ] [IrrDriver Temp Logger]: Level 3: 0(8) : error C7533: global variable gl_Vertex is deprecated after version 120
0(9) : error C7533: global variable gl_ProjectionMatrix is deprecated after version 120

[warn ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn ] [IrrDriver Temp Logger]: Level 3: 0(14) : error C7533: global variable gl_Normal is deprecated after version 120
0(15) : error C7533: global variable gl_TextureMatrix is deprecated after version 120
0(15) : error C7533: global variable gl_MultiTexCoord0 is deprecated after version 120
0(16) : error C7533: global variable gl_MultiTexCoord1 is deprecated after version 120
0(17) : error C7533: global variable gl_Vertex is deprecated after version 120
0(18) : error C7533: global variable gl_Color is deprecated after version 120

[warn ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn ] [IrrDriver Temp Logger]: Level 3: 0(14) : error C7533: global variable gl_Normal is deprecated after version 120
0(15) : error C7533: global variable gl_TextureMatrix is deprecated after version 120
0(15) : error C7533: global variable gl_MultiTexCoord0 is deprecated after version 120
0(16) : error C7533: global variable gl_MultiTexCoord1 is deprecated after version 120
0(17) : error C7533: global variable gl_Vertex is deprecated after version 120
0(18) : error C7533: global variable gl_Color is deprecated after version 120

[warn ] [IrrDriver Temp Logger]: Level 3: GLSL shader failed to compile

[warn ] [IrrDriver Temp Logger]: Level 3: 0(14) : error C7533: global variable gl_Normal is deprecated after version 120
0(15) : error C7533: global variable gl_TextureMatrix is deprecated after version 120
0(15) : error C7533: global variable gl_MultiTexCoord0 is deprecated after version 120
0(16) : error C7533: global variable gl_MultiTexCoord1 is deprecated after version 120
0(17) : error C7533: global variable gl_Vertex is deprecated after version 120
0(18) : error C7533: global variable gl_Color is deprecated after version 120

[fatal ] shaders: Shader SPHERE_MAP failed to load. Update your drivers, if the issue persists, report a bug to us.

Refreshing addons list issue

I just tried reloading addons and it didn't work. The XML file was correctly downloaded, but the interface didn't update itself until I restarted stk. I have not confirmed this, but I think the UI is redrawn before the response to the request is received

Independently configure identical gamepads

Author: auria

Answering to original comment by Grumbel :

we acknowledge that in rare cases two players may wish to use
different key bindings even if they use the same gamepad brand. Still, this
is IMHO a rare need and it would complicate the code, clutter the GUI,
etc... So I probably will not go ahead and code this myself, at least in
the near future. Patches would be accepted, though

I'm leaving this open since we received a few (quite rare) feature
requests for this.

Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/15

Crashes related to resolution switch

When you switch resolution in the settings menu and click on either story mode, single-player or multiplayer in the main menu the game will either give a segfault or exit with an error.
The game also crashes when clicking on 'cancel' in the screen that asks you if you want to keep the newly selected resolution.

libcurl.dll on windows affects github use

Atm libcurl.dll from the dependency pack does not support https, and is installed in STK's root directory. If you use git on windows, git will pickup STK's libcurl instead of its own, and as a result https with github does not work.

Show lapline on minimap

Author: auria

Would be nice to have, so you know how close/far you and others are from the lap

Gamepad configuration

Author: auria

This bug has been lingering on the Wiki TODO pages, not sure why no ticket was created about it.

It was reported to me that :
The game may not allow you to configure bindings for gamepads other than the first one.

I have no idea if this is still the case, but creating a ticket so we may verify, since I don't recall fixing that

Crash in TSB

When one kart attacks another one, the latter should lose 1 tire. Seems like at this point game crashes.

Program received signal SIGSEGV, Segmentation fault.
0x00000000008bd6e4 in std::_Rb_tree<std::string, std::pair<std::string const, irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> > >, std::_Select1st<std::pair<std::string const, irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> > > >, std::less<std::string>, std::allocator<std::pair<std::string const, irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> > > > >::size (
    this=0x8) at /usr/include/c++/4.8/bits/stl_tree.h:728
728       { return _M_impl._M_node_count; }
(gdb) bt
#0  0x00000000008bd6e4 in std::_Rb_tree<std::string, std::pair<std::string const, irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> > >, std::_Select1st<std::pair<std::string const, irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> > > >, std::less<std::string>, std::allocator<std::pair<std::string const, irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> > > > >::size (this=0x8) at /usr/include/c++/4.8/bits/stl_tree.h:728
#1  0x00000000008bcf54 in std::map<std::string, irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> >, std::less<std::string>, std::allocator<std::pair<std::string const, irr::core::string<wchar_t, irr::core::irrAllocator<wchar_t> > > > >::size (this=0x8) at /usr/include/c++/4.8/bits/stl_map.h:435
#2  0x00000000008ba3cd in XMLNode::get (this=0x0, attribute=..., 
    value=0x7fffffffd7f0)
    at /home/kroartem/SVN/stk-code/src/io/xml_node.cpp:177
#3  0x00000000008bb41c in XMLNode::get (this=0x0, attribute=..., 
    value=0x7fffffffd85d)
    at /home/kroartem/SVN/stk-code/src/io/xml_node.cpp:387
#4  0x0000000000aaeabe in TrackObjectPresentationMesh::init (this=0xaedb500, 
    xml_node=0x0, parent=0x0, enabled=true)
    at /home/kroartem/SVN/stk-code/src/tracks/track_object_presentation.cpp:253
#5  0x0000000000aae9f1 in TrackObjectPresentationMesh::TrackObjectPresentationMesh (this=0xaedb500, model_file=..., xyz=..., hpr=..., scale=...)
    at /home/kroartem/SVN/stk-code/src/tracks/track_object_presentation.cpp:247
#6  0x0000000000948a0c in ThreeStrikesBattle::update (this=0xa51c2c0, 
---Type <return> to continue, or q <return> to quit---
    dt=0,0130000003)
    at /home/kroartem/SVN/stk-code/src/modes/three_strikes_battle.cpp:343
#7  0x000000000094ea7a in World::updateWorld (this=0xa51c2c0, dt=0,0130000003)
    at /home/kroartem/SVN/stk-code/src/modes/world.cpp:723
#8  0x0000000000932adc in MainLoop::updateRace (this=0x195ee20, 
    dt=0,0130000003) at /home/kroartem/SVN/stk-code/src/main_loop.cpp:108
#9  0x0000000000932be9 in MainLoop::run (this=0x195ee20)
    at /home/kroartem/SVN/stk-code/src/main_loop.cpp:129
#10 0x00000000009307ef in main (argc=1, argv=0x7fffffffde48)
    at /home/kroartem/SVN/stk-code/src/main.cpp:1387

Text glitches

Author: auria

There was a thread like this a while ago, but I closed it because it was too crowded. Now I create a new one with only the issues that remain

  1. text breaking : if one word in a tab is longer than the tab size, it is not split and wrapped. Maybe we can check if there is some Unicode character to indicate places where hyphenation is OK?
  2. my patch to IGUIStaticText to add setRestrainedInside(false) has been added in 1.8, so when we update to irrlicht 1.8 we need to add some calls to this so that the sides of labels are no more clipped to the static text bounds (see screenshots)
  3. Still a few occurrences of black text on dark background

Camera velocity uneven

Author: auria

== Asciimonster ==
I haven't noticed this before RC1, but at top speed the velocity of the kart is very uneven, and it is very annoying. You can also be heard a vibration of the engine pitch. For underpowered machines this effect is larger, in that case you can even see the distance between the kart and the camera vary.

I'm running the win32 version under Windows7.
[[BR]]

== JoergH ==
I think I've fixed the problem with the engine pitch (r6865 on trunk, r6874
on 0.7) - assuming that I've seen the same issue: it happens when you were
driving at max-speed (without any items or nitro), then the engine sound
would suddenly change, come back, go away etc.

I am still trying to find the reason for the problems with the kart and
camera distance, so thanks a lot for the history.dat file.

Cheers,
Joerg

Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/2

Segmentation Fault 0.8.1

Running the compiled 0.8.1 gives a segmentation fault. This was compiled from git repository, master branch.

stk-code master>./cmake_build/bin/supertuxkart --version
Irrlicht Engine version 1.8.0
Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.51-1 i686
[info   ] FileManager: Data files will be fetched from: ''
[info   ] FileManager: User directory is '/home/lean/.config/supertuxkart/'.
[info   ] FileManager: Addons files will be stored in '/home/lean/.local/share/supertuxkart/addons/'.
[info   ] FileManager: Screenshots will be stored in '/home/lean/.cache/supertuxkart/screenshots/'.
[debug  ] translation: Env var LANGUAGE = 'en_PH:en'.
[debug  ] translation: Language 'English'.
[info   ] main: ==============================
[info   ] main: SuperTuxKart, 0.8.1.
[info   ] main: Irrlicht version 1.8.0 (1.8.0)
[info   ] main: ==============================
[error  ] StkConfig: Cannot load title music : main_theme.music
[warn   ] irr_driver: Too old GPU; using the fixed pipeline.
[IrrDriver Temp Logger] Level 3: Could not create archive for: /home/lean/Projects/SuperTuxKart/stk-code/data/textures/
[IrrDriver Temp Logger] Level 3: Could not create archive for: /home/lean/Projects/SuperTuxKart/stk-code/data/textures/
[warn   ] PostProcessing: Only power of two textures are supported.
[error  ] skin: Could not read XML file 'data/gui/skins/Peach.stkskin'.
[error  ] skin: Could not read XML file 'data/gui/skins/Peach.stkskin'.
ERROR, cannot load skin specified in user config. Falling back to defaults.
[error  ] skin: Could not read XML file 'data/gui/skins/Peach.stkskin'.
[error  ] skin: Could not read XML file 'data/gui/skins/Peach.stkskin'.
FATAL, cannot load default GUI skin
[error  ] main: Exception caught : Invalid skin file.
[error  ] main: Aborting SuperTuxKart.
fish: Job 1, โ€œ./cmake_build/bin/supertuxkart --versionโ€ terminated by signal SIGSEGV (Address boundary error)

Things are missing in the data directory, it seems.

White text on white background

Author: auria

The bottom letters ("Wilber eats cake", etc...) in some tracks with snow (SnowTuxPeak) can be hard to read

Test

We are prepating to transfer tickets from sourceforge to github. This is a test

Crash in RibbonWidget

I had a crash in the following lines (I am not exactly sure how it happened - it was in the online screen after I logged out, not sure where I clicked):

void RibbonWidget::unfocused(const int playerID, Widget* new_focus)
{
    if (new_focus != NULL && new_focus != this && !m_active_children.contains(new_focus))
    {
        if (m_selection[playerID] >= 0 && m_selection[playerID] < int(m_children.size()))
        {
            m_active_children.get(m_selection[playerID])->unfocused(playerID, new_focus);
        }
    }

Note that the if test tests m_children (which had 2 elements for me), but used m_active_children (which was empty).

Random crash when you run kart selection screen after finish the race

It occurs only sometimes.

  • finish the race
  • return to main menu
  • try to start new race
(gdb) bt
#0  0x00007ffff5d9af77 in __GI_raise (sig=sig@entry=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff5d9e5e8 in __GI_abort () at abort.c:90
#2  0x00007ffff5d93d43 in __assert_fail_base (
    fmt=0x156a440 "%s%s%s:%u: %s%sWarunek zapewnienia `%s' nie zosta? spe?niony.\n%n", 
    assertion=assertion@entry=0xfbcea8 "KartSelectionScreen::getRunningInstance() ->m_kart_widgets.contains(this)", 
    file=file@entry=0xfbcc78 "/home/Dokumenty/linux/supertuxkart-git/src/states_screens/kart_selection.cpp", line=line@entry=432, 
    function=function@entry=0xfbeca0 <PlayerKartWidget::add()::__PRETTY_FUNCTION__> "virtual void PlayerKartWidget::add()") at assert.c:92
#3  0x00007ffff5d93df2 in __GI___assert_fail (
    assertion=0xfbcea8 "KartSelectionScreen::getRunningInstance() ->m_kart_widgets.contains(this)", 
    file=0xfbcc78 "/home/Dokumenty/linux/supertuxkart-git/src/states_screens/kart_selection.cpp", line=432, 
    function=0xfbeca0 <PlayerKartWidget::add()::__PRETTY_FUNCTION__> "virtual void PlayerKartWidget::add()") at assert.c:101
#4  0x0000000000a1fa52 in PlayerKartWidget::add (this=0x241539b0)
    at /home/Dokumenty/linux/supertuxkart-git/src/states_screens/kart_selection.cpp:431
#5  0x0000000000a22154 in KartSelectionScreen::playerJoin (this=0x1cc89b40, 
---Type <return> to continue, or q <return> to quit---
    device=0x6cc8a80, firstPlayer=true)
    at /home/Dokumenty/linux/supertuxkart-git/src/states_screens/kart_selection.cpp:1145
#6  0x0000000000a21a37 in KartSelectionScreen::init (this=0x1cc89b40)
    at /home/Dokumenty/linux/supertuxkart-git/src/states_screens/kart_selection.cpp:1002
#7  0x00000000008476cb in GUIEngine::AbstractStateManager::pushScreen (
    this=0x6336c10, screen=0x1cc89b40)
    at /home/Dokumenty/linux/supertuxkart-git/src/guiengine/abstract_state_manager.cpp:132
#8  0x0000000000a2aa2f in MainMenuScreen::eventCallback (this=0x1bf5ac70, 
    widget=0x1bf5c250, name=..., playerID=0)
    at /home/Dokumenty/linux/supertuxkart-git/src/states_screens/main_menu_screen.cpp:302
#9  0x000000000085a8db in GUIEngine::EventHandler::sendEventToUser (
    this=0x6bb4310, widget=0x1bf5c250, name=..., playerID=0)
    at /home/Dokumenty/linux/supertuxkart-git/src/guiengine/event_handler.cpp:621
#10 0x000000000085abb7 in GUIEngine::EventHandler::onWidgetActivated (
    this=0x6bb4310, w=0x1bf5c250, playerID=0)
    at /home/Dokumenty/linux/supertuxkart-git/src/guiengine/event_handler.cpp:671
#11 0x0000000000859f95 in GUIEngine::EventHandler::processGUIAction (
---Type <return> to continue, or q <return> to quit---
    this=0x6bb4310, action=PA_MENU_SELECT, deviceID=0, value=32768, 
    type=Input::IT_KEYBOARD, playerID=0)
    at /home/Dokumenty/linux/supertuxkart-git/src/guiengine/event_handler.cpp:323
#12 0x00000000008b42f7 in InputManager::dispatchInput (this=0x6cc7d80, 
    type=Input::IT_KEYBOARD, deviceID=0, button=162, 
    axisDirection=Input::AD_POSITIVE, value=32768)
    at /home/Dokumenty/linux/supertuxkart-git/src/input/input_manager.cpp:685
#13 0x00000000008b47b3 in InputManager::input (this=0x6cc7d80, event=...)
    at /home/Dokumenty/linux/supertuxkart-git/src/input/input_manager.cpp:843
#14 0x0000000000859a9d in GUIEngine::EventHandler::OnEvent (this=0x6bb4310, 
    event=...)
    at /home/Dokumenty/linux/supertuxkart-git/src/guiengine/event_handler.cpp:180
#15 0x0000000000bf122b in irr::CIrrDeviceStub::postEventFromUser (
    this=0x14e7ef0, event=...)
    at /home/Dokumenty/linux/supertuxkart-git/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:217
#16 0x0000000000be8032 in irr::CIrrDeviceLinux::run (this=0x14e7ef0)
    at /home/Dokumenty/linux/supertuxkart-git/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1111
#17 0x00000000007f3121 in IrrDriver::update (this=0x14e7c10, dt=0,0280000009)
    at /home/Dokumenty/linux/supertuxkart-git/src/graphics/irr_driver.cpp:1784
---Type <return> to continue, or q <return> to quit---
#18 0x00000000009385f6 in MainLoop::run (this=0x6bbf680)
    at /home/Dokumenty/linux/supertuxkart-git/src/main_loop.cpp:153
#19 0x00000000009361e1 in main (argc=1, argv=0x7fffffffe438)
    at /home/Dokumenty/linux/supertuxkart-git/src/main.cpp:1387

Make install on linux does not work

If you do a 'make install' on linux, the data files from stk-assets are not installed.

We should either remove the install option (since otherwise cmake needs to know where to find the assets file, which are now outside of stk-code), or fix it.

RG formats are used outside the "are they supported" if

In rtts.cpp, the "are RG formats supported" check is made to run on lower-end hw, because trying to create one without support will fail, causing a fallback to the fixed pipeline.

In current master, RG formats are used outside that if -> bug.

Rolloff doesn't work with some sounds

Author: auria

Reported by magned :

Sounds "goo.ogg" and "shoot.ogg" doesn't get any rolloff even though all info is correct in sfx.xml. I can still hear the others firing or hitting a gum even though I'm "miles" away, and rolloff value is 0.2, 0.9 or 9.9 and positional="true".
Other sounds work fine, that's why this is a very intriguing (and annoying) issue. It has persisted for a long time; I can't remember if these sounds have ever worked as intended - I just haven't bothered to tell before, as the old sounds were softer and easier to ignore.

Possible challenge improvements

Author: auria

  • No challenge makes you play "Snag Drive", this could be a good addition
    (IMO challenges should take you through every single track we have)
  • Challenges of type "collect X nitro points" are greatly eased by
    swappers; you get a triple bubble gum, lay them in a row; then next lap
    you come there with a swapper, turn the 3 bubblegums into 3 big nitros,
    and
    you get plenty of nitro very easily
  • The new head to head race on secret garden may be a little hard given it
    appears early in the set of challenges
  • Need to verify messages to be accurate, for instance it might say "race
    against 4 AIs" but there are only 3 AIs (4 karts total)

Clicking restart freezes game

Author: auria

As reported by CuteAlien on http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=238793#238793
"One bug - after finishing a race (as last...) I run into one bug - clicking "restart" freezed the game. I had played the game with joypad and clicked restart with mouse - maybe that was the problem."

"I played it some more and got the bug with freezing on replay a few more times. I think usually in challenge (and doesn't matter if clicked with mouse or joypad). Not always... maybe when I do that in the last race when there are several races."

Warning for people watching github: email flood due to ticket conversion

Hi,

this is not actually a ticket, but we are using this to reach people watching the SuperTuxKart project on github,njmm

we will be converting all our trac tickets from sourceforge to github.
Since github will send out an email for every new ticket and every
comment, we expect 1000 or more emails to be sent to anyone watching
supertuxkart on github.

We would recommend to stop watching supertuxkart on github for a day or
two to avoid this flood. We will post on our mailing list once the migration is complete

Clicking restart freezes game

Author: auria

As reported by CuteAlien on http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?p=238793#238793
"One bug - after finishing a race (as last...) I run into one bug - clicking "restart" freezed the game. I had played the game with joypad and clicked restart with mouse - maybe that was the problem."

"I played it some more and got the bug with freezing on replay a few more times. I think usually in challenge (and doesn't matter if clicked with mouse or joypad). Not always... maybe when I do that in the last race when there are several races."

19d490a26: Assertion `KartSelectionScreen::getRunningInstance() ->m_kart_widgets.contains(this)' failed

I'm running 19d490a on my ATI Radeon 1650 XT (RV300, OpenGL 2.1) graphics card. Doing the following I can reproduce an assertion failure (and so can KroArtem):

supertuxkart: /home/user1/SCM/stk-code/src/states_screens/kart_selection.cpp:433: virtual void PlayerKartWidget::add(): Assertion `KartSelectionScreen::getRunningInstance() ->m_kart_widgets.contains(this)' failed.

To reproduce:
Start the game - > single player -> select Gnu -> normal race -> hacienda.-> 1 lap -> actually do the race -> back to main menu -> single player -> crash

Back trace:

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `./supertuxkart'.
Program terminated with signal 6, Aborted.
#0  0x00007fde1611df77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56  ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
#0  0x00007fde1611df77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007fde161215e8 in __GI_abort () at abort.c:90
#2  0x00007fde16116d43 in __assert_fail_base (fmt=0xf19bf00 "%s%s%s:%u: %s%sZusicherung >>%s<< nicht erf?llt.\n%n", assertion=assertion@entry=0xfbd640 "KartSelectionScreen::getRunningInstance() ->m_kart_widgets.contains(this)", file=file@entry=0xfbd428 "/home/tomreyn/SCM/stk-code/src/states_screens/kart_selection.cpp", line=line@entry=433, function=function@entry=0xfbf2e0 <PlayerKartWidget::add()::__PRETTY_FUNCTION__> "virtual void PlayerKartWidget::add()") at assert.c:92
#3  0x00007fde16116df2 in __GI___assert_fail (assertion=0xfbd640 "KartSelectionScreen::getRunningInstance() ->m_kart_widgets.contains(this)", file=0xfbd428 "/home/tomreyn/SCM/stk-code/src/states_screens/kart_selection.cpp", line=433, function=0xfbf2e0 <PlayerKartWidget::add()::__PRETTY_FUNCTION__> "virtual void PlayerKartWidget::add()") at assert.c:101
#4  0x0000000000a20ab2 in PlayerKartWidget::add (this=0xcb29c30) at /home/tomreyn/SCM/stk-code/src/states_screens/kart_selection.cpp:432
#5  0x0000000000a231a4 in KartSelectionScreen::playerJoin (this=0x6b4af00, device=0x2bacb80, firstPlayer=true) at /home/tomreyn/SCM/stk-code/src/states_screens/kart_selection.cpp:1145
#6  0x0000000000a22a73 in KartSelectionScreen::init (this=0x6b4af00) at /home/tomreyn/SCM/stk-code/src/states_screens/kart_selection.cpp:1002
#7  0x00000000008487c9 in GUIEngine::AbstractStateManager::pushScreen (this=0x277e6c0, screen=0x6b4af00) at /home/tomreyn/SCM/stk-code/src/guiengine/abstract_state_manager.cpp:132
#8  0x0000000000a2b99b in MainMenuScreen::eventCallback (this=0xad68010, widget=0xad928f0, name=..., playerID=0) at /home/tomreyn/SCM/stk-code/src/states_screens/main_menu_screen.cpp:302
#9  0x000000000085ba01 in GUIEngine::EventHandler::sendEventToUser (this=0x2aac9c0, widget=0xad928f0, name=..., playerID=0) at /home/tomreyn/SCM/stk-code/src/guiengine/event_handler.cpp:621
#10 0x000000000085bc13 in GUIEngine::EventHandler::onWidgetActivated (this=0x2aac9c0, w=0xad944f0, playerID=0) at /home/tomreyn/SCM/stk-code/src/guiengine/event_handler.cpp:661
#11 0x000000000085be9a in GUIEngine::EventHandler::onGUIEvent (this=0x2aac9c0, event=...) at /home/tomreyn/SCM/stk-code/src/guiengine/event_handler.cpp:706
#12 0x000000000085aa81 in GUIEngine::EventHandler::OnEvent (this=0x2aac9c0, event=...) at /home/tomreyn/SCM/stk-code/src/guiengine/event_handler.cpp:147
#13 0x0000000000dbc1c2 in irr::gui::CGUIButton::OnEvent (this=0xaff7e00, event=...) at /home/tomreyn/SCM/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:225
#14 0x0000000000dbc2ed in irr::gui::CGUIButton::OnEvent (this=0xb4f14e0, event=...) at /home/tomreyn/SCM/stk-code/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:215
#15 0x0000000000c70a09 in irr::gui::CGUIEnvironment::postEventFromUser (this=0x2702670, event=...) at /home/tomreyn/SCM/stk-code/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:570
#16 0x0000000000bf2149 in irr::CIrrDeviceStub::postEventFromUser (this=0x2082400, event=...) at /home/tomreyn/SCM/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:220
#17 0x0000000000be9301 in irr::CIrrDeviceLinux::run (this=0x2082400) at /home/tomreyn/SCM/stk-code/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1039
#18 0x00000000007f3203 in IrrDriver::update (this=0x20820a0, dt=0.029000001) at /home/tomreyn/SCM/stk-code/src/graphics/irr_driver.cpp:1775
#19 0x0000000000939712 in MainLoop::run (this=0x2b6d890) at /home/tomreyn/SCM/stk-code/src/main_loop.cpp:153
#20 0x000000000093731b in main (argc=1, argv=0x7fff08f4d1e8) at /home/tomreyn/SCM/stk-code/src/main.cpp:1387

Darker Tux

Author: auria

See screenshot, Tux is much darker than other karts, why?

Stars and tall karts

Author: auria

The stars that appear when a kart is hit should take into account the height of the model; for tall characters like the Gnu, the stars rotate around their torso

3 strikes battle

Author: auria

3 strikes could use with improvements. The most obvious one is probably the replacing of bubble gum with something more useful; bubble gum is only useful in a racing environment, since it doesn't take any lives from you it's not too useful in 3 strikes. Some kind of mine instead could be useful. The same could be said of plungers and portable zippers (if we still get any of them in 3 strikes, don't remember)

Another idea : nitro is not too useful there, so maybe nitro could be changed to instead give some kind of shield

Arthur_D: sometimes, one the grassy 3 Strikes level, we could be rescued and put inside one of the monoliths

Arthur_D: sometimes, one the grassy 3 Strikes level, we could be rescued and put inside one of the monoliths

Arthur_D: also, it is possible to own the other person several times in a row if you have several cakes, since there is no "invincibility period" after a shot

Arthur_D: also, it is a bit hard when driving on the track with all the
hills because rescue makes you lose a life
Arthur_D: so you can actually lose all by yourself

So seems like we need some facilty so that rescue only makes you lose a life if you fell of into water or something, not if you just fall off a hill

Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/21

Crash when changing controls

STK crashes (segmentation fault) when trying to change the keybindings in the controls.

When selecting an action to remap, the needed dialog (PressAKeyDialog) isn't shown and soon after the game crashes.

Crash when you start Lighthouse twice

  • run lighthouse
  • exit to main menu
  • run lighthouse second time

This may be bug in the track because I didn't notice it in other tracks.

Really can't I attach here text files?

(gdb) bt full
#0  0x00000000007cbbe0 in irr::core::string<char, irr::core::irrAllocator<char> >::operator= (this=0x7fffffffcde0, other=...)
    at /home/Dokumenty/linux/supertuxkart-git/lib/irrlicht/include/irrString.h:326
        i = 0
        p = 0xc27cf9aa42470773 <Address 0xc27cf9aa42470773 out of bounds>
#1  0x00000000007cbaf9 in irr::core::string<char, irr::core::irrAllocator<char> >::string (this=0x7fffffffcde0, other=...)
    at /home/Dokumenty/linux/supertuxkart-git/lib/irrlicht/include/irrString.h:92
No locals.
#2  0x00000000008075c2 in irr::io::SNamedPath::operator irr::core::string<char, irr::core::irrAllocator<char> > (this=0x5cb0758)
    at /home/Dokumenty/linux/supertuxkart-git/lib/irrlicht/include/path.h:62
No locals.
#3  0x0000000000808509 in MaterialManager::getMaterialFor (this=0x7eede00, 
    t=0x5cb0750, mb=0x24dcd850)
    at /home/Dokumenty/linux/supertuxkart-git/src/graphics/material_manager.cpp:69
        __PRETTY_FUNCTION__ = "Material* MaterialManager::getMaterialFor(irr::video::ITexture*, irr::scene::IMeshBuffer*)"
        image = {static npos = <optimized out>, 
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<cha---Type <return> to continue, or q <return> to quit---
r>> = {<No data fields>}, <No data fields>}, _M_p = 0x0}}
#4  0x0000000000808694 in MaterialManager::setAllMaterialFlags (
    this=0x7eede00, t=0x5cb0750, mb=0x24dcd850)
    at /home/Dokumenty/linux/supertuxkart-git/src/graphics/material_manager.cpp:91
        mat = 0x7858c2
     <irr::core::irrAllocator<char>::internal_delete(void*)+28>
#5  0x00000000007ef312 in IrrDriver::setAllMaterialFlags (this=0x14e7c00, 
    mesh=0x24dcc580)
    at /home/Dokumenty/linux/supertuxkart-git/src/graphics/irr_driver.cpp:842
        t = 0x5cb0750
        j = 0
        mb = 0x24dcd850
        irr_material = @0x24dcd920: {TextureLayer = {{Texture = 0x5cb0750, 
              TextureWrapU = 0 '\000', TextureWrapV = 0 '\000', 
              BilinearFilter = true, TrilinearFilter = false, 
              AnisotropicFilter = 16 '\020', LODBias = 0 '\000', 
              MatrixAllocator = {
                _vptr.irrAllocator = 0xe81c50 <vtable for irr::core::irrAllocator<irr::core::CMatrix4<float> >+16>}, TextureMatrix = 0x0}, {
              Texture = 0x24ce0050, TextureWrapU = 0 '\000', 
              TextureWrapV = 0 '\000', BilinearFilter = true, 
              TrilinearFilter = false, AnisotropicFilter = 16 '\020', 
---Type <return> to continue, or q <return> to quit---
              LODBias = 0 '\000', MatrixAllocator = {
                _vptr.irrAllocator = 0xe81c50 <vtable for irr::core::irrAllocator<irr::core::CMatrix4<float> >+16>}, TextureMatrix = 0x0}, {
              Texture = 0x248a6060, TextureWrapU = 0 '\000', 
              TextureWrapV = 0 '\000', BilinearFilter = true, 
              TrilinearFilter = false, AnisotropicFilter = 16 '\020', 
              LODBias = 0 '\000', MatrixAllocator = {
                _vptr.irrAllocator = 0xe81c50 <vtable for irr::core::irrAllocator<irr::core::CMatrix4<float> >+16>}, TextureMatrix = 0x0}, {Texture = 0x0, 
              TextureWrapU = 0 '\000', TextureWrapV = 0 '\000', 
              BilinearFilter = true, TrilinearFilter = false, 
              AnisotropicFilter = 16 '\020', LODBias = 0 '\000', 
              MatrixAllocator = {
                _vptr.irrAllocator = 0xe81c50 <vtable for irr::core::irrAllocator<irr::core::CMatrix4<float> >+16>}, TextureMatrix = 0x0}, {Texture = 0x0, 
              TextureWrapU = 0 '\000', TextureWrapV = 0 '\000', 
              BilinearFilter = true, TrilinearFilter = false, 
              AnisotropicFilter = 16 '\020', LODBias = 0 '\000', 
              MatrixAllocator = {
                _vptr.irrAllocator = 0xe81c50 <vtable for irr::core::irrAllocator<irr::core::CMatrix4<float> >+16>}, TextureMatrix = 0x0}, {Texture = 0x0, 
              TextureWrapU = 0 '\000', TextureWrapV = 0 '\000', 
              BilinearFilter = true, TrilinearFilter = false, 
---Type <return> to continue, or q <return> to quit---
              AnisotropicFilter = 16 '\020', LODBias = 0 '\000', 
              MatrixAllocator = {
                _vptr.irrAllocator = 0xe81c50 <vtable for irr::core::irrAllocator<irr::core::CMatrix4<float> >+16>}, TextureMatrix = 0x0}, {Texture = 0x0, 
              TextureWrapU = 0 '\000', TextureWrapV = 0 '\000', 
              BilinearFilter = true, TrilinearFilter = false, 
              AnisotropicFilter = 16 '\020', LODBias = 0 '\000', 
              MatrixAllocator = {
                _vptr.irrAllocator = 0xe81c50 <vtable for irr::core::irrAllocator<irr::core::CMatrix4<float> >+16>}, TextureMatrix = 0x0}, {Texture = 0x0, 
              TextureWrapU = 0 '\000', TextureWrapV = 0 '\000', 
              BilinearFilter = true, TrilinearFilter = false, 
              AnisotropicFilter = 16 '\020', LODBias = 0 '\000', 
              MatrixAllocator = {
                _vptr.irrAllocator = 0xe81c50 <vtable for irr::core::irrAllocator<irr::core::CMatrix4<float> >+16>}, TextureMatrix = 0x0}}, MaterialType = 28, 
          AmbientColor = {color = 4294967295}, DiffuseColor = {
            color = 4294967295}, EmissiveColor = {color = 0}, SpecularColor = {
            color = 4294967295}, Shininess = 0, 
          MaterialTypeParam = 1,77222217e-41, MaterialTypeParam2 = 0, 
          Thickness = 1, ZBuffer = 1 '\001', AntiAliasing = 1 '\001', 
          ColorMask = 15 '\017', ColorMaterial = 5 '\005', 
          BlendOperation = irr::video::EBO_NONE, 
---Type <return> to continue, or q <return> to quit---
          PolygonOffsetFactor = 0 '\000', 
          PolygonOffsetDirection = irr::video::EPO_FRONT, Wireframe = false, 
          PointCloud = false, GouraudShading = true, Lighting = true, 
          ZWriteEnable = false, BackfaceCulling = true, 
          FrontfaceCulling = false, FogEnable = true, 
          NormalizeNormals = false, UseMipMaps = true}
        i = 0
        n = 1
#6  0x00000000007ef177 in IrrDriver::getAnimatedMesh (this=0x14e7c00, 
    filename=...)
    at /home/Dokumenty/linux/supertuxkart-git/src/graphics/irr_driver.cpp:805
        m = 0x24dcc580
#7  0x00000000007ef209 in IrrDriver::getMesh (this=0x14e7c00, filename=...)
    at /home/Dokumenty/linux/supertuxkart-git/src/graphics/irr_driver.cpp:817
        am = 0x1
#8  0x0000000000a9e5a8 in Track::createWater (this=0x6cc7b40, node=...)
    at /home/Dokumenty/linux/supertuxkart-git/src/tracks/track.cpp:1310
        model_name = {static npos = <optimized out>, 
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0x5d7b378 "seaAnimation.b3d"}}
        full_path = {static npos = <optimized out>, 
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<cha---Type <return> to continue, or q <return> to quit---
r>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0x272f91f8 "data/tracks/lighthouse/seaAnimation.b3d"}}
        wave_speed = 0
        time = 0
        scene_node = 0x1
        xyz = {X = -nan(0x7fd090), Y = 4,59163468e-41, Z = 3}
        wave_height = 8,77566632e-17
        debug_name = {static npos = <optimized out>, 
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x24ca5a64 "\377\177"}}
        hpr = {X = 0,100000001, Y = 0, Z = 1,09607226e-38}
        mesh = 0x7fffffffd2e0
        wave_length = 0
#9  0x0000000000aa15a6 in Track::loadObjects (this=0x6cc7b40, root=0x24ca0d70, 
    path=..., lod_loader=..., create_lod_definitions=true, parent=0x0, 
    library_nodes=...)
    at /home/Dokumenty/linux/supertuxkart-git/src/tracks/track.cpp:1791
        node = 0x27fff880
        name = {static npos = <optimized out>, 
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x2814bf08 "water"}}
        i = 26
        start_position_counter = 0
---Type <return> to continue, or q <return> to quit---
        node_count = 64
#10 0x0000000000a9fc78 in Track::loadTrackModel (this=0x6cc7b40, 
    reverse_track=false, mode_id=0)
    at /home/Dokumenty/linux/supertuxkart-git/src/tracks/track.cpp:1542
        __PRETTY_FUNCTION__ = "void Track::loadTrackModel(bool, unsigned int)"
        sidewards_distance = 3
        upwards_distance = 0,100000001
        lod_xml_node = 0x272a2fb0
        library_nodes = {_M_t = {
            _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, XMLNode*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, XMLNode*> > >> = {<No data fields>}, <No data fields>}, 
              _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, 
                _M_left = 0x7fffffffd578, _M_right = 0x7fffffffd578}, 
              _M_node_count = 0}}}
        forwards_distance = 1,5
        path = {static npos = <optimized out>, 
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<cha---Type <return> to continue, or q <return> to quit---
r>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0x24ca0d38 "data/tracks/lighthouse/scene.xml"}}
        main_track_count = 87
        lod_loader = {m_lod_groups = {_M_t = {
              _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<LodModel, std::allocator<LodModel> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::vector<LodModel, std::allocator<LodModel> > > > >> = {<No data fields>}, <No data fields>}, 
                _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x2714f7b0, 
                  _M_left = 0x281e5e50, _M_right = 0x1ec9ea30}, 
                _M_node_count = 4}}}, m_track = 0x6cc7b40}
        world = 0x3100000004
        easter_world = 0x6e0000005b
        root = 0x24ca0d70
        count = 0
        karts_per_row = 2
        default_start = 0x204aebe0
        tmpf = {r = 6,88798451e-40, g = 0, b = 5,62013772e-17, a = 0}
---Type <return> to continue, or q <return> to quit---
#11 0x0000000000952c2c in World::init (this=0x1d4a2480)
    at /home/Dokumenty/linux/supertuxkart-git/src/modes/world.cpp:169
        num_karts = 5
#12 0x000000000095866a in WorldWithRank::init (this=0x1d4a2480)
    at /home/Dokumenty/linux/supertuxkart-git/src/modes/world_with_rank.cpp:30
No locals.
#13 0x000000000094194a in LinearWorld::init (this=0x1d4a2480)
    at /home/Dokumenty/linux/supertuxkart-git/src/modes/linear_world.cpp:56
        __PRETTY_FUNCTION__ = "virtual void LinearWorld::init()"
#14 0x00000000009d14c0 in RaceManager::startNextRace (this=0x6ccd170)
    at /home/Dokumenty/linux/supertuxkart-git/src/race/race_manager.cpp:456
        device = 0x14e7ee0
        __PRETTY_FUNCTION__ = "void RaceManager::startNextRace()"
        protocol = 0x7fffffffda80
#15 0x00000000009d0fb9 in RaceManager::startNew (this=0x6ccd170, 
    from_overworld=false)
    at /home/Dokumenty/linux/supertuxkart-git/src/race/race_manager.cpp:369
        __PRETTY_FUNCTION__ = "void RaceManager::startNew(bool)"
        init_gp_rank = 5
        ai_kart_count = 4
#16 0x00000000009d2705 in RaceManager::startSingleRace (this=0x6ccd170, 
    track_ident=..., num_laps=1, from_overworld=false)
    at /home/Dokumenty/linux/supertuxkart-git/src/race/race_manager.cpp:790
---Type <return> to continue, or q <return> to quit---
No locals.
#17 0x0000000000a07383 in TrackInfoDialog::onEnterPressedInternal (
    this=0x1fbe7b00)
    at /home/Dokumenty/linux/supertuxkart-git/src/states_screens/dialogs/track_info_dialog.cpp:256
        num_laps = 1
        reverse_track = false
        track_ident = {static npos = <optimized out>, 
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7eeeae8 "lighthouse"}}
#18 0x0000000000a07412 in TrackInfoDialog::processEvent (this=0x1fbe7b00, 
    eventSource=...)
    at /home/Dokumenty/linux/supertuxkart-git/src/states_screens/dialogs/track_info_dialog.cpp:265
        __PRETTY_FUNCTION__ = "virtual GUIEngine::EventPropagation TrackInfoDialog::processEvent(const string&)"
#19 0x000000000085ab6c in GUIEngine::EventHandler::onWidgetActivated (
    this=0x6bb6590, w=0x271a1cf0, playerID=0)
    at /home/Dokumenty/linux/supertuxkart-git/src/guiengine/event_handler.cpp:634
        parent = 0x0
        __PRETTY_FUNCTION__ = "GUIEngine::EventPropagation GUIEngine::EventHandler::onWidgetActivated(GUIEngine::Widget*, int)"
---Type <return> to continue, or q <return> to quit---
#20 0x000000000085a169 in GUIEngine::EventHandler::processGUIAction (
    this=0x6bb6590, action=PA_MENU_SELECT, deviceID=0, value=32768, 
    type=Input::IT_KEYBOARD, playerID=0)
    at /home/Dokumenty/linux/supertuxkart-git/src/guiengine/event_handler.cpp:323
        w = 0x271a1cf0
        screen = 0x1d96b700
        pressedDown = true
#21 0x00000000008b4555 in InputManager::dispatchInput (this=0x6ccb9e0, 
    type=Input::IT_KEYBOARD, deviceID=0, button=162, 
    axisDirection=Input::AD_POSITIVE, value=32768)
    at /home/Dokumenty/linux/supertuxkart-git/src/input/input_manager.cpp:685
        playerID = 0
        player = 0x1b84d5a0
        action = PA_MENU_SELECT
        action_found = true
#22 0x00000000008b4a11 in InputManager::input (this=0x6ccb9e0, event=...)
    at /home/Dokumenty/linux/supertuxkart-git/src/input/input_manager.cpp:843
        wasInTextBox = false
        key = 162
#23 0x0000000000859c71 in GUIEngine::EventHandler::OnEvent (this=0x6bb6590, 
    event=...)
    at /home/Dokumenty/linux/supertuxkart-git/src/guiengine/event_handler.cpp:18---Type <return> to continue, or q <return> to quit---
0
        blockPropagation = GUIEngine::EVENT_BLOCK
#24 0x0000000000bf136b in irr::CIrrDeviceStub::postEventFromUser (
    this=0x14e7ee0, event=...)
    at /home/Dokumenty/linux/supertuxkart-git/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:217
        absorbed = false
        inputReceiver = <optimized out>
#25 0x0000000000be8182 in irr::CIrrDeviceLinux::run (this=0x14e7ee0)
    at /home/Dokumenty/linux/supertuxkart-git/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1121
        mp = {X11Key = 65507, Win32Key = 0}
        buf = "\000\000\000\000\000\000\000"
        event = {type = 2, xany = {type = 2, serial = 4611, send_event = 0, 
            display = 0x154c530, window = 46137346}, xkey = {type = 2, 
            serial = 4611, send_event = 0, display = 0x154c530, 
            window = 46137346, root = 158, subwindow = 0, time = 11158847, 
            x = 384, y = 764, x_root = 384, y_root = 764, state = 0, 
            keycode = 37, same_screen = 1}, xbutton = {type = 2, 
            serial = 4611, send_event = 0, display = 0x154c530, 
            window = 46137346, root = 158, subwindow = 0, time = 11158847, 
            x = 384, y = 764, x_root = 384, y_root = 764, state = 0, 
            button = 37, same_screen = 1}, xmotion = {type = 2, serial = 4611, 
---Type <return> to continue, or q <return> to quit---
            send_event = 0, display = 0x154c530, window = 46137346, 
            root = 158, subwindow = 0, time = 11158847, x = 384, y = 764, 
            x_root = 384, y_root = 764, state = 0, is_hint = 37 '%', 
            same_screen = 1}, xcrossing = {type = 2, serial = 4611, 
            send_event = 0, display = 0x154c530, window = 46137346, 
            root = 158, subwindow = 0, time = 11158847, x = 384, y = 764, 
            x_root = 384, y_root = 764, mode = 0, detail = 37, 
            same_screen = 1, focus = 1057210639, state = 1042355768}, 
          xfocus = {type = 2, serial = 4611, send_event = 0, 
            display = 0x154c530, window = 46137346, mode = 158, detail = 0}, 
          xexpose = {type = 2, serial = 4611, send_event = 0, 
            display = 0x154c530, window = 46137346, x = 158, y = 0, width = 0, 
            height = 0, count = 11158847}, xgraphicsexpose = {type = 2, 
            serial = 4611, send_event = 0, display = 0x154c530, 
            drawable = 46137346, x = 158, y = 0, width = 0, height = 0, 
            count = 11158847, major_code = 0, minor_code = 384}, xnoexpose = {
            type = 2, serial = 4611, send_event = 0, display = 0x154c530, 
            drawable = 46137346, major_code = 158, minor_code = 0}, 
          xvisibility = {type = 2, serial = 4611, send_event = 0, 
            display = 0x154c530, window = 46137346, state = 158}, 
          xcreatewindow = {type = 2, serial = 4611, send_event = 0, 
            display = 0x154c530, parent = 46137346, window = 158, x = 0, 
            y = 0, width = 11158847, height = 0, border_width = 384, 
---Type <return> to continue, or q <return> to quit---
            override_redirect = 764}, xdestroywindow = {type = 2, 
            serial = 4611, send_event = 0, display = 0x154c530, 
            event = 46137346, window = 158}, xunmap = {type = 2, 
            serial = 4611, send_event = 0, display = 0x154c530, 
            event = 46137346, window = 158, from_configure = 0}, xmap = {
            type = 2, serial = 4611, send_event = 0, display = 0x154c530, 
            event = 46137346, window = 158, override_redirect = 0}, 
          xmaprequest = {type = 2, serial = 4611, send_event = 0, 
            display = 0x154c530, parent = 46137346, window = 158}, 
          xreparent = {type = 2, serial = 4611, send_event = 0, 
            display = 0x154c530, event = 46137346, window = 158, parent = 0, 
            x = 11158847, y = 0, override_redirect = 384}, xconfigure = {
            type = 2, serial = 4611, send_event = 0, display = 0x154c530, 
            event = 46137346, window = 158, x = 0, y = 0, width = 11158847, 
            height = 0, border_width = 384, above = 3281355014528, 
            override_redirect = 0}, xgravity = {type = 2, serial = 4611, 
            send_event = 0, display = 0x154c530, event = 46137346, 
            window = 158, x = 0, y = 0}, xresizerequest = {type = 2, 
            serial = 4611, send_event = 0, display = 0x154c530, 
            window = 46137346, width = 158, height = 0}, xconfigurerequest = {
            type = 2, serial = 4611, send_event = 0, display = 0x154c530, 
            parent = 46137346, window = 158, x = 0, y = 0, width = 11158847, 
            height = 0, border_width = 384, above = 3281355014528, detail = 0, 
---Type <return> to continue, or q <return> to quit---
            value_mask = 4540685119488262145}, xcirculate = {type = 2, 
            serial = 4611, send_event = 0, display = 0x154c530, 
            event = 46137346, window = 158, place = 0}, xcirculaterequest = {
            type = 2, serial = 4611, send_event = 0, display = 0x154c530, 
            parent = 46137346, window = 158, place = 0}, xproperty = {
            type = 2, serial = 4611, send_event = 0, display = 0x154c530, 
            window = 46137346, atom = 158, time = 0, state = 11158847}, 
          xselectionclear = {type = 2, serial = 4611, send_event = 0, 
            display = 0x154c530, window = 46137346, selection = 158, 
            time = 0}, xselectionrequest = {type = 2, serial = 4611, 
            send_event = 0, display = 0x154c530, owner = 46137346, 
            requestor = 158, selection = 0, target = 11158847, 
            property = 3281355014528, time = 3281355014528}, xselection = {
            type = 2, serial = 4611, send_event = 0, display = 0x154c530, 
            requestor = 46137346, selection = 158, target = 0, 
            property = 11158847, time = 3281355014528}, xcolormap = {type = 2, 
            serial = 4611, send_event = 0, display = 0x154c530, 
            window = 46137346, colormap = 158, c_new = 0, state = 0}, 
          xclient = {type = 2, serial = 4611, send_event = 0, 
            display = 0x154c530, window = 46137346, message_type = 158, 
            format = 0, data = {
              b = "?E\252\000\000\000\000\000\200\001\000\000\374\002\000\000\200\001\000", s = {17727, 170, 0, 0, 384, 0, 764, 0, 384, 0}, l = {11158847, 
---Type <return> to continue, or q <return> to quit---
                3281355014528, 3281355014528, 158913789952, 
                4540685119488262145}}}, xmapping = {type = 2, serial = 4611, 
            send_event = 0, display = 0x154c530, window = 46137346, 
            request = 158, first_keycode = 0, count = 0}, xerror = {type = 2, 
            display = 0x1203, resourceid = 4557642814309007360, 
            serial = 22332720, error_code = 2 '\002', request_code = 0 '\000', 
            minor_code = 192 '\300'}, xkeymap = {type = 2, serial = 4611, 
            send_event = 0, display = 0x154c530, window = 46137346, 
            key_vector = "\236", '\000' <repeats 15 times>, "?E\252\000\000\000\000\000\200\001\000\000\374\002\000"}, xgeneric = {type = 2, serial = 4611, 
            send_event = 0, display = 0x154c530, extension = 46137346, 
            evtype = 0}, xcookie = {type = 2, serial = 4611, send_event = 0, 
            display = 0x154c530, extension = 46137346, evtype = 0, 
            cookie = 158, data = 0x0}, pad = {140733193388034, 4611, 
            4557642814309007360, 22332720, 46137346, 158, 0, 11158847, 
            3281355014528, 3281355014528, 158913789952, 4540685119488262145, 
            4518523248197047864, 3703447105227984743, 4505678869337555891, 
            -3430311630, 4476883935418122238, 4470247626821141747, 
            4520144486502058371, 3705500638599122782, 4557642818603974655, 
            4503599632728996537, -4719772434213272952, -4706526188128693495}}
        irrevent = {EventType = irr::EET_KEY_INPUT_EVENT, {GUIEvent = {
              Caller = 0xa200000000, Element = 0x16f3d01, 
              EventType = 4294967295}, MouseInput = {X = 0, Y = 162, 
---Type <return> to continue, or q <return> to quit---
              Wheel = 4,39411353e-38, Shift = false, Control = false, 
              ButtonStates = 4294967295, Event = 32767}, KeyInput = {
              Char = 0 L'\000', Key = irr::KEY_LCONTROL, PressedDown = true, 
              Shift = false, Control = false}, JoystickEvent = {
              ButtonStates = 0, Axis = {162, 0, 15617, 367, 0, 0, -1, -1, 
                32767, 0, 23040, -4020, 32767, 0, 0, 16384, 0, 0, 0, 0, 1, 0, 
                -8336, 371, 0, 0, 96, 0, 0, 0, 1, 0}, POV = 0, 
              Joystick = 0 '\000'}, LogEvent = {
              Text = 0xa200000000 <Address 0xa200000000 out of bounds>, 
              Level = 24067329}, UserEvent = {UserData1 = 0, UserData2 = 162}}}
#26 0x00000000007f3301 in IrrDriver::update (this=0x14e7c00, dt=0,0280000009)
    at /home/Dokumenty/linux/supertuxkart-git/src/graphics/irr_driver.cpp:1784
        world = 0xbff0000000000000
#27 0x0000000000938736 in MainLoop::run (this=0x7f03f70)
    at /home/Dokumenty/linux/supertuxkart-git/src/main_loop.cpp:153
        dt = 0,0280000009
        device = 0x14e7ee0
#28 0x000000000093643f in main (argc=1, argv=0x7fffffffe438)
    at /home/Dokumenty/linux/supertuxkart-git/src/main.cpp:1389
        s = {static npos = <optimized out>, 
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0x7ffff69493f8 <std::string::_Rep::_S_empty_rep_storage+24> "---Type <return> to continue, or q <return> to quit---
"}}
        materials_file = {static npos = <optimized out>, 
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0x182878b8 "data/models/materials.xml"}}
        important_message = {array = 0x1d0e8c70 L"", allocated = 1, used = 1, 
          allocator = {
            _vptr.irrAllocator = 0xe703d0 <vtable for irr::core::irrAllocator<wchar_t>+16>}}

Annoyingly high motor sounds in multiplayer

Author: auria

magned:

When playing multiplayer, with a few AI karts as well, the engine "roar"... I mean "bee buzzing" gets really loud, and as it's quite continuous and rarely changing - it's really annoying after a while. Sure, we can turn the volume down of SFX, but then most other sounds sound too low in comparison. The wooden bridge SFX as heard in e.g. Snow Peak has the same effect, though not as bad since it's not continuous.

Starting on top of items should not have impact

Author: auria

Reported by magned :

When playing multiplayer in Farm track, I noticed that if you have 6 AI karts or so as well, one of the player karts (the 7th kart) will start on top of a banana peel. This is not good. Same for other items, be it nitro etc. IMO if you start on top of an item nothing should happen, and in best case shouldn't be shown at all before driveaway. How this should be handled is open for discussion, but at the moment it's very annoying for the person starting on a banana.

moving textures not usable everywhere

Author: auria

  1. In Canyon; since the water is marked with the special "water" node type, moving textures don't seem to work there
  2. In Shifting Sands; since the sands have interaction "ghost", moving textures doesn't to work there

Manual size for windowed mode

Author: auria

MiniBjorn :

Being able to pick any X*Y size for windowed mode would be nice, so it can be adjusted to space left by other windows or whatever other preference one wants. It would also allow testing exotic resolutions not know by current system, but avaliable in others, to check how things fit or is they look too squashed.

Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/9

Camera velocity uneven

Author: auria

== Asciimonster ==
I haven't noticed this before RC1, but at top speed the velocity of the kart is very uneven, and it is very annoying. You can also be heard a vibration of the engine pitch. For underpowered machines this effect is larger, in that case you can even see the distance between the kart and the camera vary.

I'm running the win32 version under Windows7.
[[BR]]

== JoergH ==
I think I've fixed the problem with the engine pitch (r6865 on trunk, r6874
on 0.7) - assuming that I've seen the same issue: it happens when you were
driving at max-speed (without any items or nitro), then the engine sound
would suddenly change, come back, go away etc.

I am still trying to find the reason for the problems with the kart and
camera distance, so thanks a lot for the history.dat file.

Cheers,
Joerg

Migrated-From: https://sourceforge.net/apps/trac/supertuxkart/ticket/2

Crash while trying to sign out after the login screen

Some of the output before and backtrace:

[error ] OnlineScreen: Could not get the server list.
[info ] ConnectToServer: Trying to connect to 3166765477:56598
[debug ] STKHost: Raw packet sent to 188.193.1.165:56598
[info ] PingProtocol: Ping message sent
[debug ] STKHost: Raw packet sent to 188.193.1.165:56598
[info ] PingProtocol: Ping message sent
[debug ] STKHost: Raw packet sent to 188.193.1.165:56598
[info ] PingProtocol: Ping message sent
[info ] ConnectToServer: Trying to connect to 3166765477:56598
[LayoutManager] WARNING: statically sized widgets took all the place!!
[debug ] STKHost: Raw packet sent to 188.193.1.165:56598
[info ] PingProtocol: Ping message sent
[info ] HTTPRequest: Sending action=poll&token=e85033cc74df6861094b764a&userid=6 to https://api.stkaddons.net/client-user.php
[debug ] STKHost: Raw packet sent to 188.193.1.165:56598
[info ] PingProtocol: Ping message sent
[info ] ConnectToServer: Trying to connect to 3166765477:56598
[debug ] STKHost: Raw packet sent to 188.193.1.165:56598
[info ] PingProtocol: Ping message sent
[debug ] STKHost: Raw packet sent to 188.193.1.165:56598
[info ] PingProtocol: Ping message sent
[debug ] STKHost: Raw packet sent to 188.193.1.165:56598
[info ] PingProtocol: Ping message sent
[info ] ConnectToServer: Trying to connect to 3166765477:56598
[debug ] STKHost: Raw packet sent to 188.193.1.165:56598
[info ] PingProtocol: Ping message sent
[info ] HTTPRequest: Sending action=poll&token=e85033cc74df6861094b764a&userid=6 to https://api.stkaddons.net/client-user.php
[debug ] STKHost: Raw packet sent to 188.193.1.165:56598
[info ] PingProtocol: Ping message sent
[info ] ConnectToServer: Trying to connect to 3166765477:56598
[debug ] STKHost: Raw packet sent to 188.193.1.165:56598
[info ] PingProtocol: Ping message sent
[debug ] NetworkManager: EVENT received of type 1
[debug ] ProtocolManager: Received event for protocols of type 0
*** glibc detected *** cmake_build/bin/supertuxkart: double free or corruption (fasttop): 0x00007f0748000910 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7eb96)[0x7f0779591b96]
cmake_build/bin/supertuxkart(_ZN15ProtocolManager14propagateEventEP19EventProcessingInfob+0x184)[0x965440]
cmake_build/bin/supertuxkart(_ZN15ProtocolManager18asynchronousUpdateEv+0x89)[0x965755]
cmake_build/bin/supertuxkart(_Z33protocolManagerAsynchronousUpdatePv+0x38)[0x963f75]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x7e9a)[0x7f077b441e9a]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d)[0x7f07796073fd]
======= Memory map: ========
00400000-01222000 r-xp 00000000 08:1a 2135463 /home/magne/SuperTuxKart/supertuxkart-git/stk-code/cmake_build/bin/supertuxkart
01422000-01423000 r--p 00e22000 08:1a 2135463 /home/magne/SuperTuxKart/supertuxkart-git/stk-code/cmake_build/bin/supertuxkart
01423000-01427000 rw-p 00e23000 08:1a 2135463 /home/magne/SuperTuxKart/supertuxkart-git/stk-code/cmake_build/bin/supertuxkart
01427000-01444000 rw-p 00000000 00:00 0
02da8000-33dbd000 rw-p 00000000 00:00 0 [heap]
4110d000-411ab000 rw-p 00000000 00:00 0
41e6c000-41e6e000 r-xs 00000000 00:11 45102445 /tmp/glTvLbeP (deleted)
7f0744000000-7f0744021000 rw-p 00000000 00:00 0
7f0744021000-7f0748000000 ---p 00000000 00:00 0
7f0748000000-7f0748021000 rw-p 00000000 00:00 0
7f0748021000-7f074c000000 ---p 00000000 00:00 0
7f074c000000-7f074c021000 rw-p 00000000 00:00 0
7f074c021000-7f0750000000 ---p 00000000 00:00 0
7f0753fff000-7f0758000000 rw-s 00000000 00:13 45102458 /run/shm/pulse-shm-1451875571
7f0758000000-7f0758040000 rw-p 00000000 00:00 0
7f0758040000-7f075c000000 ---p 00000000 00:00 0
7f075e3fd000-7f075e3fe000 ---p 00000000 00:00 0
7f075e3fe000-7f075ebfe000 rw-p 00000000 00:00 0
7f075ebfe000-7f075ebff000 ---p 00000000 00:00 0
7f075ebff000-7f075f3ff000 rw-p 00000000 00:00 0
7f075f7ff000-7f075f800000 ---p 00000000 00:00 0
7f075f800000-7f0760000000 rw-p 00000000 00:00 0
7f0760000000-7f0760131000 rw-p 00000000 00:00 0
7f0760131000-7f0764000000 ---p 00000000 00:00 0
7f0764291000-7f0764298000 r-xp 00000000 08:05 1566232 /lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f0764298000-7f0764497000 ---p 00007000 08:05 1566232 /lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f0764497000-7f0764498000 r--p 00006000 08:05 1566232 /lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f0764498000-7f0764499000 rw-p 00007000 08:05 1566232 /lib/x86_64-linux-gnu/libnss_dns-2.15.so
7f0764499000-7f076449b000 r-xp 00000000 08:05 1441849 /lib/libnss_mdns4_minimal.so.2
7f076449b000-7f076469a000 ---p 00002000 08:05 1441849 /lib/libnss_mdns4_minimal.so.2
7f076469a000-7f076469b000 r--p 00001000 08:05 1441849 /lib/libnss_mdns4_minimal.so.2
7f076469b000-7f076469c000 rw-p 00002000 08:05 1441849 /lib/libnss_mdns4_minimal.so.2
7f076469c000-7f07646a8000 r-xp 00000000 08:05 1566230 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7f07646a8000-7f07648a7000 ---p 0000c000 08:05 1566230 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7f07648a7000-7f07648a8000 r--p 0000b000 08:05 1566230 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7f07648a8000-7f07648a9000 rw-p 0000c000 08:05 1566230 /lib/x86_64-linux-gnu/libnss_files-2.15.so
7f07648a9000-7f07648aa000 ---p 00000000 00:00 0
7f07648aa000-7f07650aa000 rw-p 00000000 00:00 0
7f07650aa000-7f076535d000 r-xp 00000000 08:05 794730 /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8
7f076535d000-7f076555c000 ---p 002b3000 08:05 794730 /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8
7f076555c000-7f0765578000 r--p 002b2000 08:05 794730 /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8
7f0765578000-7f0765579000 rw-p 002ce000 08:05 794730 /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.8
7f0765579000-7f07655c1000 r-xp 00000000 08:05 794189 /usr/lib/x86_64-linux-gnu/libFLAC.so.8.2.0
7f07655c1000-7f07657c1000 ---p 00048000 08:05 794189 /usr/lib/x86_64-linux-gnu/libFLAC.so.8.2.0
7f07657c1000-7f07657c2000 r--p 00048000 08:05 794189 /usr/lib/x86_64-linux-gnu/libFLAC.so.8.2.0
7f07657c2000-7f07657c3000 rw-p 00049000 08:05 794189 /usr/lib/x86_64-linux-gnu/libFLAC.so.8.2.0
7f07657c3000-7f07657da000 r-xp 00000000 08:05 1566246 /lib/x86_64-linux-gnu/libnsl-2.15.so
7f07657da000-7f07659d9000 ---p 00017000 08:05 1566246 /lib/x86_64-linux-gnu/libnsl-2.15.so
7f07659d9000-7f07659da000 r--p 00016000 08:05 1566246 /lib/x86_64-linux-gnu/libnsl-2.15.so
7f07659da000-7f07659db000 rw-p 00017000 08:05 1566246 /lib/x86_64-linux-gnu/libnsl-2.15.so
7f07659db000-7f07659dd000 rw-p 00000000 00:00 0
7f07659dd000-7f07659e2000 r-xp 00000000 08:05 794265 /usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1
7f07659e2000-7f0765be1000 ---p 00005000 08:05 794265 /usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1
7f0765be1000-7f0765be2000 r--p 00004000 08:05 794265 /usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1
7f0765be2000-7f0765be3000 rw-p 00005000 08:05 794265 /usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1
7f0765be3000-7f0765c43000 r-xp 00000000 08:05 794668 /usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.25
7f0765c43000-7f0765e43000 ---p 00060000 08:05 794668 /usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.25
7f0765e43000-7f0765e45000 r--p 00060000 08:05 794668 /usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.25
7f0765e45000-7f0765e46000 rw-p 00062000 08:05 794668 /usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.25
7f0765e46000-7f0765e4a000 rw-p 00000000 00:00 0
7f0765e4a000-7f0765e52000 r-xp 00000000 08:05 1445841 /lib/x86_64-linux-gnu/libwrap.so.0.7.6
7f0765e52000-7f0766051000 ---p 00008000 08:05 1445841 /lib/x86_64-linux-gnu/libwrap.so.0.7.6
7f0766051000-7f0766052000 r--p 00007000 08:05 1445841 /lib/x86_64-linux-gnu/libwrap.so.0.7.6
7f0766052000-7f0766053000 rw-p 00008000 08:05 1445841 /lib/x86_64-linux-gnu/libwrap.so.0.7.6
7f0766053000-7f0766095000 r-xp 00000000 08:05 1442761 /lib/x86_64-linux-gnu/libdbus-1.so.3.5.8
7f0766095000-7f0766295000 ---p 00042000 08:05 1442761 /lib/x86_64-linux-gnu/libdbus-1.so.3.5.8
7f0766295000-7f0766296000 r--p 00042000 08:05 1442761 /lib/x86_64-linux-gnu/libdbus-1.so.3.5.8
7f0766296000-7f0766297000 rw-p 00043000 08:05 1442761 /lib/x86_64-linux-gnu/libdbus-1.so.3.5.8Avbrutt (SIGABRT) (core dumped)

Rare crash in ParticleEmitter

Author: auria

Magned :

I had a crash when starting a race with revision 7339. Single race, 19 AI, track Lighthouse. I have tried tens of times reproducing this crash, but so far with no success. I created a ticket here just in case we see this or similar later.

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
ParticleEmitter::setParticleType (this=0x121434a0, type=0x252f6b0)
at graphics/particle_emitter.cpp:116
116 std::string debug_name = std::string("particles(") + material->getTexture()->getName().getPath().c_str() + ")";
(gdb) bt
#0 ParticleEmitter::setParticleType (this=0x121434a0, type=0x252f6b0)
at graphics/particle_emitter.cpp:116
#1 0x00000000004d213f in Kart::loadData (this=0x121430e0)
at karts/kart.cpp:1454
#2 0x00000000004d36fb in Kart (this=0x121430e0, ident=...,
position=<value optimized out>, init_transform=<value optimized out>)
at karts/kart.cpp:139
#3 0x00000000004eccbe in World::createKart (this=0x102410d0, kart_ident=...,
index=0, local_player_id=-1, global_player_id=<value optimized out>)
at modes/world.cpp:177
#4 0x00000000004eeb76 in World::init (this=0x102410d0) at modes/world.cpp:141
#5 0x00000000004f0ea1 in WorldWithRank::init (this=0xe3908d8)
at modes/world_with_rank.cpp:25
#6 0x00000000004e595e in LinearWorld::init (this=0xe3908d8)
at modes/linear_world.cpp:52
#7 0x0000000000514ee6 in RaceManager::startNextRace (this=0x14cd5d0)
at race/race_manager.cpp:285
#8 0x0000000000515402 in RaceManager::startNew (this=0x14cd5d0)
at race/race_manager.cpp:228
#9 0x0000000000515878 in RaceManager::startSingleRace (this=0x14cd5d0,
trackIdent=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at race/race_manager.cpp:537
#10 0x00000000005300d5 in TrackInfoDialog::processEvent (
this=<value optimized out>, eventSource=<value optimized out>)
---Type <return> to continue, or q <return> to quit---
at states_screens/dialogs/track_info_dialog.cpp:297
#11 0x0000000000467595 in GUIEngine::EventHandler::onWidgetActivated (
this=<value optimized out>, w=0x1074ecc0, playerID=<value optimized out>)
at guiengine/event_handler.cpp:485
#12 0x00000000004679fd in GUIEngine::EventHandler::onGUIEvent (this=0xdfe850,
event=...) at guiengine/event_handler.cpp:549
#13 0x0000000000467b65 in GUIEngine::EventHandler::OnEvent (this=0xe3908d8,
event=...) at guiengine/event_handler.cpp:53
#14 0x00000000005d4fb7 in irr::gui::CGUIModalScreen::OnEvent(irr::SEvent const&) ()
#15 0x00000000005fbbe4 in irr::gui::CGUIWindow::OnEvent(irr::SEvent const&) ()
#16 0x0000000000724b2a in irr::gui::CGUIButton::OnEvent(irr::SEvent const&) ()
#17 0x00000000005b5ba4 in irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) ()
#18 0x00000000005ac224 in irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) ()
#19 0x00000000005a5083 in irr::CIrrDeviceLinux::run() ()
#20 0x0000000000446c7e in IrrDriver::update (this=0xcf72b0, dt=0.660000026)
at graphics/irr_driver.cpp:848
#21 0x000000000040ebb4 in MainLoop::run (this=0xe0c860) at main_loop.cpp:144
#22 0x000000000040d638 in main (argc=<value optimized out>,
argv=0x7fffffffe2c8) at main.cpp:823

Maybe more useful stack trace:

Program received signal SIGSEGV, Segmentation fault.
ParticleEmitter::setParticleType (this=0xfa64180, type=0x25c10e0)
at graphics/particle_emitter.cpp:145
145 std::string debug_name = std::string("particles(") + tpath.c_str()
+ ")";
(gdb) bt
#0 ParticleEmitter::setParticleType (this=0xfa64180, type=0x25c10e0)
at graphics/particle_emitter.cpp:145
#1 0x00000000004d29fb in Kart::loadData (this=0x129f4b60)
at karts/kart.cpp:1454
#2 0x00000000004d3ffb in Kart (this=0x129f4b60, ident=...,
position=<value optimized out>, init_transform=<value optimized out>)
at karts/kart.cpp:139
#3 0x00000000004ed5be in World::createKart (this=0x1048b820,
kart_ident=...,
index=0, local_player_id=-1, global_player_id=<value optimized out>)
at modes/world.cpp:177
#4 0x00000000004ef476 in World::init (this=0x1048b820) at
modes/world.cpp:141
#5 0x00000000004f17a1 in WorldWithRank::init (this=0xacaf618)
at modes/world_with_rank.cpp:25
#6 0x00000000004e625e in LinearWorld::init (this=0xacaf618)
at modes/linear_world.cpp:52
#7 0x00000000005157e6 in RaceManager::startNextRace (this=0x15d8be0)
at race/race_manager.cpp:285
#8 0x0000000000515d02 in RaceManager::startNew (this=0x15d8be0)
at race/race_manager.cpp:228
#9 0x0000000000516178 in RaceManager::startSingleRace (this=0x15d8be0,
trackIdent=DWARF-2 expression error: DW_OP_reg operations must be used
either alone or in conjuction with DW_OP_piece.
) at race/race_manager.cpp:537
#10 0x0000000000530a95 in TrackInfoDialog::processEvent (
this=<value optimized out>, eventSource=<value optimized out>)
---Type <return> to continue, or q <return> to quit---
at states_screens/dialogs/track_info_dialog.cpp:297
#11 0x0000000000467d95 in GUIEngine::EventHandler::onWidgetActivated (
this=<value optimized out>, w=0xfaebe90, playerID=<value optimized
out>)
at guiengine/event_handler.cpp:485
#12 0x00000000004681fd in GUIEngine::EventHandler::onGUIEvent
(this=0x11bde60,
event=...) at guiengine/event_handler.cpp:549
#13 0x0000000000468365 in GUIEngine::EventHandler::OnEvent
(this=0xacaf618,
event=...) at guiengine/event_handler.cpp:53
#14 0x00000000005d5527 in irr::gui::CGUIModalScreen::OnEvent(irr::SEvent
const&) ()
#15 0x00000000005fc154 in irr::gui::CGUIWindow::OnEvent(irr::SEvent
const&) ()
#16 0x000000000072509a in irr::gui::CGUIButton::OnEvent(irr::SEvent
const&) ()
#17 0x00000000005b6114 in
irr::gui::CGUIEnvironment::postEventFromUser(irr::SEvent const&) ()
#18 0x00000000005ac794 in
irr::CIrrDeviceStub::postEventFromUser(irr::SEvent const&) ()
#19 0x00000000005a55f3 in irr::CIrrDeviceLinux::run() ()
#20 0x000000000044713e in IrrDriver::update (this=0xcf72b0,
dt=0.660000026)
at graphics/irr_driver.cpp:848
#21 0x000000000040f014 in MainLoop::run (this=0xdad940) at
main_loop.cpp:144
#22 0x000000000040d9d8 in main (argc=<value optimized out>,
argv=0x7fffffffe2c8) at main.cpp:972

And yet another time:

Program received signal SIGSEGV, Segmentation fault.
ParticleEmitter::setParticleType (this=0x12574ed0, type=0x1ce9d10)
at graphics/particle_emitter.cpp:140
140 std::string debug_name = std::string("particles(") +
material->getTexture()->getName().getPath().c_str() + ")";
(gdb) bt
#0 ParticleEmitter::setParticleType (this=0x12574ed0, type=0x1ce9d10)
at graphics/particle_emitter.cpp:140
#1 0x00000000004cf926 in Kart::updateGraphics (this=0x12578040,
offset_xyz=<value optimized out>, rotation=<value optimized out>)
at karts/kart.cpp:1567
#2 0x00000000004e3548 in Moveable::update (this=0x12578078,
dt=<value optimized out>) at karts/moveable.cpp:132
#3 0x00000000004d2a17 in Kart::update (this=0x12578040, dt=0.899999976)
at karts/kart.cpp:665
#4 0x00000000004ed037 in World::update (this=0x1068cf50,
dt=<value optimized out>) at modes/world.cpp:572
#5 0x00000000004e7603 in LinearWorld::update (this=0x7ffff6fcbe40,
dt=0.899999976) at modes/linear_world.cpp:174
#6 0x00000000004ecc17 in World::updateWorld (this=0x1068cf50,
dt=0.899999976)
at modes/world.cpp:530
#7 0x000000000040efd1 in MainLoop::run (this=0x14def80) at
main_loop.cpp:134
#8 0x000000000040d9d8 in main (argc=<value optimized out>,
argv=0x7fffffffe2c8) at main.cpp:969

Player options focus

Author: auria

After opening and closing player info dialog, focus is no more where it should be

irr_driver.cpp reports incorrect OpenGL version

This is probably an Irrlicht bug, but as far as I know you use a variant/fork of it, so it may make more sense to file this against STK initially...

As previously mentioned in #20, when I start up STK (including on 19d490a) graphics/irr_driver.cpp reports:

OPENGL VERSION IS 32767

It apparently calculates this value using a signed int and there's an off by one or something.

My actual OpenGL version is 2.1:

$ glxinfo | grep '^OpenGL'
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RV560
OpenGL version string: 2.1 Mesa 9.2.1
OpenGL shading language version string: 1.20
OpenGL extensions:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.