supertuxkart-sourceforge-migration / stk-migration-test

0 stars 0 forks source link

Deleting an addon makes the game crash #823

Closed supertuxkart-sourceforge-migration closed 10 years ago

supertuxkart-sourceforge-migration commented 10 years ago

Author: magned

I tried deleting an addon track I had installed which now is in the game anyway (Green Valley) but when pressing the delete UI button the game crashed with this stacktrace:

[Uninstalling <Green Valley>
[addons](addons])Directory '/home/magne/.local/share/supertuxkart/addons/tracks/green-valley' can not be removed.
[addons]Please remove this directory manually.

Program received signal SIGSEGV, Segmentation fault.
0x000000000088bf89 in GUIEngine::IconButtonWidget::setLabel (this=0x0, 
    new_label=...)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/guiengine/widgets/icon_button_widget.cpp:252
252     if (m_label == NULL) return;
(gdb) thread apply all bt full

Thread 9 (Thread 0x7fffd3fff700 (LWP 13594)):
#0  0x00007ffff5d5608d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
No locals.
#1  0x00007ffff5d83eb4 in usleep (useconds=<optimized out>)
    at ../sysdeps/unix/sysv/linux/usleep.c:33
        ts = {tv_sec = 0, tv_nsec = 2000000}
#2  0x00000000008ac0be in StkTime::sleep (msec=2)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/utils/time.hpp:117
No locals.
#3  0x000000000095458b in protocolManagerAsynchronousUpdate (data=0x1e7222f0)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/network/protocol_manager.cpp:48
        manager = 0x1e7222f0
#4  0x00007ffff7bc4e9a in start_thread (arg=0x7fffd3fff700)
    at pthread_create.c:308
        __res = <optimized out>
        pd = 0x7fffd3fff700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1, 7043610844245352148, 
                140737349740672, 140736750156224, 0, 3, -7043549272080032044, 
                -7043627866762420524}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
---Type <return> to continue, or q <return> to quit---
              canceltype = 0```
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#5  0x00007ffff5d8a3fd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#6  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 8 (Thread 0x7fffd8c79700 (LWP 13593)):
#0  0x00007ffff5d7cffd in read () at ../sysdeps/unix/syscall-template.S:82
No locals.
#1  0x00007ffff5d10ff8 in _IO_new_file_underflow (fp=0x7ffff6050340)
    at fileops.c:619
        count = <optimized out>
#2  0x00007ffff5d1203e in _IO_default_uflow (fp=0x7ffff6050340) at genops.c:440
        ch = <optimized out>
#3  0x00007ffff5d089cd in _IO_getc (fp=0x7ffff6050340) at getc.c:41
        _IO_acquire_lock_file = 0x7ffff6050340
        result = <optimized out>
---Type <return> to continue, or q <return> to quit---
#4  0x00007ffff65fa99d in __gnu_cxx::stdio_sync_filebuf<char, std::char_traits<char> >::underflow() () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#5  0x00007ffff65d3ceb in std::basic_istream<char, std::char_traits<char> >& std::getline<char, std::char_traits<char>, std::allocator<char> >(std::basic_istream<char, std::char_traits<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, char) ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
No symbol table info available.
#6  0x000000000094b32f in waitInput (data=0x0)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/network/client_network_manager.cpp:42
        str = {static npos = <optimized out>, 
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff68554d8 ""}}
        stop = false
#7  0x00007ffff7bc4e9a in start_thread (arg=0x7fffd8c79700)
    at pthread_create.c:308
        __res = <optimized out>
        pd = 0x7fffd8c79700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1, 7043610844245352148, 
                140737349740672, 140736830347712, 0, 3, -7043525150469955884, 
---Type <return> to continue, or q <return> to quit---
                -7043627866762420524}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
              canceltype = 0```
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#8  0x00007ffff5d8a3fd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#9  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 7 (Thread 0x7fffd947a700 (LWP 13592)):
#0  0x00007ffff5d83763 in select () at ../sysdeps/unix/syscall-template.S:82
No locals.
#1  0x0000000000b46bc0 in enet_socket_wait (socket=21, 
    condition=0x7fffd9479dbc, timeout=20)
    at /home/magne/SuperTuxKart/supertuxkart-work/lib/enet/unix.c:423
        readSet = {__fds_bits = {2097152, 0 <repeats 15 times>}}
        writeSet = {__fds_bits = {0 <repeats 16 times>}}
        timeVal = {tv_sec = 0, tv_usec = 15170}
