kaimallea / demoinfogo-linux

Linux, OSX port of Valve's demoinfogo tool
BSD 2-Clause "Simplified" License
152 stars 38 forks source link

Segmentation fault and recursion #11

Closed kkthxbye-code closed 9 years ago

kkthxbye-code commented 9 years ago

I can't reference the old issue (can't find it, it seems you moved the repo). The issue persists for me.

It should be built for 32-bit now: demoinfogo: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), statically linked, for GNU/Linux 2.6.32

Recursion leading to segmentation fault. I'm on Debian 7. Not sure what the issue is, I built it as advised (make get_protobuf instead of make protobuf though).

kaimallea commented 9 years ago

Installing Debian 7 on a VM now, will let you know what I find

kaimallea commented 9 years ago

32 or 64 bit Debian 7 OS? FWIW I got it working on Ubuntu Trusty 64-bit

kkthxbye-code commented 9 years ago

I'm on 64 bit Debian. I'll try building on Ubuntu shortly.

kkthxbye-code commented 9 years ago

It works perfectly on Ubuntu Trusty 64-bit, so the issue must be my debian install or just generally debian 64bit.

jonasfs commented 9 years ago

Yep, confirm it for 64bit Debian 7.

kaimallea commented 9 years ago

I had to update gcc/g++ on Debian 7 before I could compile this. I installed 4.9 from the jessie apt repo. I was able to compile and parse a demo.

Also, I fixed the string manipulations that @jonasfs hinted at in another issue.

Feel free to re-open this if it still doesn't work for you. I tested on a Debian 7 64 bit VM w/ g++ and g++-multilib versions 4.9.