Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Black Plague Demo from Desura - strange crash.
Jusko Offline
Junior Member

Posts: 6
Threads: 2
Joined: Jun 2012
Reputation: 0
#1
Solved: 4 Years, 6 Months, 3 Weeks ago Black Plague Demo from Desura - strange crash.

When i try to run Black Plague, game won't start. Log:

<log>ALSA lib dlmisc.c:236Sadsnd1_dlobj_cache_get) Cannot open shared library /usr/lib/alsa-lib/libasound_module_pcm_pulse.so
(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal error*** glibc detected *** ./blackplaguedemo.bin: free(): invalid pointer: 0xf7227000 ***
======= Backtrace: =========
/lib/libc.so.6[0x46bc6139]
/lib/libc.so.6(_IO_free_backup_area+0x35)[0x46bc2315]
/lib/libc.so.6(_IO_file_overflow+0x1ea)[0x46bc110a]
/lib/libc.so.6(_IO_file_xsputn+0x17f)[0x46bc0a7f]
/lib/libc.so.6(_IO_vfprintf+0x153)[0x46b93903]
/lib/libc.so.6(_IO_fprintf+0x1f)[0x46b9d17f]
./blackplaguedemo.bin[0x8330087]
./blackplaguedemo.bin[0x8331510]
./blackplaguedemo.bin[0x8377c09]
/lib/libc.so.6[0x46b83d01]
/lib/libc.so.6[0x46b83d8d]
./lib/libCg.so(+0x11575e)[0xf6f1975e]
./lib/libCg.so(+0xb8f65)[0xf6ebcf65]
[0xf770b400]
======= Memory map: ========
08048000-086dc000 r-xp 00000000 08:02 13375962 /home/krystian/Gry/desura/common/penumbra-black-plague/blackplaguedemo.bin
086dc000-086e2000 rw-p 00694000 08:02 13375962 /home/krystian/Gry/desura/common/penumbra-black-plague/blackplaguedemo.bin
086e2000-086f1000 rw-p 00000000 00:00 0
097fe000-0a1ad000 rw-p 00000000 00:00 0 [heap]
452f6000-4530b000 r-xp 00000000 08:03 60305 /usr/lib/libz.so.1.2.5
4530b000-4530c000 rw-p 00014000 08:03 60305 /usr/lib/libz.so.1.2.5
4530e000-4531c000 r-xp 00000000 08:03 47420 /usr/lib/libXi.so.6.1.0
4531c000-4531d000 r--p 0000d000 08:03 47420 /usr/lib/libXi.so.6.1.0
4531d000-4531e000 rw-p 0000e000 08:03 47420 /usr/lib/libXi.so.6.1.0
453ec000-45402000 r-xp 00000000 08:03 57288 /usr/lib/libICE.so.6.3.0
45402000-45403000 r--p 00015000 08:03 57288 /usr/lib/libICE.so.6.3.0
45403000-45404000 rw-p 00016000 08:03 57288 /usr/lib/libICE.so.6.3.0
45404000-45406000 rw-p 00000000 00:00 0
45408000-45418000 r-xp 00000000 08:03 16764 /usr/lib/libXext.so.6.4.0
45418000-45419000 r--p 0000f000 08:03 16764 /usr/lib/libXext.so.6.4.0
45419000-4541a000 rw-p 00010000 08:03 16764 /usr/lib/libXext.so.6.4.0
4550a000-45526000 r-xp 00000000 08:03 45010 /usr/lib/libgcc_s-4.7.0-20120507.so.1
45526000-45527000 rw-p 0001b000 08:03 45010 /usr/lib/libgcc_s-4.7.0-20120507.so.1
4567a000-4575c000 r-xp 00000000 08:03 60315 /usr/lib/libasound.so.2.0.0
4575c000-4575f000 r--p 000e2000 08:03 60315 /usr/lib/libasound.so.2.0.0
4575f000-45760000 rw-p 000e5000 08:03 60315 /usr/lib/libasound.so.2.0.0
45762000-458c8000 r-xp 00000000 08:03 60651 /usr/lib/libvorbisenc.so.2.0.9
458c8000-458d9000 r--p 00165000 08:03 60651 /usr/lib/libvorbisenc.so.2.0.9
458d9000-458da000 rw-p 00176000 08:03 60651 /usr/lib/libvorbisenc.so.2.0.9
45aee000-45af0000 r-xp 00000000 08:03 52713 /usr/lib/libXdamage.so.1.1.0
45af0000-45af1000 r--p 00001000 08:03 52713 /usr/lib/libXdamage.so.1.1.0
45af1000-45af2000 rw-p 00002000 08:03 52713 /usr/lib/libXdamage.so.1.1.0
45d4c000-45d53000 r-xp 00000000 08:03 45002 /usr/lib/libSM.so.6.0.1
45d53000-45d54000 r--p 00006000 08:03 45002 /usr/lib/libSM.so.6.0.1
45d54000-45d55000 rw-p 00007000 08:03 45002 /usr/lib/libSM.so.6.0.1
45d57000-45d60000 r-xp 00000000 08:03 47425 /usr/lib/libXcursor.so.1.0.2
45d60000-45d61000 r--p 00008000 08:03 47425 /usr/lib/libXcursor.so.1.0.2
45d61000-45d62000 rw-p 00009000 08:03 47425 /usr/lib/libXcursor.so.1.0.2
45d64000-45d6b000 r-xp 00000000 08:03 47433 /usr/lib/libXrandr.so.2.2.0
45d6b000-45d6c000 r--p 00006000 08:03 47433 /usr/lib/libXrandr.so.2.2.0
45d6c000-45d6d000 rw-p 00007000 08:03 47433 /usr/lib/libXrandr.so.2.2.0
45d9e000-45db3000 r-xp 00000000 08:03 60851 /usr/lib/libresolv-2.15.so
45db3000-45db4000 r--p 00014000 08:03 60851 /usr/lib/libresolv-2.15.so
45db4000-45db5000 rw-p 00015000 08:03 60851 /usr/lib/libresolv-2.15.so
45db5000-45db7000 rw-p 00000000 00:00 0
45df3000-45df7000 r-xp 00000000 08:03 57282 /usr/lib/libXfixes.so.3.1.0
45df7000-45df8000 r--p 00003000 08:03 57282 /usr/lib/libXfixes.so.3.1.0
45df8000-45df9000 rw-p 00004000 08:03 57282 /usr/lib/libXfixes.so.3.1.0
467ce000-467ed000 r-xp 00000000 08:03 57290 /usr/lib/libselinux.so.1
467ed000-467ee000 r--p 0001e000 08:03 57290 /usr/lib/libselinux.so.1
467ee000-467ef000 rw-p 0001f000 08:03 57290 /usr/lib/libselinux.so.1
467ef000-467f0000 rw-p 00000000 00:00 0
46851000-46898000 r-xp 00000000 08:03 60279 /usr/lib/libdbus-1.so.3.5.6
46898000-46899000 ---p 00047000 08:03 60279 /usr/lib/libdbus-1.so.3.5.6
46899000-4689a000 r--p 00047000 08:03 60279 /usr/lib/libdbus-1.so.3.5.6
4689a000-4689b000 rw-p 00048000 08:03 60279 /usr/lib/libdbus-1.so.3.5.6
46b52000-46cfa000 r-xp 00000000 08:03 44766 /usr/lib/libc-2.15.so
46cfa000-46cfc000 r--p 001a8000 08:03 44766 /usr/lib/libc-2.15.so
46cfc000-46cfd000 rw-p 001aa000 08:03 44766 /usr/lib/libc-2.15.so
46cfd000-46d00000 rw-p 00000000 00:00 0
46d02000-46d18000 r-xp 00000000 08:03 5291 /usr/lib/libpthread-2.15.so
46d18000-46d19000 r--p 00015000 08:03 5291 /usr/lib/libpthread-2.15.so
46d19000-46d1a000 rw-p 00016000 08:03 5291 /usr/lib/libpthread-2.15.so(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal errorPenumbra: Black Plague exited unexpectedly, please check
/home/krystian/.frictionalgames/Penumbra/Black Plague/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</log>

With ulimit -c unlimited still the same. Strange, because Overture and Amsesia working like a charm. I planning to buy Black Plague because for me it's even better than amnesia (more claustrophobic atmosphere), but can't even run a demo.


Fedora 17 x86_64. Overture and Amnesia works out of the box (barely - in Amsesia i had to copy all libs from /Amnesia/libs64 libs to /usr/lib64 system folder to run game).

The funny thing - windows demo works under wine with no problem :/
(This post was last modified: 06-30-2012, 02:06 PM by Jusko.)
06-30-2012, 09:47 AM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#2
Solved: 4 Years, 6 Months, 3 Weeks ago RE: Black Plague Demo from Desura - strange crash.

Why did you have to copy the libs from the Amnesia/lib64 folder to your system?? you should not have to do that at all?? (actually I would advise AGAINST replacing your system libs with the ones with the game).

From your error it looks like a Cg error, possibly you need a newer version of the Cg library to replace the one included with blackplague

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
07-01-2012, 07:55 PM
Website Find
Jusko Offline
Junior Member

Posts: 6
Threads: 2
Joined: Jun 2012
Reputation: 0
#3
Solved: 4 Years, 6 Months, 3 Weeks ago RE: Black Plague Demo from Desura - strange crash.

Well, i deleted libcg and libcgl from black plague demo and installed libCg-3.0.0016-3.fc17.i686.

Game hangs on black screen just after ./blackplaguedemo - no sound or something else.

hpl.log:

-------- THE HPL ENGINE LOG ------------
Creating Engine Modules-------------------------------------------------------- Creating graphics module Creating system module Creating resource module Creating input module Creating sound module Creating physics module Creating ai module Creating gui module Creating haptic module Creating scene module--------------------------------------------------------
Initializing Resources Module-------------------------------------------------------- Creating resource managers Misc Creation--------------------------------------------------------
Initializing Graphics Module-------------------------------------------------------- Init low level graphics Setting video mode: 800 x 600 - 32 bpp Init Glee...OK Setting up OpenGL  Max texture image units: 16  Max texture coord units: 8  Two sided stencil: 1  Vertex Buffer Object: 1  Anisotropic filtering: 1  Max Anisotropic degree: 16  Multisampling: 1  Vertex Program: 1  Fragment Program: 1  libcglNV Register Combiners: 0  NV Register Combiners Stages: 146473432  ATI Fragment Shader: 0 Creating graphic systems  Creating Renderer2D  Renderer2D created  Creating Renderer3D   Load Renderer3D gpu programs:    Extrude    Diffuse Vertex    Diffuse Fragment    Fog   Creating fog textures: Solid Additive Alpha    init sky box  Renderer3D created Creating screen buffers size 800.000000 : 600.000000 Creating programs The compile returned an error. -----------------------------------core/programs/PostEffect_Motion_fp.cg(28) : error C5013: profile does not support "for" statements and "for" could not be unrolled. -----------------------------------CG: Error loading: 'core/programs/PostEffect_Motion_fp.cg'!ERROR: Couldn't create program 'PostEffect_Motion_fp.cg'Dynamic loops in motion blur fp not supported, loading static instead.  RendererPostEffects created Adding engine materials--------------------------------------------------------
Initializing Sound Module-------------------------------------------------------- Initializing OpenAL.  Trying to open audio device...


ps: Amnesia. Well, i had to copy this librares because game didn't see libraries in /Amnesia/libs64. I don't know why - when i tried to run amnesia, terminal returned output about missed libs which are in libs64 of game folder. After moved Amnesia all libs from /Amnesia/libs64 to /usr/lib64 game magically start. Buyed in Humble Indie Bundle V.
(This post was last modified: 07-01-2012, 08:39 PM by Jusko.)
07-01-2012, 08:22 PM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#4
Solved: 4 Years, 6 Months, 3 Weeks ago RE: Black Plague Demo from Desura - strange crash.

Try removing the libopenal from the blackplague folder and see if that fixes it.

that i quite odd.. Is the main Amnesia.bin64 binary in the /Amnesia folder? If so it should DEFINITELY see the binaries in libs64. now that does NOT mean it'll see the ones in libs64/all.. those are handles by the checklibs64.sh script. (which the initial HIB V installer didn't handle running on install correctly).

Can you paste the output of ldd /Amnesia/Amnesia.bin64 ?

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
07-02-2012, 03:23 AM
Website Find
Jusko Offline
Junior Member

Posts: 6
Threads: 2
Joined: Jun 2012
Reputation: 0
#5
Solved: 4 Years, 6 Months, 3 Weeks ago RE: Black Plague Demo from Desura - strange crash.

(07-02-2012, 03:23 AM)Urkle Wrote: Try removing the libopenal from the blackplague folder and see if that fixes it.

that i quite odd.. Is the main Amnesia.bin64 binary in the /Amnesia folder? If so it should DEFINITELY see the binaries in libs64. now that does NOT mean it'll see the ones in libs64/all.. those are handles by the checklibs64.sh script. (which the initial HIB V installer didn't handle running on install correctly).