---Type <return> to continue, or q <return> to quit---
        selectCount = 0
#2  0x0000000000b46260 in enet_host_service (host=0x1e93e530, 
    event=0x7fffd9479de0, timeout=2005384969)
    at /home/magne/SuperTuxKart/supertuxkart-work/lib/enet/protocol.c:1821
        waitCondition = 2
#3  0x00000000009808d2 in STKHost::receive_data (self=0x17f7780)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/network/stk_host.cpp:66
        event = {type = ENET_EVENT_TYPE_NONE, peer = 0x0, 
          channelID = 0 '\000', data = 0, packet = 0x0}
        myself = 0x17f7780
        host = 0x1e93e530
#4  0x00007ffff7bc4e9a in start_thread (arg=0x7fffd947a700)
    at pthread_create.c:308
        __res = <optimized out>
        pd = 0x7fffd947a700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1, 7043610844245352148, 
                140737349740672, 140736838740416, 0, 3, -7043528448467968300, 
                -7043627866762420524}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
              canceltype = 0```
        not_first_call = 0
        pagesize_m1 = <optimized out>
---Type <return> to continue, or q <return> to quit---
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#5  0x00007ffff5d8a3fd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#6  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 6 (Thread 0x7fffdb32e700 (LWP 13591)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:140
No locals.
#1  0x00007fffe5201980 in pa_threaded_mainloop_wait ()
   from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#2  0x00007ffff73423da in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
No symbol table info available.
#3  0x00007ffff732107a in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
No symbol table info available.
#4  0x00007ffff7bc4e9a in start_thread (arg=0x7fffdb32e700)
    at pthread_create.c:308
        __res = <optimized out>
---Type <return> to continue, or q <return> to quit---
        pd = 0x7fffdb32e700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1, 7043610844245352148, 
                140737349740672, 140736870934976, 0, 3, -7043532118517522732, 
                -7043627866762420524}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
              canceltype = 0```
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#5  0x00007ffff5d8a3fd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#6  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 5 (Thread 0x7fffdfb30700 (LWP 13590)):
#0  0x00007ffff5d7ea43 in __GI___poll (fds=<optimized out>, 
    nfds=<optimized out>, timeout=<optimized out>)
    at ../sysdeps/unix/sysv/linux/poll.c:87
        resultvar = <optimized out>
---Type <return> to continue, or q <return> to quit---
        oldtype = 0
        result = <optimized out>
#1  0x00007fffe520135f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#2  0x00007fffe51f276c in pa_mainloop_poll ()
   from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#3  0x00007fffe51f2dd9 in pa_mainloop_iterate ()
   from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#4  0x00007fffe51f2e90 in pa_mainloop_run ()
   from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#5  0x00007fffe520130f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#6  0x00007fffe4fb2d18 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
No symbol table info available.
#7  0x00007ffff7bc4e9a in start_thread (arg=0x7fffdfb30700)
    at pthread_create.c:308
        __res = <optimized out>
        pd = 0x7fffdfb30700
        now = <optimized out>
---Type <return> to continue, or q <return> to quit---
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1, 7043610844245352148, 
                140737349740672, 140736946440640, 44481536, 3, 
                -7043539814025175340, -7043627866762420524}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0```
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#8  0x00007ffff5d8a3fd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#9  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 3 (Thread 0x7fffe5c41700 (LWP 13588)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
No locals.
#1  0x000000000098a9ca in Online::HTTPManager::mainLoop (obj=0x2a87eb0)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/online/http_manager.cpp:206
---Type <return> to continue, or q <return> to quit---
        empty = true
        me = 0x2a87eb0
#2  0x00007ffff7bc4e9a in start_thread (arg=0x7fffe5c41700)
    at pthread_create.c:308
        __res = <optimized out>
        pd = 0x7fffe5c41700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1, 7043610844245352148, 
                140737488346592, 140737048222144, 0, 3, -7043588900669530412, 
                -7043627866762420524}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
              canceltype = 0```
        not_first_call = 0
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007ffff5d8a3fd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#4  0x0000000000000000 in ?? ()
No symbol table info available.

