Trine 2 Linux - Crash at launch

Technical support for the Linux and Mac platforms for all Trine games.
mawww
Posts: 4
Joined: Thu Jul 05, 2012 2:51 pm

Trine 2 Linux - Crash at launch

Postby mawww » Thu Jul 05, 2012 2:54 pm

During the first loading screen

Code: Select all

[email protected](pts/16) ~/misc/jeux/Trine2  >>> LD_LIBRARY_PATH=lib/lib32 gdb bin/trine2_linux_32bit
GNU gdb (GDB) 7.4.1
Copyright (C) 2012 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 "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/mawww/misc/jeux/Trine2/bin/trine2_linux_32bit...(no debugging symbols found)...done.
(gdb) r
Starting program: /home/mawww/misc/jeux/Trine2/bin/trine2_linux_32bit
warning: the debug information found in "/usr/lib64/debug/lib64/ld-2.14.1.so.debug" does not match "/lib/ld-linux.so.2" (CRC mismatch).

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0xf0b9db70 (LWP 14341)]
ALSA lib /var/tmp/paludis/build/sys-sound-alsa-lib-1.0.25/work/alsa-lib-1.0.25/src/pcm/pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib /var/tmp/paludis/build/sys-sound-alsa-lib-1.0.25/work/alsa-lib-1.0.25/src/pcm/pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib /var/tmp/paludis/build/sys-sound-alsa-lib-1.0.25/work/alsa-lib-1.0.25/src/pcm/pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib /var/tmp/paludis/build/sys-sound-alsa-lib-1.0.25/work/alsa-lib-1.0.25/src/pcm/pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
[New Thread 0xf039cb70 (LWP 14342)]
[New Thread 0xefb9bb70 (LWP 14343)]
[New Thread 0xe73d1b70 (LWP 14357)]
[New Thread 0xe6bd0b70 (LWP 14358)]
[New Thread 0xe63cfb70 (LWP 14359)]
[New Thread 0xe4dffb70 (LWP 14361)]
[New Thread 0xe45feb70 (LWP 14362)]
[New Thread 0xe3dfdb70 (LWP 14363)]
[Thread 0xe3dfdb70 (LWP 14363) exited]
[New Thread 0xe3dfdb70 (LWP 14364)]
[Thread 0xe3dfdb70 (LWP 14364) exited]
[New Thread 0xe3dfdb70 (LWP 14365)]
[Thread 0xe3dfdb70 (LWP 14365) exited]
[Thread 0xe45feb70 (LWP 14362) exited]
[Thread 0xe4dffb70 (LWP 14361) exited]
[New Thread 0xe4dffb70 (LWP 14366)]
[New Thread 0xe45feb70 (LWP 14367)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xe6bd0b70 (LWP 14358)]
0xf741d55b in ogg_page_granulepos () from /usr/lib32/libogg.so.0
(gdb) bt
#0  0xf741d55b in ogg_page_granulepos () from /usr/lib32/libogg.so.0
#1  0xf73eaf68 in _initial_pcmoffset () from /usr/lib32/libvorbisfile.so.3
#2  0xf73ec915 in _open_seekable2 () from /usr/lib32/libvorbisfile.so.3
#3  0xf73ecb67 in ov_open_callbacks () from /usr/lib32/libvorbisfile.so.3
#4  0x080c50c8 in ?? ()
#5  0x080c51f5 in ?? ()
#6  0x080c485c in ?? ()
#7  0x080c4fa3 in ?? ()
#8  0x080c060e in ?? ()
#9  0x080c1040 in ?? ()
#10 0x0894ee51 in ?? ()
#11 0xf73cfc30 in start_thread () from /lib32/libpthread.so.0
#12 0xf700e91e in clone () from /lib32/libc.so.6
(gdb)


seems to be related to vorbis decoding.

User avatar
FB_JussiE
Posts: 267
Joined: Wed Nov 23, 2011 4:09 pm
Location: Finland
Contact:

Re: Trine 2 Linux - Crash at launch

Postby FB_JussiE » Thu Jul 12, 2012 10:54 am

Hello mawww and sorry for the long wait!

Sorry to hear you're having such nasty issues with the game.
Have you tried running the game with different audio backend, like Pulse or OSS.
You can configure OpenAL to use specific driver from "/etc/openal/alsoft.conf" and modifying the "drivers = " line to the form "drivers = oss,pulseaudio".

Sorry I cannot give you any other pointers, but I will forward this issue to our coders and hopefully they can sort something out.

mawww
Posts: 4
Joined: Thu Jul 05, 2012 2:51 pm

Re: Trine 2 Linux - Crash at launch

Postby mawww » Sun Jul 15, 2012 12:24 pm

Hello,

On another Computer, I got some more information, at launch I also have this output:

Code: Select all

Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1959
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2634
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 2758
Pa_OpenDefaultStream failed Invalid sample rate


Looks like trine2 tries to setup an invalid sample rate in portaudio, maybe trying to get libvorbis to output data in this sample rate leads to the crash.

Hope this helps to pin down the bug.

mawww
Posts: 4
Joined: Thu Jul 05, 2012 2:51 pm

Re: Trine 2 Linux - Crash at launch

