Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support | Shelf | Store

Privacy Policy


Post Reply 
Another Mine Artefact Crash [solved]
Author Message
ronsen Offline
Junior Member

Posts: 7
Joined: Jun 2007
Reputation: 0
Post: #1
Another Mine Artefact Crash [solved]
Hi There,

i have some trouble in the mine by touching the artefact... segfault!
i use the latest version (update) of penumbra and i also use the official "Deutsch.lang" file

Quote:./penumbra
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::resize
(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal error(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal error./penumbra: line 9: 4709 Segmentation fault (core dumped) ./penumbra.bin "$@"
Penumbra: Overture exited unexpectedly, please check
/home/kingron/.frictionalgames/Penumbra/Overture/hpl.log
for any error messages
Also try running
ulimit -c unlimited
And re-running Penumbra and try and recreate the error
then submit the generated core file or stack trace

Quote:gdb ./penumbra.bin core.4709
GNU gdb 6.7.1
Copyright © 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

warning: Can't read pathname for load map: Input/output error.
Reading symbols from /home/kingron/games/penumbra-episode1/lib/libvorbisfile.so.3...(no debugging symbols found)...done.
Loaded symbols for ./lib/libvorbisfile.so.3
Reading symbols from /home/kingron/games/penumbra-episode1/lib/libfltk.so.1.1...(no debugging symbols found)...done.
Loaded symbols for ./lib/libfltk.so.1.1
Reading symbols from /home/kingron/games/penumbra-episode1/lib/libSDL-1.2.so.0...(no debugging symbols found)...done.
Loaded symbols for ./lib/libSDL-1.2.so.0
Reading symbols from /home/kingron/games/penumbra-episode1/lib/libSDL_ttf-2.0.so.0...(no debugging symbols found)...done.
Loaded symbols for ./lib/libSDL_ttf-2.0.so.0
Reading symbols from /home/kingron/games/penumbra-episode1/lib/libSDL_image-1.2.so.0...
(no debugging symbols found)...done.
Loaded symbols for ./lib/libSDL_image-1.2.so.0
Reading symbols from /usr/lib/opengl/nvidia/lib/libGL.so.1...(no debugging symbols found)...done.
Loaded symbols for //usr//lib/opengl/nvidia/lib/libGL.so.1
Reading symbols from /home/kingron/games/penumbra-episode1/lib/libGLU.so.1...(no debugging symbols found)...done.
Loaded symbols for ./lib/libGLU.so.1
Reading symbols from /home/kingron/games/penumbra-episode1/lib/libCg.so...(no debugging symbols found)...done.
Loaded symbols for ./lib/libCg.so
Reading symbols from /home/kingron/games/penumbra-episode1/lib/libCgGL.so...
(no debugging symbols found)...done.
Loaded symbols for ./lib/libCgGL.so
Reading symbols from /home/kingron/games/penumbra-episode1/lib/libopenal.so.1...done.
Loaded symbols for ./lib/libopenal.so.1
Reading symbols from /home/kingron/games/penumbra-episode1/lib/libalut.so.0...done.
Loaded symbols for ./lib/libalut.so.0
Reading symbols from /home/kingron/games/penumbra-episode1/lib/libstdc++.so.6...done.
Loaded symbols for ./lib/libstdc++.so.6
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/libgcc_s.so.1...done.
Loaded symbols for /usr/lib/gcc/i486-pc-linux-gnu/4.1.2/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/libpthread.so.0...done.
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /home/kingron/games/penumbra-episode1/lib/libvorbis.so.0...done.
Loaded symbols for ./lib/libvorbis.so.0
Reading symbols from /usr/lib/libXft.so.2...done.
Loaded symbols for /usr/lib/libXft.so.2
Reading symbols from /usr/lib/libX11.so.6...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/lib/opengl/nvidia/lib/libGLcore.so.1...done.
Loaded symbols for //usr//lib/opengl/nvidia/lib/libGLcore.so.1
Reading symbols from /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1...done.
Loaded symbols for //usr//lib/opengl/nvidia/lib/libnvidia-tls.so.1
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /home/kingron/games/penumbra-episode1/lib/libogg.so.0...done.
Loaded symbols for ./lib/libogg.so.0
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /usr/lib/libexpat.so.1...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /usr/lib/libXrandr.so.2...done.
Loaded symbols for /usr/lib/libXrandr.so.2
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/libXfixes.so.3...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /usr/lib/libasound.so.2...done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Core was generated by `./penumbra.bin'.
Program terminated with signal 11, Segmentation fault.
#0 0xb7e5bcd6 in glGetError () from //usr//lib/opengl/nvidia/lib/libGL.so.1

My System:
Gentoo 32bit / kernel 2.6.27 / nvidia 9800gtx driver 177.80


Well... please help :-)

Thanks a lot!
11-24-2008 11:29 PM
Find all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,101
Joined: Jul 2006
Reputation: 14
Post: #2
RE: Another Mine Artefact Crash
Please try with the english.lang that is installed with the linux build, and make sure that works. Unfortunately other languages are not support and have not been thoroughly tested on linux Penumbra.

Also, I need a FULL stack trace from the core file.. you can get that by typing
thread apply all bt
in GDB and sending the output of that. (all of the pages )

Developing away on one of
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
11-25-2008 06:26 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ronsen Offline
Junior Member

Posts: 7
Joined: Jun 2007
Reputation: 0
Post: #3
RE: Another Mine Artefact Crash
hi there,

i have tried the english.lang file, and of course, it's working, but why? time to investigate...

so i turned on quicksave and i realized that the game also crashes by pressing F4 in the "water cave" level. hmm getting closer ^^

well, it has somthing to do with our umlauts : öäü

change in the deutsch.lang under
<CATEGORY Name="SaveNames">
all <Entry Name="level01***... with umlauts

i.e.
<Entry Name="level01_08_water_cave">Wasserhöhle</Entry>
to
<Entry Name="level01_08_water_cave">Wasserhoehle</Entry>

that gives me the idea to make sure that my systems locale is utf8 (my xterm included). now it does!
11-26-2008 08:47 PM
Find all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,101
Joined: Jul 2006
Reputation: 14
Post: #4
RE: Another Mine Artefact Crash [solved]
So you just made sure the LANG was set to a UTF-8 and the crash went away?

Developing away on one of
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
11-27-2008 02:09 AM
Visit this user's website Find all posts by this user Quote this message in a reply
ronsen Offline
Junior Member

Posts: 7
Joined: Jun 2007
Reputation: 0
Post: #5
RE: Another Mine Artefact Crash [solved]
Set my LANG to UTF-8 was unfortunately not engouh Undecided seems to me penumbra has a problem
so create savegames with strage names (letters)

i had to change all the savenames:

org.
Quote: <CATEGORY Name="SaveNames">
<Entry Name="level01_05_office">Altes Büro</Entry>
<Entry Name="level01_08_water_cave">Wasserhöhle</Entry>
<Entry Name="level01_07_lead_mine_shafts">Hauptschächte</Entry>
</CATEGORY>

to

Quote: <CATEGORY Name="SaveNames">
<Entry Name="level01_05_office">Altes Buero</Entry>
<Entry Name="level01_08_water_cave">Wasserhoehle</Entry>
<Entry Name="level01_07_lead_mine_shafts">Hauptschaechte</Entry>
</CATEGORY>
11-27-2008 11:37 PM
Find all posts by this user Quote this message in a reply
Urkle Offline
FG - Associate

Posts: 1,101
Joined: Jul 2006
Reputation: 14
Post: #6
RE: Another Mine Artefact Crash [solved]
Thanks for tracking that down. If we publish another patch I'll try to get that fixed.

ronsen Wrote:Set my LANG to UTF-8 was unfortunately not engouh Undecided seems to me penumbra has a problem
so create savegames with strage names (letters)

i had to change all the savenames:

org.
Quote: <CATEGORY Name="SaveNames">
<Entry Name="level01_05_office">Altes Büro</Entry>
<Entry Name="level01_08_water_cave">Wasserhöhle</Entry>
<Entry Name="level01_07_lead_mine_shafts">Hauptschächte</Entry>
</CATEGORY>

to

Quote: <CATEGORY Name="SaveNames">
<Entry Name="level01_05_office">Altes Buero</Entry>
<Entry Name="level01_08_water_cave">Wasserhoehle</Entry>
<Entry Name="level01_07_lead_mine_shafts">Hauptschaechte</Entry>
</CATEGORY>

Developing away on one of
Mac Pro Dual 2Ghz, 7GB RAM, Snow Leopard, nVidia 8800 512MB.
Linux, 3-core AMD, 4GB RAM, Fedora 16, nVidia 450 1GB
11-28-2008 02:15 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)