---Type <return> to continue, or q <return> to quit---
Thread 2 (Thread 0x7fffe6442700 (LWP 13587)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
No locals.
#1  0x0000000000784728 in NetworkHttp::mainLoop (obj=0x2aadb40)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/addons/network_http.cpp:135
        empty = true
        status = CURLE_OK
        me = 0x2aadb40
        __PRETTY_FUNCTION__ = "static void* NetworkHttp::mainLoop(void*)"
#2  0x00007ffff7bc4e9a in start_thread (arg=0x7fffe6442700)
    at pthread_create.c:308
        __res = <optimized out>
        pd = 0x7fffe6442700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1, 7043610844245352148, 
                140737488346592, 140737056614848, 0, 3, -7043592198667542828, 
                -7043627866762420524}, mask_was_saved = 0}}, priv = {pad = {
              0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, 
              canceltype = 0```
        not_first_call = 0
        pagesize_m1 = <optimized out>
---Type <return> to continue, or q <return> to quit---
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007ffff5d8a3fd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#4  0x0000000000000000 in ?? ()
No symbol table info available.

Thread 1 (Thread 0x7ffff7fb8780 (LWP 13584)):
#0  0x000000000088bf89 in GUIEngine::IconButtonWidget::setLabel (this=0x0, 
    new_label=...)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/guiengine/widgets/icon_button_widget.cpp:252
        word_wrap = false
        max_w = -10688
#1  0x00000000009e522d in AddonsLoading::doUninstall (this=0x202bce20)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/states_screens/dialogs/addons_loading.cpp:402
        r = 0x20411fb0
        error = true
#2  0x00000000009e4639 in AddonsLoading::processEvent (this=0x202bce20, 
    event_source=...)
---Type <return> to continue, or q <return> to quit---
    at /home/magne/SuperTuxKart/supertuxkart-work/src/states_screens/dialogs/addons_loading.cpp:239
        selection = @0x203fb268: {static npos = <optimized out>, 
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x203fd0a8 "uninstall"}}
        actions_ribbon = 0x20411fb0
#3  0x000000000084f07c in GUIEngine::EventHandler::onWidgetActivated (
    this=0x299ad70, w=0x20411fb0, playerID=0)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/guiengine/event_handler.cpp:634
        parent = 0x0
        __PRETTY_FUNCTION__ = "GUIEngine::EventPropagation GUIEngine::EventHandler::onWidgetActivated(GUIEngine::Widget*, int)"
#4  0x000000000084f449 in GUIEngine::EventHandler::onGUIEvent (this=0x299ad70, 
    event=...)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/guiengine/event_handler.cpp:706
        w = 0x20411fb0
        id = 111
        __PRETTY_FUNCTION__ = "GUIEngine::EventPropagation GUIEngine::EventHandler::onGUIEvent(const irr::SEvent&)"
#5  0x000000000084dff7 in GUIEngine::EventHandler::OnEvent (this=0x299ad70, 
    event=...)
---Type <return> to continue, or q <return> to quit---
    at /home/magne/SuperTuxKart/supertuxkart-work/src/guiengine/event_handler.cpp:147
No locals.
#6  0x0000000000c7090f in OnEvent (this=<optimized out>, event=...)
    at /home/magne/SuperTuxKart/supertuxkart-work/lib/irrlicht/include/IGUIElement.h:524
No locals.
#7  OnEvent (event=..., this=<optimized out>)
    at /home/magne/SuperTuxKart/supertuxkart-work/lib/irrlicht/source/Irrlicht/CGUIModalScreen.cpp:141
No locals.
#8  irr::gui::CGUIModalScreen::OnEvent (this=<optimized out>, event=...)
    at /home/magne/SuperTuxKart/supertuxkart-work/lib/irrlicht/source/Irrlicht/CGUIModalScreen.cpp:78
No locals.
#9  0x0000000000d812c5 in OnEvent (event=..., this=<optimized out>)
    at /home/magne/SuperTuxKart/supertuxkart-work/lib/irrlicht/include/IGUIElement.h:524
No locals.
#10 irr::gui::CGUIWindow::OnEvent (this=0x203fbe60, event=...)
    at /home/magne/SuperTuxKart/supertuxkart-work/lib/irrlicht/source/Irrlicht/CGUIWindow.cpp:217
No locals.
---Type <return> to continue, or q <return> to quit---
#11 0x0000000000dac607 in OnEvent (event=..., this=0x20407460)
    at /home/magne/SuperTuxKart/supertuxkart-work/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:215
        newEvent = {EventType = irr::EET_GUI_EVENT, {GUIEvent = {
              Caller = 0x20407460, Element = 0x0, 
              EventType = irr::gui::EGET_BUTTON_CLICKED}, MouseInput = {
              X = 541095008, Y = 0, Wheel = 0, Shift = false, Control = false, 
              ButtonStates = 5, Event = irr::EMIE_LMOUSE_PRESSED_DOWN}, 
            KeyInput = {Char = 541095008 L'\x20407460', Key = 0, 
              PressedDown = false, Shift = false, Control = false}, 
            JoystickEvent = {ButtonStates = 541095008, Axis = {0, 0, 0, 0, 0, 
                0, 5, 0, 0, 0, -1304, 328, 0, 0, 23534, 0, 0, 0, -9552, -1, 
                32767, 0, -21748, -3794, 32767, 0, -22112, 327, 0, 0, -16768, 
                491}, POV = 0, Joystick = 0 '\000'}, LogEvent = {
              Text = 0x20407460 " \211\004\001", Level = irr::ELL_DEBUG}, 
            UserEvent = {UserData1 = 541095008, UserData2 = 0```
        wasPressed = true
#12 irr::gui::CGUIButton::OnEvent (this=0x20407460, event=...)
    at /home/magne/SuperTuxKart/supertuxkart-work/lib/irrlicht/source/Irrlicht/CGUIButton.cpp:110
No locals.
#13 0x0000000000c3f1ca in irr::gui::CGUIEnvironment::postEventFromUser (
    this=0x178cac0, event=...)
---Type <return> to continue, or q <return> to quit---
    at /home/magne/SuperTuxKart/supertuxkart-work/lib/irrlicht/source/Irrlicht/CGUIEnvironment.cpp:570
No locals.
#14 0x0000000000bb21d4 in irr::CIrrDeviceStub::postEventFromUser (
    this=0x147a9a0, event=...)
    at /home/magne/SuperTuxKart/supertuxkart-work/lib/irrlicht/source/Irrlicht/CIrrDeviceStub.cpp:220
        absorbed = <optimized out>
        inputReceiver = <optimized out>
