Sid Meier's Civilization V

Sid Meier's Civilization V

Statistiken ansehen:
ssamsam 23. Juli 2014 um 1:57 Uhr
Segfault in Linux
Hi,

I am running Civ5 on debian jessie. Civ5 was working fine with the AMD Catalyst driver. Now that the opensource radeon driver supports my card (R7 250), I thought I'd give it a go. It mostly works fine appart from the transparency glitch ( https://bugs.freedesktop.org/show_bug.cgi?id=80015 ), but it sometimes crashes back to the desktop. In dmesg I can see the error

Civ5XP[3807]: segfault at c ip 00000000f7348f86 sp 00000000f0db89e0 error 4 in libpthread-2.19.so[f7340000+18000]

Sometimes I can play for an hour without seeing this. But right now I have a save that crashes as soon as I press the next turn button.

I have
linux 3.14.12 (3.14.12-1)
xorg 1.16 (2:1.16.0-1)
mesa 10.2.3 (10.2.3-1)
radeon 7.4.0 (1:7.4.0-2)

Is it possible to start civ5 in gdb to get a better stack trace?
< >
Beiträge 115 von 23
Merlyn 23. Juli 2014 um 18:12 Uhr 
How can you see it using dmesg ?
Merlyn 23. Juli 2014 um 18:19 Uhr 
In fact, I havce several random crash on civ 5 on ubuntu 14.04 and I do not know how to see the log of the message, Aspyr say it's ma video card but I want to be sure.
ssamsam 25. Juli 2014 um 6:48 Uhr 
just open a terminal and run the command 'dmesg'. It will print out the system log file.
Merlyn 25. Juli 2014 um 11:58 Uhr 
Thanks you.
Sometimes the message appears and sometimes not, that's weird
MisterX 2. Jan. 2015 um 12:02 Uhr 
Civ5XP[3414]: segfault at fffe0 ip 000000000866e0f8 sp 00000000f1854f30 error 6 in Civ5XP[8048000+22b5000]

That is my segfault that appears for no apparent reason. Running on Ubuntu 14.04.1 LTS with an NVidia GeForce GTX 660 Ti. Any hint on what to do is highly appreciated. ;)
Was there ever a solution to this? I'm getting it now as well. (Also Debian Jessie.)
Wayne 19. Feb. 2015 um 8:24 Uhr 
No luck for me.

Ubuntu 14.04 LTS
NVIDIA GEForce GTX 760
nvidia-331-updates package
2 monitors


Aspyr support didn't want to help me debug unless I disabled one monitor.


I previously had 180 hours of use on Linux so I something must have changed.


My failure is: Civ5XP[1737]: segfault at 14 ip 000000000886a813 sp 00000000598ff090 error 4 in Civ5XP[8048000+22b5000]

So in the app itself like MisterX and not in libpthread like the original poster
Zuletzt bearbeitet von Wayne; 19. Feb. 2015 um 8:28 Uhr
bytor_x86 19. Feb. 2015 um 14:36 Uhr 
Hmm, so it seems this issue (segfault in Civ5XP[8048000+22b5000]) is specific to (newer?) NVIDIA cards and binary drivers.

I have no issues with older NVS5100M and 340.76, but I get the same segfault on my main box with GTX 970 and 346.35 driver (both computers run 64-bit Fedora 21), typically after couple of turns of a single player game:

Civ5XP[6357]: segfault at 0 ip 0000000008ce645c sp 000000002cfbeff0 error 4 in Civ5XP[8048000+22b5000]