Postby mawww » Wed Oct 03, 2012 12:47 pm

Hello, just to say that I still have this bug preventing me from launching trine 2, any progress yet ?

User avatar
FB_JussiE
Posts: 267
Joined: Wed Nov 23, 2011 4:09 pm
Location: Finland
Contact:

Re: Trine 2 Linux - Crash at launch

Postby FB_JussiE » Wed Oct 03, 2012 2:24 pm

Hello again and so sorry for the delay.

Could you post your system specs to help us track down the cause.
We'll try to figure this out asap, but things are somewhat hectic for us at the moment.

Terribly sorry for the delay.

mawww
Posts: 4
Joined: Thu Jul 05, 2012 2:51 pm

Re: Trine 2 Linux - Crash at launch

Postby mawww » Thu Oct 04, 2012 4:50 pm

Hello, thanks for your quick reply.

My systems (both have the same error) are running on Exherbo, 64bits with multilib


libvorbis version 1.3.3
portaudio version 19_p20110326

Code: Select all

[email protected](pts/5) ~ >>> uname -a
Linux bonheur 3.4.4 #2 SMP Thu Jul 5 10:50:32 CEST 2012 x86_64 GNU/Linux
[email protected](pts/5) ~  >>> lspci
00:00.0 Host bridge: Intel Corporation 5520/5500/X58 I/O Hub to ESI Port (rev 13)
00:01.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 1 (rev 13)
00:03.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 3 (rev 13)
00:07.0 PCI bridge: Intel Corporation 5520/5500/X58 I/O Hub PCI Express Root Port 7 (rev 13)
00:14.0 PIC: Intel Corporation 5520/5500/X58 I/O Hub System Management Registers (rev 13)
00:14.1 PIC: Intel Corporation 5520/5500/X58 I/O Hub GPIO and Scratch Pad Registers (rev 13)
00:14.2 PIC: Intel Corporation 5520/5500/X58 I/O Hub Control Status and RAS Registers (rev 13)
00:14.3 PIC: Intel Corporation 5520/5500/X58 I/O Hub Throttle Registers (rev 13)
00:1a.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #4
00:1a.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #5
00:1a.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #6
00:1a.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #2
00:1b.0 Audio device: Intel Corporation 82801JI (ICH10 Family) HD Audio Controller
00:1c.0 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 1
00:1c.2 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 3
00:1c.3 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 4
00:1c.4 PCI bridge: Intel Corporation 82801JI (ICH10 Family) PCI Express Root Port 5
00:1d.0 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #1
00:1d.1 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #2
00:1d.2 USB controller: Intel Corporation 82801JI (ICH10 Family) USB UHCI Controller #3
00:1d.7 USB controller: Intel Corporation 82801JI (ICH10 Family) USB2 EHCI Controller #1
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 90)
00:1f.0 ISA bridge: Intel Corporation 82801JIR (ICH10R) LPC Interface Controller
00:1f.2 SATA controller: Intel Corporation 82801JI (ICH10 Family) SATA AHCI Controller
00:1f.3 SMBus: Intel Corporation 82801JI (ICH10 Family) SMBus Controller
02:00.0 VGA compatible controller: NVIDIA Corporation GF100 [GeForce GTX 480] (rev a3)
02:00.1 Audio device: NVIDIA Corporation GF100 High Definition Audio Controller (rev a1)
04:00.0 SATA controller: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 03)
04:00.1 IDE interface: JMicron Technology Corp. JMB363 SATA/IDE Controller (rev 03)
05:00.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6315 Series Firewire Controller
06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02)
ff:00.0 Host bridge: Intel Corporation Device 2c71 (rev 02)
ff:00.1 Host bridge: Intel Corporation Xeon 5600 Series QuickPath Architecture System Address Decoder (rev 02)
ff:02.0 Host bridge: Intel Corporation Xeon 5600 Series QPI Link 0 (rev 02)
ff:02.1 Host bridge: Intel Corporation Xeon 5600 Series QPI Physical 0 (rev 02)
ff:02.2 Host bridge: Intel Corporation Xeon 5600 Series Mirror Port Link 0 (rev 02)
ff:02.3 Host bridge: Intel Corporation Xeon 5600 Series Mirror Port Link 1 (rev 02)
ff:03.0 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Registers (rev 02)
ff:03.1 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Target Address Decoder (rev 02)
ff:03.4 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Test Registers (rev 02)
ff:04.0 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 0 Control (rev 02)
ff:04.1 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 0 Address (rev 02)
ff:04.2 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 0 Rank (rev 02)
ff:04.3 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 0 Thermal Control (rev 02)
ff:05.0 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 1 Control (rev 02)
ff:05.1 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 1 Address (rev 02)
ff:05.2 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 1 Rank (rev 02)
ff:05.3 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 1 Thermal Control (rev 02)
ff:06.0 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 2 Control (rev 02)
ff:06.1 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 2 Address (rev 02)
ff:06.2 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 2 Rank (rev 02)
ff:06.3 Host bridge: Intel Corporation Xeon 5600 Series Integrated Memory Controller Channel 2 Thermal Control (rev 02)


Return to “Trine Technical Support for Linux & Mac”

Who is online

Users browsing this forum: No registered users and 1 guest