LiveOverflow/PwnAdventure3

document OS setup

lucasduffey opened this issue · 2 comments

What OS did you use?

Also it seems like you extracted everything to /opt/pwn3 which wasn't documented in Readme. Not sure if that's necessary to make this work.

I'm getting segfaults with Ubuntu 16 LTS

Example crash

  • ctrl+f for "core dumped"
user@pwnadventure3:/opt/pwn3$ sudo docker-compose up
Starting pwn3_init_1 ... done
Starting pwn3_master_1 ... done
Starting pwn3_game_1   ... done
Attaching to pwn3_init_1, pwn3_master_1, pwn3_game_1
pwn3_init_1 exited with code 0
master_1  |  * Starting PostgreSQL 9.3 database server
game_1    | FMallocCrash overhead is 3780608 bytes
game_1    | bash: line 1:     7 Segmentation fault      (core dumped) ./PwnAdventure3Server
pwn3_game_1 exited with code 139
master_1  |    ...done.
master_1  | psql:/opt/pwn3/setup/postgres_init.sql:1: ERROR:  role "pwn3" already exists
master_1  | psql:/opt/pwn3/setup/postgres_init.sql:2: ERROR:  database "master" already exists
master_1  | GRANT
master_1  | rm: cannot remove '/opt/pwn3/client/PwnAdventure3_Data/PwnAdventure3/PwnAdventure3/Saved/Logs/*': No such file or directory
master_1  | No backup data found!
master_1  | DROP TABLE
master_1  | DROP TABLE
master_1  | DROP TABLE
master_1  | DROP TABLE
master_1  | DROP TABLE
master_1  | DROP TABLE
master_1  | DROP TABLE
master_1  | DROP TABLE
master_1  | DROP TABLE
master_1  | DROP TABLE
master_1  | CREATE TABLE
master_1  | CREATE TABLE
master_1  | CREATE TABLE
master_1  | CREATE TABLE
master_1  | CREATE TABLE
master_1  | CREATE TABLE
master_1  | CREATE TABLE
master_1  | CREATE TABLE
master_1  | CREATE TABLE
master_1  | CREATE TABLE
master_1  | CREATE INDEX
master_1  | CREATE INDEX
master_1  | CREATE INDEX
master_1  | CREATE INDEX
master_1  | CREATE INDEX
master_1  | CREATE INDEX
master_1  | CREATE INDEX
master_1  | CREATE INDEX
master_1  | CREATE INDEX
master_1  | CREATE INDEX
master_1  | CREATE INDEX
master_1  | CREATE INDEX
master_1  | CREATE INDEX
master_1  | INSERT 0 1
master_1  | INSERT 0 1
master_1  | UPDATE 1
master_1  | UPDATE 1
master_1  | Use the following team hash to join the admin team:
master_1  | [hash_be_here]

The OS version I used is documented in the Readme here: 14.04.1-Ubuntu

It's also mentioned in this video: https://www.youtube.com/watch?v=VkXZXwQP5FM&list=PLhixgUqwRTjzzBeFSHXrw9DnQtssdAwgG&index=1

Also there is nothing extracted into /opt/pwn3. At least the README instructions are clear on where you extract it to. The /opt/pwn3 directory is used inside the docker container, so you shouldn't have to worry about it.

But regarding your issue I'm not sure. I generally would suspect low memory, but really not sure.

my bad

I saw the kernel version, but not the 14.04.1

5 GB memory on dedicated google cloud instance - so still debugging