And gdb backtrace is:
#0 0x0886a813 in ?? ()
#1 0x0888c023 in ?? ()
#2 0x0888bf74 in ?? ()
#3 0x0888be56 in ?? ()
#4 0x0888b0b5 in cvLandmarkVisSystem::LandmarkRenderJob::Execute(unsigned int) ()
#5 0x08dd0898 in ?? ()
#6 0xf7d8fadf in tbb::internal::custom_scheduler<tbb::internal::IntelSchedulerTraits>::local_wait_for_all (this=0xc8fa3e80, parent=..., child=0xf4c4be20) at ../../src/tbb/custom_scheduler.h:481
#7 0xf7d8a804 in tbb::internal::arena::process (this=this@entry=0xf4cf3480, s=...) at ../../src/tbb/arena.cpp:102
#8 0xf7d89f67 in tbb::internal::market::process (this=0xf4cfff00, j=...) at ../../src/tbb/market.cpp:481
#9 0xf7d85d60 in tbb::internal::rml::private_worker::run (this=this@entry=0xf4cf7a80) at ../../src/tbb/private_server.cpp:281
#10 0xf7d85f8f in tbb::internal::rml::private_worker::thread_routine (arg=0xf4cf7a80) at ../../src/tbb/private_server.cpp:234
#11 0xf7b94313 in start_thread () from /lib/libpthread.so.0
#12 0xf79e8c2e in clone () from /lib/libc.so.6


Aspyr support suggests trying different drivers, or using SteamOS or Ubuntu, but considering the others' comments, that probably won't do much good :)


I did find that exporting __GL_YIELD="NOTHING" before running either Steam or Civ5 somewhat mitigates the issue; the game still crashes every now and then, but at least it's mostly playable now...
Wayne 27. Feb. 2015 um 10:24 Uhr 
I have a strong suspicion it is related to getting wine to work and doing something like described here.


http://askubuntu.com/questions/449507/nvidia-libopencl1-331-has-to-be-removed-before-installing-wine
wdp 3. März 2015 um 5:31 Uhr 
I am also getting the same segfault message:

Civ5XP[9202]: segfault at 0 ip 0000000008ce645c sp 0000000093911fe0 error 4 in Civ5XP[8048000+22b5000]

My system:
Ubuntu 14.04.2
NVIDIA GEForce GTX 960
nvidia drivers 346.47

On my previous system:
Ubuntu 14.04.2
NVIDIA GEForce GTX 260
nvidia drivers 330

I never had any issues, so I also suspect it is related to the new nvidia drivers, somehow.
bueno 6. März 2015 um 18:44 Uhr 
CentOS 7.0

NVIDIA GeForce 570 GTX

nvidia driver 346.47

Similiar crash, happens within 20 minutes of playing:

[ 339.497216] Civ5XP[4015]: segfault at 14 ip 000000000886a8cb sp 00000000592bf060 error 4 in Civ5XP[8048000+22b5000]
juxx 22. Nov. 2015 um 10:22 Uhr 
Hello,

I had the same message, with Ubuntu 14.04 and NVIDIA R9 270.

In fact, i had a bad driver , you can check with a terminal and the command : lspci | grep VGA

If the driver is not the same, you must find the good :) - For me, i use fglrx ( http://doc.ubuntu-fr.org/catalyst )

Bye
strader 27. Okt. 2016 um 7:07 Uhr 
still no fix for this? I have the same error and crash in ubuntu 16.10 and archlinux.
Zuletzt bearbeitet von strader; 27. Okt. 2016 um 7:07 Uhr
Wayne 25. Nov. 2016 um 3:10 Uhr 
I finally got Civ V working for me on linux.

I was skeptical, but I disabled hyperthreading in the bios and the game stopped crashing.

My context:
  • Used to work fine, but started crashing randomly (every 10-20min?) after upgrading to a newer Nvidia video card.
  • I have a GeForce GTX 760
  • I also have a high end i7 processor. (other threads indicated this is relevant)
wx 5. Dez. 2016 um 13:35 Uhr 
I got the same kind of bug (game crashed, and saved game crash when loaded at the same turn, not before).


Ursprünglich geschrieben von author:
Civ5XP[22722] trap invalid opcode ip:8d7fdd7 sp:f2425050 error:0 in Civ5XP[8048000+22a7000]

Ubuntu 16.10
Append both with :
- Nvidia 375.20 GeForce GT 635M
- Integrated Intel graphics
< >
Beiträge 115 von 23
Pro Seite: 15 30 50