Can you paste the output of ldd /Amnesia/Amnesia.bin64 ?

Removing all oppenall libs not helped - still black screen Sad Can You try Black Plague on x64 Fedora 17? Overture and Amnesia works out of the box. At this moment i only want to force demo to run before buying Penumbra Collection.

-------- THE HPL ENGINE LOG ------------
Creating Engine Modules-------------------------------------------------------- Creating graphics module Creating system module Creating resource module Creating input module Creating sound module Creating physics module Creating ai module Creating gui module Creating haptic module Creating scene module--------------------------------------------------------
Initializing Resources Module-------------------------------------------------------- Creating resource managers Misc Creation--------------------------------------------------------
Initializing Graphics Module-------------------------------------------------------- Init low level graphics Setting video mode: 800 x 600 - 32 bpp Init Glee...OK Setting up OpenGL  Max texture image units: 16  Max texture coord units: 8  Two sided stencil: 1  Vertex Buffer Object: 1  Anisotropic filtering: 1  Max Anisotropic degree: 16  Multisampling: 1  Vertex Program: 1  Fragment Program: 1  NV Register Combiners: 0  NV Register Combiners Stages: 168227304  ATI Fragment Shader: 0 Creating graphic systems  Creating Renderer2D  Renderer2D created  Creating Renderer3D   Load Renderer3D gpu programs:    Extrude    Diffuse Vertex    Diffuse Fragment    Fog   Creating fog textures: Solid Additive Alpha    init sky box  Renderer3D created Creating screen buffers size 800.000000 : 600.000000 Creating programs The compile returned an error. -----------------------------------core/programs/PostEffect_Motion_fp.cg(28) : error C5013: profile does not support "for" statements and "for" could not be unrolled. -----------------------------------CG: Error loading: 'core/programs/PostEffect_Motion_fp.cg'!ERROR: Couldn't create program 'PostEffect_Motion_fp.cg'Dynamic loops in motion blur fp not supported, loading static instead.  RendererPostEffects created Adding engine materials--------------------------------------------------------
Initializing Sound Module-------------------------------------------------------- Initializing OpenAL.  Trying to open audio device...


