# Properly Compiled but won't run after copying game data

**URL:** <https://discourse.ioquake.org/t/properly-compiled-but-wont-run-after-copying-game-data/965>\
**Category:** avp\
**Created:** [August 23, 2017, 4:06pm UTC](https://discourse.ioquake.org/t/properly-compiled-but-wont-run-after-copying-game-data/965 "2017-08-23T16:06:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![m0dese7en](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@m0dese7en](https://discourse.ioquake.org/u/m0dese7en)\
**Post date:** [August 23, 2017, 4:06pm UTC](https://discourse.ioquake.org/t/properly-compiled-but-wont-run-after-copying-game-data/965/1 "2017-08-23T16:06:46Z")

</div>

I downloaded the latest packaged source code and compiled it with no issue and then copied the AVP data from my Alien Versus Predator gold edition disc. When trying to run the game it creates the ~/.avp directory and then opens a window briefly then crashes simply printed “segmentation fault”.

I’m using Trisquel GNU/Linux 7 64-bit edition which is based on Ubuntu 14.04.

Any ideas on the best way to troubleshoot this?

---

<div class="post-metadata">

**Author:** ![zturtleman](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.ioquake.org/zturtleman/32/718_2.png) [@zturtleman](https://discourse.ioquake.org/u/zturtleman)\
**Post date:** [August 24, 2017, 12:42am UTC](https://discourse.ioquake.org/t/properly-compiled-but-wont-run-after-copying-game-data/965/2 "2017-08-24T00:42:07Z")

</div>

Hi, I haven’t worked with avp at all. Try making a debug build by changing CMAKE\_BUILD\_TYPE to Debug using ccmake or whatever CMake front-end you prefer. Then rebuild the game and run it in gdb (GNU debugger).

```nohighlight
user@host:~$ gdb ./path/to/avp-executable
(gdb) run
after the crash
(gdb) backtrace
(gdb) Quit

```

It should print the line of code where the crash happens and how it got there. Hope this helps.

---

<div class="post-metadata">

**Author:** ![m0dese7en](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@m0dese7en](https://discourse.ioquake.org/u/m0dese7en)\
**Post date:** [August 24, 2017, 5:37pm UTC](https://discourse.ioquake.org/t/properly-compiled-but-wont-run-after-copying-game-data/965/3 "2017-08-24T17:37:50Z")

</div>

Thanks @zturtleman I will give that a try and report back with what I find.

---

<div class="post-metadata">

**Author:** ![m0dese7en](https://avatars.discourse-cdn.com/v4/letter/m/a88e4f/32.png) [@m0dese7en](https://discourse.ioquake.org/u/m0dese7en)\
**Post date:** [September 7, 2017, 2:39pm UTC](https://discourse.ioquake.org/t/properly-compiled-but-wont-run-after-copying-game-data/965/4 "2017-09-07T14:39:47Z")

</div>

@zturtleman  
I feel like a shrub.

I had a valid compile but the problem was related to my game data and the DRM on the disc. I copied the data and renamed it to all lower case characters but it was not usable until it was unlocked from the DRM scheme on the Gold version discs. I had to hunt down a windows machine and install the software then copy the data from there. After doing that the game plays wonderfully.

Thanks for your suggestion and had the compile gone wrong I think it would have been a very helpful suggestion.
