Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /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.
- Thread 31 "lsnes" received signal SIGABRT, Aborted.
- [Switching to Thread 0x7fffbaffe6c0 (LWP 310346)]
- Downloading 4.48 K source file /usr/src/debug/glibc/glibc/nptl/pthread_kill.c
- __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
- 44 return INTERNAL_SYSCALL_ERROR_P (ret) ? INTERNAL_SYSCALL_ERRNO (ret) : 0;
- (gdb) bt full
- #0 __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
- tid = <optimized out>
- ret = 0
- pd = <optimized out>
- old_mask = {__val = {11}}
- ret = <optimized out>
- #1 0x00007ffff5e9a243 in __pthread_kill_internal (threadid=<optimized out>, signo=6) at pthread_kill.c:89
- #2 0x00007ffff5e3e5d0 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
- ret = <optimized out>
- #3 0x00007ffff5e25685 in __GI_abort () at abort.c:77
- 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}
- #4 0x00007ffff629d5bd in std::__glibcxx_assert_fail (file=<optimized out>, line=<optimized out>, function=<optimized out>, condition=<optimized out>)
- at ../../../../../gcc/libstdc++-v3/src/c++11/assert_fail.cc:41
- #5 0x0000555555c0b2c0 in std::vector<char, std::allocator<char> >::operator[] (this=0x7fffe03dda10, __n=0) at /usr/include/c++/16/bits/stl_vector.h:1253
- #6 0x00005555560f02ed in (anonymous namespace)::_bsnes_core::c_load_sram
- (this=0x555556c88e20 <(anonymous namespace)::bsnes_core>, sram=std::map with 1 element = {...}) at core.cpp:1249
- x = std::vector of length 0, capacity 0
- r = @0x7fffe04120d0: {id = {data = 0x7fffe03e0660 ".srm", size = 4}, data = 0x7fffe040c4f0 '\377' <repeats 200 times>..., size = 2048, slot = SNES::Cartridge::Slot::Base}
- savename = "srm"
- i = 0
- used = std::set with 0 elements
- #7 0x000055555609f78a in core_core::load_sram (this=0x555556c88e20 <(anonymous namespace)::bsnes_core>, sram=std::map with 1 element = {...})
- at romtype.cpp:468
- #8 0x0000555555c8f462 in core_type::load_sram (this=0x555556c88ea0 <(anonymous namespace)::type_snes>, sram=std::map with 1 element = {...})
- at ../../include/interface/romtype.hpp:584
- #9 0x0000555555c8f8c8 in loaded_rom::load_sram (this=0x555557471140, sram=std::map with 1 element = {...}) at ../../include/core/rom.hpp:135
- #10 0x0000555555c8b2e9 in (anonymous namespace)::handle_load_core (_movie=..., portset=..., will_load_state=false, force=false) at moviedata.cpp:443
- vmas = std::__cxx11::list<error reading variable: Cannot access memory at address 0x1987a3b242e7eb8>
- 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--
- 55557471070, emu_thread = {_M_thread = 0}, random_seed_value = 1000000000, D = {list = 0x555557478c60}}
- #11 0x0000555555c8c4d8 in do_load_rewind () at moviedata.cpp:582
- 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}}
- 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}
- #12 0x0000555555c535d5 in (anonymous namespace)::handle_load () at mainloop.cpp:800
- 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}}
- old_project = "c9c390f5cb81751077d1211ed31df438e8c1e530"
- #13 0x0000555555c543e8 in main_loop (rom=..., initial=..., load_has_to_succeed=false) at mainloop.cpp:951
- r = 0
- 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}}
- 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
- ❌️ Quit
- (gdb) info registers
- rax 0x0 0
- rbx 0x4bc4a 310346
- rcx 0x7ffff5e9a17c 140737319117180
- rdx 0x6 6
- rsi 0x4bc4a 310346
- rdi 0x4bb46 310086
- rbp 0x7fffbaff4980 0x7fffbaff4980
- rsp 0x7fffbaff4950 0x7fffbaff4950
- r8 0xb 11
- r9 0x0 0
- r10 0x7fffbaffe6c0 140736330720960
- r11 0x246 582
- r12 0x21 33
- r13 0x7fffffffce90 140737488342672
- r14 0x6 6
- r15 0x7fffffffcf97 140737488342935
- rip 0x7ffff5e9a17c 0x7ffff5e9a17c <__pthread_kill_implementation+268>
- eflags 0x246 [ PF ZF IF ]
- cs 0x33 51
- ss 0x2b 43
- ds 0x0 0
- es 0x0 0
- fs 0x0 0
- gs 0x0 0
- fs_base 0x7fffbaffe6c0 140736330720960
- gs_base 0x0 0
- (gdb) x/i $pc
- => 0x7ffff5e9a17c <__pthread_kill_implementation+268>: mov %eax,%r8d
- (gdb) x/10i $pc-20
- 0x7ffff5e9a168 <__pthread_kill_implementation+248>: ret
- 0x7ffff5e9a169 <__pthread_kill_implementation+249>: call 0x7ffff5eed580 <__GI_getpid>
- 0x7ffff5e9a16e <__pthread_kill_implementation+254>: mov %r14d,%edx
- 0x7ffff5e9a171 <__pthread_kill_implementation+257>: mov %ebx,%esi
- 0x7ffff5e9a173 <__pthread_kill_implementation+259>: mov %eax,%edi
- 0x7ffff5e9a175 <__pthread_kill_implementation+261>: mov $0xea,%eax
- 0x7ffff5e9a17a <__pthread_kill_implementation+266>: syscall
- => 0x7ffff5e9a17c <__pthread_kill_implementation+268>: mov %eax,%r8d
- 0x7ffff5e9a17f <__pthread_kill_implementation+271>: neg %r8d
- 0x7ffff5e9a182 <__pthread_kill_implementation+274>: cmp $0xfffff000,%eax
- (gdb) p $_siginfo
- $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 = {
- 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,
- sival_ptr = 0x0}}, _sigchld = {si_pid = 310086, si_uid = 1000, si_status = 0, si_utime = 0, si_stime = 0}, _sigfault = {si_addr = 0x3e80004bb46},
- _sigpoll = {si_band = 4294967606086, si_fd = 0}, _sigsys = {_call_addr = 0x3e80004bb46, _syscall = 0, _arch = 0}}}
- (gdb) p/x $_siginfo._sifields._sigfault.si_addr
- $2 = 0x3e80004bb46
Advertisement
Add Comment
Please, Sign In to add comment