Yes, there is Amnesia.bin64 but i never run checklibs64.sh. When i back from work, i delete those libs from /usr/lib64 and run checklibs64.

EDIT:

I deleted Amnesia libraries from /usr/lib64. And what console says when i tried to run Launcher:

[krystian@laptop Amnesia]$ ./Launcher.bin64
./Launcher.bin64: error while loading shared libraries: libGLEW.so.1.5: cannot open shared object file: No such file or directory
[krystian@laptop Amnesia]$ ./checklibs64.sh
Checking libraries Library Missing: libGLEW.so.1.5

Just like after buying. This lib, like all others ARE in Amnesia/lib64. And Amnesia will be asking for this libraries everytime, till i not copied it to /usr/lib64. Missing libGLEW is just a beginning of missing libraties from /Amnesia/libs64



[krystian@laptop Amnesia]$ ls libs64 --recursive
libs64:
all libGLEW.so.1.5 libIL.so.1 libjpeg.so.62 libpng12.so.0

libs64/all:
libalut.so.0 libogg.so.0 libSDL-1.2.so.0 libtheora.so.0 libvorbis.so.0
libfltk.so.1.1 libopenal.so.1 libSDL_ttf-2.0.so.0 libvorbisfile.so.3

LDD


[krystian@laptop Amnesia]$ ldd Amnesia.bin64
linux-vdso.so.1 => (0x00007fff650ce000)
libGL.so.1 => /lib64/libGL.so.1 (0x0000003277600000)
libGLU.so.1 => /lib64/libGLU.so.1 (0x000000326d000000)
libGLEW.so.1.5 => not found
libogg.so.0 => /lib64/libogg.so.0 (0x00000038d3600000)
libvorbis.so.0 => /lib64/libvorbis.so.0 (0x00000038d3a00000)
libvorbisfile.so.3 => not found
libtheora.so.0 => not found
libopenal.so.1 => not found
libalut.so.0 => not found
libIL.so.1 => not found
libjpeg.so.62 => /lib64/libjpeg.so.62 (0x00000038dd200000)
libSDL-1.2.so.0 => not found
libSDL_ttf-2.0.so.0 => not found
libpthread.so.0 => /lib64/libpthread.so.0 (0x00000038bea00000)
libfltk.so.1.1 => not found
libz.so.1 => /lib64/libz.so.1 (0x00000038bfa00000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00000038c0e00000)
libm.so.6 => /lib64/libm.so.6 (0x00000038bf600000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000038c0200000)
libc.so.6 => /lib64/libc.so.6 (0x00000038be600000)
libglapi.so.0 => /lib64/libglapi.so.0 (0x0000003615200000)
libXext.so.6 => /lib64/libXext.so.6 (0x000000326d400000)
libXdamage.so.1 => /lib64/libXdamage.so.1 (0x0000003274600000)
libXfixes.so.3 => /lib64/libXfixes.so.3 (0x000000326dc00000)
libX11-xcb.so.1 => /lib64/libX11-xcb.so.1 (0x0000003274a00000)
libX11.so.6 => /lib64/libX11.so.6 (0x000000326cc00000)
libxcb-glx.so.0 => /lib64/libxcb-glx.so.0 (0x0000003616600000)
libxcb.so.1 => /lib64/libxcb.so.1 (0x00000038c2a00000)
libXxf86vm.so.1 => /lib64/libXxf86vm.so.1 (0x0000003276a00000)
libdrm.so.2 => /lib64/libdrm.so.2 (0x0000003616200000)
libdl.so.2 => /lib64/libdl.so.2 (0x00000038bee00000)
/lib64/ld-linux-x86-64.so.2 (0x00000038bde00000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00000038bfe00000)
libXau.so.6 => /lib64/libXau.so.6 (0x00000038c2e00000)
librt.so.1 => /lib64/librt.so.1 (0x00000038bf200000)

