Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in edit gp screen #5212

Open
deveee opened this issue Nov 18, 2024 · 1 comment
Open

Crash in edit gp screen #5212

deveee opened this issue Nov 18, 2024 · 1 comment
Milestone

Comments

@deveee
Copy link
Member

deveee commented Nov 18, 2024

From google play console, STK 1.5-beta1

addr2line shows

track.hpp:508
edit_gp_screen.cpp:179
abstract_state_manager.cpp:255

Full backtace

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 26780 >>> org.supertuxkart.stk_beta <<<

backtrace:
  #00  pc 0x00000000008ce7f2  /data/app/~~A62oPCxpdd8M5hklou7E7A==/org.supertuxkart.stk_beta-ccTDx6iKQPhn2xub3Iol0w==/split_config.armeabi_v7a.apk!libmain.so (EditGPScreen::init()+508) (BuildId: 9c45e4590a4bfe2dc5cdcc27cb98e57efd6cd82e)
  #01  pc 0x000000000078dd75  /data/app/~~A62oPCxpdd8M5hklou7E7A==/org.supertuxkart.stk_beta-ccTDx6iKQPhn2xub3Iol0w==/split_config.armeabi_v7a.apk!libmain.so (GUIEngine::AbstractStateManager::popMenu()+255) (BuildId: 9c45e4590a4bfe2dc5cdcc27cb98e57efd6cd82e)
  #02  pc 0x00000000007cb945  /data/app/~~A62oPCxpdd8M5hklou7E7A==/org.supertuxkart.stk_beta-ccTDx6iKQPhn2xub3Iol0w==/split_config.armeabi_v7a.apk!libmain.so (InputManager::dispatchInput(Input::InputType, int, int, Input::AxisDirection, int, bool)+910) (BuildId: 9c45e4590a4bfe2dc5cdcc27cb98e57efd6cd82e)
  #03  pc 0x00000000007ca491  /data/app/~~A62oPCxpdd8M5hklou7E7A==/org.supertuxkart.stk_beta-ccTDx6iKQPhn2xub3Iol0w==/split_config.armeabi_v7a.apk!libmain.so (InputManager::input(irr::SEvent const&)+1001) (BuildId: 9c45e4590a4bfe2dc5cdcc27cb98e57efd6cd82e)
  #04  pc 0x00000000007c9ff9  /data/app/~~A62oPCxpdd8M5hklou7E7A==/org.supertuxkart.stk_beta-ccTDx6iKQPhn2xub3Iol0w==/split_config.armeabi_v7a.apk!libmain.so (InputManager::handleJoystick(SDL_Event&)+219) (BuildId: 9c45e4590a4bfe2dc5cdcc27cb98e57efd6cd82e)
  #05  pc 0x0000000000aa2be3  /data/app/~~A62oPCxpdd8M5hklou7E7A==/org.supertuxkart.stk_beta-ccTDx6iKQPhn2xub3Iol0w==/split_config.armeabi_v7a.apk!libmain.so (irr::CIrrDeviceSDL::run()+1051) (BuildId: 9c45e4590a4bfe2dc5cdcc27cb98e57efd6cd82e)
  #06  pc 0x00000000006bd6a1  /data/app/~~A62oPCxpdd8M5hklou7E7A==/org.supertuxkart.stk_beta-ccTDx6iKQPhn2xub3Iol0w==/split_config.armeabi_v7a.apk!libmain.so (MainLoop::run()+687) (BuildId: 9c45e4590a4bfe2dc5cdcc27cb98e57efd6cd82e)
  #07  pc 0x00000000006b9c91  /data/app/~~A62oPCxpdd8M5hklou7E7A==/org.supertuxkart.stk_beta-ccTDx6iKQPhn2xub3Iol0w==/split_config.armeabi_v7a.apk!libmain.so (android_main(int, char**)+2591) (BuildId: 9c45e4590a4bfe2dc5cdcc27cb98e57efd6cd82e)
  #08  pc 0x000000000005680d  /data/app/~~A62oPCxpdd8M5hklou7E7A==/org.supertuxkart.stk_beta-ccTDx6iKQPhn2xub3Iol0w==/split_config.armeabi_v7a.apk!libSDL2.so (Java_org_libsdl_app_SDLActivity_nativeRunMain+803) (BuildId: 96200012e19030f9e0d7b115e02d2a6fb127f756)
  #09  pc 0x0000000000005861  /data/app/~~A62oPCxpdd8M5hklou7E7A==/org.supertuxkart.stk_beta-ccTDx6iKQPhn2xub3Iol0w==/oat/arm/base.odex (art_jni_trampoline+160)
  #10  pc 0x000000000000c689  /data/app/~~A62oPCxpdd8M5hklou7E7A==/org.supertuxkart.stk_beta-ccTDx6iKQPhn2xub3Iol0w==/oat/arm/base.odex (org.libsdl.app.SDLMain.run+608)
  #11  pc 0x000000000012fb51  /apex/com.android.art/javalib/arm/boot.oat (java.lang.Thread.run+64)
  #12  pc 0x00000000000d37d5  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub_internal+68)
  #13  pc 0x00000000004eaa33  /apex/com.android.art/lib/libart.so (art_quick_invoke_stub+282)
  #14  pc 0x000000000012bb2d  /apex/com.android.art/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+148)
  #15  pc 0x00000000003f82a7  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+374)
  #16  pc 0x00000000003f83b7  /apex/com.android.art/lib/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, jvalue const*)+42)
  #17  pc 0x00000000004394b5  /apex/com.android.art/lib/libart.so (art::Thread::CreateCallback(void*)+1056)
  #18  pc 0x00000000000aabb3  /apex/com.android.runtime/lib/bionic/libc.so (__pthread_start(void*)+40)
  #19  pc 0x0000000000064023  /apex/com.android.runtime/lib/bionic/libc.so (__start_thread+30)
@Alayan-stk-2 Alayan-stk-2 added this to the 1.5 milestone Dec 20, 2024
@ShuffleWire
Copy link

called from bool reverse = edit->getTrack()->reverseAvailable() ? edit->getReverse() : false; (edit_gp_screen.cpp:179)
edit is asserted to be != NULL, but i don't see obvious way for edit->getTrack() to be != NULL, and being null is the easiest way for a method access to raise an abort

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants