setting default profile causes segmentation fault

Get support for Unvanquished.
Post Reply
User avatar
JOURNEYMAN
Dragoon
Posts: 339
Joined: Thu Mar 08, 2012 9:42 pm UTC

setting default profile causes segmentation fault

Post by JOURNEYMAN »

On Linux, setting default profile caused segmentation fault. Removing the defaultprofile.dat fixed the problem. Loading the profile manually didn't cause any problems.
Not sure if this is unique to my system or not.

Grab reality by the balls and squeeeeze!

Image

User avatar
Ishq
Project Head
Posts: 1147
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: setting default profile causes segmentation fault

Post by Ishq »

Was this built recently? Profiles have gone some changes in master which might require you to put in new ui files.

User avatar
JOURNEYMAN
Dragoon
Posts: 339
Joined: Thu Mar 08, 2012 9:42 pm UTC

Re: setting default profile causes segmentation fault

Post by JOURNEYMAN »

Yes. It was the most recent build. Are the new ui files available for download?

Grab reality by the balls and squeeeeze!

Image

User avatar
Ishq
Project Head
Posts: 1147
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: setting default profile causes segmentation fault

Post by Ishq »

Yes. Any updated ui files are in src/gamelogic/gpp/ui

User avatar
JOURNEYMAN
Dragoon
Posts: 339
Joined: Thu Mar 08, 2012 9:42 pm UTC

Re: setting default profile causes segmentation fault

Post by JOURNEYMAN »

The alpha 6 appears to be forcing default profile to be set. This causes segmentation fault, and I have to delete the defaultprofile.dat to be able to run the game again.

Grab reality by the balls and squeeeeze!

Image

User avatar
liliff
Posts: 22
Joined: Mon Jul 30, 2012 7:46 pm UTC
Location: Chicago, IL

Re: setting default profile causes segmentation fault

Post by liliff »

I was getting a segfault earlier but it was because glew was updated from 1.7.0 to 1.8.0 on my distro - so recompiling unv fixed it.

User avatar
JOURNEYMAN
Dragoon
Posts: 339
Joined: Thu Mar 08, 2012 9:42 pm UTC

Re: setting default profile causes segmentation fault

Post by JOURNEYMAN »

glew on my system is still 1.6.0, and there seems to be no update for it.

Grab reality by the balls and squeeeeze!

Image

User avatar
Ishq
Project Head
Posts: 1147
Joined: Tue Mar 06, 2012 8:32 pm UTC

Re: setting default profile causes segmentation fault

Post by Ishq »

For those of you who are stuck with older versions of GLEW and wish to compile from source, do this:

Code: Select all

cmake -DUSE_INTERNAL_GLEW <path to cmakelists.txt>

It should now not fail at GLEW_get_program_binary

User avatar
JOURNEYMAN
Dragoon
Posts: 339
Joined: Thu Mar 08, 2012 9:42 pm UTC

Re: setting default profile causes segmentation fault

Post by JOURNEYMAN »

I get this error message when I do that.

CMake Error at src/libs/glew/CMakeLists.txt:4 (message):
USE_INTERNAL_SDL is only support for Windows

Grab reality by the balls and squeeeeze!

Image

Post Reply