It seems that i have few missing libraries required by Amnesia, but this libraries are in lib64. Afted copied them to /usr/lib64 - game working.

EDIT:

I just run blackpaguedemo from terminal. Screen goes black, but i switched to tty and killed penumbra process. Afrer returned to KDE, there was output in terminal:

[krystian@laptop PenumbraBlackPlagueDemo]$ ./blackplaguedemo
./blackplaguedemo.bin: /lib/libCgGL.so: no version information available (required by ./blackplaguedemo.bin)
./blackplaguedemo.bin: /lib/libCg.so: no version information available (required by ./blackplaguedemo.bin)
AL lib: alc_initconfig: Failed to initialize backend "pulse"
./blackplaguedemo: line 9: 2724 killed ./blackplaguedemo.bin "$@"
Penumbra: Black Plague exited unexpectedly, please check
/home/krystian/.frictionalgames/Penumbra/Black Plague/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
[krystian@laptop PenumbraBlackPlagueDemo]$


Sorry for posting without [code] but it's better to read. I have libCg-3.0.0016-3.fc17.i686 package installed in my system.


EDIT:

I found something about it on http://forum.frictionalgames.com/printth...p?tid=3386

My question is: why i had to delete libopenal, libvorbis, llibvorbisfile and libogg to run game? Why? Libraries are for game, so what is the reason to delete them to play game? Yes, demo of Black Plague now run like a charm, but why i had to delete few libraries to play, when Overture is OK out of the box?
(This post was last modified: 07-03-2012, 07:55 PM by Jusko.)
07-02-2012, 06:45 AM
Find
Jusko Offline
Junior Member

Posts: 6
Threads: 2
Joined: Jun 2012
Reputation: 0
#6
Solved: 4 Years, 6 Months, 3 Weeks ago RE: Black Plague Demo from Desura - strange crash.

Hello? Bump.
07-08-2012, 01:05 PM
Find
Urkle Offline
FG - Associate

Posts: 1,172
Threads: 31
Joined: Jul 2006
Reputation: 21
#7
Solved: 4 Years, 6 Months, 3 Weeks ago RE: Black Plague Demo from Desura - strange crash.

Consider that Penumbra was originally released back in 2007, and as such includes much older libraries than current distributions.. Now in the coming weeks I'll be working on 'refreshing' the linux port of Penumbra so that it will play nicer with newer distributions (using the same build system I used for Amnesia which is itself significantly more portable on newer and older systems)

Developing away on one of
Multiple Macs running 10.6, 10.7, 10.8, and 10.9.
Linux, 8-core AMD, 8GB RAM, Fedora 18, nVidia 450 1GB
07-08-2012, 05:26 PM
Website Find




Users browsing this thread: 1 Guest(s)