Hi, I’m getting Segmentation fault after opening any project using latest version of Unity installed on Ubuntu 14.04.
Scenario:
- Install latest Unity3d (either .deb or .sh)
- Run Unity3d, splash screen is shown, “Home” window is visible
- Select any project
- Application shuts down with Segmentation fault error
Any help would be very appreciated.
Error details from Ubuntu report (taken from /var/crash/_opt_Unity_Editor_Unity.1000.crash)
Title: Unity crashed with SIGSEGV in GfxDeviceGLES::~GfxDeviceGLES()
ProblemType: Crash
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Jul 27 22:50:00 2017
DistroRelease: Ubuntu 14.04
ExecutablePath: /opt/Unity/Editor/Unity
ExecutableTimestamp: 1499694760
ProcCmdline: ./Unity
ProcCwd: /home/kornel/projects/unity/tower-builder/New Unity Project 1
ProcEnviron:
LC_PAPER=pl_PL.UTF-8
LC_ADDRESS=pl_PL.UTF-8
LC_MONETARY=pl_PL.UTF-8
TERM=xterm
SHELL=/bin/bash
LC_NUMERIC=pl_PL.UTF-8
LC_TELEPHONE=pl_PL.UTF-8
PATH=(custom, user)
LC_IDENTIFICATION=pl_PL.UTF-8
LANG=en_US.UTF-8
LC_MEASUREMENT=pl_PL.UTF-8
LANGUAGE=en_US:en_AU:en
XDG_RUNTIME_DIR=
LC_TIME=pl_PL.UTF-8
LC_NAME=pl_PL.UTF-8
StacktraceAddressSignature: /opt/Unity/Editor/Unity:11:x86_64:/opt/Unity/Editor/Unity+2372c5c:/opt
/Unity/Editor/Unity+2386d64:/opt/Unity/Editor/Unity+23410fd:/opt/Unity/Editor/Unity+98db50:/opt/Un
ity/Editor/Unity+6361f3:/opt/Unity/Editor/Unity+13041ac:/opt/Unity/Editor/Unity+15ed57a:/lib/x86_6
4-linux-gnu/libglib-2.0.so.0.4002.0+49703:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0+48ce5:/lib
/x86_64-linux-gnu/libglib-2.0.so.0.4002.0+49048:/lib/x86_64-linux-gnu/libglib-2.0.so.0.4002.0+4930
a:/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0.2400.23+12b447:/opt/Unity/Editor/Unity+1116d1
StacktraceTop:
GfxDeviceGLES::~GfxDeviceGLES ()
CreateGLESGfxDevice ()
CreateClientGfxDevice ()
InitializeGfxDevice ()
InitializeEngineGraphics ()
Disassembly:
=> 0x2772c5c GfxDeviceGLES::~GfxDeviceGLES()+60: mov 0x10(%rax),%rdx
0x2772c60 GfxDeviceGLES::~GfxDeviceGLES()+64: mov 0x13a0(%rbp),%rdi
0x2772c67 GfxDeviceGLES::~GfxDeviceGLES()+71: mov %r12,%rsi
0x2772c6a GfxDeviceGLES::~GfxDeviceGLES()+74: callq 0x2769f50 <GfxContextGLES::MakeCurrent(ApiGLES&, gl::ContextHandle)>
0x2772c6f GfxDeviceGLES::~GfxDeviceGLES()+79: mov 0x11a0(%rbp),%esi
0x2772c75 GfxDeviceGLES::~GfxDeviceGLES()+85: mov $0x1,%edx
0x2772c7a GfxDeviceGLES::~GfxDeviceGLES()+90: xor %edi,%edi
0x2772c7c GfxDeviceGLES::~GfxDeviceGLES()+92: callq 0xa63c90 <PluginsSetGraphicsDevice(void*, int, GfxDeviceEventType)>
0x2772c81 GfxDeviceGLES::~GfxDeviceGLES()+97: callq 0x275f290 TransformFeedbackSkinning::CleanupTransformFeedbackShaders()
0x2772c86 GfxDeviceGLES::~GfxDeviceGLES()+102: mov %rbp,%rdi
0x2772c89 GfxDeviceGLES::~GfxDeviceGLES()+105: callq 0xd897e0 GfxDevice::CleanupSharedBuffers()
0x2772c8e GfxDeviceGLES::~GfxDeviceGLES()+110: lea 0x2058(%rbp),%rdi
0x2772c95 GfxDeviceGLES::~GfxDeviceGLES()+117: callq 0x2796210 ConstantBuffersGLES::Clear()
0x2772c9a GfxDeviceGLES::~GfxDeviceGLES()+122: mov %rbp,%rdi
0x2772c9d GfxDeviceGLES::~GfxDeviceGLES()+125: callq 0xd89710 GfxDevice::smile:eleteDynamicVBO()
0x2772ca2 GfxDeviceGLES::~GfxDeviceGLES()+130: callq 0x277bf00 <ReleaseBufferManagerGLES()>
SegvAnalysis:
Segfault happened at: 0x2772c5c GfxDeviceGLES::~GfxDeviceGLES()+60: mov 0x10(%rax),%rdx
PC (0x02772c5c) ok
source “0x10(%rax)” (0x00000010) not located in a known VMA region (needed readable region)!
destination “%rdx” ok
SegvReason: reading NULL VMA
Stacktrace:
#0 0x0000000002772c5c in GfxDeviceGLES::~GfxDeviceGLES ()
No locals.
#1 0x0000000002786d64 in CreateGLESGfxDevice ()
No locals.
#2 0x00000000027410fd in CreateClientGfxDevice ()
No locals.
#3 0x0000000000d8db50 in InitializeGfxDevice ()
No locals.
#4 0x0000000000a361f3 in InitializeEngineGraphics ()
No locals.
#5 0x00000000017041ac in Application::InitializeProject ()
No locals.
#6 0x00000000019ed57a in InitializeUnity ()
No locals.
#7 0x00007f55016fa703 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#8 0x00007f55016f9ce5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#9 0x00007f55016fa048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#10 0x00007f55016fa30a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#11 0x00007f5502784447 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
No symbol table info available.
#12 0x00000000005116d1 in main ()