Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-06-28 18:22:12



Reply to topic  [ 3 posts ] 
Crash because of an (irrelevant) present library 
Author Message

Joined: 2011-09-27 11:18:31
Posts: 241
Reply with quote
Hello Henri.

Since the last few days —ever since I started meddling with my system in order to build some 32-bit prerequisite libraries for gstreamer— I can't start coolvlviewer. Today I downloaded the installer again, ran it with no changes whatsoever and I'm enclosing logfiles.

LL Viewer, Firestorm and Dolphin (all 32-bit viewers) start normally. Singularity (natively 64-bit) of course starts normally.

CoolVLViewer starts and works normally, but only if the offending library (/usr/lib32/libspeexdsp.so) is missing. So, I figure it's a coolvlviewer-specific issue. Could you please look at it?

Thanks in advance.

System info:
Cool VL Viewer 1.26.8 (3) May 4 2013 15:41:45 (Cool VL Viewer)
Release Notes

CPU: Intel(R) Celeron(R) CPU E3400 @ 2.60GHz (2592.67 MHz)
Memory: 1655 MB
OS Version: Linux 3.8.11-1-ARCH #1 SMP PREEMPT Wed May 1 20:18:57 CEST 2013 x86_64
Graphics Card Vendor: ATI Technologies Inc.
Graphics Card: ATI Radeon HD 5450
OpenGL Version: 4.2.12217 Compatibility Profile Context 9.012

libcurl Version: libcurl/7.21.1 OpenSSL/1.0.0d zlib/1.2.5 c-ares/1.7.1
J2C Decoder Version: KDU
Audio Driver Version: FMOD version 3.750000
Qt Webkit Version: 4.7.1 (version number hard-coded)

Built with GCC version 40302

Compile flags used for this build:
-O2 -fomit-frame-pointer -frename-registers -fweb -ftree-vectorize -fexpensive-optimizations -DNDEBUG -DLL_RELEASE=1 -DLL_RELEASE_FOR_DOWNLOAD=1 -Wall -Wno-sign-compare -Wno-trigraphs -Werror -Wno-reorder -Wno-non-virtual-dtor -Wno-deprecated -pipe -g -fexceptions -fno-strict-aliasing -fvisibility=hidden -fsigned-char -march=pentium4 -msse2 -mfpmath=sse -fno-math-errno -fno-trapping-math -pthread -fno-stack-protector -m32 -D_FORTIFY_SOURCE=2 -DLL_LINUX=1 -D_REENTRANT -DAPPID=secondlife -DLL_IGNORE_SIGCHLD -DLL_USE_UNORDERED_MAP=1 -DLL_USE_UNORDERED_MAP_SLOW_HASH=1 -DLL_USE_UNORDERED_SET=1 -DLL_DBUS_ENABLED=1 -DLL_ELFBIN=1 -DOV_EXCLUDE_STATIC_CALLBACKS -DCARES_STATICLIB -DCARES_STATICLIB -DLL_SDL=1 -DLIB_NDOF=1 -DLL_GTK=1 -DLL_X11=1


Attachments:
logs.tar.bz2 [8.14 KiB]
Downloaded 152 times
2013-05-07 12:51:41
Profile

Joined: 2009-03-17 18:42:51
Posts: 5997
Reply with quote
The stacktrace says it all:
Code:
0   com.secondlife.indra.viewer        0x8d3d257 LLAppViewerLinux::handleSyncCrashTrace() + 323
1   com.secondlife.indra.viewer        0x8183408 LLAppViewer::handleSyncViewerCrash() + 16
2   unknown                            0xf710fd41 /home/nikos/CoolVLViewer-1.26.8/lib/libllcommon.so(_ZN5LLApp19runSyncErrorHandlerEv+0x1d) [0xf710fd41]
3   unknown                            0xf710fe11 /home/nikos/CoolVLViewer-1.26.8/lib/libllcommon.so(_ZN5LLApp8setErrorEv+0x1d) [0xf710fe11]
4   unknown                            0xf7110eb9 /home/nikos/CoolVLViewer-1.26.8/lib/libllcommon.so(+0x41eb9) [0xf7110eb9]
5   unknown                            0xf7765410 linux-gate.so.1(__kernel_rt_sigreturn+0) [0xf7765410]
6   unknown                            0xe5b70968 /usr/lib32/libspeexdsp.so.1(+0x9968) [0xe5b70968]
7   unknown                            0xe5b7105a /usr/lib32/libspeexdsp.so.1(+0xa05a) [0xe5b7105a]
8   unknown                            0xe5b7220c /usr/lib32/libspeexdsp.so.1(speex_resampler_init_frac+0x19c) [0xe5b7220c]
9   unknown                            0xf3ebea78 /usr/lib32/alsa-lib/libasound_module_rate_speexrate.so(+0xa78) [0xf3ebea78]
10  unknown                            0xf3aa07a4 /usr/lib32/libasound.so.2(+0x687a4) [0xf3aa07a4]
11  unknown                            0xf3a8e5f4 /usr/lib32/libasound.so.2(+0x565f4) [0xf3a8e5f4]
12  unknown                            0xf3aa62ce /usr/lib32/libasound.so.2(+0x6e2ce) [0xf3aa62ce]
13  unknown                            0xf3a8e5f4 /usr/lib32/libasound.so.2(+0x565f4) [0xf3a8e5f4]
14  unknown                            0xf3a7eddc /usr/lib32/libasound.so.2(snd_pcm_hw_params+0x2c) [0xf3a7eddc]
15  unknown                            0xf62e09a8 /home/nikos/CoolVLViewer-1.26.8/lib/libfmod-3.75.so(FSOUND_Output_ALSA_Sample_Alloc+0x17b) [0xf62e09a8]
16  unknown                            0xf62c4cc8 /home/nikos/CoolVLViewer-1.26.8/lib/libfmod-3.75.so(FSOUND_Sample_Alloc+0x8e) [0xf62c4cc8]

This is a crash (caught by the viewer error handler) in libspeexdsp.so.

This is *not* a viewer bug, but a library bug issue on your particular Linux distribution.

The reason why you don't see it happening in other viewers if probably because they are using OpenAL (or FmodEx) instead of FMOD which the CoolVLViewer uses by default and OpenAL probably doesn't trigger the loading of that faulty library. You can update to a fixed library or switch to OpenAL by editing the first lines of the cool_vl_viewer wrapper script, like so:
Code:
## - Avoids using any OpenAL audio driver.
#export LL_BAD_OPENAL_DRIVER=x
## - Avoids using any FMOD audio driver.
export LL_BAD_FMOD_DRIVER=x


2013-05-07 14:33:11
Profile WWW

Joined: 2011-09-27 11:18:31
Posts: 241
Reply with quote
Henri Beauchamp wrote:
This is a crash (caught by the viewer error handler) in libspeexdsp.so.
This is *not* a viewer bug, but a library bug issue on your particular Linux distribution.

Yes, indeed. I figured it out on my own. Apparently the distro binary was corrupted. I rebuilt it and everything works fine now. Sorry to have bothered you.


2013-05-07 20:25:33
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.