Amaraticando

lsnes crash - rewind to start

Aug 27th, 2026
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.89 KB | None | 0 0
  1. /usr/include/c++/16/bits/stl_vector.h:1253: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = char; _Alloc = std::allocator<char>; reference = char&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
  2.  
  3. Thread 31 "lsnes" received signal SIGABRT, Aborted.
  4. [Switching to Thread 0x7fffbaffe6c0 (LWP 310346)]
  5. Downloading 4.48 K source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c
  6. __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
  7. 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
  8. (gdb) bt full
  9. #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
  10. tid = <optimized out>
  11. ret = 0
  12. pd = <optimized out>
  13. old_mask = {__val = {11}}
  14. ret = <optimized out>
  15. #1 0x00007ffff5e9a243 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
  16. #2 0x00007ffff5e3e5d0 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
  17. ret = <optimized out>
  18. #3 0x00007ffff5e25685 in __GI_abort () at abort.c:77
  19. act = {__sigaction_handler = {sa_handler = 0x4e5, sa_sigaction = 0x4e5}, sa_mask = {__val = {93825007714864, 140736330680832, 93825000338621, 0, 93825024890624, 93825024890544, 72151419062818488, 140736330680880, 93825000335999, 1, 93825024890552, 140736330680833, 93825024890544, 140736330680976, 140737324097038, 33}}, sa_flags = 1464309424, sa_restorer = 0x7fffbaff4a70}
  20. #4 0x00007ffff629d5bd in std::__glibcxx_assert_fail (file=<optimized out>, line=<optimized out>, function=<optimized out>, condition=<optimized out>)
  21. at ../../../../../gcc/libstdc++-v3/src/c++11/assert_fail.cc:41
  22. #5 0x0000555555c0b2c0 in std::vector<char, std::allocator<char> >::operator[] (this=0x7fffe03dda10, __n=0) at /usr/include/c++/16/bits/stl_vector.h:1253
  23. #6 0x00005555560f02ed in (anonymous namespace)::_bsnes_core::c_load_sram
  24. (this=0x555556c88e20 <(anonymous namespace)::bsnes_core>, sram=std::map with 1 element = {...}) at core.cpp:1249
  25. x = std::vector of length 0, capacity 0
  26. r = @0x7fffe04120d0: {id = {data = 0x7fffe03e0660 ".srm", size = 4}, data = 0x7fffe040c4f0 '\377' <repeats 200 times>..., size = 2048, slot = SNES::Cartridge::Slot::Base}
  27. savename = "srm"
  28. i = 0
  29. used = std::set with 0 elements
  30. #7 0x000055555609f78a in core_core::load_sram (this=0x555556c88e20 <(anonymous namespace)::bsnes_core>, sram=std::map with 1 element = {...})
  31. at romtype.cpp:468
  32. #8 0x0000555555c8f462 in core_type::load_sram (this=0x555556c88ea0 <(anonymous namespace)::type_snes>, sram=std::map with 1 element = {...})
  33. at ../../include/interface/romtype.hpp:584
  34. #9 0x0000555555c8f8c8 in loaded_rom::load_sram (this=0x555557471140, sram=std::map with 1 element = {...}) at ../../include/core/rom.hpp:135
  35. #10 0x0000555555c8b2e9 in (anonymous namespace)::handle_load_core (_movie=..., portset=..., will_load_state=false, force=false) at moviedata.cpp:443
  36. vmas = std::__cxx11::list<error reading variable: Cannot access memory at address 0x1987a3b242e7eb8>
  37. core = @0x555556b24b20: {dispatch = 0x555557470c80, mlogic = 0x555557471f50, memory = 0x55555743eb20, lua = 0x5555574721f0, lua2 = 0x555557472280, mwatch = 0x555557474390, settings = 0x55555746f550, setcache = 0x555557474a90, commentary = 0x555557474b30, subtitles = 0x555557474ea0, mbranch = 0x555557475330, controls = 0x555557475380, buttons = 0x555557470180, mteditor = 0x555557476a30, status_A = 0x555557477000, status_B = 0x5555574771b0, status_C = 0x555557477360, status = 0x555557477510, keyboard = 0x555557475ac0, command = 0x55555742bd50, mapper = 0x555557475b10, abindmanager = 0x5555574775a0, nrrdata = 0x555557477640, cmapper = 0x555557475f70, project = 0x55555746fd40, dbg = 0x555557477bc0, framerate = 0x5555574782a0, fbuf = 0x55555746f850, iqueue = 0x5555574716c0, mdumper = 0x555557478ac0, slotcache = 0x555557471fc0, audio = 0x7ffff2c71010, rom = 0x555557471140, jukebox = 0x5555574744b0, runmode = 0x555557478c30, supdater = 0x5--Type <RET> for more, q to quit, c to continue without paging--
  38. 55557471070, emu_thread = {_M_thread = 0}, random_seed_value = 1000000000, D = {list = 0x555557478c60}}
  39. #11 0x0000555555c8c4d8 in do_load_rewind () at moviedata.cpp:582
  40. core = @0x555556b24b20: {dispatch = 0x555557470c80, mlogic = 0x555557471f50, memory = 0x55555743eb20, lua = 0x5555574721f0, lua2 = 0x555557472280, mwatch = 0x555557474390, settings = 0x55555746f550, setcache = 0x555557474a90, commentary = 0x555557474b30, subtitles = 0x555557474ea0, mbranch = 0x555557475330, controls = 0x555557475380, buttons = 0x555557470180, mteditor = 0x555557476a30, status_A = 0x555557477000, status_B = 0x5555574771b0, status_C = 0x555557477360, status = 0x555557477510, keyboard = 0x555557475ac0, command = 0x55555742bd50, mapper = 0x555557475b10, abindmanager = 0x5555574775a0, nrrdata = 0x555557477640, cmapper = 0x555557475f70, project = 0x55555746fd40, dbg = 0x555557477bc0, framerate = 0x5555574782a0, fbuf = 0x55555746f850, iqueue = 0x5555574716c0, mdumper = 0x555557478ac0, slotcache = 0x555557471fc0, audio = 0x7ffff2c71010, rom = 0x555557471140, jukebox = 0x5555574744b0, runmode = 0x555557478c30, supdater = 0x555557471070, emu_thread = {_M_thread = 0}, random_seed_value = 1000000000, D = {list = 0x555557478c60}}
  41. portset = @0x7fffe000e660: {port_offsets = 0x7fffe03d6550, port_types = 0x7fffe03d6570, port_count = 3, total_size = 7, _indices = std::vector of length 16, capacity 16 = {{valid = true, port = 0, controller = 0, control = 0}, {valid = true, port = 0, controller = 0, control = 1}, {valid = true, port = 0, controller = 0, control = 2}, {valid = true, port = 0, controller = 0, control = 3}, {valid = true, port = 1, controller = 0, control = 0}, {valid = true, port = 1, controller = 0, control = 1}, {valid = true, port = 1, controller = 0, control = 2}, {valid = true, port = 1, controller = 0, control = 3}, {valid = true, port = 1, controller = 0, control = 4}, {valid = true, port = 1, controller = 0, control = 5}, {valid = true, port = 1, controller = 0, control = 6}, {valid = true, port = 1, controller = 0, control = 7}, {valid = true, port = 1, controller = 0, control = 8}, {valid = true, port = 1, controller = 0, control = 9}, {valid = true, port = 1, controller = 0, control = 10}, {valid = true, port = 1, controller = 0, control = 11}}, controllers = std::vector of length 1, capacity 1 = {{first = 1, second = 0}}, legacy_pcids = std::vector of length 1, capacity 1 = {{first = 1, second = 0}}, port_multiplier = 12, controller_multiplier = 12, indices_size = 36, indices_tab = 0x7fffe000e590}
  42. #12 0x0000555555c535d5 in (anonymous namespace)::handle_load () at mainloop.cpp:800
  43. core = @0x555556b24b20: {dispatch = 0x555557470c80, mlogic = 0x555557471f50, memory = 0x55555743eb20, lua = 0x5555574721f0, lua2 = 0x555557472280, mwatch = 0x555557474390, settings = 0x55555746f550, setcache = 0x555557474a90, commentary = 0x555557474b30, subtitles = 0x555557474ea0, mbranch = 0x555557475330, controls = 0x555557475380, buttons = 0x555557470180, mteditor = 0x555557476a30, status_A = 0x555557477000, status_B = 0x5555574771b0, status_C = 0x555557477360, status = 0x555557477510, keyboard = 0x555557475ac0, command = 0x55555742bd50, mapper = 0x555557475b10, abindmanager = 0x5555574775a0, nrrdata = 0x555557477640, cmapper = 0x555557475f70, project = 0x55555746fd40, dbg = 0x555557477bc0, framerate = 0x5555574782a0, fbuf = 0x55555746f850, iqueue = 0x5555574716c0, mdumper = 0x555557478ac0, slotcache = 0x555557471fc0, audio = 0x7ffff2c71010, rom = 0x555557471140, jukebox = 0x5555574744b0, runmode = 0x555557478c30, supdater = 0x555557471070, emu_thread = {_M_thread = 0}, random_seed_value = 1000000000, D = {list = 0x555557478c60}}
  44. old_project = "c9c390f5cb81751077d1211ed31df438e8c1e530"
  45. #13 0x0000555555c543e8 in main_loop (rom=..., initial=..., load_has_to_succeed=false) at mainloop.cpp:951
  46. r = 0
  47. core = @0x555556b24b20: {dispatch = 0x555557470c80, mlogic = 0x555557471f50, memory = 0x55555743eb20, lua = 0x5555574721f0, lua2 = 0x555557472280, mwatch = 0x555557474390, settings = 0x55555746f550, setcache = 0x555557474a90, commentary = 0x555557474b30, subtitles = 0x555557474ea0, mbranch = 0x555557475330, controls = 0x555557475380, buttons = 0x555557470180, mteditor = 0x555557476a30, status_A = 0x555557477000, status_B = 0x5555574771b0, status_C = 0x555557477360, status = 0x555557477510, keyboard = 0x555557475ac0, command = 0x55555742bd50, mapper = 0x555557475b10, abindmanager = 0x5555574775a0, nrrdata = 0x555557477640, cmapper = 0x555557475f70, project = 0x55555746fd40, dbg = 0x555557477bc0, framerate = 0x5555574782a0, fbuf = 0x55555746f850, iqueue = 0x5555574716c0, mdumper = 0x555557478ac0, slotcache = 0x555557471fc0, audio = 0x7ffff2c71010, rom = 0x555557471140, jukebox = 0x5555574744b0, runmode = 0x555557478c30, supdater = 0x555557471070, emu_thread = {_M_thread = 0}, random_seed_value = 1000000000, D = {list = 0x555557478c60}}
  48. mywcb = {<master_dumper::notifier> = {_vptr.notifier = 0x555556acf930 <vtable for (anonymous namespace)::mywindowcallbacks+16>}, closenotify = {src = 0--Type <RET> for more, q to quit, c to continue without paging--q
  49. ❌️ Quit
  50. (gdb) info registers
  51. rax 0x0 0
  52. rbx 0x4bc4a 310346
  53. rcx 0x7ffff5e9a17c 140737319117180
  54. rdx 0x6 6
  55. rsi 0x4bc4a 310346
  56. rdi 0x4bb46 310086
  57. rbp 0x7fffbaff4980 0x7fffbaff4980
  58. rsp 0x7fffbaff4950 0x7fffbaff4950
  59. r8 0xb 11
  60. r9 0x0 0
  61. r10 0x7fffbaffe6c0 140736330720960
  62. r11 0x246 582
  63. r12 0x21 33
  64. r13 0x7fffffffce90 140737488342672
  65. r14 0x6 6
  66. r15 0x7fffffffcf97 140737488342935
  67. rip 0x7ffff5e9a17c 0x7ffff5e9a17c <__pthread_kill_implementation+268>
  68. eflags 0x246 [ PF ZF IF ]
  69. cs 0x33 51
  70. ss 0x2b 43
  71. ds 0x0 0
  72. es 0x0 0
  73. fs 0x0 0
  74. gs 0x0 0
  75. fs_base 0x7fffbaffe6c0 140736330720960
  76. gs_base 0x0 0
  77. (gdb) x/i $pc
  78. => 0x7ffff5e9a17c <__pthread_kill_implementation+268>: mov %eax,%r8d
  79. (gdb) x/10i $pc-20
  80. 0x7ffff5e9a168 <__pthread_kill_implementation+248>: ret
  81. 0x7ffff5e9a169 <__pthread_kill_implementation+249>: call 0x7ffff5eed580 <__GI_getpid>
  82. 0x7ffff5e9a16e <__pthread_kill_implementation+254>: mov %r14d,%edx
  83. 0x7ffff5e9a171 <__pthread_kill_implementation+257>: mov %ebx,%esi
  84. 0x7ffff5e9a173 <__pthread_kill_implementation+259>: mov %eax,%edi
  85. 0x7ffff5e9a175 <__pthread_kill_implementation+261>: mov $0xea,%eax
  86. 0x7ffff5e9a17a <__pthread_kill_implementation+266>: syscall
  87. => 0x7ffff5e9a17c <__pthread_kill_implementation+268>: mov %eax,%r8d
  88. 0x7ffff5e9a17f <__pthread_kill_implementation+271>: neg %r8d
  89. 0x7ffff5e9a182 <__pthread_kill_implementation+274>: cmp $0xfffff000,%eax
  90. (gdb) p $_siginfo
  91. $1 = {si_signo = 6, si_errno = 0, si_code = -6, _sifields = {_pad = {310086, 1000, 0 <repeats 26 times>}, _kill = {si_pid = 310086, si_uid = 1000}, _timer = {
  92. si_tid = 310086, si_overrun = 1000, si_sigval = {sival_int = 0, sival_ptr = 0x0}}, _rt = {si_pid = 310086, si_uid = 1000, si_sigval = {sival_int = 0,
  93. sival_ptr = 0x0}}, _sigchld = {si_pid = 310086, si_uid = 1000, si_status = 0, si_utime = 0, si_stime = 0}, _sigfault = {si_addr = 0x3e80004bb46},
  94. _sigpoll = {si_band = 4294967606086, si_fd = 0}, _sigsys = {_call_addr = 0x3e80004bb46, _syscall = 0, _arch = 0}}}
  95. (gdb) p/x $_siginfo._sifields._sigfault.si_addr
  96. $2 = 0x3e80004bb46
Advertisement
Add Comment
Please, Sign In to add comment