#15 0x0000000000bac62c in irr::CIrrDeviceLinux::run (this=0x147a9a0)
    at /home/magne/SuperTuxKart/supertuxkart-work/lib/irrlicht/source/Irrlicht/CIrrDeviceLinux.cpp:1014
        event = {type = 5, xany = {type = 5, serial = 23534, send_event = 0, 
            display = 0x1489050, window = 88080386}, xkey = {type = 5, 
            serial = 23534, send_event = 0, display = 0x1489050, 
            window = 88080386, root = 623, subwindow = 0, time = 160424121, 
            x = 339, y = 597, x_root = 776, y_root = 871, state = 256, 
            keycode = 1, same_screen = 1}, xbutton = {type = 5, 
            serial = 23534, send_event = 0, display = 0x1489050, 
            window = 88080386, root = 623, subwindow = 0, time = 160424121, 
            x = 339, y = 597, x_root = 776, y_root = 871, state = 256, 
            button = 1, same_screen = 1}, xmotion = {type = 5, serial = 23534, 
            send_event = 0, display = 0x1489050, window = 88080386, 
---Type <return> to continue, or q <return> to quit---
            root = 623, subwindow = 0, time = 160424121, x = 339, y = 597, 
            x_root = 776, y_root = 871, state = 256, is_hint = 1 '\001', 
            same_screen = 1}, xcrossing = {type = 5, serial = 23534, 
            send_event = 0, display = 0x1489050, window = 88080386, 
            root = 623, subwindow = 0, time = 160424121, x = 339, y = 597, 
            x_root = 776, y_root = 871, mode = 256, detail = 1, 
            same_screen = 1, focus = 0, state = 24813344}, xfocus = {type = 5, 
            serial = 23534, send_event = 0, display = 0x1489050, 
            window = 88080386, mode = 623, detail = 0}, xexpose = {type = 5, 
            serial = 23534, send_event = 0, display = 0x1489050, 
            window = 88080386, x = 623, y = 0, width = 0, height = 0, 
            count = 160424121}, xgraphicsexpose = {type = 5, serial = 23534, 
            send_event = 0, display = 0x1489050, drawable = 88080386, x = 623, 
            y = 0, width = 0, height = 0, count = 160424121, major_code = 0, 
            minor_code = 339}, xnoexpose = {type = 5, serial = 23534, 
            send_event = 0, display = 0x1489050, drawable = 88080386, 
            major_code = 623, minor_code = 0}, xvisibility = {type = 5, 
            serial = 23534, send_event = 0, display = 0x1489050, 
            window = 88080386, state = 623}, xcreatewindow = {type = 5, 
            serial = 23534, send_event = 0, display = 0x1489050, 
            parent = 88080386, window = 623, x = 0, y = 0, width = 160424121, 
            height = 0, border_width = 339, override_redirect = 597}, 
          xdestroywindow = {type = 5, serial = 23534, send_event = 0, 
---Type <return> to continue, or q <return> to quit---
            display = 0x1489050, event = 88080386, window = 623}, xunmap = {
            type = 5, serial = 23534, send_event = 0, display = 0x1489050, 
            event = 88080386, window = 623, from_configure = 0}, xmap = {
            type = 5, serial = 23534, send_event = 0, display = 0x1489050, 
            event = 88080386, window = 623, override_redirect = 0}, 
          xmaprequest = {type = 5, serial = 23534, send_event = 0, 
            display = 0x1489050, parent = 88080386, window = 623}, 
          xreparent = {type = 5, serial = 23534, send_event = 0, 
            display = 0x1489050, event = 88080386, window = 623, parent = 0, 
            x = 160424121, y = 0, override_redirect = 339}, xconfigure = {
            type = 5, serial = 23534, send_event = 0, display = 0x1489050, 
            event = 88080386, window = 623, x = 0, y = 0, width = 160424121, 
            height = 0, border_width = 339, above = 3740916515592, 
            override_redirect = 256}, xgravity = {type = 5, serial = 23534, 
            send_event = 0, display = 0x1489050, event = 88080386, 
            window = 623, x = 0, y = 0}, xresizerequest = {type = 5, 
            serial = 23534, send_event = 0, display = 0x1489050, 
            window = 88080386, width = 623, height = 0}, xconfigurerequest = {
            type = 5, serial = 23534, send_event = 0, display = 0x1489050, 
            parent = 88080386, window = 623, x = 0, y = 0, width = 160424121, 
            height = 0, border_width = 339, above = 3740916515592, 
            detail = 256, value_mask = 1}, xcirculate = {type = 5, 
            serial = 23534, send_event = 0, display = 0x1489050, 
---Type <return> to continue, or q <return> to quit---
            event = 88080386, window = 623, place = 0}, xcirculaterequest = {
            type = 5, serial = 23534, send_event = 0, display = 0x1489050, 
            parent = 88080386, window = 623, place = 0}, xproperty = {
            type = 5, serial = 23534, send_event = 0, display = 0x1489050, 
            window = 88080386, atom = 623, time = 0, state = 160424121}, 
          xselectionclear = {type = 5, serial = 23534, send_event = 0, 
            display = 0x1489050, window = 88080386, selection = 623, 
            time = 0}, xselectionrequest = {type = 5, serial = 23534, 
            send_event = 0, display = 0x1489050, owner = 88080386, 
            requestor = 623, selection = 0, target = 160424121, 
            property = 2564095476051, time = 3740916515592}, xselection = {
            type = 5, serial = 23534, send_event = 0, display = 0x1489050, 
            requestor = 88080386, selection = 623, target = 0, 
            property = 160424121, time = 2564095476051}, xcolormap = {
            type = 5, serial = 23534, send_event = 0, display = 0x1489050, 
            window = 88080386, colormap = 623, c_new = 0, state = 0}, 
          xclient = {type = 5, serial = 23534, send_event = 0, 
            display = 0x1489050, window = 88080386, message_type = 623, 
            format = 0, data = {
              b = "\271\340\217\t\000\000\000\000S\001\000\000U\002\000\000\b\003\000", s = {-8007, 2447, 0, 0, 339, 0, 597, 0, 776, 0}, l = {160424121, 
                2564095476051, 3740916515592, 4294967552, 1```, xmapping = {
            type = 5, serial = 23534, send_event = 0, display = 0x1489050, 
---Type <return> to continue, or q <return> to quit---
            window = 88080386, request = 623, first_keycode = 0, count = 0}, 
          xerror = {type = 5, display = 0x5bee, 
            resourceid = 8463515377853267968, serial = 21532752, 
            error_code = 2 '\002', request_code = 0 '\000', 
            minor_code = 64 '@'}, xkeymap = {type = 5, serial = 23534, 
            send_event = 0, display = 0x1489050, window = 88080386, 
            key_vector = "o\002", '\000' <repeats 14 times>"\271, \340\217\t\000\000\000\000S\001\000\000U\002\000"}, xgeneric = {type = 5, serial = 23534, 
            send_event = 0, display = 0x1489050, extension = 88080386, 
            evtype = 0}, xcookie = {type = 5, serial = 23534, send_event = 0, 
            display = 0x1489050, extension = 88080386, evtype = 0, 
            cookie = 623, data = 0x0}, pad = {5, 23534, 8463515377853267968, 
            21532752, 88080386, 623, 0, 160424121, 2564095476051, 
            3740916515592, 4294967552, 1, 24813344, 8083516505668939882, 
            26478, 48, 96, 24818480, 7309471195360226919, 8390876032516052082, 
            8463515379740013359, 8031938438597012344, 3414137954165025650, 
            8372037141699784557}}
        irrevent = {EventType = irr::EET_MOUSE_INPUT_EVENT, {GUIEvent = {
              Caller = 0x25500000153, Element = 0x0, 
              EventType = irr::gui::EGET_ELEMENT_FOCUS_LOST}, MouseInput = {
              X = 339, Y = 597, Wheel = 0, Shift = false, Control = false, 
              ButtonStates = 0, Event = irr::EMIE_LMOUSE_LEFT_UP}, KeyInput = {
              Char = 339 L'', Key = 597, PressedDown = false, Shift = false, 
---Type <return> to continue, or q <return> to quit---
              Control = false}, JoystickEvent = {ButtonStates = 339, Axis = {
                597, 0, 0, 0, 0, 0, 0, 0, 3, 0 <repeats 23 times>}, POV = 0, 
              Joystick = 0 '\000'}, LogEvent = {
              Text = 0x25500000153 <Address 0x25500000153 out of bounds>, 
              Level = irr::ELL_DEBUG}, UserEvent = {UserData1 = 339, 
              UserData2 = 597```
#16 0x00000000007f4620 in IrrDriver::update (this=0x147a6f0, dt=0.0280000009)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/graphics/irr_driver.cpp:1721
        world = 0xaa91d7
#17 0x000000000092abfe in MainLoop::run (this=0x2ac34c0)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/main_loop.cpp:151
        dt = 0.0280000009
        device = 0x147a9a0
#18 0x0000000000928865 in main (argc=1, argv=0x7fffffffe1e8)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/main.cpp:1403
        s = {static npos = <optimized out>, 
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x7ffff68554d8 ""}}
        materials_file = {static npos = <optimized out>, 
          _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0x1cb8a8f8 "data/models/materials.xml"}}
---Type <return> to continue, or q <return> to quit---
        important_message = {array = 0x1fb20760 L"", allocated = 1, used = 1, 
          allocator = {_vptr.irrAllocator = 0xe72d70}}
supertuxkart-sourceforge-migration commented 10 years ago

Author: hikerstk The addons is not deleted because listFiles now(?) returns absolute paths, while (I assume) before it returned relative paths:

1059 bool FileManager::removeDirectory(const std::string &name) const 1060 { 1061 std::setstd::string files; 1062 listFiles(files, name, /is full path/ true);

While this is easy to fix (just remove the line std::string full_path=name+"/"+*i; later on), I also want to fix the actual crash, caused by m_install in addons_loading.cpp being NULL.

supertuxkart-sourceforge-migration commented 10 years ago

Author: hikerstk Fixed three bugs in r14986-r14988. Now deleting and also 'retry' (in case of a problem) properly works.