Skip to content

Instantly share code, notes, and snippets.

@zachhilman
Created August 13, 2018 00:32
Show Gist options
  • Save zachhilman/094d2a326464131d17c4437248390e06 to your computer and use it in GitHub Desktop.
Save zachhilman/094d2a326464131d17c4437248390e06 to your computer and use it in GitHub Desktop.
AddressSanitizer:DEADLYSIGNAL
=================================================================
==4792==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fbb3644e5e8 bp 0x7fbae4f168c0 sp 0x7fbae4f16028 T7)
==4792==The signal is caused by a WRITE memory access.
==4792==Hint: address points to the zero page.
#0 0x7fbb3644e5e7 (/lib/x86_64-linux-gnu/libc.so.6+0xbb5e7)
#1 0x7fbb396c2eb2 (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x3feb2)
#2 0x55f8f004614f in memcpy /usr/include/x86_64-linux-gnu/bits/string_fortified.h:34
#3 0x55f8f004614f in Memory::ReadBlock(Kernel::Process const&, unsigned long, void*, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/core/memory.cpp:418
#4 0x55f8f057e8ac in RasterizerOpenGL::UploadMemory(unsigned char*, long, unsigned long, unsigned long, unsigned long) /home/zachhilman/CLionProjects/yuzu/src/video_core/renderer_opengl/gl_rasterizer.cpp:417
#5 0x55f8f0582ba5 in RasterizerOpenGL::SetupVertexArrays(unsigned char*, long) /home/zachhilman/CLionProjects/yuzu/src/video_core/renderer_opengl/gl_rasterizer.cpp:121
#6 0x55f8f059b8f4 in RasterizerOpenGL::DrawArrays() /home/zachhilman/CLionProjects/yuzu/src/video_core/renderer_opengl/gl_rasterizer.cpp:472
#7 0x55f8f057d77d in RasterizerOpenGL::AccelerateDrawBatch(bool) /home/zachhilman/CLionProjects/yuzu/src/video_core/renderer_opengl/gl_rasterizer.cpp:289
#8 0x55f8f056febe in Tegra::Engines::Maxwell3D::DrawArrays() /home/zachhilman/CLionProjects/yuzu/src/video_core/engines/maxwell_3d.cpp:226
#9 0x55f8f057215f in Tegra::Engines::Maxwell3D::WriteReg(unsigned int, unsigned int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/video_core/engines/maxwell_3d.cpp:123
#10 0x55f8f056933d in Tegra::GPU::WriteReg(unsigned int, unsigned int, unsigned int, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/video_core/command_processor.cpp:59
#11 0x55f8f0569d97 in Tegra::GPU::ProcessCommandList(unsigned long, unsigned int) /home/zachhilman/CLionProjects/yuzu/src/video_core/command_processor.cpp:118
#12 0x55f8f051614b in Service::Nvidia::Devices::nvhost_gpu::SubmitGPFIFO(std::vector<unsigned char, std::allocator<unsigned char> > const&, std::vector<unsigned char, std::allocator<unsigned char> >&) /home/zachhilman/CLionProjects/yuzu/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp:146
#13 0x55f8f051760f in Service::Nvidia::Devices::nvhost_gpu::ioctl(Service::Nvidia::Devices::nvdevice::Ioctl, std::vector<unsigned char, std::allocator<unsigned char> > const&, std::vector<unsigned char, std::allocator<unsigned char> >&) /home/zachhilman/CLionProjects/yuzu/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp:45
#14 0x55f8f04571b4 in Service::Nvidia::Module::Ioctl(unsigned int, unsigned int, std::vector<unsigned char, std::allocator<unsigned char> > const&, std::vector<unsigned char, std::allocator<unsigned char> >&) /home/zachhilman/CLionProjects/yuzu/src/core/hle/service/nvdrv/nvdrv.cpp:61
#15 0x55f8f053025b in Service::Nvidia::NVDRV::Ioctl(Kernel::HLERequestContext&) /home/zachhilman/CLionProjects/yuzu/src/core/hle/service/nvdrv/interface.cpp:38
#16 0x55f8f0531d54 in Service::ServiceFramework<Service::Nvidia::NVDRV>::Invoker(Service::ServiceFrameworkBase*, void (Service::ServiceFrameworkBase::*)(Kernel::HLERequestContext&), Kernel::HLERequestContext&) /home/zachhilman/CLionProjects/yuzu/src/./core/hle/service/service.h:179
#17 0x55f8eff64a94 in Service::ServiceFrameworkBase::InvokeRequest(Kernel::HLERequestContext&) /home/zachhilman/CLionProjects/yuzu/src/core/hle/service/service.cpp:163
#18 0x55f8eff6563a in Service::ServiceFrameworkBase::HandleSyncRequest(Kernel::HLERequestContext&) /home/zachhilman/CLionProjects/yuzu/src/core/hle/service/service.cpp:180
#19 0x55f8f00ecb55 in Kernel::ServerSession::HandleSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/server_session.cpp:120
#20 0x55f8f04f87d0 in Kernel::ClientSession::SendSyncRequest(boost::intrusive_ptr<Kernel::Thread>) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/client_session.cpp:46
#21 0x55f8f00fa8e3 in SendSyncRequest /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:108
#22 0x55f8f00fa8e3 in SvcWrap<Kernel::SendSyncRequest> /home/zachhilman/CLionProjects/yuzu/src/./core/hle/kernel/svc_wrap.h:36
#23 0x55f8f00fb9e6 in Kernel::CallSVC(unsigned int) /home/zachhilman/CLionProjects/yuzu/src/core/hle/kernel/svc.cpp:1042
#24 0x7fbac6434aaf (<unknown module>)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0xbb5e7)
Thread T7 created by T0 here:
#0 0x7fbb396ce043 in pthread_create (/usr/lib/x86_64-linux-gnu/libasan.so.5+0x4b043)
#1 0x7fbb36df8a18 in std::thread::_M_start_thread(std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >, void (*)()) (/usr/lib/x86_64-linux-gnu/libstdc++.so.6+0xbea18)
==4792==ABORTING
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment