Opened 11 years ago
Closed 11 years ago
#1900 closed defect (needsinfo)
[NEEDS INFO] Segmentation fault loading nearly all scenarios
Reported by: | zoot | Owned by: | |
---|---|---|---|
Priority: | Should Have | Milestone: | |
Component: | Core engine | Keywords: | linux crash |
Cc: | Patch: |
Description (last modified by )
When starting a new match on "Punjab 1", just after the map finish loading, the game crashes. This is the backtrace:
#0 0x00007fb2ff57e3d6 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007fb2c2959d80 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #2 0x00007fb2c295a18e in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #3 0x00007fb2c295a576 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #4 0x00007fb2c296bb02 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #5 0x00007fb2c29591a7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so #6 0x00007fb2c24d43da in ?? () from /usr/lib/x86_64-linux-gnu/libdricore9.0.2.so.1 #7 0x00007fb2c24d53b4 in ?? () from /usr/lib/x86_64-linux-gnu/libdricore9.0.2.so.1 #8 0x00007fb2c24d54fc in ?? () from /usr/lib/x86_64-linux-gnu/libdricore9.0.2.so.1 #9 0x00007fb2c24d55e0 in ?? () from /usr/lib/x86_64-linux-gnu/libdricore9.0.2.so.1 #10 0x00000000006b1922 in InstancingModelRenderer::RenderModel (this=0x289a570, shader=..., model=<optimized out>) at ../../../source/renderer/InstancingModelRenderer.cpp:383 #11 0x00000000006bafda in ShaderModelRenderer::Render (this=0x289a6b0, modifier=..., context=..., flags=0) at ../../../source/renderer/ModelRenderer.cpp:733 #12 0x000000000068687a in CRendererInternals::CallTranspModelRenderers (this=0x26e6ae0, context=..., flags=flags@entry=0) at ../../../source/renderer/Renderer.cpp:385 #13 0x000000000067e813 in CRenderer::RenderTransparentModels (this=this@entry=0x2712300, context=..., transparentMode=transparentMode@entry=TRANSPARENT_OPAQUE, frustum=frustum@entry=0x0) at ../../../source/renderer/Renderer.cpp:1060 #14 0x00000000006809ff in CRenderer::RenderSubmissions (this=this@entry=0x2712300) at ../../../source/renderer/Renderer.cpp:1546 #15 0x0000000000680fbc in CRenderer::RenderScene (this=0x2712300, scene=...) at ../../../source/renderer/Renderer.cpp:1779 #16 0x00000000005b05b9 in Render () at ../../../source/ps/GameSetup/GameSetup.cpp:218 #17 0x0000000000568b23 in CGame::ReallyStartGame (this=0x3a0e880) at ../../../source/ps/Game.cpp:216 #18 0x0000000000426186 in ProgressiveLoad () at ../../../source/main.cpp:249 #19 Frame () at ../../../source/main.cpp:347 #20 RunGameOrAtlas (argc=argc@entry=1, argv=argv@entry=0x7fff6ed4f3d8) at ../../../source/main.cpp:508 #21 0x000000000041b2d7 in main (argc=1, argv=0x7fff6ed4f3d8) at ../../../source/main.cpp:551
I do not get the crash on "Combat Demo", but I do get it on "Zagros Mountains 1", "Saharan Oases" and likely others. I do not get it on any random maps.
I am using this revision: https://github.com/0ad/0ad/commit/9da1d2bf9c97a997fa70c4b0a769ab2a37a262a5
It could be a change or bug in a some driver that was recently autoupdated on my system, but I can't know.
Attachments (1)
Change History (13)
comment:1 by , 11 years ago
Description: | modified (diff) |
---|
comment:2 by , 11 years ago
Description: | modified (diff) |
---|---|
Summary: | Segmentation fault loading nearly all maps → Segmentation fault loading nearly all scenarios |
comment:3 by , 11 years ago
follow-up: 7 comment:4 by , 11 years ago
Do you have GLSL shaders enabled?
If yes could you try to narrow it down to some effect on a specific map? (commenting it out in the map xml)
comment:5 by , 11 years ago
Which OS and which graphics drivers are you using? Did this map work for you recently?
follow-up: 9 comment:6 by , 11 years ago
I'm using Ubuntu 12.10. How can I tell what drivers I am using? If I launch the 'jockey-kde' tool in Ubuntu, it says "No proprietary drivers are in use on this system." So I assume I am using mesa or something?
comment:7 by , 11 years ago
Replying to leper:
Do you have GLSL shaders enabled?
I only get the error with GLSL enabled, yes. If I disable GLSL I get weird artifacts (patches of black terrain), though that has always been the case.
comment:8 by , 11 years ago
Installing NVIDIAs proprietary drivers broke my system, so I may try installing the PPA drivers that fabio sometimes link to. (Though that seems somewhat of a pain in the b*tt. Why can't they just make it work out of the box?)
comment:9 by , 11 years ago
Replying to zoot:
I'm using Ubuntu 12.10. How can I tell what drivers I am using?
system_info.txt
in the game's log directory should tell you, I don't know if there's a better way in Ubuntu/Linux since I don't use it often enough.
by , 11 years ago
Attachment: | system_info.txt added |
---|
comment:12 by , 11 years ago
Milestone: | Backlog |
---|---|
Resolution: | → needsinfo |
Status: | new → closed |
Summary: | Segmentation fault loading nearly all scenarios → [NEEDS INFO] Segmentation fault loading nearly all scenarios |
Since I only get it on standard scenario maps, could it perhaps be some fancy graphics effect enabled on those, but not on random and demo maps?