ZSNES segfaults when changing resolution from default.

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
Charadon
New Member
Posts: 4
Joined: Sun Jul 08, 2018 2:38 am

ZSNES segfaults when changing resolution from default.

Post by Charadon »

Whenever you change the resolution, zsnes crashes. The issue seems to be related to llvm or SDL. And digging a little bit more, it seems to be related to OpenGL (only resolutions that use opengl crash.)

Here's a backtrace of the segfault

Code: Select all

#0  0xf16722a6 in llvm::cl::AddLiteralOption(llvm::cl::Option&, llvm::StringRef) () from /usr/lib32/libLLVM-6.0.so
#1  0xf159ba4a in llvm::X86ATTInstPrinter::printCustomAliasOperand(llvm::MCInst const*, unsigned int, unsigned int, llvm::raw_ostream&) ()
   from /usr/lib32/libLLVM-6.0.so
#2  0xf7fe5903 in call_init.part () from /lib/ld-linux.so.2
#3  0xf7fe5a02 in _dl_init () from /lib/ld-linux.so.2
#4  0xf7fe9850 in dl_open_worker () from /lib/ld-linux.so.2
#5  0xf7a7869a in _dl_catch_exception () from /usr/lib32/libc.so.6
#6  0xf7fe90e6 in _dl_open () from /lib/ld-linux.so.2
#7  0xf793fc63 in ?? () from /usr/lib32/libdl.so.2
#8  0xf7a7869a in _dl_catch_exception () from /usr/lib32/libc.so.6
#9  0xf7a78730 in _dl_catch_error () from /usr/lib32/libc.so.6
#10 0xf7940401 in ?? () from /usr/lib32/libdl.so.2
#11 0xf793fd06 in dlopen () from /usr/lib32/libdl.so.2
#12 0xf60e51e2 in ?? () from /usr/lib32/libGLX_mesa.so.0
#13 0xf60edf47 in ?? () from /usr/lib32/libGLX_mesa.so.0
#14 0xf60d9928 in ?? () from /usr/lib32/libGLX_mesa.so.0
#15 0xf60d4c06 in ?? () from /usr/lib32/libGLX_mesa.so.0
#16 0xf60d5b48 in ?? () from /usr/lib32/libGLX_mesa.so.0
#17 0xf7ee7b41 in ?? () from /usr/lib32/libSDL-1.2.so.0
#18 0xf7eece1a in ?? () from /usr/lib32/libSDL-1.2.so.0
#19 0xf7eed3b2 in ?? () from /usr/lib32/libSDL-1.2.so.0
---Type <return> to continue, or q <return> to quit---
#20 0xf7edb50e in SDL_SetVideoMode () from /usr/lib32/libSDL-1.2.so.0
#21 0x5698a4c7 in ?? ()
#22 0x5698876b in ?? ()
#23 0x56988d3d in ?? ()
#24 0x56986334 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
My OS is Antergos (Arch-based)
Post Reply